Halide
IntegerDivisionTable.h
Go to the documentation of this file.
1 #ifndef HALIDE_INTEGER_DIVISION_TABLE_H
2 #define HALIDE_INTEGER_DIVISION_TABLE_H
3 
4 #include <cstdint>
5 
6 /** \file
7  * Tables telling us how to do integer division via fixed-point
8  * multiplication for various small constants. This file is
9  * automatically generated by find_inverse.cpp.
10  */
11 namespace Halide {
12 namespace Internal {
13 namespace IntegerDivision {
14 extern const int64_t table_u8[256][4];
15 extern const int64_t table_s8[256][4];
16 extern const int64_t table_u16[256][4];
17 extern const int64_t table_s16[256][4];
18 extern const int64_t table_u32[256][4];
19 extern const int64_t table_s32[256][4];
20 extern const int64_t table_runtime_u8[256][4];
21 extern const int64_t table_runtime_s8[256][4];
22 extern const int64_t table_runtime_u16[256][4];
23 extern const int64_t table_runtime_s16[256][4];
24 extern const int64_t table_runtime_u32[256][4];
25 extern const int64_t table_runtime_s32[256][4];
26 } // namespace IntegerDivision
27 } // namespace Internal
28 } // namespace Halide
29 
30 #endif
Halide::Internal::IntegerDivision::table_runtime_u16
const int64_t table_runtime_u16[256][4]
Halide::Internal::IntegerDivision::table_runtime_s8
const int64_t table_runtime_s8[256][4]
Halide::Internal::IntegerDivision::table_s16
const int64_t table_s16[256][4]
Halide::Internal::IntegerDivision::table_s32
const int64_t table_s32[256][4]
Halide::Internal::IntegerDivision::table_runtime_s16
const int64_t table_runtime_s16[256][4]
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::Internal::IntegerDivision::table_s8
const int64_t table_s8[256][4]
Halide::Internal::IntegerDivision::table_runtime_s32
const int64_t table_runtime_s32[256][4]
Halide::Internal::IntegerDivision::table_runtime_u8
const int64_t table_runtime_u8[256][4]
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::IntegerDivision::table_u32
const int64_t table_u32[256][4]
Halide::Internal::IntegerDivision::table_u16
const int64_t table_u16[256][4]
int64_t
signed __INT64_TYPE__ int64_t
Definition: runtime_internal.h:18
Halide::Internal::IntegerDivision::table_runtime_u32
const int64_t table_runtime_u32[256][4]
Halide::Internal::IntegerDivision::table_u8
const int64_t table_u8[256][4]