Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
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 */
11namespace Halide {
12namespace Internal {
13namespace IntegerDivision {
14extern const int64_t table_u8[256][4];
15extern const int64_t table_s8[256][4];
16extern const int64_t table_srz8[256][4];
17extern const int64_t table_u16[256][4];
18extern const int64_t table_s16[256][4];
19extern const int64_t table_srz16[256][4];
20extern const int64_t table_u32[256][4];
21extern const int64_t table_s32[256][4];
22extern const int64_t table_srz32[256][4];
23extern const int64_t table_runtime_u8[256][4];
24extern const int64_t table_runtime_s8[256][4];
25extern const int64_t table_runtime_srz8[256][4];
26extern const int64_t table_runtime_u16[256][4];
27extern const int64_t table_runtime_s16[256][4];
28extern const int64_t table_runtime_srz16[256][4];
29extern const int64_t table_runtime_u32[256][4];
30extern const int64_t table_runtime_s32[256][4];
31extern const int64_t table_runtime_srz32[256][4];
32} // namespace IntegerDivision
33} // namespace Internal
34} // namespace Halide
35
36#endif
const int64_t table_runtime_srz32[256][4]
const int64_t table_runtime_srz16[256][4]
const int64_t table_runtime_u32[256][4]
const int64_t table_srz32[256][4]
const int64_t table_runtime_u8[256][4]
const int64_t table_runtime_srz8[256][4]
const int64_t table_srz16[256][4]
const int64_t table_runtime_u16[256][4]
const int64_t table_runtime_s8[256][4]
const int64_t table_s8[256][4]
const int64_t table_u16[256][4]
const int64_t table_u8[256][4]
const int64_t table_runtime_s32[256][4]
const int64_t table_u32[256][4]
const int64_t table_s32[256][4]
const int64_t table_s16[256][4]
const int64_t table_runtime_s16[256][4]
const int64_t table_srz8[256][4]
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
signed __INT64_TYPE__ int64_t