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_srz8[256][4];
17 extern const int64_t table_u16[256][4];
18 extern const int64_t table_s16[256][4];
19 extern const int64_t table_srz16[256][4];
20 extern const int64_t table_u32[256][4];
21 extern const int64_t table_s32[256][4];
22 extern const int64_t table_srz32[256][4];
23 extern const int64_t table_runtime_u8[256][4];
24 extern const int64_t table_runtime_s8[256][4];
25 extern const int64_t table_runtime_srz8[256][4];
26 extern const int64_t table_runtime_u16[256][4];
27 extern const int64_t table_runtime_s16[256][4];
28 extern const int64_t table_runtime_srz16[256][4];
29 extern const int64_t table_runtime_u32[256][4];
30 extern const int64_t table_runtime_s32[256][4];
31 extern const int64_t table_runtime_srz32[256][4];
32 } // namespace IntegerDivision
33 } // namespace Internal
34 } // namespace Halide
35 
36 #endif
Halide::Internal::IntegerDivision::table_srz16
const int64_t table_srz16[256][4]
Halide::Internal::IntegerDivision::table_runtime_u16
const int64_t table_runtime_u16[256][4]
Halide::Internal::IntegerDivision::table_srz32
const int64_t table_srz32[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: AbstractGenerator.h:19
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:22
Halide::Internal::IntegerDivision::table_runtime_srz8
const int64_t table_runtime_srz8[256][4]
Halide::Internal::IntegerDivision::table_runtime_u32
const int64_t table_runtime_u32[256][4]
Halide::Internal::IntegerDivision::table_runtime_srz16
const int64_t table_runtime_srz16[256][4]
Halide::Internal::IntegerDivision::table_u8
const int64_t table_u8[256][4]
Halide::Internal::IntegerDivision::table_runtime_srz32
const int64_t table_runtime_srz32[256][4]
Halide::Internal::IntegerDivision::table_srz8
const int64_t table_srz8[256][4]