int64_t 20 apps/HelloAndroid/jni/hello_wrapper.cpp extern "C" int64_t halide_current_time_ns(); int64_t 111 apps/HelloAndroid/jni/hello_wrapper.cpp int64_t t1 = halide_current_time_ns(); int64_t 116 apps/HelloAndroid/jni/hello_wrapper.cpp int64_t t2 = halide_current_time_ns(); int64_t 25 apps/HelloAndroidCamera2/jni/HalideFilters.cpp extern "C" int64_t halide_current_time_ns(); int64_t 29 apps/HelloAndroidCamera2/jni/HalideFilters.cpp static int64_t t0 = halide_current_time_ns(); int64_t 30 apps/HelloAndroidCamera2/jni/HalideFilters.cpp int64_t t1 = halide_current_time_ns(); int64_t 146 apps/HelloAndroidCamera2/jni/HalideFilters.cpp int64_t t1 = halide_current_time_ns(); int64_t 152 apps/HelloAndroidCamera2/jni/HalideFilters.cpp int64_t t2 = halide_current_time_ns(); int64_t 84 apps/simd_op_check/driver.cpp make_buffer<int64_t>(W, H), int64_t 28 apps/templates/SimpleAppAPI.h int64_t halide_current_time_ns(void *user_context); int64_t 66 apps/templates/SimpleAppAPI.h int64_t time_end = halide_current_time_ns(user_context_); int64_t 77 apps/templates/SimpleAppAPI.h int64_t net_nsec() { return running_ ? 0 : time_net_; } int64_t 83 apps/templates/SimpleAppAPI.h int64_t time_net_; int64_t 84 apps/templates/SimpleAppAPI.h int64_t time_start_; int64_t 320 src/AddImageChecks.cpp Expr actual_size = abs(cast<int64_t>(actual_extent) * actual_stride); int64_t 329 src/AddImageChecks.cpp lets_overflow.push_back({ name + ".total_extent." + dim, cast<int64_t>(actual_extent) }); int64_t 331 src/AddImageChecks.cpp max_size = cast<int64_t>(max_size); int64_t 63 src/AlignLoads.cpp const int64_t *const_stride = ramp ? as_const_int(ramp->stride) : nullptr; int64_t 156 src/CodeGen_ARM.cpp i32_sat((wild_i64x2 * wild_i64x2 + (1<<30)) / Expr(int64_t(1) << 31)), int64_t 159 src/CodeGen_ARM.cpp i32_sat((wild_i64x_ * wild_i64x_ + (1<<30)) / Expr(int64_t(1) << 31)), int64_t 322 src/CodeGen_ARM.cpp if (d && is_const(d->b, int64_t(1) << t.bits())) { int64_t 1312 src/CodeGen_C.cpp int64_t stack_bytes = constant_size * op->type.bytes(); int64_t 1314 src/CodeGen_C.cpp if (stack_bytes > ((int64_t(1) << 31) - 1)) { int64_t 1474 src/CodeGen_Hexagon.cpp const int64_t *min_index = as_const_int(op->args[2]); int64_t 1475 src/CodeGen_Hexagon.cpp const int64_t *max_index = as_const_int(op->args[3]); int64_t 1512 src/CodeGen_Hexagon.cpp const int64_t *index = as_const_int(op->args[1]); int64_t 212 src/CodeGen_Internal.cpp bool can_allocation_fit_on_stack(int64_t size) { int64_t 56 src/CodeGen_Internal.h bool can_allocation_fit_on_stack(int64_t size); int64_t 1222 src/CodeGen_LLVM.cpp const int64_t *const_int_divisor = as_const_int(op->b); int64_t 1237 src/CodeGen_LLVM.cpp int64_t multiplier, shift; int64_t 1273 src/CodeGen_LLVM.cpp int64_t method, multiplier, shift; int64_t 1314 src/CodeGen_LLVM.cpp const int64_t *const_int_divisor = as_const_int(op->b); int64_t 1560 src/CodeGen_LLVM.cpp int64_t base = 0; int64_t 1561 src/CodeGen_LLVM.cpp int64_t width = 1; int64_t 1565 src/CodeGen_LLVM.cpp const int64_t *pstride = as_const_int(ramp->stride); int64_t 1566 src/CodeGen_LLVM.cpp const int64_t *pbase = as_const_int(ramp->base); int64_t 1570 src/CodeGen_LLVM.cpp int64_t stride = *pstride; int64_t 1582 src/CodeGen_LLVM.cpp const int64_t *pbase = as_const_int(index); int64_t 1602 src/CodeGen_LLVM.cpp int64_t b = (base / w) * w; int64_t 2449 src/CodeGen_LLVM.cpp const int64_t *sz = as_const_int(op->args[0]); int64_t 654 src/CodeGen_OpenGL_Dev.cpp } else if (const int64_t *ic = as_const_int(op->args[4])) { int64_t 86 src/CodeGen_Posix.cpp int64_t stack_bytes = 0; int64_t 165 src/CodeGen_Posix.cpp int64_t stack_size = (stack_bytes + type.bytes() - 1) / type.bytes(); int64_t 578 src/Deinterleave.cpp const int64_t *stride_ptr = as_const_int(r0->stride); int64_t 583 src/Deinterleave.cpp const int64_t stride = *stride_ptr; int64_t 585 src/Deinterleave.cpp const int64_t expected_stores = stride == 1 ? lanes : stride; int64_t 620 src/Deinterleave.cpp const int64_t *offs = as_const_int(diff); int64_t 136 src/Elf.h int64_t addend = 0; int64_t 141 src/Elf.h Relocation(uint32_t type, uint64_t offset, int64_t addend, const Symbol *symbol) int64_t 170 src/Elf.h Relocation &set_addend(int64_t addend) { int64_t 175 src/Elf.h int64_t get_addend() const { return addend; } int64_t 353 src/Elf.h const Symbol *sym, uint64_t sym_offset, int64_t addend, int64_t 171 src/Expr.h int64_t value; int64_t 173 src/Expr.h static const IntImm *make(Type t, int64_t value) { int64_t 277 src/Expr.h EXPORT explicit Expr(int64_t x) : IRHandle(Internal::IntImm::make(Int(64), x)) {} int64_t 108 src/Float16.cpp uint16_t getBitsFrom(int64_t value, RoundingMode roundingMode, const char *typeName) { int64_t 158 src/Float16.cpp float16_t float16_t::make_from_signed_int(int64_t value, RoundingMode roundingMode) { int64_t 103 src/Float16.h EXPORT static float16_t make_from_signed_int(int64_t value, RoundingMode roundingMode=RoundingMode::ToNearestTiesToEven); int64_t 445 src/FuseGPUThreadLoops.cpp int64_t diff = -1; int64_t 453 src/FuseGPUThreadLoops.cpp const int64_t *current_diff = as_const_int(simplify(dist)); int64_t 455 src/FuseGPUThreadLoops.cpp int64_t abs_diff = std::abs(*current_diff); int64_t 111 src/Generator.cpp std::pair<int64_t, int64_t> rational_approximation_helper(double d, int max_depth) { int64_t 112 src/Generator.cpp const int64_t int_part = static_cast<int64_t>(std::floor(d)); int64_t 119 src/Generator.cpp const int64_t num = r.second; int64_t 120 src/Generator.cpp const int64_t den = r.first; int64_t 129 src/Generator.cpp std::pair<int64_t, int64_t> rational_approximation(double d) { int64_t 133 src/Generator.cpp const int64_t sign = (d < 0) ? -1 : 1; int64_t 144 src/Generator.cpp std::pair<int64_t, int64_t> best {0, 0}; int64_t 2031 src/Generator.cpp auto check_ratio = [](double d, std::pair<int64_t, int64_t> expected) { int64_t 347 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(int64_t) int64_t 431 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(int64_t) int64_t 554 src/HexagonOffload.cpp const Elf::Symbol *sym, uint64_t sym_offset, int64_t addend, int64_t 758 src/HexagonOptimize.cpp { "halide.hexagon.trunc_mpy.vw.vw", i32((wild_i64x*wild_i64x)/Expr(static_cast<int64_t>(1) << 32)), Pattern::NarrowOps }, int64_t 768 src/HexagonOptimize.cpp { "halide.hexagon.trunc_satdw_mpy2.vw.vw", i32_sat((wild_i64x*wild_i64x)/Expr(static_cast<int64_t>(1) << 31)), Pattern::NarrowOps }, int64_t 769 src/HexagonOptimize.cpp { "halide.hexagon.trunc_satdw_mpy2_rnd.vw.vw", i32_sat((wild_i64x*wild_i64x + (1 << 30))/Expr(static_cast<int64_t>(1) << 31)), Pattern::NarrowOps }, int64_t 401 src/IR.cpp int64_t result = 1; int64_t 418 src/IR.cpp if (result > (static_cast<int64_t>(1)<<31) - 1) { int64_t 70 src/IROperator.cpp bool is_const(const Expr &e, int64_t value) { int64_t 92 src/IROperator.cpp const int64_t *as_const_int(const Expr &e) { int64_t 139 src/IROperator.cpp if (const int64_t *i = as_const_int(e)) { int64_t 259 src/IROperator.cpp return IntImm::make(t, (int64_t)val); int64_t 271 src/IROperator.cpp Expr make_const(Type t, int64_t val) { int64_t 364 src/IROperator.cpp void check_representable(Type dst, int64_t x) { int64_t 588 src/IROperator.cpp Expr raise_to_integer_power(const Expr &e, int64_t p) { int64_t 25 src/IROperator.h EXPORT bool is_const(const Expr &e, int64_t v); int64_t 29 src/IROperator.h EXPORT const int64_t *as_const_int(const Expr &e); int64_t 81 src/IROperator.h EXPORT Expr make_const(Type t, int64_t val); int64_t 84 src/IROperator.h inline Expr make_const(Type t, int32_t val) {return make_const(t, (int64_t)val);} int64_t 86 src/IROperator.h inline Expr make_const(Type t, int16_t val) {return make_const(t, (int64_t)val);} int64_t 88 src/IROperator.h inline Expr make_const(Type t, int8_t val) {return make_const(t, (int64_t)val);} int64_t 96 src/IROperator.h EXPORT void check_representable(Type t, int64_t val); int64_t 165 src/IROperator.h EXPORT Expr raise_to_integer_power(const Expr &a, int64_t b); int64_t 215 src/IROperator.h if (const int64_t *i = as_const_int(a)) { int64_t 1152 src/IROperator.h if (const int64_t *i = as_const_int(y)) { int64_t 1196 src/IROperator.h if (const int64_t *i = as_const_int(y)) { int64_t 19 src/IntegerDivisionTable.cpp const int64_t table_u8[256][4] = { int64_t 277 src/IntegerDivisionTable.cpp const int64_t table_s8[256][4] = { int64_t 535 src/IntegerDivisionTable.cpp const int64_t table_u16[256][4] = { int64_t 793 src/IntegerDivisionTable.cpp const int64_t table_s16[256][4] = { int64_t 1051 src/IntegerDivisionTable.cpp const int64_t table_u32[256][4] = { int64_t 1309 src/IntegerDivisionTable.cpp const int64_t table_s32[256][4] = { int64_t 1567 src/IntegerDivisionTable.cpp const int64_t table_runtime_u8[256][4] = { int64_t 1825 src/IntegerDivisionTable.cpp const int64_t table_runtime_s8[256][4] = { int64_t 2083 src/IntegerDivisionTable.cpp const int64_t table_runtime_u16[256][4] = { int64_t 2341 src/IntegerDivisionTable.cpp const int64_t table_runtime_s16[256][4] = { int64_t 2599 src/IntegerDivisionTable.cpp const int64_t table_runtime_u32[256][4] = { int64_t 2857 src/IntegerDivisionTable.cpp const int64_t table_runtime_s32[256][4] = { int64_t 14 src/IntegerDivisionTable.h extern const int64_t table_u8[256][4]; int64_t 15 src/IntegerDivisionTable.h extern const int64_t table_s8[256][4]; int64_t 16 src/IntegerDivisionTable.h extern const int64_t table_u16[256][4]; int64_t 17 src/IntegerDivisionTable.h extern const int64_t table_s16[256][4]; int64_t 18 src/IntegerDivisionTable.h extern const int64_t table_u32[256][4]; int64_t 19 src/IntegerDivisionTable.h extern const int64_t table_s32[256][4]; int64_t 20 src/IntegerDivisionTable.h extern const int64_t table_runtime_u8[256][4]; int64_t 21 src/IntegerDivisionTable.h extern const int64_t table_runtime_s8[256][4]; int64_t 22 src/IntegerDivisionTable.h extern const int64_t table_runtime_u16[256][4]; int64_t 23 src/IntegerDivisionTable.h extern const int64_t table_runtime_s16[256][4]; int64_t 24 src/IntegerDivisionTable.h extern const int64_t table_runtime_u32[256][4]; int64_t 25 src/IntegerDivisionTable.h extern const int64_t table_runtime_s32[256][4]; int64_t 24 src/Interval.cpp const int64_t *ia = as_const_int(a); int64_t 25 src/Interval.cpp const int64_t *ib = as_const_int(b); int64_t 65 src/Interval.cpp const int64_t *ia = as_const_int(a); int64_t 66 src/Interval.cpp const int64_t *ib = as_const_int(b); int64_t 183 src/Introspection.cpp int count_trailing_zeros(int64_t x) { int64_t 198 src/Introspection.cpp int64_t pc_adjust = 0; int64_t 211 src/Introspection.cpp int64_t pc_adj = pc_real - pc_debug; int64_t 365 src/Introspection.cpp int64_t array_size_bytes = v.type->size * elem_type->size; int64_t 366 src/Introspection.cpp int64_t pos_bytes = address - v.addr; int64_t 637 src/Introspection.cpp int offset_above = (int)((int64_t)(stack_pointer) - (int64_t)(fp)); int64_t 638 src/Introspection.cpp int offset_below = (int)((int64_t)(stack_pointer) - (int64_t)(next_fp)); int64_t 695 src/Introspection.cpp int64_t array_size_bytes = type->size * elem_type->size; int64_t 696 src/Introspection.cpp int64_t pos_bytes = offset - var.stack_offset; int64_t 2137 src/Introspection.cpp int64_t get_sleb128(const uint8_t *ptr) { int64_t 2138 src/Introspection.cpp int64_t result = 0; int64_t 2161 src/Introspection.cpp int64_t get_uleb128(const uint8_t *ptr) { int64_t 452 src/JITModule.cpp void JITModule::memoization_cache_set_size(int64_t size) const { int64_t 456 src/JITModule.cpp return (reinterpret_bits<void (*)(int64_t)>(f->second.address))(size); int64_t 469 src/JITModule.cpp int64_t default_cache_size; int64_t 856 src/JITModule.cpp void JITSharedRuntime::memoization_cache_set_size(int64_t size) { int64_t 117 src/JITModule.h EXPORT void memoization_cache_set_size(int64_t size) const; int64_t 154 src/JITModule.h EXPORT static void memoization_cache_set_size(int64_t size); int64_t 181 src/ModulusRemainder.cpp int64_t tmp = b; int64_t 261 src/ModulusRemainder.cpp int64_t diff = (int64_t)a.remainder - (int64_t)b.remainder; int64_t 163 src/Parameter.cpp case 64: return Expr(get_scalar<int64_t>()); int64_t 84 src/Profiling.cpp int64_t stack_bytes = constant_size * type.bytes(); int64_t 58 src/ScheduleParam.h HALIDE_SCHEDULE_PARAM_TYPED_SETTER(int64_t) int64_t 209 src/ScheduleParam.h HALIDE_SCHEDULE_PARAM_TYPED_SETTER(int64_t) int64_t 184 src/Simplify.cpp int64_t i_min, i_max; int64_t 236 src/Simplify.cpp Scope<pair<int64_t, int64_t>> bounds_info; int64_t 277 src/Simplify.cpp bool const_int(const Expr &e, int64_t *i) { int64_t 280 src/Simplify.cpp } else if (const int64_t *p = as_const_int(e)) { int64_t 305 src/Simplify.cpp bool const_int_bounds(const Expr &e, int64_t *min_val, int64_t *max_val) { int64_t 308 src/Simplify.cpp if (const int64_t *i = as_const_int(e)) { int64_t 313 src/Simplify.cpp pair<int64_t, int64_t> b = bounds_info.get(v->name); int64_t 321 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 343 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 365 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 373 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 382 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 391 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 394 src/Simplify.cpp int64_t int64_t 405 src/Simplify.cpp int64_t min_b, max_b; int64_t 414 src/Simplify.cpp int64_t min_a, min_b, max_a, max_b; int64_t 418 src/Simplify.cpp int64_t int64_t 429 src/Simplify.cpp int64_t min_base, max_base, min_stride, max_stride; int64_t 432 src/Simplify.cpp int64_t min_last_lane = min_base + min_stride * (r->lanes - 1); int64_t 433 src/Simplify.cpp int64_t max_last_lane = max_base + max_stride * (r->lanes - 1); int64_t 446 src/Simplify.cpp Expr is_round_up_div(const Expr &e, int64_t factor) { int64_t 459 src/Simplify.cpp Expr is_round_up(const Expr &e, int64_t *factor) { int64_t 477 src/Simplify.cpp int64_t i = 0; int64_t 484 src/Simplify.cpp expr = IntImm::make(op->type, (int64_t)f); int64_t 508 src/Simplify.cpp expr = IntImm::make(op->type, (int64_t)u); int64_t 584 src/Simplify.cpp int64_t ia = 0, ib = 0, ic = 0; int64_t 962 src/Simplify.cpp int64_t ia = 0, ib = 0; int64_t 1458 src/Simplify.cpp int64_t ia = 0, ib = 0; int64_t 1556 src/Simplify.cpp int64_t ia = 0, ib = 0, ic = 0; int64_t 1616 src/Simplify.cpp int64_t num_min, num_max; int64_t 1675 src/Simplify.cpp div_imp((int64_t)mod_rem.remainder, ib) == div_imp(mod_rem.remainder + (ramp_a->lanes-1)*ia, ib)) { int64_t 1979 src/Simplify.cpp int64_t ia = 0, ib = 0; int64_t 1998 src/Simplify.cpp int64_t a_min, a_max; int64_t 2069 src/Simplify.cpp expr = make_const(op->type, mod_imp((int64_t)mod_rem.remainder, ib)); int64_t 2086 src/Simplify.cpp div_imp((int64_t)mod_rem.remainder, ib) == div_imp(mod_rem.remainder + (ramp_a->lanes-1)*ia, ib)) { int64_t 2088 src/Simplify.cpp Expr new_base = make_const(ramp_a->base.type(), mod_imp((int64_t)mod_rem.remainder, ib)); int64_t 2100 src/Simplify.cpp Expr new_base = make_const(t, mod_imp((int64_t)mod_rem.remainder, ib)); int64_t 2125 src/Simplify.cpp int64_t ia = 0, ib = 0, ic = 0; int64_t 2128 src/Simplify.cpp int64_t a_min, a_max, b_min, b_max; int64_t 2158 src/Simplify.cpp int64_t a_round_up_factor = 0, b_round_up_factor = 0; int64_t 2162 src/Simplify.cpp int64_t ramp_min, ramp_max; int64_t 2515 src/Simplify.cpp int64_t ia = 0, ib = 0, ic = 0; int64_t 2518 src/Simplify.cpp int64_t a_min, a_max, b_min, b_max; int64_t 2547 src/Simplify.cpp int64_t ramp_min, ramp_max; int64_t 2906 src/Simplify.cpp int64_t delta_min, delta_max; int64_t 2965 src/Simplify.cpp int64_t a_min, a_max, b_min, b_max; int64_t 3000 src/Simplify.cpp int64_t ia = 0, ib = 0, ic = 0; int64_t 3316 src/Simplify.cpp int64_t ia = 0, ib = 0; int64_t 3513 src/Simplify.cpp int64_t ia = 0, ib = 0; int64_t 4010 src/Simplify.cpp int64_t ib = 0; int64_t 4049 src/Simplify.cpp int64_t ib = 0; int64_t 4085 src/Simplify.cpp int64_t ia = 0; int64_t 4681 src/Simplify.cpp int64_t val_min, val_max; int64_t 4694 src/Simplify.cpp int64_t val_min, val_max; int64_t 4788 src/Simplify.cpp int64_t new_min_int, new_extent_int; int64_t 4793 src/Simplify.cpp int64_t new_max_int = new_min_int + new_extent_int - 1; int64_t 6068 src/Simplify.cpp make_const(Int(64), (int64_t)0x7fffffffffffffffLL) + 1, int64_t 6069 src/Simplify.cpp make_const(Int(64), (int64_t)0x7ffffffffffffff0LL) + 16, int64_t 6070 src/Simplify.cpp (make_const(Int(64), (int64_t)0x7fffffffffffffffLL) + int64_t 6071 src/Simplify.cpp make_const(Int(64), (int64_t)0x7fffffffffffffffLL)), int64_t 6072 src/Simplify.cpp make_const(Int(64), (int64_t)0x0800000000000000LL) * 16, int64_t 6073 src/Simplify.cpp (make_const(Int(64), (int64_t)0x00ffffffffffffffLL) * int64_t 6074 src/Simplify.cpp make_const(Int(64), (int64_t)0x00ffffffffffffffLL)), int64_t 6075 src/Simplify.cpp make_const(Int(64), (int64_t)0x8000000000000000LL) - 1, int64_t 6076 src/Simplify.cpp 0 - make_const(Int(64), (int64_t)0x8000000000000000LL), int64_t 6086 src/Simplify.cpp make_const(Int(64), (int64_t)0x7ffffffffffffffeLL) + 1, int64_t 6087 src/Simplify.cpp make_const(Int(64), (int64_t)0x7fffffffffffffefLL) + 16, int64_t 6088 src/Simplify.cpp make_const(Int(64), (int64_t)0x07ffffffffffffffLL) * 16, int64_t 6089 src/Simplify.cpp (make_const(Int(64), (int64_t)0x00000000ffffffffLL) * int64_t 6090 src/Simplify.cpp make_const(Int(64), (int64_t)0x0000000080000000LL)), int64_t 6091 src/Simplify.cpp make_const(Int(64), (int64_t)0x8000000000000001LL) - 1, int64_t 6092 src/Simplify.cpp 0 - make_const(Int(64), (int64_t)0x7fffffffffffffffLL), int64_t 6198 src/Simplify.cpp bool r_is_zero = !i1 || (i2 != 0 && !div_imp((int64_t)i1, (int64_t)i2)); // avoid trap for -2147483648/-1 int64_t 6205 src/Simplify.cpp bool m_is_zero = !i1 || (i2 != 0 && !mod_imp((int64_t)i1, (int64_t)i2)); // avoid trap for -2147483648/-1 int64_t 58 src/Simplify.h r = r + (r < 0 ? (T)std::abs((int64_t)b) : 0); int64_t 69 src/Simplify.h int64_t q = a / b; int64_t 70 src/Simplify.h int64_t r = a - q * b; int64_t 71 src/Simplify.h int64_t bs = b >> (t.bits() - 1); int64_t 72 src/Simplify.h int64_t rs = r >> (t.bits() - 1); int64_t 68 src/StorageFlattening.cpp idx += cast<int64_t>(args[i] - mins[i]) * cast<int64_t>(strides[i]); int64_t 82 src/StorageFlattening.cpp idx += cast<int64_t>(args[i]) * cast<int64_t>(strides[i]); int64_t 83 src/StorageFlattening.cpp base += cast<int64_t>(mins[i]) * cast<int64_t>(strides[i]); int64_t 17 src/StorageFolding.cpp int64_t next_power_of_two(int64_t x) { int64_t 18 src/StorageFolding.cpp return static_cast<int64_t>(1) << static_cast<int64_t>(std::ceil(std::log2(x))); int64_t 201 src/StorageFolding.cpp const int64_t *const_max_extent = as_const_int(max_extent); int64_t 285 src/Target.h int64_t maximum_buffer_size() const { int64_t 15 src/Type.cpp int64_t max_int(int bits) { int64_t 16 src/Type.cpp int64_t max_val = 0x7fffffffffffffffLL; int64_t 20 src/Type.cpp int64_t min_int(int bits) { int64_t 74 src/Type.cpp bool Type::is_max(int64_t x) const { int64_t 88 src/Type.cpp bool Type::is_min(int64_t x) const { int64_t 118 src/Type.cpp bool Type::can_represent(int64_t x) const { int64_t 126 src/Type.cpp return (int64_t)(float)(float16_t)(float)x == x; int64_t 128 src/Type.cpp return (int64_t)(float)x == x; int64_t 130 src/Type.cpp return (int64_t)(double)x == x; int64_t 162 src/Type.cpp int64_t i = x; int64_t 144 src/Type.h HALIDE_DECLARE_EXTERN_SIMPLE_TYPE(int64_t); int64_t 406 src/Type.h EXPORT bool can_represent(int64_t x) const; int64_t 414 src/Type.h EXPORT bool is_max(int64_t) const; int64_t 416 src/Type.h EXPORT bool is_min(int64_t) const; int64_t 365 src/Util.cpp bool add_would_overflow(int bits, int64_t a, int64_t b) { int64_t 366 src/Util.cpp int64_t max_val = 0x7fffffffffffffffLL >> (64 - bits); int64_t 367 src/Util.cpp int64_t min_val = -max_val - 1; int64_t 373 src/Util.cpp bool sub_would_overflow(int bits, int64_t a, int64_t b) { int64_t 374 src/Util.cpp int64_t max_val = 0x7fffffffffffffffLL >> (64 - bits); int64_t 375 src/Util.cpp int64_t min_val = -max_val - 1; int64_t 381 src/Util.cpp bool mul_would_overflow(int bits, int64_t a, int64_t b) { int64_t 382 src/Util.cpp int64_t max_val = 0x7fffffffffffffffLL >> (64 - bits); int64_t 383 src/Util.cpp int64_t min_val = -max_val - 1; int64_t 392 src/Util.cpp int64_t ab = (int64_t)((uint64_t)a)*((uint64_t)b); int64_t 245 src/Util.h bool add_would_overflow(int bits, int64_t a, int64_t b); int64_t 246 src/Util.h bool sub_would_overflow(int bits, int64_t a, int64_t b); int64_t 247 src/Util.h bool mul_would_overflow(int bits, int64_t a, int64_t b); int64_t 559 src/runtime/HalideRuntime.h extern void halide_memoization_cache_set_size(int64_t size); int64_t 818 src/runtime/HalideRuntime.h int64_t actual_size, int64_t max_size); int64_t 826 src/runtime/HalideRuntime.h int64_t val, int64_t min_val); int64_t 832 src/runtime/HalideRuntime.h int64_t val, int64_t max_val); int64_t 1174 src/runtime/HalideRuntime.h int64_t i64; int64_t 1467 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE halide_type_t halide_type_of<int64_t>() { int64_t 149 src/runtime/buffer_t.cpp int64_t offset = 0; int64_t 202 src/runtime/cache.cpp WEAK int64_t max_cache_size = kDefaultCacheSize; int64_t 203 src/runtime/cache.cpp WEAK int64_t current_cache_size = 0; int64_t 318 src/runtime/cache.cpp WEAK void halide_memoization_cache_set_size(int64_t size) { int64_t 43 src/runtime/device_buffer_utils.h WEAK void copy_memory_helper(const device_copy ©, int d, int64_t off) { int64_t 75 src/runtime/errors.cpp WEAK int halide_error_buffer_extents_too_large(void *user_context, const char *buffer_name, int64_t actual_size, int64_t max_size) { int64_t 106 src/runtime/errors.cpp int64_t val, int64_t min_val) { int64_t 133 src/runtime/errors.cpp int64_t val, int64_t max_val) { int64_t 64 src/runtime/linux_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) { int64_t 69 src/runtime/linux_clock.cpp int64_t d = int64_t(now.tv_sec - halide_reference_clock.tv_sec)*1000000000; int64_t 70 src/runtime/linux_clock.cpp int64_t nd = (now.tv_nsec - halide_reference_clock.tv_nsec); int64_t 348 src/runtime/matlab.cpp case 64: *reinterpret_cast<int64_t *>(scalar) = static_cast<int64_t>(value); return halide_error_code_success; int64_t 357 src/runtime/metal.cpp error(user_context) << "Metal: Failed to allocate buffer of size " << (int64_t)size << ".\n"; int64_t 46 src/runtime/mini_cl.h typedef int64_t cl_long; int64_t 18 src/runtime/msan.cpp WEAK void annotate_helper(void *uc, const device_copy &c, int d, int64_t off) { int64_t 1329 src/runtime/opengl.cpp int64_t t1 = halide_current_time_ns(user_context); int64_t 1333 src/runtime/opengl.cpp int64_t t2 = halide_current_time_ns(user_context); int64_t 1354 src/runtime/opengl.cpp int64_t t1 = halide_current_time_ns(user_context); int64_t 1358 src/runtime/opengl.cpp int64_t t2 = halide_current_time_ns(user_context); int64_t 1369 src/runtime/opengl.cpp int64_t t3 = halide_current_time_ns(user_context); int64_t 1383 src/runtime/opengl.cpp int64_t t4 = halide_current_time_ns(user_context); int64_t 1896 src/runtime/opengl.cpp int64_t t0 = halide_current_time_ns(user_context); int64_t 1900 src/runtime/opengl.cpp int64_t t1 = halide_current_time_ns(user_context); int64_t 35 src/runtime/osx_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) { int64_t 8 src/runtime/posix_clock.cpp int64_t tv_sec, tv_usec; int64_t 39 src/runtime/posix_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) { int64_t 42 src/runtime/posix_clock.cpp int64_t d = int64_t(now.tv_sec - halide_reference_clock.tv_sec)*1000000; int64_t 43 src/runtime/posix_clock.cpp int64_t ud = int64_t(now.tv_usec) - int64_t(halide_reference_clock.tv_usec); int64_t 51 src/runtime/printer.h Printer &operator<<(int64_t arg) { int64_t 39 src/runtime/runtime_internal.h typedef int64_t intptr_t; int64_t 56 src/runtime/runtime_internal.h WEAK int64_t halide_current_time_ns(void *user_context); int64_t 100 src/runtime/runtime_internal.h WEAK char *halide_int64_to_string(char *dst, char *end, int64_t arg, int digits); int64_t 114 src/runtime/runtime_internal.h WEAK int64_t halide_current_time_ns(void *user_context); int64_t 39 src/runtime/to_string.cpp WEAK char *halide_int64_to_string(char *dst, char *end, int64_t arg, int min_digits) { int64_t 123 src/runtime/tracing.cpp ss << ((int64_t *)(e->value))[i]; int64_t 6 src/runtime/windows_clock.cpp extern bool QueryPerformanceCounter(int64_t *); int64_t 7 src/runtime/windows_clock.cpp extern bool QueryPerformanceFrequency(int64_t *); int64_t 10 src/runtime/windows_clock.cpp extern __stdcall bool QueryPerformanceCounter(int64_t *); int64_t 11 src/runtime/windows_clock.cpp extern __stdcall bool QueryPerformanceFrequency(int64_t *); int64_t 16 src/runtime/windows_clock.cpp WEAK int64_t halide_reference_clock = 0; int64_t 17 src/runtime/windows_clock.cpp WEAK int64_t halide_clock_frequency = 1; int64_t 29 src/runtime/windows_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) { int64_t 30 src/runtime/windows_clock.cpp int64_t clock; int64_t 34 src/runtime/windows_clock.cpp return (int64_t)(ns_per_tick * clock); int64_t 17 test/correctness/constant_expr.cpp const int64_t *i = as_const_int(e); int64_t 81 test/correctness/constant_expr.cpp test_expr_range<int64_t>(); int64_t 88 test/correctness/constant_expr.cpp test_expr<int64_t>(-64); int64_t 89 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x000000007fffffff); int64_t 90 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x0000000080000000); int64_t 91 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x0000000080000001); int64_t 92 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x00000000ffffffff); int64_t 93 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x00000001ffffffff); int64_t 94 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x7fffffff00000000); int64_t 95 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x7fffffff80000000); int64_t 96 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0xffffffff80000000); int64_t 97 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0xffffffff00000001); int64_t 98 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x7FFFFFFFFFFFFFFF); int64_t 99 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x8000000000000000); int64_t 100 test/correctness/constant_expr.cpp test_expr<int64_t>((int64_t) 0x8000000000000001); int64_t 185 test/correctness/mul_div_mod.cpp int64_t max, min, neg, v, vsalt; int64_t 186 test/correctness/mul_div_mod.cpp max = maximum<T, int64_t>(); int64_t 187 test/correctness/mul_div_mod.cpp min = minimum<T, int64_t>(); int64_t 188 test/correctness/mul_div_mod.cpp neg = (~((int64_t) 0)) ^ max; // The bits that should all be 1 for negative numbers. int64_t 191 test/correctness/mul_div_mod.cpp v = (int64_t) (ubits(unique,i,j)); int64_t 197 test/correctness/mul_div_mod.cpp vsalt = (int64_t) (ubits(unique|0x100,i,j)); int64_t 220 test/correctness/mul_div_mod.cpp vsalt = (int64_t) (ubits(unique|0x100,i,j)); int64_t 245 test/correctness/mul_div_mod.cpp vsalt = (int64_t) (ubits(unique|0x100,i,j)); int64_t 333 test/correctness/mul_div_mod.cpp std::cerr << "Compiled a*b != simplified a*b: " << (int64_t)ai int64_t 334 test/correctness/mul_div_mod.cpp << "*" << (int64_t)bi int64_t 335 test/correctness/mul_div_mod.cpp << " = " << (int64_t)ri int64_t 408 test/correctness/mul_div_mod.cpp std::cerr << "(a/b)*b + a%b != a; a, b = " << (int64_t)ai int64_t 409 test/correctness/mul_div_mod.cpp << ", " << (int64_t)bi int64_t 410 test/correctness/mul_div_mod.cpp << "; q, r = " << (int64_t)qi int64_t 411 test/correctness/mul_div_mod.cpp << ", " << (int64_t)ri << "\n"; int64_t 414 test/correctness/mul_div_mod.cpp (t.is_min((int64_t)bi) || ri < (T)std::abs((int64_t)bi))) && int64_t 416 test/correctness/mul_div_mod.cpp std::cerr << "ri is not in the range [0, |b|); a, b = " << (int64_t)ai int64_t 417 test/correctness/mul_div_mod.cpp << ", " << (int64_t)bi int64_t 418 test/correctness/mul_div_mod.cpp << "; q, r = " << (int64_t)qi int64_t 419 test/correctness/mul_div_mod.cpp << ", " << (int64_t)ri << "\n"; int64_t 430 test/correctness/mul_div_mod.cpp std::cerr << "Compiled a/b != simplified a/b: " << (int64_t)ai int64_t 431 test/correctness/mul_div_mod.cpp << "/" << (int64_t)bi int64_t 432 test/correctness/mul_div_mod.cpp << " = " << (int64_t)qi int64_t 436 test/correctness/mul_div_mod.cpp std::cerr << "Compiled a%b != simplified a%b: " << (int64_t)ai int64_t 437 test/correctness/mul_div_mod.cpp << "/" << (int64_t)bi int64_t 438 test/correctness/mul_div_mod.cpp << " = " << (int64_t)ri int64_t 511 test/correctness/mul_div_mod.cpp success &= mul<int8_t, int8_t, int8_t, int64_t>(vector_width, scheduling, target); int64_t 512 test/correctness/mul_div_mod.cpp success &= mul<int16_t, int16_t, int16_t, int64_t>(vector_width, scheduling, target); int64_t 513 test/correctness/mul_div_mod.cpp success &= mul<int32_t, int32_t, int32_t, int64_t>(vector_width, scheduling, target); int64_t 518 test/correctness/mul_div_mod.cpp success &= mul<int8_t, int8_t, int16_t, int64_t>(vector_width, scheduling, target); int64_t 519 test/correctness/mul_div_mod.cpp success &= mul<int16_t, int16_t, int32_t, int64_t>(vector_width, scheduling, target); int64_t 537 test/correctness/mul_div_mod.cpp success &= div_mod<int8_t, int64_t>(vector_width, scheduling, target); int64_t 538 test/correctness/mul_div_mod.cpp success &= div_mod<int16_t, int64_t>(vector_width, scheduling, target); int64_t 539 test/correctness/mul_div_mod.cpp success &= div_mod<int32_t, int64_t>(vector_width, scheduling, target); int64_t 81 test/correctness/saturating_casts.cpp int64_t simpler_correct_result; int64_t 83 test/correctness/saturating_casts.cpp simpler_correct_result = std::min(std::max((int64_t)in(i), int64_t 84 test/correctness/saturating_casts.cpp (int64_t)target_min), int64_t 85 test/correctness/saturating_casts.cpp (int64_t)target_max); int64_t 87 test/correctness/saturating_casts.cpp if (simpler_correct_result != (int64_t)correct_result) { int64_t 90 test/correctness/saturating_casts.cpp << " correct_result casted to int64_t is " << (int64_t)correct_result int64_t 96 test/correctness/saturating_casts.cpp assert(simpler_correct_result == (int64_t)correct_result); int64_t 178 test/correctness/saturating_casts.cpp int64_t simpler_correct_result; int64_t 185 test/correctness/saturating_casts.cpp simpler_correct_result = (int64_t)bounded_lower; int64_t 188 test/correctness/saturating_casts.cpp simpler_correct_result = std::min(std::max((int64_t)in(i), int64_t 189 test/correctness/saturating_casts.cpp (int64_t)target_min), int64_t 190 test/correctness/saturating_casts.cpp (int64_t)target_max); int64_t 193 test/correctness/saturating_casts.cpp if (simpler_correct_result != (int64_t)correct_result) { int64_t 196 test/correctness/saturating_casts.cpp << " correct_result casted to int64_t is " << (int64_t)correct_result int64_t 202 test/correctness/saturating_casts.cpp assert(simpler_correct_result == (int64_t)correct_result); int64_t 232 test/correctness/saturating_casts.cpp test_saturating<source_t, int64_t>(); int64_t 257 test/correctness/saturating_casts.cpp test_concise<source_t, int64_t>(i64, false); int64_t 259 test/correctness/saturating_casts.cpp test_concise<source_t, int64_t>(i64_sat, true); int64_t 276 test/correctness/saturating_casts.cpp test_one_source<int64_t>(); int64_t 1142 test/correctness/simd_op_check.cpp (Expr(int64_t(1)) << 31))); int64_t 118 test/correctness/vector_math.cpp struct with_unsigned<int64_t> { int64_t 65 test/generator/cxx_mangling_aottest.cpp int64_t, uint64_t, int64_t 28 test/generator/cxx_mangling_define_extern_aottest.cpp int cxx_mangling_1(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { int64_t 32 test/generator/cxx_mangling_define_extern_aottest.cpp int cxx_mangling_2(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { int64_t 36 test/generator/cxx_mangling_define_extern_aottest.cpp extern "C" int cxx_mangling_3(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { int64_t 33 test/generator/cxx_mangling_define_extern_generator.cpp args.push_back(cast<int64_t>(7)); int64_t 42 test/generator/cxx_mangling_generator.cpp Param<int64_t> offset_i64{"offset_i64", 0}; int64_t 141 test/generator/image_from_array_aottest.cpp test<int64_t>(); int64_t 203 test/generator/metadata_tester_aottest.cpp const halide_scalar_value_t *make_scalar(int64_t v) { int64_t 365 test/generator/metadata_tester_aottest.cpp make_scalar<int64_t>(64), int64_t 366 test/generator/metadata_tester_aottest.cpp make_scalar<int64_t>(-64), int64_t 367 test/generator/metadata_tester_aottest.cpp make_scalar<int64_t>(127), int64_t 19 test/generator/metadata_tester_generator.cpp Input<int64_t> i64{ "i64", 64, -64, 127 }; int64_t 7 tools/find_inverse.cpp int64_t r(int64_t min, int64_t max) { int64_t 8 tools/find_inverse.cpp int64_t n1 = rand(); int64_t 9 tools/find_inverse.cpp int64_t n2 = rand(); int64_t 10 tools/find_inverse.cpp int64_t n3 = rand(); int64_t 17 tools/find_inverse.cpp int64_t sdiv(int64_t a, int64_t b) { int64_t 36 tools/find_inverse.cpp bool u_method_1(int den, int64_t mul, int sh_post, int bits) { int64_t 54 tools/find_inverse.cpp bool u_method_2(int den, int64_t mul, int sh_post, int bits) { int64_t 75 tools/find_inverse.cpp int64_t min = -(1L << (bits-1)), max = (1L << (bits-1))-1; int64_t 78 tools/find_inverse.cpp int64_t num = r(min, max); int64_t 82 tools/find_inverse.cpp int64_t result = num; int64_t 89 tools/find_inverse.cpp bool s_method_1(int den, int64_t mul, int sh_post, int bits) { int64_t 90 tools/find_inverse.cpp int64_t min = -(1 << (bits-1)), max = (1 << (bits-1))-1; int64_t 94 tools/find_inverse.cpp int64_t num = r(min, max); int64_t 98 tools/find_inverse.cpp int64_t result = num; int64_t 173 tools/find_inverse.cpp int64_t mul = (1L << (bits+shift)) / den + 1; int64_t 182 tools/find_inverse.cpp int64_t mul = (1L << (bits+shift+1)) / den - (1L << bits) + 1; int64_t 213 tools/find_inverse.cpp int64_t mul = (1L << (shift + bits)) / den + 1; int64_t 207 tools/halide_image_io.h int64_t c_stride = (im->channels() == 1) ? 0 : ((&(*im)(0, 0, 1)) - (&(*im)(0, 0, 0))); int64_t 295 tools/halide_image_io.h int64_t c_stride = (im.channels() == 1) ? 0 : ((&im(0, 0, 1)) - (&im(0, 0, 0))); int64_t 296 tools/halide_image_io.h int64_t x_stride = (int)((&im(1, 0, 0)) - (&im(0, 0, 0))); int64_t 106 tutorial/lesson_14_types.cpp Expr s64 = cast<int64_t>(x); int64_t 16 util/HalideTraceViz.cpp typedef int64_t ssize_t; int64_t 57 util/HalideTraceViz.cpp return (T)(((const int64_t *)value())[idx]);