value 41 apps/resize/resize.cpp Expr value = sinc(x) * sinc(x/3); value 42 apps/resize/resize.cpp value = select(x == 0.0f, 1.0f, value); // Take care of singularity at zero value 43 apps/resize/resize.cpp value = select(x > 3 || x < -3, 0.0f, value); // Clamp to zero out of bounds value 44 apps/resize/resize.cpp return value; value 85 python_bindings/numpy/dtype.hpp template <typename T, bool isInt = boost::is_integral<T>::value> value 90 python_bindings/numpy/dtype.hpp static dtype get() { return get_int_dtype<8 * sizeof(T), boost::is_unsigned<T>::value>(); } value 40 python_bindings/python/Argument.cpp .value("InputScalar", Argument::Kind::InputScalar) value 41 python_bindings/python/Argument.cpp .value("InputBuffer", Argument::Kind::InputBuffer) value 42 python_bindings/python/Argument.cpp .value("OutputBuffer", Argument::Kind::OutputBuffer) value 37 python_bindings/python/BoundaryConditions.cpp h::Func constant_exterior0(T func_like, h::Expr value) { value 38 python_bindings/python/BoundaryConditions.cpp return hb::constant_exterior(func_like, value); value 41 python_bindings/python/BoundaryConditions.cpp h::Func constant_exterior_bounds(h::Func func, h::Expr value, p::object bounds_) { value 42 python_bindings/python/BoundaryConditions.cpp return hb::constant_exterior(func, value, pyobject_to_bounds(bounds_)); value 104 python_bindings/python/Expr.cpp .value("None", h::DeviceAPI::None) value 105 python_bindings/python/Expr.cpp .value("Host", h::DeviceAPI::Host) value 106 python_bindings/python/Expr.cpp .value("Default_GPU", h::DeviceAPI::Default_GPU) value 107 python_bindings/python/Expr.cpp .value("CUDA", h::DeviceAPI::CUDA) value 108 python_bindings/python/Expr.cpp .value("OpenCL", h::DeviceAPI::OpenCL) value 109 python_bindings/python/Expr.cpp .value("GLSL", h::DeviceAPI::GLSL) value 214 python_bindings/python/Func.cpp .value("Text", h::StmtOutputFormat::Text) value 215 python_bindings/python/Func.cpp .value("HTML", h::StmtOutputFormat::HTML) value 423 python_bindings/python/Func.cpp func_class.def("value", &Func::value, p::arg("self"), value 56 python_bindings/python/Image.cpp T buffer_to_setitem_operator0(h::Buffer<T> &that, int x, T value) { value 57 python_bindings/python/Image.cpp return that(x) = value; value 61 python_bindings/python/Image.cpp T buffer_to_setitem_operator1(h::Buffer<T> &that, int x, int y, T value) { value 62 python_bindings/python/Image.cpp return that(x, y) = value; value 66 python_bindings/python/Image.cpp T buffer_to_setitem_operator2(h::Buffer<T> &that, int x, int y, int z, T value) { value 67 python_bindings/python/Image.cpp return that(x, y, z) = value; value 71 python_bindings/python/Image.cpp T buffer_to_setitem_operator3(h::Buffer<T> &that, int x, int y, int z, int w, T value) { value 72 python_bindings/python/Image.cpp return that(x, y, z, w) = value; value 76 python_bindings/python/Image.cpp T buffer_to_setitem_operator4(h::Buffer<T> &that, p::tuple &args_passed, T value) { value 100 python_bindings/python/Image.cpp return that(int_args[0]) = value; value 102 python_bindings/python/Image.cpp return that(int_args[0], int_args[1]) = value; value 104 python_bindings/python/Image.cpp return that(int_args[0], int_args[1], int_args[2]) = value; value 106 python_bindings/python/Image.cpp return that(int_args[0], int_args[1], int_args[2], int_args[3]) = value; value 181 python_bindings/python/Image.cpp void buffer_set_host_dirty(h::Buffer<T> &im, bool value) { value 182 python_bindings/python/Image.cpp im.set_host_dirty(value); value 16 python_bindings/python/Target.cpp void target_set_features(h::Target &t, p::list features, bool value) { value 18 python_bindings/python/Target.cpp t.set_features(features_vec, value); value 67 python_bindings/python/Target.cpp .value("OSUnknown", Target::OS::OSUnknown) value 68 python_bindings/python/Target.cpp .value("Linux", Target::OS::Linux) value 69 python_bindings/python/Target.cpp .value("Windows", Target::OS::Windows) value 70 python_bindings/python/Target.cpp .value("OSX", Target::OS::OSX) value 71 python_bindings/python/Target.cpp .value("Android", Target::OS::Android) value 72 python_bindings/python/Target.cpp .value("IOS", Target::OS::IOS) value 78 python_bindings/python/Target.cpp .value("ArchUnknown", Target::Arch::ArchUnknown) value 79 python_bindings/python/Target.cpp .value("X86", Target::Arch::X86) value 80 python_bindings/python/Target.cpp .value("ARM", Target::Arch::ARM) value 81 python_bindings/python/Target.cpp .value("MIPS", Target::Arch::MIPS) value 82 python_bindings/python/Target.cpp .value("POWERPC", Target::Arch::POWERPC) value 87 python_bindings/python/Target.cpp .value("JIT", Target::Feature::JIT) value 88 python_bindings/python/Target.cpp .value("Debug", Target::Feature::Debug) value 89 python_bindings/python/Target.cpp .value("NoAsserts", Target::Feature::NoAsserts) value 90 python_bindings/python/Target.cpp .value("NoBoundsQuery", Target::Feature::NoBoundsQuery) value 91 python_bindings/python/Target.cpp .value("Profile", Target::Feature::Profile) value 93 python_bindings/python/Target.cpp .value("SSE41", Target::Feature::SSE41) value 94 python_bindings/python/Target.cpp .value("AVX", Target::Feature::AVX) value 95 python_bindings/python/Target.cpp .value("AVX2", Target::Feature::AVX2) value 96 python_bindings/python/Target.cpp .value("FMA", Target::Feature::FMA) value 97 python_bindings/python/Target.cpp .value("FMA4", Target::Feature::FMA4) value 98 python_bindings/python/Target.cpp .value("F16C", Target::Feature::F16C) value 100 python_bindings/python/Target.cpp .value("ARMv7s", Target::Feature::ARMv7s) value 101 python_bindings/python/Target.cpp .value("NoNEON", Target::Feature::NoNEON) value 103 python_bindings/python/Target.cpp .value("VSX", Target::Feature::VSX) value 104 python_bindings/python/Target.cpp .value("POWER_ARCH_2_07", Target::Feature::POWER_ARCH_2_07) value 106 python_bindings/python/Target.cpp .value("CUDA", Target::Feature::CUDA) value 107 python_bindings/python/Target.cpp .value("CUDACapability30", Target::Feature::CUDACapability30) value 108 python_bindings/python/Target.cpp .value("CUDACapability32", Target::Feature::CUDACapability32) value 109 python_bindings/python/Target.cpp .value("CUDACapability35", Target::Feature::CUDACapability35) value 110 python_bindings/python/Target.cpp .value("CUDACapability50", Target::Feature::CUDACapability50) value 112 python_bindings/python/Target.cpp .value("OpenCL", Target::Feature::OpenCL) value 113 python_bindings/python/Target.cpp .value("CLDoubles", Target::Feature::CLDoubles) value 115 python_bindings/python/Target.cpp .value("OpenGL", Target::Feature::OpenGL) value 116 python_bindings/python/Target.cpp .value("UserContext", Target::Feature::UserContext) value 117 python_bindings/python/Target.cpp .value("Matlab", Target::Feature::Matlab) value 118 python_bindings/python/Target.cpp .value("Metal", Target::Feature::Metal) value 119 python_bindings/python/Target.cpp .value("FeatureEnd", Target::Feature::FeatureEnd) value 41 src/AddParameterChecks.cpp Expr value, limit_value; value 101 src/AddParameterChecks.cpp Type wider = p.value.type().with_bits(64); value 103 src/AddParameterChecks.cpp p.value = cast(wider, p.value); value 124 src/AddParameterChecks.cpp {p.param_name, p.value, p.limit_value}, value 158 src/AlignLoads.cpp if (op->value.type() == Int(32)) { value 159 src/AlignLoads.cpp alignment_info.push(op->name, modulus_remainder(op->value, alignment_info)); value 162 src/AlignLoads.cpp Expr value = mutate(op->value); value 165 src/AlignLoads.cpp if (op->value.type() == Int(32)) { value 169 src/AlignLoads.cpp if (!value.same_as(op->value) || !body.same_as(op->body)) { value 170 src/AlignLoads.cpp result = LetType::make(op->name, value, body); value 27 src/ApplySplit.h Expr value; value 33 src/ApplySplit.h : name(n), value(val), type(t) {} value 34 src/ApplySplit.h ApplySplitResult(Expr val) : name(""), value(val), type(Predicate) {} value 40 src/BoundaryConditions.cpp Func constant_exterior(const Func &source, Tuple value, value 66 src/BoundaryConditions.cpp if (value.as_vector().size() > 1) { value 68 src/BoundaryConditions.cpp for (size_t i = 0; i < value.as_vector().size(); i++) { value 69 src/BoundaryConditions.cpp def.push_back(select(out_of_bounds, value[i], repeat_edge(source, bounds)(args)[i])); value 73 src/BoundaryConditions.cpp bounded(args) = select(out_of_bounds, value[0], repeat_edge(source, bounds)(args)); value 79 src/BoundaryConditions.cpp Func constant_exterior(const Func &source, Expr value, value 81 src/BoundaryConditions.cpp return constant_exterior(source, Tuple(value), bounds); value 84 src/BoundaryConditions.h EXPORT Func constant_exterior(const Func &source, Tuple value, value 86 src/BoundaryConditions.h EXPORT Func constant_exterior(const Func &source, Expr value, value 90 src/BoundaryConditions.h inline NO_INLINE Func constant_exterior(const T &func_like, Tuple value) { value 96 src/BoundaryConditions.h return constant_exterior(Internal::func_like_to_func(func_like), value, object_bounds); value 99 src/BoundaryConditions.h inline NO_INLINE Func constant_exterior(const T &func_like, Expr value) { value 100 src/BoundaryConditions.h return constant_exterior(func_like, Tuple(value)); value 104 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 105 src/BoundaryConditions.h inline NO_INLINE Func constant_exterior(const T &func_like, Tuple value, value 109 src/BoundaryConditions.h return constant_exterior(Internal::func_like_to_func(func_like), value, collected_bounds); value 112 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 113 src/BoundaryConditions.h inline NO_INLINE Func constant_exterior(const T &func_like, Expr value, value 115 src/BoundaryConditions.h return constant_exterior(func_like, Tuple(value), std::forward<Bounds>(bounds)...); value 147 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 182 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 217 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 255 src/BoundaryConditions.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Bounds...>::value>::type* = nullptr> value 70 src/Bounds.cpp Expr a = find_constant_bound(cast->value, d); value 135 src/Bounds.cpp op->value.accept(this); value 138 src/Bounds.cpp if (a.is_single_point(op->value)) { value 144 src/Bounds.cpp Type from = op->value.type().element_of(); value 574 src/Bounds.cpp op->value.accept(this); value 684 src/Bounds.cpp op->value.accept(this); value 700 src/Bounds.cpp var.min = Variable::make(op->value.type().element_of(), min_name); value 710 src/Bounds.cpp var.max = Variable::make(op->value.type().element_of(), max_name); value 1055 src/Bounds.cpp op->value.accept(this); value 1057 src/Bounds.cpp Interval value_bounds = bounds_of_expr_in_scope(op->value, scope, func_bounds); value 1072 src/Bounds.cpp scope.push(op->name, Interval(Variable::make(op->value.type(), min_name), value 1073 src/Bounds.cpp Variable::make(op->value.type(), max_name))); value 73 src/BoundsInference.cpp Interval in = bounds_of_expr_in_scope(op->value, scope); value 117 src/BoundsInference.cpp Expr value; value 204 src/BoundsInference.cpp Expr val = vec[0].value; value 206 src/BoundsInference.cpp if (!equal(val, vec[i].value)) { value 689 src/BoundsInference.cpp internal_assert(cond_val.value.defined()); value 690 src/BoundsInference.cpp cond_val.value = inline_function(cond_val.value, func); value 754 src/BoundsInference.cpp new_boxes = boxes_required(cval.value, scope, func_bounds); value 853 src/BoundsInference.cpp if (depends_on_bounds_inference(let->value)) { value 858 src/BoundsInference.cpp lets.push_back({ let->name, let->value }); value 39 src/Buffer.h typename = typename std::enable_if<!std::is_convertible<T, std::string>::value>::type> value 80 src/Buffer.h using add_const_if_T_is_const = typename std::conditional<std::is_const<T>::value, const T2, T2>::type; value 142 src/Buffer.h typename = typename std::enable_if<Internal::all_ints_and_optional_name<Args...>::value>::type> value 157 src/Buffer.h typename = typename std::enable_if<Internal::all_ints_and_optional_name<Args...>::value>::type> value 177 src/Buffer.h typename = typename std::enable_if<Internal::all_ints_and_optional_name<Args...>::value>::type> value 185 src/Buffer.h typename = typename std::enable_if<Internal::all_ints_and_optional_name<Args...>::value>::type> value 34 src/CSE.cpp return should_extract(a->value); value 38 src/CSE.cpp return should_extract(a->value); value 153 src/CSE.cpp Expr value = mutate(let->value); value 187 src/CSE.cpp Expr value = mutate(op->value); value 189 src/CSE.cpp if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 192 src/CSE.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 305 src/CSE.cpp Expr value = lets[i-1].second; value 307 src/CSE.cpp replacer.replacements.erase(value); value 309 src/CSE.cpp value = replacer.mutate(lets[i-1].second); value 310 src/CSE.cpp e = Let::make(lets[i-1].first, value, e); value 348 src/CSE.cpp Expr value = mutate(let->value); value 350 src/CSE.cpp expr = Let::make(new_name, value, body); value 160 src/CanonicalizeGPUVars.cpp Expr value = mutate(op->value); value 166 src/CanonicalizeGPUVars.cpp value = substitute(op->name, new_var, value); value 171 src/CanonicalizeGPUVars.cpp value.same_as(op->value) && value 175 src/CanonicalizeGPUVars.cpp stmt = LetStmt::make(name, value, body); value 20 src/Closure.cpp op->value.accept(this); value 27 src/Closure.cpp op->value.accept(this); value 69 src/Closure.cpp op->value.accept(this); value 70 src/Closure.cpp found_buffer_ref(op->name, op->value.type(), false, true, Halide::Buffer<>()); value 264 src/CodeGen_ARM.cpp value = call_pattern(pattern, t, matches); value 284 src/CodeGen_ARM.cpp value = call_pattern(pattern, t, matches); value 303 src/CodeGen_ARM.cpp value = call_pattern(pattern, llvm_type_of(t), value 319 src/CodeGen_ARM.cpp op->value.type().is_int() && value 320 src/CodeGen_ARM.cpp t.bits() == op->value.type().bits() / 2) { value 321 src/CodeGen_ARM.cpp const Div *d = op->value.as<Div>(); value 335 src/CodeGen_ARM.cpp (op->value.type().is_int() || op->value.type().is_uint()) && value 336 src/CodeGen_ARM.cpp t.bits() == op->value.type().bits() * 2) { value 338 src/CodeGen_ARM.cpp const Call *c = op->value.as<Call>(); value 343 src/CodeGen_ARM.cpp value = call_intrin(t, intrin_lanes, ss.str(), c->args); value 368 src/CodeGen_ARM.cpp value = codegen(op->a*2 + op->a); value 371 src/CodeGen_ARM.cpp value = codegen(op->a*4 + op->a); value 374 src/CodeGen_ARM.cpp value = codegen(op->a*8 - op->a); value 377 src/CodeGen_ARM.cpp value = codegen(op->a*8 + op->a); value 398 src/CodeGen_ARM.cpp value = call_pattern(pattern, t_result, value 422 src/CodeGen_ARM.cpp value = call_pattern(averagings[i], op->type, matches); value 444 src/CodeGen_ARM.cpp value = call_pattern(negations[i], op->type, matches); value 466 src/CodeGen_ARM.cpp value = builder->CreateFSub(a, b); value 505 src/CodeGen_ARM.cpp value = builder->CreateExtractElement(wide_result, zero); value 552 src/CodeGen_ARM.cpp value = call_intrin(op->type, patterns[i].t.lanes(), intrin, {op->a, op->b}); value 578 src/CodeGen_ARM.cpp value = builder->CreateExtractElement(wide_result, zero); value 625 src/CodeGen_ARM.cpp value = call_intrin(op->type, patterns[i].t.lanes(), intrin, {op->a, op->b}); value 655 src/CodeGen_ARM.cpp Expr rhs = op->value; value 659 src/CodeGen_ARM.cpp lets.push_back({ let->name, let->value }); value 781 src/CodeGen_ARM.cpp if (stride && (stride->value == 1 || stride->value == -1)) { value 790 src/CodeGen_ARM.cpp << (op->value.type().is_float() ? 'f' : 'i') value 791 src/CodeGen_ARM.cpp << op->value.type().bits() value 792 src/CodeGen_ARM.cpp << 'x' << op->value.type().lanes(); value 796 src/CodeGen_ARM.cpp Value *base = codegen_buffer_pointer(op->name, op->value.type().element_of(), ramp->base); value 797 src/CodeGen_ARM.cpp Value *stride = codegen(ramp->stride * op->value.type().bytes()); value 798 src/CodeGen_ARM.cpp Value *val = codegen(op->value); value 835 src/CodeGen_ARM.cpp if (stride && (stride->value == 1 || stride->value == -1)) { value 841 src/CodeGen_ARM.cpp if (stride && stride->value >= 2 && stride->value <= 4) { value 852 src/CodeGen_ARM.cpp if ((mod_rem.modulus % stride->value) == 0) { value 853 src/CodeGen_ARM.cpp offset = mod_rem.remainder % stride->value; value 855 src/CodeGen_ARM.cpp offset = add_b->value % stride->value; value 857 src/CodeGen_ARM.cpp offset += stride->value; value 890 src/CodeGen_ARM.cpp llvm::Type *load_return_type = llvm_type_of(op->type.with_lanes(intrin_lanes*stride->value)); value 895 src/CodeGen_ARM.cpp Constant *constant = ConstantInt::get(i32_t, j*stride->value+offset); value 914 src/CodeGen_ARM.cpp value = concat_vectors(results); value 934 src/CodeGen_ARM.cpp value = load; value 725 src/CodeGen_C.cpp print_assignment(op->type, "(" + print_type(op->type) + ")(" + print_expr(op->value) + ")"); value 818 src/CodeGen_C.cpp id = std::to_string(op->value); value 820 src/CodeGen_C.cpp print_assignment(op->type, "(" + print_type(op->type) + ")(" + std::to_string(op->value) + ")"); value 825 src/CodeGen_C.cpp print_assignment(op->type, "(" + print_type(op->type) + ")(" + std::to_string(op->value) + ")"); value 849 src/CodeGen_C.cpp if (isnan(op->value)) { value 851 src/CodeGen_C.cpp } else if (isinf(op->value)) { value 852 src/CodeGen_C.cpp if (op->value > 0) { value 863 src/CodeGen_C.cpp u.as_float = op->value; value 887 src/CodeGen_C.cpp string filename = string_imm->value; value 1072 src/CodeGen_C.cpp fn->value + "(" + value 1158 src/CodeGen_C.cpp Type t = op->value.type(); value 1166 src/CodeGen_C.cpp string id_value = print_expr(op->value); value 1188 src/CodeGen_C.cpp string id_value = print_expr(op->value); value 1190 src/CodeGen_C.cpp if (op->value.type().is_handle()) { value 1194 src/CodeGen_C.cpp stream << print_type(op->value.type()) value 1198 src/CodeGen_C.cpp Expr new_var = Variable::make(op->value.type(), id_value); value 1218 src/CodeGen_C.cpp string id_value = print_expr(op->value); value 1220 src/CodeGen_C.cpp if (op->value.type().is_handle()) { value 1224 src/CodeGen_C.cpp stream << print_type(op->value.type()) value 1228 src/CodeGen_C.cpp Expr new_var = Variable::make(op->value.type(), id_value); value 1443 src/CodeGen_C.cpp if (is_const(op->value)) return; value 1444 src/CodeGen_C.cpp string id = print_expr(op->value); value 78 src/CodeGen_GPU_Host.cpp shared_mem_size = Let::make(op->name, op->value, shared_mem_size); value 1309 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1319 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1332 src/CodeGen_Hexagon.cpp return xb->value; value 1342 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1346 src/CodeGen_Hexagon.cpp if (value) return; value 1353 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1357 src/CodeGen_Hexagon.cpp if (value) { value 1362 src/CodeGen_Hexagon.cpp value = call_intrin(llvm_type_of(op->type), value 1364 src/CodeGen_Hexagon.cpp {value}); value 1451 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, op->name, op->args); value 1460 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, intrin, op->args, true /*maybe*/); value 1461 src/CodeGen_Hexagon.cpp if (value) return; value 1468 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1479 src/CodeGen_Hexagon.cpp value = vlut(lut, idx, *min_index, *max_index); value 1487 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1514 src/CodeGen_Hexagon.cpp value = codegen(Cast::make(Bool(), Shuffle::make_extract_element(op->args[0], *index))); value 1545 src/CodeGen_Hexagon.cpp value = builder->CreateCall(prefetch_fn, args); value 1559 src/CodeGen_Hexagon.cpp if (target.has_feature(Target::HVX_v62) && (op->value.type().bits() == 8 || op->value.type().bits() == 16)) value 1562 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1563 src/CodeGen_Hexagon.cpp "halide.hexagon.splat" + v62_suffix + type_suffix(op->value, false), value 1564 src/CodeGen_Hexagon.cpp {op->value}); value 1570 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1574 src/CodeGen_Hexagon.cpp if (!value) { value 1578 src/CodeGen_Hexagon.cpp value = codegen(equiv); value 1587 src/CodeGen_Hexagon.cpp value = call_intrin(op->type, value 1591 src/CodeGen_Hexagon.cpp if (!value) { value 1595 src/CodeGen_Hexagon.cpp value = codegen(equiv); value 1607 src/CodeGen_Hexagon.cpp value = codegen(Call::make(op->type, Call::if_then_else, value 1617 src/CodeGen_Hexagon.cpp value = call_intrin(eliminated_bool_type(op->type, op->a.type()), value 1627 src/CodeGen_Hexagon.cpp value = call_intrin(eliminated_bool_type(op->type, op->a.type()), value 287 src/CodeGen_Internal.cpp expr = Call::make(op->type, Call::if_then_else, {scalar_pred->value, unpredicated_load, make_zero(op->type)}, value 319 src/CodeGen_Internal.cpp Expr value = mutate(op->value); value 323 src/CodeGen_Internal.cpp Stmt unpredicated_store = Store::make(op->name, value, index, op->param, const_true(value.type().lanes())); value 324 src/CodeGen_Internal.cpp stmt = IfThenElse::make(scalar_pred->value, unpredicated_store); value 327 src/CodeGen_Internal.cpp Expr value_var = Variable::make(value.type(), value_name); value 343 src/CodeGen_Internal.cpp stmt = LetStmt::make(value_name, value, stmt); value 357 src/CodeGen_Internal.cpp bool get_md_bool(llvm::Metadata *value, bool &result) { value 358 src/CodeGen_Internal.cpp if (!value) { value 361 src/CodeGen_Internal.cpp llvm::ConstantAsMetadata *cam = llvm::cast<llvm::ConstantAsMetadata>(value); value 373 src/CodeGen_Internal.cpp bool get_md_string(llvm::Metadata *value, std::string &result) { value 374 src/CodeGen_Internal.cpp if (!value) { value 378 src/CodeGen_Internal.cpp llvm::MDString *c = llvm::dyn_cast<llvm::MDString>(value); value 152 src/CodeGen_LLVM.cpp value(nullptr), value 1054 src/CodeGen_LLVM.cpp void CodeGen_LLVM::sym_push(const string &name, llvm::Value *value) { value 1055 src/CodeGen_LLVM.cpp if (!value->getType()->isVoidTy()) { value 1056 src/CodeGen_LLVM.cpp value->setName(name); value 1058 src/CodeGen_LLVM.cpp symbol_table.push(name, value); value 1092 src/CodeGen_LLVM.cpp value = nullptr; value 1094 src/CodeGen_LLVM.cpp internal_assert(value) << "Codegen of an expr did not produce an llvm value\n"; value 1095 src/CodeGen_LLVM.cpp return value; value 1101 src/CodeGen_LLVM.cpp value = nullptr; value 1106 src/CodeGen_LLVM.cpp value = ConstantInt::getSigned(llvm_type_of(op->type), op->value); value 1110 src/CodeGen_LLVM.cpp value = ConstantInt::get(llvm_type_of(op->type), op->value); value 1114 src/CodeGen_LLVM.cpp value = ConstantFP::get(llvm_type_of(op->type), op->value); value 1118 src/CodeGen_LLVM.cpp value = create_string_constant(op->value); value 1122 src/CodeGen_LLVM.cpp Halide::Type src = op->value.type(); value 1125 src/CodeGen_LLVM.cpp value = codegen(op->value); value 1130 src/CodeGen_LLVM.cpp value = builder->CreateBitCast(value, llvm_dst); value 1137 src/CodeGen_LLVM.cpp value = builder->CreateIntCast(value, llvm_dst, src.is_int()); value 1139 src/CodeGen_LLVM.cpp value = builder->CreateFPToSI(value, llvm_dst); value 1148 src/CodeGen_LLVM.cpp value = builder->CreateFPToUI(value, llvm_type_of(dst.with_bits(8))); value 1149 src/CodeGen_LLVM.cpp value = builder->CreateIntCast(value, llvm_dst, false); value 1151 src/CodeGen_LLVM.cpp value = builder->CreateFPToUI(value, llvm_dst); value 1154 src/CodeGen_LLVM.cpp value = builder->CreateSIToFP(value, llvm_dst); value 1156 src/CodeGen_LLVM.cpp value = builder->CreateUIToFP(value, llvm_dst); value 1160 src/CodeGen_LLVM.cpp value = builder->CreateFPCast(value, llvm_dst); value 1165 src/CodeGen_LLVM.cpp value = sym_get(op->name); value 1170 src/CodeGen_LLVM.cpp value = builder->CreateFAdd(codegen(op->a), codegen(op->b)); value 1174 src/CodeGen_LLVM.cpp value = builder->CreateNSWAdd(codegen(op->a), codegen(op->b)); value 1176 src/CodeGen_LLVM.cpp value = builder->CreateAdd(codegen(op->a), codegen(op->b)); value 1182 src/CodeGen_LLVM.cpp value = builder->CreateFSub(codegen(op->a), codegen(op->b)); value 1186 src/CodeGen_LLVM.cpp value = builder->CreateNSWSub(codegen(op->a), codegen(op->b)); value 1188 src/CodeGen_LLVM.cpp value = builder->CreateSub(codegen(op->a), codegen(op->b)); value 1194 src/CodeGen_LLVM.cpp value = builder->CreateFMul(codegen(op->a), codegen(op->b)); value 1198 src/CodeGen_LLVM.cpp value = builder->CreateNSWMul(codegen(op->a), codegen(op->b)); value 1200 src/CodeGen_LLVM.cpp value = builder->CreateMul(codegen(op->a), codegen(op->b)); value 1227 src/CodeGen_LLVM.cpp value = builder->CreateFDiv(codegen(op->a), codegen(op->b)); value 1230 src/CodeGen_LLVM.cpp value = codegen(op->a >> shift_amount); value 1266 src/CodeGen_LLVM.cpp value = codegen(num); value 1306 src/CodeGen_LLVM.cpp value = codegen(val); value 1308 src/CodeGen_LLVM.cpp value = codegen(lower_euclidean_div(op->a, op->b)); value 1319 src/CodeGen_LLVM.cpp value = codegen(simplify(op->a - op->b * floor(op->a/op->b))); value 1321 src/CodeGen_LLVM.cpp value = codegen(op->a & (op->b - 1)); value 1328 src/CodeGen_LLVM.cpp value = codegen(common_subexpression_elimination(op->a - (op->a / op->b) * op->b)); value 1334 src/CodeGen_LLVM.cpp value = codegen(common_subexpression_elimination(op->a - (op->a / op->b) * op->b)); value 1338 src/CodeGen_LLVM.cpp value = codegen(lower_euclidean_mod(op->a, op->b)); value 1347 src/CodeGen_LLVM.cpp value = codegen(Let::make(a_name, op->a, value 1357 src/CodeGen_LLVM.cpp value = codegen(Let::make(a_name, op->a, value 1367 src/CodeGen_LLVM.cpp value = builder->CreateFCmpOEQ(a, b); value 1369 src/CodeGen_LLVM.cpp value = builder->CreateICmpEQ(a, b); value 1378 src/CodeGen_LLVM.cpp value = builder->CreateFCmpONE(a, b); value 1380 src/CodeGen_LLVM.cpp value = builder->CreateICmpNE(a, b); value 1390 src/CodeGen_LLVM.cpp value = builder->CreateFCmpOLT(a, b); value 1392 src/CodeGen_LLVM.cpp value = builder->CreateICmpSLT(a, b); value 1394 src/CodeGen_LLVM.cpp value = builder->CreateICmpULT(a, b); value 1403 src/CodeGen_LLVM.cpp value = builder->CreateFCmpOLE(a, b); value 1405 src/CodeGen_LLVM.cpp value = builder->CreateICmpSLE(a, b); value 1407 src/CodeGen_LLVM.cpp value = builder->CreateICmpULE(a, b); value 1416 src/CodeGen_LLVM.cpp value = builder->CreateFCmpOGT(a, b); value 1418 src/CodeGen_LLVM.cpp value = builder->CreateICmpSGT(a, b); value 1420 src/CodeGen_LLVM.cpp value = builder->CreateICmpUGT(a, b); value 1429 src/CodeGen_LLVM.cpp value = builder->CreateFCmpOGE(a, b); value 1431 src/CodeGen_LLVM.cpp value = builder->CreateICmpSGE(a, b); value 1433 src/CodeGen_LLVM.cpp value = builder->CreateICmpUGE(a, b); value 1438 src/CodeGen_LLVM.cpp value = builder->CreateAnd(codegen(op->a), codegen(op->b)); value 1442 src/CodeGen_LLVM.cpp value = builder->CreateOr(codegen(op->a), codegen(op->b)); value 1446 src/CodeGen_LLVM.cpp value = builder->CreateNot(codegen(op->a)); value 1462 src/CodeGen_LLVM.cpp value = builder->CreateOr(a, b); value 1464 src/CodeGen_LLVM.cpp value = builder->CreateSelect(codegen(op->condition), value 1635 src/CodeGen_LLVM.cpp value = load; value 1640 src/CodeGen_LLVM.cpp if (ramp && stride && stride->value == 1) { value 1641 src/CodeGen_LLVM.cpp value = codegen_dense_vector_load(op); value 1642 src/CodeGen_LLVM.cpp } else if (ramp && stride && stride->value == 2) { value 1665 src/CodeGen_LLVM.cpp if (offset && offset->value & 1) { value 1690 src/CodeGen_LLVM.cpp value = shuffle_vectors(vec_a, vec_b, indices); value 1691 src/CodeGen_LLVM.cpp } else if (ramp && stride && stride->value == -1) { value 1705 src/CodeGen_LLVM.cpp value = shuffle_vectors(flipped, indices); value 1710 src/CodeGen_LLVM.cpp value = UndefValue::get(llvm_type_of(op->type)); value 1715 src/CodeGen_LLVM.cpp value = builder->CreateInsertElement(value, val, lane); value 1732 src/CodeGen_LLVM.cpp value = vec; value 1744 src/CodeGen_LLVM.cpp value = vec; value 1758 src/CodeGen_LLVM.cpp value = codegen(broadcast + ramp); value 1765 src/CodeGen_LLVM.cpp value = UndefValue::get(llvm_type_of(op->type)); value 1776 src/CodeGen_LLVM.cpp value = builder->CreateInsertElement(value, base, ConstantInt::get(i32_t, i)); value 1790 src/CodeGen_LLVM.cpp value = create_broadcast(codegen(op->value), op->lanes); value 1798 src/CodeGen_LLVM.cpp return broadcast->value; value 1884 src/CodeGen_LLVM.cpp value = result; value 1892 src/CodeGen_LLVM.cpp Halide::Type value_type = op->value.type(); value 1893 src/CodeGen_LLVM.cpp Value *val = codegen(op->value); value 1937 src/CodeGen_LLVM.cpp Type value_type = op->value.type().element_of(); value 1939 src/CodeGen_LLVM.cpp Value *vval = codegen(op->value); value 2028 src/CodeGen_LLVM.cpp value = concat_vectors(slices); value 2029 src/CodeGen_LLVM.cpp return value; value 2037 src/CodeGen_LLVM.cpp value = codegen_dense_vector_load(op, codegen(op->predicate)); value 2038 src/CodeGen_LLVM.cpp } else if (ramp && stride && stride->value == -1) { value 2057 src/CodeGen_LLVM.cpp value = shuffle_vectors(flipped, indices); value 2066 src/CodeGen_LLVM.cpp value = codegen(pred_load); value 2099 src/CodeGen_LLVM.cpp value = builder->CreateCall(debug_to_file, args); value 2103 src/CodeGen_LLVM.cpp value = builder->CreateAnd(codegen(op->args[0]), codegen(op->args[1])); value 2106 src/CodeGen_LLVM.cpp value = builder->CreateXor(codegen(op->args[0]), codegen(op->args[1])); value 2109 src/CodeGen_LLVM.cpp value = builder->CreateOr(codegen(op->args[0]), codegen(op->args[1])); value 2112 src/CodeGen_LLVM.cpp value = builder->CreateNot(codegen(op->args[0])); value 2118 src/CodeGen_LLVM.cpp value = codegen(op->args[0]); value 2126 src/CodeGen_LLVM.cpp value = builder->CreatePtrToInt(value, intermediate); value 2127 src/CodeGen_LLVM.cpp value = builder->CreateZExt(value, llvm_dst); value 2129 src/CodeGen_LLVM.cpp value = builder->CreatePtrToInt(value, llvm_dst); value 2141 src/CodeGen_LLVM.cpp value = builder->CreateTrunc(value, intermediate); value 2142 src/CodeGen_LLVM.cpp value = builder->CreateIntToPtr(value, llvm_dst); value 2144 src/CodeGen_LLVM.cpp value = builder->CreateIntToPtr(value, llvm_dst); value 2150 src/CodeGen_LLVM.cpp value = builder->CreateBitCast(codegen(op->args[0]), llvm_dst); value 2154 src/CodeGen_LLVM.cpp value = builder->CreateShl(codegen(op->args[0]), codegen(op->args[1])); value 2158 src/CodeGen_LLVM.cpp value = builder->CreateAShr(codegen(op->args[0]), codegen(op->args[1])); value 2160 src/CodeGen_LLVM.cpp value = builder->CreateLShr(codegen(op->args[0]), codegen(op->args[1])); value 2178 src/CodeGen_LLVM.cpp value = codegen(Let::make(x_name, op->args[0], select(x >= 0, x, -x))); value 2219 src/CodeGen_LLVM.cpp value = builder->CreateSDiv(a, b); value 2221 src/CodeGen_LLVM.cpp value = builder->CreateUDiv(a, b); value 2230 src/CodeGen_LLVM.cpp value = builder->CreateSRem(a, b); value 2232 src/CodeGen_LLVM.cpp value = builder->CreateURem(a, b); value 2238 src/CodeGen_LLVM.cpp value = codegen(lower_lerp(op->args[0], op->args[1], op->args[2])); value 2245 src/CodeGen_LLVM.cpp value = call; value 2258 src/CodeGen_LLVM.cpp value = call; value 2262 src/CodeGen_LLVM.cpp value = codegen(op->args[1]); value 2266 src/CodeGen_LLVM.cpp cond = b->value; value 2293 src/CodeGen_LLVM.cpp value = phi; value 2303 src/CodeGen_LLVM.cpp value = ConstantPointerNull::get(dyn_cast<PointerType>(llvm_type_of(op->type))); value 2319 src/CodeGen_LLVM.cpp value = create_alloca_at_entry(types[0], 1); value 2320 src/CodeGen_LLVM.cpp builder->CreateStore(args[0], value); value 2326 src/CodeGen_LLVM.cpp value = create_alloca_at_entry(aggregate_t, 1); value 2328 src/CodeGen_LLVM.cpp Value *elem_ptr = builder->CreateConstInBoundsGEP2_32(aggregate_t, value, 0, i); value 2346 src/CodeGen_LLVM.cpp buf_size += op->args[i].as<StringImm>()->value.size(); value 2428 src/CodeGen_LLVM.cpp value = buf; value 2435 src/CodeGen_LLVM.cpp value = codegen(op->args[0]); value 2447 src/CodeGen_LLVM.cpp value = create_alloca_at_entry(buffer_t_type, 1); value 2452 src/CodeGen_LLVM.cpp value = create_alloca_at_entry(dimension_t_type, *sz / sizeof(halide_dimension_t)); value 2455 src/CodeGen_LLVM.cpp value = create_alloca_at_entry(i8_t, *sz); value 2464 src/CodeGen_LLVM.cpp llvm::Function *f = module->getFunction(fn->value); value 2468 src/CodeGen_LLVM.cpp f = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, fn->value, module.get()); value 2522 src/CodeGen_LLVM.cpp const string sub_fn_name = op->args[i+1].as<StringImm>()->value; value 2613 src/CodeGen_LLVM.cpp value = call; value 2629 src/CodeGen_LLVM.cpp value = builder->CreateCall(prefetch_fn, args); value 2639 src/CodeGen_LLVM.cpp value = ConstantInt::get(i32_t, (int)d.getTypeAllocSize(buffer_t_type)); value 2661 src/CodeGen_LLVM.cpp value = builder->CreateFCmpUNO(a, a); value 2764 src/CodeGen_LLVM.cpp value = call; value 2775 src/CodeGen_LLVM.cpp value = call_intrin(llvm_type_of(op->type), w, value 2781 src/CodeGen_LLVM.cpp value = UndefValue::get(result_type); value 2798 src/CodeGen_LLVM.cpp value = builder->CreateInsertElement(value, call, idx); value 2811 src/CodeGen_LLVM.cpp sym_push(op->name, codegen(op->value)); value 2812 src/CodeGen_LLVM.cpp if (op->value.type() == Int(32)) { value 2813 src/CodeGen_LLVM.cpp alignment_info.push(op->name, modulus_remainder(op->value, alignment_info)); value 2815 src/CodeGen_LLVM.cpp value = codegen(op->body); value 2816 src/CodeGen_LLVM.cpp if (op->value.type() == Int(32)) { value 2823 src/CodeGen_LLVM.cpp sym_push(op->name, codegen(op->value)); value 2825 src/CodeGen_LLVM.cpp if (op->value.type() == Int(32)) { value 2826 src/CodeGen_LLVM.cpp alignment_info.push(op->name, modulus_remainder(op->value, alignment_info)); value 2831 src/CodeGen_LLVM.cpp if (op->value.type() == Int(32)) { value 3078 src/CodeGen_LLVM.cpp if (op->value.type().is_handle()) { value 3079 src/CodeGen_LLVM.cpp Expr v = reinterpret(UInt(64, op->value.type().lanes()), op->value); value 3090 src/CodeGen_LLVM.cpp Halide::Type value_type = op->value.type(); value 3091 src/CodeGen_LLVM.cpp Value *val = codegen(op->value); value 3099 src/CodeGen_LLVM.cpp Stmt s = Store::make(op->name, op->value, let->body, op->param, op->predicate); value 3100 src/CodeGen_LLVM.cpp codegen(LetStmt::make(let->name, let->value, s)); value 3158 src/CodeGen_LLVM.cpp const_stride->value * i); value 3218 src/CodeGen_LLVM.cpp codegen(op->value); value 3221 src/CodeGen_LLVM.cpp value = nullptr; value 3230 src/CodeGen_LLVM.cpp value = interleave_vectors(vecs); value 3236 src/CodeGen_LLVM.cpp value = concat_vectors(vecs); value 3240 src/CodeGen_LLVM.cpp value = slice_vector(value, op->indices[0], op->indices.size()); value 3242 src/CodeGen_LLVM.cpp value = shuffle_vectors(value, op->indices); value 3247 src/CodeGen_LLVM.cpp value = builder->CreateExtractElement(value, ConstantInt::get(i32_t, 0)); value 140 src/CodeGen_LLVM.h llvm::Value *value; value 163 src/CodeGen_LLVM.h void sym_push(const std::string &name, llvm::Value *value); value 188 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); value 289 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); value 290 src/CodeGen_Metal_Dev.cpp Type t = op->value.type(); value 295 src/CodeGen_Metal_Dev.cpp internal_assert(op->value.type().is_vector()); value 322 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); value 407 src/CodeGen_Metal_Dev.cpp print_assignment(op->type, print_type(op->type) + "(" + print_expr(op->value) + ")"); value 145 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); value 162 src/CodeGen_OpenCL_Dev.cpp if (i != nullptr && i->value == 1) { value 291 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); value 292 src/CodeGen_OpenCL_Dev.cpp Type t = op->value.type(); value 297 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->value.type().is_vector()); value 328 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); value 377 src/CodeGen_OpenCL_Dev.cpp print_assignment(op->type, "convert_" + print_type(op->type) + "(" + print_expr(op->value) + ")"); value 104 src/CodeGen_OpenGLCompute_Dev.cpp Type value_type = op->value.type(); value 109 src/CodeGen_OpenGLCompute_Dev.cpp print_assignment(target_type, print_type(target_type) + "(" + print_expr(op->value) + ")"); value 138 src/CodeGen_OpenGLCompute_Dev.cpp int new_workgroup_size = int_limit->value; value 177 src/CodeGen_OpenGLCompute_Dev.cpp string id_value = print_expr(op->value); value 201 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(op->value.type().is_scalar()); value 204 src/CodeGen_OpenGLCompute_Dev.cpp string id_value = print_expr(op->value); value 211 src/CodeGen_OpenGLCompute_Dev.cpp stream << "[" << id_index << "] = " << print_type(op->value.type()) << "(" << id_value << ");\n"; value 358 src/CodeGen_OpenGLCompute_Dev.cpp if (is_const(op->value)) return; value 359 src/CodeGen_OpenGLCompute_Dev.cpp print_expr(op->value); value 364 src/CodeGen_OpenGLCompute_Dev.cpp id = "int(" + std::to_string(op->value) + ")"; value 368 src/CodeGen_OpenGLCompute_Dev.cpp id = "uint(" + std::to_string(op->value) + ")"; value 329 src/CodeGen_OpenGL_Dev.cpp const float truncated = (op->value < 0 ? std::ceil(op->value) : std::floor(op->value) ); value 330 src/CodeGen_OpenGL_Dev.cpp if (truncated == op->value) { value 331 src/CodeGen_OpenGL_Dev.cpp oss << std::fixed << std::setprecision(1) << op->value; value 333 src/CodeGen_OpenGL_Dev.cpp oss << std::setprecision(9) << op->value; value 340 src/CodeGen_OpenGL_Dev.cpp id = std::to_string(op->value); value 342 src/CodeGen_OpenGL_Dev.cpp id = print_type(op->type) + "(" + std::to_string(op->value) + ")"; value 347 src/CodeGen_OpenGL_Dev.cpp id = print_type(op->type) + "(" + std::to_string(op->value) + ")"; value 351 src/CodeGen_OpenGL_Dev.cpp Type value_type = op->value.type(); value 355 src/CodeGen_OpenGL_Dev.cpp Expr value = op->value; value 362 src/CodeGen_OpenGL_Dev.cpp value = simplify(floor(value)); value 364 src/CodeGen_OpenGL_Dev.cpp value = simplify(trunc(value)); value 367 src/CodeGen_OpenGL_Dev.cpp value.accept(this); value 371 src/CodeGen_OpenGL_Dev.cpp print_assignment(target_type, print_type(target_type) + "(" + print_expr(op->value) + ")"); value 507 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(b->value); value 553 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); value 557 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); value 561 src/CodeGen_OpenGL_Dev.cpp } else if (op->value.type().is_scalar()) { value 562 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); value 568 src/CodeGen_OpenGL_Dev.cpp vector<string> values = print_lanes(op->value); value 569 src/CodeGen_OpenGL_Dev.cpp for (int i = 0; i < op->value.type().lanes(); i++) { value 580 src/CodeGen_OpenGL_Dev.cpp print_expr(op->value); value 593 src/CodeGen_OpenGL_Dev.cpp (op->args[0].as<Broadcast>() && op->args[0].as<Broadcast>()->value.as<StringImm>())); value 597 src/CodeGen_OpenGL_Dev.cpp string_imm = op->args[0].as<Broadcast>()->value.as<StringImm>(); value 601 src/CodeGen_OpenGL_Dev.cpp string buffername = string_imm->value; value 619 src/CodeGen_OpenGL_Dev.cpp << print_expr(bx->value) << ", " value 620 src/CodeGen_OpenGL_Dev.cpp << print_expr(by->value) << "))"; value 818 src/CodeGen_OpenGL_Dev.cpp rhs << print_type(op->type) << "(" << print_expr(op->value) << ")"; value 116 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, pattern.type.lanes(), pattern.intrin, matches); value 139 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, (128 / element_type.bits()), value 143 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, 4, "llvm.ppc.altivec.vminfp", {op->a, op->b}); value 145 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, 2, "llvm.ppc.vsx.xvmindp", {op->a, op->b}); value 165 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, (128 / element_type.bits()), value 169 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, 4, "llvm.ppc.altivec.vmaxfp", {op->a, op->b}); value 171 src/CodeGen_PowerPC.cpp value = call_intrin(op->type, 2, "llvm.ppc.vsx.xvmaxdp", {op->a, op->b}); value 118 src/CodeGen_X86.cpp value = concat_vectors(result); value 119 src/CodeGen_X86.cpp value = slice_vector(value, 0, t.lanes()); value 151 src/CodeGen_X86.cpp value = concat_vectors(result); value 152 src/CodeGen_X86.cpp value = slice_vector(value, 0, t.lanes()); value 195 src/CodeGen_X86.cpp value = concat_vectors(result); value 196 src/CodeGen_X86.cpp value = slice_vector(value, 0, t.lanes()); value 284 src/CodeGen_X86.cpp value = call_intrin(op->type, pattern.type.lanes(), pattern.intrin, matches); value 295 src/CodeGen_X86.cpp if (op->value.type().element_of() == UInt(32) && value 302 src/CodeGen_X86.cpp Expr top_bits = cast(signed_type, op->value / 2); value 306 src/CodeGen_X86.cpp Expr bottom_bit = cast(signed_type, op->value % 2); value 345 src/CodeGen_X86.cpp value = call_intrin(op->type, 16, "llvm.x86.sse2.pminu.b", {op->a, op->b}); value 347 src/CodeGen_X86.cpp value = call_intrin(op->type, 16, "llvm.x86.sse41.pminsb", {op->a, op->b}); value 349 src/CodeGen_X86.cpp value = call_intrin(op->type, 8, "llvm.x86.sse2.pmins.w", {op->a, op->b}); value 351 src/CodeGen_X86.cpp value = call_intrin(op->type, 8, "llvm.x86.sse41.pminuw", {op->a, op->b}); value 353 src/CodeGen_X86.cpp value = call_intrin(op->type, 4, "llvm.x86.sse41.pminsd", {op->a, op->b}); value 355 src/CodeGen_X86.cpp value = call_intrin(op->type, 4, "llvm.x86.sse41.pminud", {op->a, op->b}); value 369 src/CodeGen_X86.cpp value = call_intrin(op->type, 16, "llvm.x86.sse2.pmaxu.b", {op->a, op->b}); value 371 src/CodeGen_X86.cpp value = call_intrin(op->type, 16, "llvm.x86.sse41.pmaxsb", {op->a, op->b}); value 373 src/CodeGen_X86.cpp value = call_intrin(op->type, 8, "llvm.x86.sse2.pmaxs.w", {op->a, op->b}); value 375 src/CodeGen_X86.cpp value = call_intrin(op->type, 8, "llvm.x86.sse41.pmaxuw", {op->a, op->b}); value 377 src/CodeGen_X86.cpp value = call_intrin(op->type, 4, "llvm.x86.sse41.pmaxsd", {op->a, op->b}); value 379 src/CodeGen_X86.cpp value = call_intrin(op->type, 4, "llvm.x86.sse41.pmaxud", {op->a, op->b}); value 18 src/DebugArguments.cpp Expr value; value 22 src/DebugArguments.cpp value = scalar_var; value 26 src/DebugArguments.cpp value = buffer_var; value 30 src/DebugArguments.cpp value = buffer_var; value 33 src/DebugArguments.cpp stmts.push_back(Evaluate::make(print(name.str(), value))); value 163 src/Deinterleave.cpp expr = op->value; value 165 src/Deinterleave.cpp expr = Broadcast::make(op->value, new_lanes); value 231 src/Deinterleave.cpp expr = Cast::make(t, mutate(op->value)); value 270 src/Deinterleave.cpp Expr new_value = mutate(op->value); value 282 src/Deinterleave.cpp expr = Let::make(op->name, op->value, expr); value 412 src/Deinterleave.cpp Expr value = mutate(op->value); value 413 src/Deinterleave.cpp if (value.type() == Int(32)) { value 414 src/Deinterleave.cpp alignment_info.push(op->name, modulus_remainder(value, alignment_info)); value 417 src/Deinterleave.cpp if (value.type().is_vector()) { value 421 src/Deinterleave.cpp if (value.type().is_vector()) { value 424 src/Deinterleave.cpp if (value.type() == Int(32)) { value 429 src/Deinterleave.cpp if (value.same_as(op->value) && body.same_as(op->body)) { value 432 src/Deinterleave.cpp result = T::make(op->name, value, body); value 436 src/Deinterleave.cpp if (value.type().is_vector()) { value 437 src/Deinterleave.cpp if (value.type().lanes() % 2 == 0) { value 438 src/Deinterleave.cpp result = T::make(op->name + ".even_lanes", extract_even_lanes(value, vector_lets), result); value 439 src/Deinterleave.cpp result = T::make(op->name + ".odd_lanes", extract_odd_lanes(value, vector_lets), result); value 441 src/Deinterleave.cpp if (value.type().lanes() % 3 == 0) { value 442 src/Deinterleave.cpp result = T::make(op->name + ".lanes_0_of_3", extract_mod3_lanes(value, 0, vector_lets), result); value 443 src/Deinterleave.cpp result = T::make(op->name + ".lanes_1_of_3", extract_mod3_lanes(value, 1, vector_lets), result); value 444 src/Deinterleave.cpp result = T::make(op->name + ".lanes_2_of_3", extract_mod3_lanes(value, 2, vector_lets), result); value 536 src/Deinterleave.cpp Expr value = mutate(op->value); value 538 src/Deinterleave.cpp value = deinterleave_expr(value); value 547 src/Deinterleave.cpp stmt = Store::make(op->name, value, idx, op->param, predicate); value 601 src/Deinterleave.cpp Type t = store->value.type(); value 636 src/Deinterleave.cpp const Load *load = stores[i].as<Store>()->value.as<Load>(); value 680 src/Deinterleave.cpp args[j] = stores[i].as<Store>()->value; value 691 src/Deinterleave.cpp Expr value = Shuffle::make_interleave(args); value 693 src/Deinterleave.cpp Stmt new_store = Store::make(store->name, value, index, store->param, predicate); value 702 src/Deinterleave.cpp stmt = LetStmt::make(let->name, let->value, stmt); value 46 src/DeviceArgument.cpp string_imm = op->args[0].as<Broadcast>()->value.as<StringImm>(); value 51 src/DeviceArgument.cpp std::string bufname = string_imm->value; value 737 src/Elf.cpp uint64_t value = s->get_offset(); value 741 src/Elf.cpp value += get_section_offset(*s->get_section()); value 745 src/Elf.cpp safe_assign(sym.st_value, value); value 110 src/EliminateBoolVectors.cpp if (op->value.type().is_bool() && op->value.type().is_vector()) { value 112 src/EliminateBoolVectors.cpp expr = mutate(Select::make(op->value, value 117 src/EliminateBoolVectors.cpp expr = mutate(op->value != make_zero(op->value.type())); value 125 src/EliminateBoolVectors.cpp Expr value = op->value; value 126 src/EliminateBoolVectors.cpp if (op->value.type().is_bool()) { value 127 src/EliminateBoolVectors.cpp Type ty = UInt(8, op->value.type().lanes()); value 128 src/EliminateBoolVectors.cpp value = Select::make(value, value 132 src/EliminateBoolVectors.cpp value = mutate(value); value 135 src/EliminateBoolVectors.cpp if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 138 src/EliminateBoolVectors.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 171 src/EliminateBoolVectors.cpp Expr value = mutate(op->value); value 173 src/EliminateBoolVectors.cpp expr = Broadcast::make(Call::make(Int(8), Call::bool_to_mask, {value}, Call::PureIntrinsic), op->lanes); value 174 src/EliminateBoolVectors.cpp } else if (!value.same_as(op->value)) { value 175 src/EliminateBoolVectors.cpp expr = Broadcast::make(value, op->lanes); value 194 src/EliminateBoolVectors.cpp Expr value = mutate(op->value); value 201 src/EliminateBoolVectors.cpp if (value.type() != op->value.type()) { value 202 src/EliminateBoolVectors.cpp lets.push(op->name, value.type()); value 205 src/EliminateBoolVectors.cpp if (value.type() != op->value.type()) { value 209 src/EliminateBoolVectors.cpp if (!value.same_as(op->value) || !body.same_as(op->body)) { value 210 src/EliminateBoolVectors.cpp return LetType::make(op->name, value, body); value 171 src/Expr.h int64_t value; value 173 src/Expr.h static const IntImm *make(Type t, int64_t value) { value 180 src/Expr.h value <<= (64 - t.bits()); value 182 src/Expr.h value >>= (64 - t.bits()); value 186 src/Expr.h node->value = value; value 195 src/Expr.h uint64_t value; value 197 src/Expr.h static const UIntImm *make(Type t, uint64_t value) { value 204 src/Expr.h value <<= (64 - t.bits()); value 205 src/Expr.h value >>= (64 - t.bits()); value 209 src/Expr.h node->value = value; value 218 src/Expr.h double value; value 220 src/Expr.h static const FloatImm *make(Type t, double value) { value 227 src/Expr.h node->value = (double)((float16_t)value); value 230 src/Expr.h node->value = (float)value; value 233 src/Expr.h node->value = value; value 247 src/Expr.h std::string value; value 252 src/Expr.h node->value = val; value 49 src/Float16.cpp T value, value 56 src/Float16.cpp user_error << "Converting " << value << " of type " << typeName << value 68 src/Float16.cpp user_warning << "Converting " << value << " of type " << typeName << value 77 src/Float16.cpp uint16_t getBitsFrom(T value, RoundingMode roundingMode, const char *typeName) { value 78 src/Float16.cpp llvm::APFloat convertedValue(value); value 88 src/Float16.cpp checkConversion(status, value, typeName, convertedValue); value 93 src/Float16.cpp uint16_t getBitsFrom(const char *value, RoundingMode roundingMode, const char *typeName) { value 100 src/Float16.cpp llvm::APFloat::opStatus status = convertedValue.convertFromString(value, value 103 src/Float16.cpp checkConversion(status, value, typeName, convertedValue); value 108 src/Float16.cpp uint16_t getBitsFrom(int64_t value, RoundingMode roundingMode, const char *typeName) { value 119 src/Float16.cpp llvm::APFloatBase::integerPart asIP = value; value 121 src/Float16.cpp llvm::integerPart asIP = value; value 128 src/Float16.cpp checkConversion(status, value, typeName, convertedValue); value 138 src/Float16.cpp float16_t::float16_t(float value, RoundingMode roundingMode) { value 140 src/Float16.cpp this->data = getBitsFrom(value, roundingMode, "float"); value 143 src/Float16.cpp float16_t::float16_t(double value, RoundingMode roundingMode) { value 145 src/Float16.cpp this->data = getBitsFrom(value, roundingMode, "double"); value 158 src/Float16.cpp float16_t float16_t::make_from_signed_int(int64_t value, RoundingMode roundingMode) { value 161 src/Float16.cpp val.data = getBitsFrom(value, roundingMode, "int64_t"); value 33 src/Float16.h EXPORT explicit float16_t(float value, RoundingMode roundingMode=RoundingMode::ToNearestTiesToEven); value 43 src/Float16.h EXPORT explicit float16_t(double value, RoundingMode roundingMode=RoundingMode::ToNearestTiesToEven); value 103 src/Float16.h EXPORT static float16_t make_from_signed_int(int64_t value, RoundingMode roundingMode=RoundingMode::ToNearestTiesToEven); value 396 src/Func.cpp void substitute_var_in_exprs(const string &name, Expr value, vector<Expr> &exprs) { value 398 src/Func.cpp expr = substitute(name, value, expr); value 412 src/Func.cpp substitute_var_in_exprs(res.name, res.value, predicates); value 413 src/Func.cpp substitute_var_in_exprs(res.name, res.value, args); value 414 src/Func.cpp substitute_var_in_exprs(res.name, res.value, values); value 417 src/Func.cpp predicates.push_back(res.value); value 196 src/Func.h NO_INLINE typename std::enable_if<Internal::all_are_convertible<VarOrRVar, Args...>::value, Stage &>::type value 887 src/Func.h EXPORT Expr value() const; value 977 src/Func.h NO_INLINE typename std::enable_if<Internal::all_are_convertible<Var, Args...>::value, FuncRef>::type value 994 src/Func.h NO_INLINE typename std::enable_if<Internal::all_are_convertible<Expr, Args...>::value, FuncRef>::type value 1206 src/Func.h NO_INLINE typename std::enable_if<Internal::all_are_convertible<VarOrRVar, Args...>::value, Func &>::type value 1608 src/Func.h NO_INLINE typename std::enable_if<Internal::all_are_convertible<Var, Args...>::value, Func &>::type value 139 src/Function.cpp let->value.accept(this); value 107 src/FuseGPUThreadLoops.cpp block_extent[i] = simplify(Let::make(op->name, op->value, block_extent[i])); value 379 src/FuseGPUThreadLoops.cpp Expr value = mutate(op->value); value 381 src/FuseGPUThreadLoops.cpp stmt = Store::make(shared_mem_name + "_" + op->name, value, index, value 385 src/FuseGPUThreadLoops.cpp stmt = Store::make(shared_mem_name, value, base + index, op->param, predicate); value 398 src/FuseGPUThreadLoops.cpp Expr value = mutate(op->value); value 403 src/FuseGPUThreadLoops.cpp s.size = simplify(Let::make(op->name, op->value, s.size)); value 407 src/FuseGPUThreadLoops.cpp if (op->body.same_as(body) && value.same_as(op->value)) { value 410 src/FuseGPUThreadLoops.cpp stmt = LetStmt::make(op->name, value, body); value 13 src/FuzzFloatStores.cpp Type t = op->value.type(); value 16 src/FuzzFloatStores.cpp Expr value = op->value; value 18 src/FuzzFloatStores.cpp value = reinterpret(mask.type(), value); value 19 src/FuzzFloatStores.cpp value = value & ~mask; value 20 src/FuzzFloatStores.cpp value = reinterpret(t, value); value 21 src/FuzzFloatStores.cpp stmt = Store::make(op->name, value, op->index, op->param, op->predicate); value 573 src/Generator.cpp std::string value = p->get_template_value(); value 579 src/Generator.cpp auto ratio = rational_approximation(std::atof(value.c_str())); value 582 src/Generator.cpp stream << indent() << comma << type << " " << p->name << " = " << value << "\n"; value 313 src/Generator.h static constexpr bool value = B; value 318 src/Generator.h struct select_type : std::conditional<First::value, typename First::type, typename select_type<Rest...>::type> { }; value 321 src/Generator.h struct select_type<First> { using type = typename std::conditional<First::value, typename First::type, void>::type; }; value 416 src/Generator.h GeneratorParamImpl(const std::string &name, const T &value) : GeneratorParamBase(name), value_(value) {} value 418 src/Generator.h T value() const { check_value_readable(); return value_; } value 420 src/Generator.h operator T() const { return this->value(); } value 422 src/Generator.h operator Expr() const { return make_const(type_of<T>(), this->value()); } value 449 src/Generator.h template <typename T2, typename std::enable_if<std::is_convertible<T2, T>::value>::type * = nullptr> value 450 src/Generator.h HALIDE_ALWAYS_INLINE void typed_setter_impl(const T2 &value, const char * msg) { value 452 src/Generator.h if (!std::is_same<T, T2>::value && value 453 src/Generator.h std::is_arithmetic<T>::value && value 454 src/Generator.h std::is_arithmetic<T2>::value) { value 455 src/Generator.h const T t = Convert<T2, T>::value(value); value 456 src/Generator.h const T2 t2 = Convert<T, T2>::value(t); value 457 src/Generator.h if (t2 != value) { value 461 src/Generator.h value_ = Convert<T2, T>::value(value); value 464 src/Generator.h template <typename T2, typename std::enable_if<!std::is_convertible<T2, T>::value>::type * = nullptr> value 478 src/Generator.h GeneratorParam_Target(const std::string &name, const T &value) : GeneratorParamImpl<T>(name, value) {} value 485 src/Generator.h return this->value().to_string(); value 503 src/Generator.h const T &value, value 506 src/Generator.h : GeneratorParamImpl<T>(name, value), min(min), max(max) { value 508 src/Generator.h this->set(value); value 526 src/Generator.h oss << this->value(); value 527 src/Generator.h if (std::is_same<T, float>::value) { value 546 src/Generator.h if (std::is_same<T, float>::value) { value 548 src/Generator.h } else if (std::is_same<T, double>::value) { value 550 src/Generator.h } else if (std::is_integral<T>::value) { value 551 src/Generator.h if (std::is_unsigned<T>::value) oss << 'u'; value 567 src/Generator.h GeneratorParam_Bool(const std::string &name, const T &value) : GeneratorParam_Arithmetic<T>(name, value) {} value 582 src/Generator.h return this->value() ? "true" : "false"; value 599 src/Generator.h GeneratorParam_Enum(const std::string &name, const T &value, const std::map<std::string, T> &enum_map) value 600 src/Generator.h : GeneratorParamImpl<T>(name, value), enum_map(enum_map) {} value 609 src/Generator.h return enum_to_string(enum_map, this->value()); value 621 src/Generator.h return "Enum_" + this->name + "::" + enum_to_string(enum_map, this->value()); value 653 src/Generator.h GeneratorParam_Type(const std::string &name, const T &value) value 654 src/Generator.h : GeneratorParam_Enum<T>(name, value, get_halide_type_enum_map()) {} value 669 src/Generator.h return halide_type_to_c_type(this->value()); value 673 src/Generator.h return halide_type_to_c_source(this->value()); value 684 src/Generator.h cond<std::is_same<T, Target>::value, GeneratorParam_Target<T>>, value 685 src/Generator.h cond<std::is_same<T, Type>::value, GeneratorParam_Type<T>>, value 686 src/Generator.h cond<std::is_same<T, bool>::value, GeneratorParam_Bool<T>>, value 687 src/Generator.h cond<std::is_arithmetic<T>::value, GeneratorParam_Arithmetic<T>>, value 688 src/Generator.h cond<std::is_enum<T>::value, GeneratorParam_Enum<T>> value 724 src/Generator.h GeneratorParam(const std::string &name, const T &value) value 725 src/Generator.h : Internal::GeneratorParamImplBase<T>(name, value) {} value 727 src/Generator.h GeneratorParam(const std::string &name, const T &value, const T &min, const T &max) value 728 src/Generator.h : Internal::GeneratorParamImplBase<T>(name, value, min, max) {} value 730 src/Generator.h GeneratorParam(const std::string &name, const T &value, const std::map<std::string, T> &enum_map) value 731 src/Generator.h : Internal::GeneratorParamImplBase<T>(name, value, enum_map) {} value 733 src/Generator.h GeneratorParam(const std::string &name, const std::string &value) value 734 src/Generator.h : Internal::GeneratorParamImplBase<T>(name, value) {} value 1213 src/Generator.h return std::is_array<T>::value; value 1218 src/Generator.h !std::is_array<T2>::value value 1226 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && (std::extent<T2, 0>::value > 0) value 1229 src/Generator.h : GeneratorInputBase(std::extent<T2, 0>::value, name, kind, t, d) { value 1234 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 value 1241 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1246 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1251 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1256 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1261 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1460 src/Generator.h if (!std::is_same<TBase, bool>::value) { value 1508 src/Generator.h cond<has_static_halide_type_method<TBase>::value, GeneratorInput_Buffer<T>>, value 1509 src/Generator.h cond<std::is_same<TBase, Func>::value, GeneratorInput_Func<T>>, value 1510 src/Generator.h cond<std::is_arithmetic<TBase>::value, GeneratorInput_Arithmetic<T>>, value 1511 src/Generator.h cond<std::is_scalar<TBase>::value, GeneratorInput_Scalar<T>> value 1529 src/Generator.h Internal::cond<Internal::has_static_halide_type_method<TBase>::value, int>, value 1530 src/Generator.h Internal::cond<std::is_same<TBase, Func>::value, int>, value 1653 src/Generator.h HALIDE_OUTPUT_FORWARD_CONST(value) value 1706 src/Generator.h return std::is_array<T>::value; value 1711 src/Generator.h !std::is_array<T2>::value value 1719 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && (std::extent<T2, 0>::value > 0) value 1722 src/Generator.h : GeneratorOutputBase(std::extent<T2, 0>::value, name, kind, t, d) { value 1727 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 value 1734 src/Generator.h template <typename... Args, typename T2 = T, typename std::enable_if<!std::is_array<T2>::value>::type * = nullptr> value 1739 src/Generator.h template <typename ExprOrVar, typename T2 = T, typename std::enable_if<!std::is_array<T2>::value>::type * = nullptr> value 1744 src/Generator.h template <typename T2 = T, typename std::enable_if<!std::is_array<T2>::value>::type * = nullptr> value 1749 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1754 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1759 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1764 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1769 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1776 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 value 1922 src/Generator.h template <typename T2 = T, typename std::enable_if<!std::is_array<T2>::value>::type * = nullptr> value 1933 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1939 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_array<T2>::value>::type * = nullptr> value 1966 src/Generator.h cond<has_static_halide_type_method<TBase>::value, GeneratorOutput_Buffer<T>>, value 1967 src/Generator.h cond<std::is_same<TBase, Func>::value, GeneratorOutput_Func<T>>, value 1968 src/Generator.h cond<std::is_arithmetic<TBase>::value, GeneratorOutput_Arithmetic<T>> value 2041 src/Generator.h T parse_scalar(const std::string &value) { value 2042 src/Generator.h std::istringstream iss(value); value 2045 src/Generator.h user_assert(!iss.fail() && iss.get() == EOF) << "Unable to parse: " << value; value 2085 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_same<T2, ::Halide::Type>::value>::type * = nullptr> value 2091 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_integral<T2>::value>::type * = nullptr> value 2218 src/Generator.h static const bool value = !std::is_convertible<T, Realization>::value && NoRealizations<Args...>::value; value 2246 src/Generator.h EXPORT void set_generator_param(const std::string &name, const std::string &value); value 2250 src/Generator.h GeneratorBase &set_generator_param(const std::string &name, const T &value) { value 2251 src/Generator.h find_generator_param_by_name(name).set(value); value 2256 src/Generator.h GeneratorBase &set_schedule_param(const std::string &name, const T &value) { value 2257 src/Generator.h find_schedule_param_by_name(name).set(value); value 2308 src/Generator.h template <typename... Args, typename std::enable_if<NoRealizations<Args...>::value>::type * = nullptr> value 2553 src/Generator.h for (const auto &value : arg) { value 2554 src/Generator.h siv.emplace_back(value); value 2562 src/Generator.h typename std::enable_if<std::is_arithmetic<T>::value>::type * = nullptr> value 2575 src/Generator.h typename std::enable_if<std::is_arithmetic<T>::value>::type * = nullptr> value 2582 src/Generator.h for (const auto &value : arg) { value 2585 src/Generator.h Expr e(value); value 2699 src/Generator.h typename std::enable_if<!has_generate_method<T2>::value>::type * = nullptr> value 2701 src/Generator.h static_assert(!has_schedule_method<T2>::value, "The schedule() method is ignored if you define a build() method; use generate() instead."); value 2708 src/Generator.h typename std::enable_if<has_generate_method<T2>::value>::type * = nullptr> value 2719 src/Generator.h typename std::enable_if<!has_generate_method<T2>::value>::type * = nullptr> value 2725 src/Generator.h typename std::enable_if<has_generate_method<T2>::value>::type * = nullptr> value 2728 src/Generator.h static_assert(std::is_void<decltype(t->generate())>::value, "generate() must return void"); value 2738 src/Generator.h typename std::enable_if<!has_schedule_method<T2>::value>::type * = nullptr> value 2744 src/Generator.h typename std::enable_if<has_schedule_method<T2>::value>::type * = nullptr> value 2747 src/Generator.h static_assert(std::is_void<decltype(t->schedule())>::value, "schedule() must return void"); value 2806 src/Generator.h GeneratorStub &set_schedule_param(const std::string &name, const T &value) { value 2807 src/Generator.h generator->set_schedule_param(name, value); value 2837 src/Generator.h template <typename... Args, typename std::enable_if<NoRealizations<Args...>::value>::type * = nullptr> value 589 src/HexagonOffload.cpp stmt = Store::make(op->name, mutate(op->value), mutate(op->index), value 782 src/HexagonOffload.cpp if (op->value.type() == Int(32)) { value 783 src/HexagonOffload.cpp alignment_info.push(op->name, modulus_remainder(op->value, alignment_info)); value 788 src/HexagonOffload.cpp if (op->value.type() == Int(32)) { value 794 src/HexagonOffload.cpp if (op->value.type() == Int(32)) { value 795 src/HexagonOffload.cpp alignment_info.push(op->name, modulus_remainder(op->value, alignment_info)); value 800 src/HexagonOffload.cpp if (op->value.type() == Int(32)) { value 77 src/HexagonOptimize.cpp expr = Cast::make(with_lanes(op->type), mutate(op->value)); value 93 src/HexagonOptimize.cpp expr = Broadcast::make(op->value, lanes); value 379 src/HexagonOptimize.cpp x = bc->value; value 403 src/HexagonOptimize.cpp if (cast->value.type().bits() == mpy_bits) { value 404 src/HexagonOptimize.cpp maybe_mul = cast->value; value 1011 src/HexagonOptimize.cpp return Let::make(let->name, let->value, remove_interleave(let->body)); value 1104 src/HexagonOptimize.cpp Expr value = mutate(op->value); value 1114 src/HexagonOptimize.cpp if (yields_removable_interleave(value)) { value 1120 src/HexagonOptimize.cpp } else if (yields_interleave(value)) { value 1129 src/HexagonOptimize.cpp if (value.same_as(op->value) && body.same_as(op->body)) { value 1133 src/HexagonOptimize.cpp result = LetType::make(op->name, value, body); value 1144 src/HexagonOptimize.cpp Expr deinterleaved = remove_interleave(value); value 1150 src/HexagonOptimize.cpp if (!deinterleaved.same_as(value)) { value 1158 src/HexagonOptimize.cpp result = LetType::make(deinterleaved_name, remove_interleave(value), result); value 1161 src/HexagonOptimize.cpp result = LetType::make(op->name, value, result); value 1175 src/HexagonOptimize.cpp expr = native_interleave(Let::make(let->name, let->value, remove_interleave(let->body))); value 1182 src/HexagonOptimize.cpp if (op->type.bits() == op->value.type().bits()) { value 1184 src/HexagonOptimize.cpp Expr value = mutate(op->value); value 1186 src/HexagonOptimize.cpp if (yields_removable_interleave(value)) { value 1187 src/HexagonOptimize.cpp value = remove_interleave(value); value 1188 src/HexagonOptimize.cpp expr = native_interleave(Cast::make(op->type, value)); value 1189 src/HexagonOptimize.cpp } else if (!value.same_as(op->value)) { value 1190 src/HexagonOptimize.cpp expr = Cast::make(op->type, value); value 1381 src/HexagonOptimize.cpp Expr value = mutate(op->value); value 1391 src/HexagonOptimize.cpp } else if (yields_removable_interleave(value)) { value 1397 src/HexagonOptimize.cpp } else if (!yields_interleave(value)) { value 1412 src/HexagonOptimize.cpp value = remove_interleave(value); value 1415 src/HexagonOptimize.cpp if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 1418 src/HexagonOptimize.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 1529 src/HexagonOptimize.cpp if (op->value.type().is_vector()) { value 1530 src/HexagonOptimize.cpp bounds.push(op->name, bounds_of_expr_in_scope(op->value, bounds)); value 1533 src/HexagonOptimize.cpp if (op->value.type().is_vector()) { value 1539 src/HexagonOptimize.cpp lets.push_back({op->name, op->value}); value 14 src/IR.cpp node->value = v; value 265 src/IR.cpp Expr Broadcast::make(const Expr &value, int lanes) { value 266 src/IR.cpp internal_assert(value.defined()) << "Broadcast of undefined\n"; value 267 src/IR.cpp internal_assert(value.type().is_scalar()) << "Broadcast of vector\n"; value 271 src/IR.cpp node->type = value.type().with_lanes(lanes); value 272 src/IR.cpp node->value = value; value 277 src/IR.cpp Expr Let::make(const std::string &name, const Expr &value, const Expr &body) { value 278 src/IR.cpp internal_assert(value.defined()) << "Let of undefined\n"; value 284 src/IR.cpp node->value = value; value 289 src/IR.cpp Stmt LetStmt::make(const std::string &name, const Expr &value, const Stmt &body) { value 290 src/IR.cpp internal_assert(value.defined()) << "Let of undefined\n"; value 295 src/IR.cpp node->value = value; value 345 src/IR.cpp Stmt Store::make(const std::string &name, const Expr &value, const Expr &index, Parameter param, const Expr &predicate) { value 347 src/IR.cpp internal_assert(value.defined()) << "Store of undefined\n"; value 349 src/IR.cpp internal_assert(value.type().lanes() == index.type().lanes()) << "Vector lanes of Store must match vector lanes of index\n"; value 350 src/IR.cpp internal_assert(value.type().lanes() == predicate.type().lanes()) value 356 src/IR.cpp node->value = value; value 417 src/IR.cpp result *= int_size->value; value 523 src/IR.cpp node->value = v; value 29 src/IR.h Expr value; value 235 src/IR.h Expr value; value 238 src/IR.h EXPORT static Expr make(const Expr &value, int lanes); value 248 src/IR.h Expr value, body; value 250 src/IR.h EXPORT static Expr make(const std::string &name, const Expr &value, const Expr &body); value 259 src/IR.h Expr value; value 262 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &value, const Stmt &body); value 310 src/IR.h Expr predicate, value, index; value 314 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &value, const Expr &index, value 440 src/IR.h Expr value; value 236 src/IREquality.cpp compare_scalar(e->value, op->value); value 241 src/IREquality.cpp compare_scalar(e->value, op->value); value 246 src/IREquality.cpp compare_scalar(e->value, op->value); value 251 src/IREquality.cpp compare_names(e->value, op->value); value 255 src/IREquality.cpp compare_expr(expr.as<Cast>()->value, op->value); value 317 src/IREquality.cpp compare_expr(e->value, op->value); value 333 src/IREquality.cpp compare_expr(e->value, op->value); value 341 src/IREquality.cpp compare_expr(s->value, op->value); value 376 src/IREquality.cpp compare_expr(s->value, op->value); value 440 src/IREquality.cpp compare_expr(s->value, op->value); value 76 src/IRMatch.cpp e->value != op->value || value 85 src/IRMatch.cpp e->value != op->value || value 96 src/IRMatch.cpp reinterpret_bits<uint64_t>(e->value) != value 97 src/IRMatch.cpp reinterpret_bits<uint64_t>(op->value) || value 106 src/IRMatch.cpp expr = e->value; value 107 src/IRMatch.cpp op->value.accept(this); value 217 src/IRMatch.cpp expr = e->value; value 218 src/IRMatch.cpp op->value.accept(this); value 244 src/IRMatch.cpp expr = e->value; value 245 src/IRMatch.cpp op->value.accept(this); value 72 src/IRMutator.cpp Expr value = mutate(op->value); value 73 src/IRMutator.cpp if (value.same_as(op->value)) { value 76 src/IRMutator.cpp expr = Cast::make(op->type, value); value 137 src/IRMutator.cpp Expr value = mutate(op->value); value 138 src/IRMutator.cpp if (value.same_as(op->value)) expr = op; value 139 src/IRMutator.cpp else expr = Broadcast::make(value, op->lanes); value 163 src/IRMutator.cpp Expr value = mutate(op->value); value 165 src/IRMutator.cpp if (value.same_as(op->value) && value 169 src/IRMutator.cpp expr = Let::make(op->name, value, body); value 174 src/IRMutator.cpp Expr value = mutate(op->value); value 176 src/IRMutator.cpp if (value.same_as(op->value) && value 180 src/IRMutator.cpp stmt = LetStmt::make(op->name, value, body); value 219 src/IRMutator.cpp Expr value = mutate(op->value); value 221 src/IRMutator.cpp if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 224 src/IRMutator.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 340 src/IRMutator.cpp Expr v = mutate(op->value); value 341 src/IRMutator.cpp if (v.same_as(op->value)) { value 60 src/IROperator.cpp return is_const(c->value); value 64 src/IROperator.cpp return is_const(b->value); value 70 src/IROperator.cpp bool is_const(const Expr &e, int64_t value) { value 72 src/IROperator.cpp return i->value == value; value 74 src/IROperator.cpp return (value >= 0) && (i->value == (uint64_t)value); value 76 src/IROperator.cpp return i->value == value; value 78 src/IROperator.cpp return is_const(c->value, value); value 80 src/IROperator.cpp return is_const(b->value, value); value 89 src/IROperator.cpp return e && is_const(e->value); value 96 src/IROperator.cpp return as_const_int(b->value); value 98 src/IROperator.cpp return &(i->value); value 108 src/IROperator.cpp return as_const_uint(b->value); value 110 src/IROperator.cpp return &(i->value); value 120 src/IROperator.cpp return as_const_float(b->value); value 122 src/IROperator.cpp return &(f->value); value 132 src/IROperator.cpp if (b) return is_const_power_of_two_integer(b->value, bits); value 135 src/IROperator.cpp if (c) return is_const_power_of_two_integer(c->value, bits); value 158 src/IROperator.cpp if (const IntImm *i = e.as<IntImm>()) return i->value > 0; value 159 src/IROperator.cpp if (const UIntImm *u = e.as<UIntImm>()) return u->value > 0; value 160 src/IROperator.cpp if (const FloatImm *f = e.as<FloatImm>()) return f->value > 0.0f; value 162 src/IROperator.cpp return is_positive_const(c->value); value 169 src/IROperator.cpp return is_positive_const(b->value); value 175 src/IROperator.cpp if (const IntImm *i = e.as<IntImm>()) return i->value < 0; value 176 src/IROperator.cpp if (const FloatImm *f = e.as<FloatImm>()) return f->value < 0.0f; value 178 src/IROperator.cpp return is_negative_const(c->value); value 185 src/IROperator.cpp return is_negative_const(b->value); value 192 src/IROperator.cpp return (i->value < 0 && !T.is_min(i->value)); value 194 src/IROperator.cpp if (const FloatImm *f = e.as<FloatImm>()) return f->value < 0.0f; value 196 src/IROperator.cpp return is_negative_negatable_const(c->value, c->type); value 203 src/IROperator.cpp return is_negative_negatable_const(b->value); value 218 src/IROperator.cpp if (const IntImm *int_imm = e.as<IntImm>()) return int_imm->value == 0; value 219 src/IROperator.cpp if (const UIntImm *uint_imm = e.as<UIntImm>()) return uint_imm->value == 0; value 220 src/IROperator.cpp if (const FloatImm *float_imm = e.as<FloatImm>()) return float_imm->value == 0.0; value 221 src/IROperator.cpp if (const Cast *c = e.as<Cast>()) return is_zero(c->value); value 222 src/IROperator.cpp if (const Broadcast *b = e.as<Broadcast>()) return is_zero(b->value); value 231 src/IROperator.cpp if (const IntImm *int_imm = e.as<IntImm>()) return int_imm->value == 1; value 232 src/IROperator.cpp if (const UIntImm *uint_imm = e.as<UIntImm>()) return uint_imm->value == 1; value 233 src/IROperator.cpp if (const FloatImm *float_imm = e.as<FloatImm>()) return float_imm->value == 1.0; value 234 src/IROperator.cpp if (const Cast *c = e.as<Cast>()) return is_one(c->value); value 235 src/IROperator.cpp if (const Broadcast *b = e.as<Broadcast>()) return is_one(b->value); value 245 src/IROperator.cpp if (const IntImm *int_imm = e.as<IntImm>()) return int_imm->value == 2; value 246 src/IROperator.cpp if (const UIntImm *uint_imm = e.as<UIntImm>()) return uint_imm->value == 2; value 247 src/IROperator.cpp if (const FloatImm *float_imm = e.as<FloatImm>()) return float_imm->value == 2.0; value 248 src/IROperator.cpp if (const Cast *c = e.as<Cast>()) return is_two(c->value); value 249 src/IROperator.cpp if (const Broadcast *b = e.as<Broadcast>()) return is_two(b->value); value 320 src/IROperator.cpp if (t.can_represent(c->value.type())) { value 322 src/IROperator.cpp return lossless_cast(t, c->value); value 329 src/IROperator.cpp Expr v = lossless_cast(t.element_of(), b->value); value 338 src/IROperator.cpp if (t.can_represent(i->value)) { value 339 src/IROperator.cpp return make_const(t, i->value); value 346 src/IROperator.cpp if (t.can_represent(i->value)) { value 347 src/IROperator.cpp return make_const(t, i->value); value 354 src/IROperator.cpp if (t.can_represent(f->value)) { value 355 src/IROperator.cpp return make_const(t, f->value); value 230 src/IROperator.h return Internal::Broadcast::make(cast(t.element_of(), b->value), t.lanes()); value 695 src/IROperator.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Rest...>::value>::type* = nullptr> value 739 src/IROperator.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Rest...>::value>::type* = nullptr> value 859 src/IROperator.h typename std::enable_if<Halide::Internal::all_are_convertible<Expr, Args...>::value>::type* = nullptr> value 1766 src/IROperator.h inline NO_INLINE Expr require(const Expr &condition, const Expr &value, Args&&... args) { value 1767 src/IROperator.h std::vector<Expr> collected_args = {value}; value 277 src/IRPrinter.cpp stream << op->value; value 279 src/IRPrinter.cpp stream << "(" << op->type << ")" << op->value; value 284 src/IRPrinter.cpp stream << "(" << op->type << ")" << op->value; value 290 src/IRPrinter.cpp stream << op->value; value 293 src/IRPrinter.cpp stream << op->value << 'f'; value 296 src/IRPrinter.cpp stream << op->value << 'h'; value 305 src/IRPrinter.cpp for (size_t i = 0; i < op->value.size(); i++) { value 306 src/IRPrinter.cpp unsigned char c = op->value[i]; value 338 src/IRPrinter.cpp print(op->value); value 503 src/IRPrinter.cpp print(op->value); value 522 src/IRPrinter.cpp print(op->value); value 531 src/IRPrinter.cpp print(op->value); value 583 src/IRPrinter.cpp print(op->value); value 713 src/IRPrinter.cpp print(op->value); value 22 src/IRVisitor.cpp op->value.accept(this); value 124 src/IRVisitor.cpp op->value.accept(this); value 147 src/IRVisitor.cpp op->value.accept(this); value 152 src/IRVisitor.cpp op->value.accept(this); value 173 src/IRVisitor.cpp op->value.accept(this); value 232 src/IRVisitor.cpp op->value.accept(this); value 274 src/IRVisitor.cpp include(op->value); value 376 src/IRVisitor.cpp include(op->value); value 386 src/IRVisitor.cpp include(op->value); value 391 src/IRVisitor.cpp include(op->value); value 412 src/IRVisitor.cpp include(op->value); value 469 src/IRVisitor.cpp include(op->value); value 92 src/InjectHostDevBufferCopies.cpp const Call *c = op->value.as<Call>(); value 604 src/InjectHostDevBufferCopies.cpp Expr buf = NullifyHostField(op->name).mutate(buffer_init_let->value); value 609 src/InjectHostDevBufferCopies.cpp stmt = LetStmt::make(body_lets[i - 1]->name, body_lets[i - 1]->value, stmt); value 633 src/InjectHostDevBufferCopies.cpp Expr value = NullifyHostField(buf_name).mutate(op->value); value 634 src/InjectHostDevBufferCopies.cpp stmt = LetStmt::make(op->name, value, op->body); value 36 src/InlineReductions.cpp Expr value = mutate(op->value); value 40 src/InlineReductions.cpp if (value.same_as(op->value) && value 44 src/InlineReductions.cpp expr = Let::make(op->name, value, body); value 81 src/LoopCarry.cpp return is_linear(b->value, linear); value 201 src/LoopCarry.cpp Expr value = mutate(op->value); value 202 src/LoopCarry.cpp Expr step = is_linear(value, linear); value 205 src/LoopCarry.cpp containing_lets.push_back({ op->name, value }); value 208 src/LoopCarry.cpp if (value.same_as(op->value) && value 212 src/LoopCarry.cpp stmt = LetStmt::make(op->name, value, body); value 425 src/LoopCarry.cpp initial_lets.push_back({ l->name, l->value }); value 503 src/Memoization.cpp Expr value = mutate(let->value); value 520 src/Memoization.cpp stmt = LetStmt::make(let->name, value, body); value 146 src/ModulusRemainder.cpp remainder = op->value; value 379 src/ModulusRemainder.cpp bool value_interesting = op->value.type().is_int(); value 382 src/ModulusRemainder.cpp ModulusRemainder val = analyze(op->value); value 35 src/Monotonic.cpp op->value.accept(this); value 37 src/Monotonic.cpp if (op->type.can_represent(op->value.type())) { value 42 src/Monotonic.cpp if (op->value.type().bits() >= 32 && op->type.bits() >= 32) { value 309 src/Monotonic.cpp op->value.accept(this); value 37 src/ParallelRVar.cpp loads[i][j] = substitute(op->name, op->value, loads[i][j]); value 83 src/ParallelRVar.cpp if (op->value.type() == Bool()) { value 84 src/ParallelRVar.cpp expr = substitute(op->name, mutate(op->value), mutate(op->body)); value 52 src/Param.h template <typename T2 = T, typename std::enable_if<!std::is_pointer<T2>::value>::type * = nullptr> value 67 src/PartitionLoops.cpp Expr value = mutate(op->value); value 69 src/PartitionLoops.cpp if (predicate.same_as(op->predicate) && index.same_as(op->index) && value.same_as(op->value)) { value 72 src/PartitionLoops.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 270 src/PartitionLoops.cpp s.condition = b->value; value 357 src/PartitionLoops.cpp bool varying = expr_uses_vars(op->value, depends_on_loop_var); value 366 src/PartitionLoops.cpp s.condition = Let::make(op->name, op->value, s.condition); value 767 src/PartitionLoops.cpp if (!expr_uses_vars(op->value, gpu_vars) && !expr_contains_load(op->value)) { value 773 src/PartitionLoops.cpp Expr new_var = Variable::make(op->value.type(), new_name); value 774 src/PartitionLoops.cpp lifted_lets.push_back({ new_name, op->value }); value 793 src/PartitionLoops.cpp Stmt inner = LetStmt::make(op->name, op->value, f->body); value 806 src/PartitionLoops.cpp Stmt inner = LetStmt::make(op->name, op->value, a->body); value 850 src/PartitionLoops.cpp inner = LetStmt::make(let_a->name, select(condition, let_a->value, let_b->value), inner); value 856 src/PartitionLoops.cpp inner = substitute(let_a->name, Variable::make(let_a->value.type(), new_name), inner); value 858 src/PartitionLoops.cpp inner = LetStmt::make(new_name, let_a->value, inner); value 863 src/PartitionLoops.cpp inner = substitute(let_b->name, Variable::make(let_b->value.type(), new_name), inner); value 865 src/PartitionLoops.cpp inner = LetStmt::make(new_name, let_b->value, inner); value 419 src/Pipeline.h is_void_return_(std::is_void<RT>::value), value 114 src/Prefetch.cpp Interval value_bounds = bounds_of_expr_in_scope(op->value, scope); value 129 src/Prefetch.cpp scope.push(op->name, Interval(Variable::make(op->value.type(), min_name), value 130 src/Prefetch.cpp Variable::make(op->value.type(), max_name))); value 134 src/Prefetch.cpp bool is_stmt = std::is_same<T, Stmt>::value; value 146 src/Prefetch.cpp return LetOrLetStmt::make(op->name, op->value, body); value 273 src/Prefetch.cpp const Call *call = op->value.as<Call>(); value 325 src/Prefetch.cpp const Call *call = op->value.as<Call>(); value 145 src/PrintLoopNest.cpp if (is_const(op->value)) { value 146 src/PrintLoopNest.cpp constants.push(op->name, op->value); value 23 src/Qualify.cpp Expr value = mutate(op->value); value 25 src/Qualify.cpp expr = Let::make(prefix + op->name, value, body); value 31 src/Qualify.cpp Expr qualify(const string &prefix, Expr value) { value 33 src/Qualify.cpp return q.mutate(value); value 15 src/Qualify.h Expr qualify(const std::string &prefix, Expr value); value 45 src/RemoveUndef.cpp Expr value = mutate(op->value); value 47 src/RemoveUndef.cpp if (value.same_as(op->value)) { value 50 src/RemoveUndef.cpp expr = Cast::make(op->type, value); value 144 src/RemoveUndef.cpp Expr value = mutate(op->value); value 146 src/RemoveUndef.cpp if (value.same_as(op->value)) expr = op; value 147 src/RemoveUndef.cpp else expr = Broadcast::make(value, op->lanes); value 177 src/RemoveUndef.cpp Expr value = mutate(op->value); value 178 src/RemoveUndef.cpp if (!value.defined()) { value 182 src/RemoveUndef.cpp if (!value.defined()) { value 186 src/RemoveUndef.cpp if (value.same_as(op->value) && value 189 src/RemoveUndef.cpp } else if (!value.defined()) { value 192 src/RemoveUndef.cpp expr = Let::make(op->name, value, body); value 193 src/RemoveUndef.cpp predicate = substitute(op->name, value, predicate); value 198 src/RemoveUndef.cpp Expr value = mutate(op->value); value 199 src/RemoveUndef.cpp if (!value.defined()) { value 203 src/RemoveUndef.cpp if (!value.defined()) { value 207 src/RemoveUndef.cpp if (value.same_as(op->value) && value 210 src/RemoveUndef.cpp } else if (!value.defined()) { value 213 src/RemoveUndef.cpp stmt = LetStmt::make(op->name, value, body); value 273 src/RemoveUndef.cpp Expr value = mutate(op->value); value 274 src/RemoveUndef.cpp if (!value.defined()) { value 287 src/RemoveUndef.cpp stmt = IfThenElse::make(predicate, Store::make(op->name, value, index, op->param, pred)); value 290 src/RemoveUndef.cpp value.same_as(op->value) && value 294 src/RemoveUndef.cpp stmt = Store::make(op->name, value, index, op->param, pred); value 484 src/RemoveUndef.cpp Expr v = mutate(op->value); value 487 src/RemoveUndef.cpp } else if (v.same_as(op->value)) { value 35 src/ScheduleFunctions.cpp Expr value; value 106 src/ScheduleFunctions.cpp stmt = substitute(res.name, res.value, stmt); value 108 src/ScheduleFunctions.cpp stmt = LetStmt::make(res.name, res.value, stmt); value 111 src/ScheduleFunctions.cpp stmt = IfThenElse::make(res.value, stmt, Stmt()); value 132 src/ScheduleFunctions.cpp Container c = {Container::Let, 0, let->name, let->value}; value 158 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); value 163 src/ScheduleFunctions.cpp internal_assert(nest[j+1].value.defined()); value 164 src/ScheduleFunctions.cpp if (!expr_uses_var(nest[j+1].value, nest[j].name)) { value 181 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); value 185 src/ScheduleFunctions.cpp if (contains_impure_call(nest[i].value)) { value 191 src/ScheduleFunctions.cpp internal_assert(nest[j+1].value.defined()); value 192 src/ScheduleFunctions.cpp if (!expr_uses_var(nest[j+1].value, nest[j].name)) { value 203 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); value 204 src/ScheduleFunctions.cpp stmt = LetStmt::make(nest[i].name, nest[i].value, stmt); value 206 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); value 207 src/ScheduleFunctions.cpp stmt = IfThenElse::make(nest[i].value, stmt, Stmt()); value 705 src/ScheduleFunctions.cpp lets.push_back({ l->name, l->value }); value 1138 src/ScheduleFunctions.cpp stmt = mutate(substitute(op->name, simplify(op->value), op->body)); value 93 src/ScheduleParam.h template <typename TO2 = TO, typename std::enable_if<!std::is_same<TO2, bool>::value>::type * = nullptr> value 94 src/ScheduleParam.h inline static TO2 value(const FROM &from) { return from; } value 96 src/ScheduleParam.h template <typename TO2 = TO, typename std::enable_if<std::is_same<TO2, bool>::value>::type * = nullptr> value 97 src/ScheduleParam.h inline static TO2 value(const FROM &from) { return from != 0; } value 113 src/ScheduleParam.h typename std::enable_if<std::is_arithmetic<T2>::value>::type * = nullptr> value 119 src/ScheduleParam.h typename std::enable_if<!std::is_arithmetic<T2>::value>::type * = nullptr> value 124 src/ScheduleParam.h template <typename T2, typename std::enable_if<std::is_arithmetic<T>::value && value 125 src/ScheduleParam.h std::is_convertible<T2, T>::value>::type * = nullptr> value 126 src/ScheduleParam.h HALIDE_ALWAYS_INLINE void typed_setter_impl(const T2 &value, const char *type) { value 128 src/ScheduleParam.h if (!std::is_same<T, T2>::value && value 129 src/ScheduleParam.h std::is_arithmetic<T>::value && value 130 src/ScheduleParam.h std::is_arithmetic<T2>::value) { value 131 src/ScheduleParam.h const T t = Convert<T2, T>::value(value); value 132 src/ScheduleParam.h const T2 t2 = Convert<T, T2>::value(t); value 133 src/ScheduleParam.h if (t2 != value) { value 137 src/ScheduleParam.h scalar_parameter.set_scalar<T>(Convert<T2, T>::value(value)); value 140 src/ScheduleParam.h template <typename T2, typename std::enable_if<std::is_same<T2, LoopLevel>::value>::type * = nullptr> value 141 src/ScheduleParam.h HALIDE_ALWAYS_INLINE void typed_setter_impl(const LoopLevel &value, const char *msg) { value 143 src/ScheduleParam.h loop_level.copy_from(value); value 146 src/ScheduleParam.h template <typename T2, typename std::enable_if<!std::is_convertible<T2, T>::value>::type * = nullptr> value 147 src/ScheduleParam.h HALIDE_ALWAYS_INLINE void typed_setter_impl(const T2 &value, const char *type) { value 152 src/ScheduleParam.h typename std::enable_if<std::is_same<T2, LoopLevel>::value>::type * = nullptr> value 164 src/ScheduleParam.h typename std::enable_if<std::is_same<T2, bool>::value>::type * = nullptr> value 176 src/ScheduleParam.h typename std::enable_if<std::is_arithmetic<T2>::value && !std::is_same<T2, bool>::value>::type * = nullptr> value 195 src/ScheduleParam.h ScheduleParam(const std::string &name, const T &value) : ScheduleParamBase(get_param_type(), name, true) { value 196 src/ScheduleParam.h set(value); value 142 src/Scope.h void push(const std::string &name, const T &value) { value 143 src/Scope.h table[name].push(value); value 184 src/Scope.h const T &value() { value 222 src/Scope.h T &value() { value 45 src/Simplify.cpp if (f && !std::isnan(f->value)) return true; value 47 src/Simplify.cpp return is_simple_const(b->value); value 185 src/Simplify.cpp if (const_int(iter.value().min, &i_min) && value 186 src/Simplify.cpp const_int(iter.value().max, &i_max)) { value 319 src/Simplify.cpp return const_int_bounds(b->value, min_val, max_val); value 468 src/Simplify.cpp Expr value = mutate(op->value); value 469 src/Simplify.cpp if (propagate_indeterminate_expression(value, op->type, &expr)) { value 472 src/Simplify.cpp const Cast *cast = value.as<Cast>(); value 473 src/Simplify.cpp const Broadcast *broadcast_value = value.as<Broadcast>(); value 474 src/Simplify.cpp const Ramp *ramp_value = value.as<Ramp>(); value 475 src/Simplify.cpp const Add *add = value.as<Add>(); value 479 src/Simplify.cpp if (value.type() == op->type) { value 480 src/Simplify.cpp expr = value; value 482 src/Simplify.cpp const_float(value, &f)) { value 486 src/Simplify.cpp const_float(value, &f)) { value 490 src/Simplify.cpp const_float(value, &f)) { value 494 src/Simplify.cpp const_int(value, &i)) { value 498 src/Simplify.cpp const_int(value, &i)) { value 502 src/Simplify.cpp const_int(value, &i)) { value 506 src/Simplify.cpp const_uint(value, &u)) { value 510 src/Simplify.cpp const_uint(value, &u)) { value 514 src/Simplify.cpp const_uint(value, &u)) { value 523 src/Simplify.cpp expr = mutate(Cast::make(op->type, cast->value)); value 528 src/Simplify.cpp op->type.bits() <= op->value.type().bits()) { value 534 src/Simplify.cpp expr = mutate(Cast::make(op->type, cast->value)); value 537 src/Simplify.cpp expr = mutate(Broadcast::make(Cast::make(op->type.element_of(), broadcast_value->value), broadcast_value->lanes)); value 540 src/Simplify.cpp op->value.type().element_of() == Int(32)) { value 547 src/Simplify.cpp op->value.type() == Int(32) && value 552 src/Simplify.cpp } else if (value.same_as(op->value)) { value 555 src/Simplify.cpp expr = Cast::make(op->type, value); value 696 src/Simplify.cpp expr = mutate(Ramp::make(ramp_a->base + broadcast_b->value, value 701 src/Simplify.cpp expr = mutate(Ramp::make(broadcast_a->value + ramp_b->base, value 706 src/Simplify.cpp expr = Broadcast::make(mutate(broadcast_a->value + broadcast_b->value), value 1043 src/Simplify.cpp expr = mutate(Ramp::make(ramp_a->base - broadcast_b->value, value 1047 src/Simplify.cpp expr = mutate(Ramp::make(broadcast_a->value - ramp_b->base, value 1052 src/Simplify.cpp expr = Broadcast::make(mutate(broadcast_a->value - broadcast_b->value), value 1511 src/Simplify.cpp expr = Broadcast::make(mutate(broadcast_a->value * broadcast_b->value), broadcast_a->lanes); value 1513 src/Simplify.cpp Expr m = broadcast_b->value; value 1516 src/Simplify.cpp Expr m = broadcast_a->value; value 1649 src/Simplify.cpp expr = mutate(Broadcast::make(Div::make(broadcast_a->value, broadcast_b->value), broadcast_a->lanes)); value 1660 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 1665 src/Simplify.cpp expr = mutate(Ramp::make(ramp_a->base / broadcast_b->value, value 1672 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 1677 src/Simplify.cpp expr = mutate(Broadcast::make(ramp_a->base / broadcast_b->value, ramp_a->lanes)); value 2011 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 2029 src/Simplify.cpp expr = mutate(Broadcast::make(Mod::make(broadcast_a->value, broadcast_b->value), broadcast_a->lanes)); value 2074 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 2078 src/Simplify.cpp expr = mutate(Broadcast::make(ramp_a->base % broadcast_b->value, ramp_a->lanes)); value 2083 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 2095 src/Simplify.cpp const_int(broadcast_b->value, &ib) && value 2201 src/Simplify.cpp expr = mutate(Broadcast::make(Min::make(broadcast_a->value, broadcast_b->value), broadcast_a->lanes)); value 2216 src/Simplify.cpp const_int(broadcast_b->value, &ic)) { value 2322 src/Simplify.cpp expr = mutate(Min::make(min_a->a, Broadcast::make(Min::make(broadcast_a_b->value, broadcast_b->value), broadcast_b->lanes))); value 2585 src/Simplify.cpp expr = mutate(Broadcast::make(Max::make(broadcast_a->value, broadcast_b->value), broadcast_a->lanes)); value 2600 src/Simplify.cpp const_int(broadcast_b->value, &ic)) { value 2687 src/Simplify.cpp expr = mutate(Max::make(max_a->a, Broadcast::make(Max::make(broadcast_a_b->value, broadcast_b->value), broadcast_b->lanes))); value 2916 src/Simplify.cpp expr = Broadcast::make(mutate(broadcast->value == value 2917 src/Simplify.cpp make_zero(broadcast->value.type())), value 3038 src/Simplify.cpp expr = mutate(Broadcast::make(broadcast_a->value < broadcast_b->value, broadcast_a->lanes)); value 3477 src/Simplify.cpp expr = Broadcast::make(mutate(And::make(broadcast_a->value, broadcast_b->value)), broadcast_a->lanes); value 3622 src/Simplify.cpp expr = Broadcast::make(mutate(Or::make(broadcast_a->value, broadcast_b->value)), broadcast_a->lanes); value 3694 src/Simplify.cpp expr = mutate(Broadcast::make(!n->value, n->lanes)); value 3745 src/Simplify.cpp expr = mutate(Select::make(b->value, true_value, false_value)); value 3988 src/Simplify.cpp Expr load = Load::make(op->type.element_of(), op->name, b_index->value, op->image, op->param, b_pred->value); value 4134 src/Simplify.cpp new_args.back() = last->value + string_imm->value; value 4137 src/Simplify.cpp snprintf(buf, sizeof(buf), "%lld", (long long)int_imm->value); value 4139 src/Simplify.cpp new_args.back() = last->value + buf; value 4145 src/Simplify.cpp snprintf(buf, sizeof(buf), "%f", float_imm->value); value 4147 src/Simplify.cpp new_args.back() = last->value + buf; value 4309 src/Simplify.cpp expr = mutate(b->value); value 4373 src/Simplify.cpp Expr check = mutate(b1->value - b2->value); value 4381 src/Simplify.cpp expr = b1->value; value 4383 src/Simplify.cpp expr = Broadcast::make(b1->value, op->indices.size()); value 4406 src/Simplify.cpp Expr check = mutate(b->value * terms - r->stride); value 4472 src/Simplify.cpp Expr check = mutate(b->value - r->stride * new_vectors[i-1].type().lanes()); value 4557 src/Simplify.cpp Expr value = mutate(op->value); value 4561 src/Simplify.cpp Expr new_value = value; value 4566 src/Simplify.cpp debug(4) << "simplify let " << op->name << " = " << value << " in ... " << op->name << " ...\n"; value 4628 src/Simplify.cpp new_value = broadcast->value; value 4631 src/Simplify.cpp } else if (cast && cast->type.bits() > cast->value.type().bits()) { value 4636 src/Simplify.cpp new_value = cast->value; value 4658 src/Simplify.cpp if (new_value.same_as(value)) { value 4688 src/Simplify.cpp if (no_overflow_scalar_int(value.type())) { value 4689 src/Simplify.cpp ModulusRemainder mod_rem = modulus_remainder(value, alignment_info); value 4695 src/Simplify.cpp if (const_int_bounds(value, &val_min, &val_max)) { value 4728 src/Simplify.cpp result = T::make(op->name, value, result); value 4737 src/Simplify.cpp new_op->value.same_as(op->value)) { value 4823 src/Simplify.cpp Expr value = mutate(op->value); value 4826 src/Simplify.cpp const Load *load = value.as<Load>(); value 4832 src/Simplify.cpp } else if (scalar_pred && !is_one(scalar_pred->value)) { value 4833 src/Simplify.cpp stmt = IfThenElse::make(scalar_pred->value, value 4834 src/Simplify.cpp Store::make(op->name, value, index, op->param, const_true(value.type().lanes()))); value 4835 src/Simplify.cpp } else if (is_undef(value) || (load && load->name == op->name && equal(load->index, index))) { value 4838 src/Simplify.cpp } else if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 4841 src/Simplify.cpp stmt = Store::make(op->name, value, index, op->param, predicate); value 4881 src/Simplify.cpp Expr value = mutate(op->value); value 4885 src/Simplify.cpp while (const Let *let = value.as<Let>()) { value 4886 src/Simplify.cpp value = let->body; value 4887 src/Simplify.cpp lets.push_back({let->name, let->value}); value 4890 src/Simplify.cpp if (value.same_as(op->value)) { value 4895 src/Simplify.cpp stmt = Evaluate::make(value); value 4933 src/Simplify.cpp equal(let_first->value, let_rest->value) && value 4934 src/Simplify.cpp expr_is_pure(let_first->value)) { value 4942 src/Simplify.cpp Expr new_var = Variable::make(let_first->value.type(), var_name); value 4946 src/Simplify.cpp stmt = LetStmt::make(var_name, let_first->value, new_block); value 6427 src/Simplify.cpp Expr value = Load::make(index.type(), "f", index, Buffer<>(), Parameter(), const_true(index.type().lanes())); value 6428 src/Simplify.cpp Stmt stmt = Store::make("f", value, index, Parameter(), pred); value 21 src/SimplifySpecializations.cpp void substitute_value_in_var(const string &var, Expr value, vector<Definition> &definitions) { value 24 src/SimplifySpecializations.cpp def_arg = simplify(substitute(var, value, def_arg)); value 27 src/SimplifySpecializations.cpp def_val = simplify(substitute(var, value, def_val)); value 85 src/SkipStages.cpp void visit_let(const std::string &name, Expr value, T body) { value 88 src/SkipStages.cpp value.accept(this); value 99 src/SkipStages.cpp predicate = Let::make(name, value, predicate); value 104 src/SkipStages.cpp visit_let(op->name, op->value, op->body); value 108 src/SkipStages.cpp visit_let(op->name, op->value, op->body); value 336 src/SkipStages.cpp expr_uses_vars(op->value, vector_vars)) { value 29 src/SlidingWindow.cpp op->value.accept(this); value 303 src/SlidingWindow.cpp scope.push(op->name, simplify(expand_expr(op->value, scope))); value 306 src/SlidingWindow.cpp Expr value = op->value; value 310 src/SlidingWindow.cpp value = iter->second; value 314 src/SlidingWindow.cpp if (new_body.same_as(op->body) && value.same_as(op->value)) { value 317 src/SlidingWindow.cpp stmt = LetStmt::make(op->name, value, new_body); value 720 src/Solve.cpp Expr value = mutate(op->value); value 721 src/Solve.cpp CacheEntry e = {value, uses_var}; value 765 src/Solve.cpp if ((op->value && target) || value 766 src/Solve.cpp (!op->value && !target)) { value 768 src/Solve.cpp } else if ((!op->value && target) || value 769 src/Solve.cpp (op->value && !target)) { value 845 src/Solve.cpp bool uses_var = expr_uses_var(op->value, var) || expr_uses_vars(op->value, scope); value 847 src/Solve.cpp scope.push(op->name, op->value); value 854 src/Solve.cpp result.min = Let::make(op->name, op->value, result.min); value 857 src/Solve.cpp result.max = Let::make(op->name, op->value, result.max); value 1106 src/Solve.cpp expr = mutate(op->value); value 1231 src/Solve.cpp if (op->value.type().is_bool()) { value 1232 src/Solve.cpp Expr value = mutate(op->value); value 1234 src/Solve.cpp Expr flipped_value = mutate(op->value); value 1236 src/Solve.cpp if (!equal(value, flipped_value)) { value 1239 src/Solve.cpp value_bounds = get_bounds(value); value 1242 src/Solve.cpp value_bounds = get_bounds(op->value); value 1245 src/Solve.cpp if (!value_bounds.max.same_as(op->value) || !value_bounds.min.same_as(op->value)) { value 1269 src/Solve.cpp expr = Let::make(op->name, op->value, expr); value 1278 src/Solve.cpp bound_vars.push(op->name, op->value); value 1284 src/Solve.cpp expr = Let::make(op->name, op->value, body); value 19 src/StmtToHtml.cpp std::string to_string(T value) { value 21 src/StmtToHtml.cpp os << value ; value 161 src/StmtToHtml.cpp for (size_t i = 0; i < op->value.size(); i++) { value 162 src/StmtToHtml.cpp unsigned char c = op->value[i]; value 204 src/StmtToHtml.cpp print(op->value); value 280 src/StmtToHtml.cpp print(op->value); value 298 src/StmtToHtml.cpp print(op->value); value 313 src/StmtToHtml.cpp print(op->value); value 389 src/StmtToHtml.cpp print(op->value); value 562 src/StmtToHtml.cpp print(op->value); value 210 src/StorageFlattening.cpp Expr value = mutate(op->values[0]); value 211 src/StorageFlattening.cpp stmt = Store::make(op->name, value, idx, output_buf, const_true(value.type().lanes())); value 313 src/StorageFlattening.cpp Type t = upgrade(op->value.type()); value 314 src/StorageFlattening.cpp if (t != op->value.type()) { value 315 src/StorageFlattening.cpp stmt = Store::make(op->name, Cast::make(t, mutate(op->value)), mutate(op->index), value 356 src/StorageFolding.cpp Expr value = simplify(mutate(op->value)); value 359 src/StorageFolding.cpp if (is_const(value)) { value 360 src/StorageFolding.cpp scope.push(op->name, value); value 367 src/StorageFolding.cpp if (body.same_as(op->body) && value.same_as(op->value)) { value 370 src/StorageFolding.cpp stmt = LetStmt::make(op->name, value, body); value 40 src/Substitute.cpp Expr new_value = mutate(op->value); value 45 src/Substitute.cpp if (new_value.same_as(op->value) && value 54 src/Substitute.cpp Expr new_value = mutate(op->value); value 59 src/Substitute.cpp if (new_value.same_as(op->value) && value 143 src/Substitute.cpp Expr value; value 149 src/Substitute.cpp expr = value; value 157 src/Substitute.cpp GraphSubstitute(const string &var, const Expr &value) : var(var), value(value) {} value 197 src/Substitute.cpp Expr value = mutate(op->value); value 199 src/Substitute.cpp expr = graph_substitute(op->name, value, body); value 113 src/Target.h void set_feature(Feature f, bool value = true) { value 116 src/Target.h features.set(f, value); value 119 src/Target.h void set_features(std::vector<Feature> features_to_set, bool value = true) { value 121 src/Target.h set_feature(f, value); value 16 src/Tracing.cpp vector<Expr> value; value 24 src/Tracing.cpp value, Call::Intrinsic); value 92 src/Tracing.cpp builder.value = {value_var}; value 134 src/Tracing.cpp builder.value = {value_var}; value 81 src/TrimNoOps.cpp if (op->value.type().is_handle() || is_zero(op->predicate)) { value 93 src/TrimNoOps.cpp if (!loads_from_buffer(op->value, op->name)) { value 98 src/TrimNoOps.cpp Expr equivalent_load = Load::make(op->value.type(), op->name, op->index, value 100 src/TrimNoOps.cpp Expr is_no_op = equivalent_load == op->value; value 161 src/TrimNoOps.cpp condition = Let::make(op->name, op->value, condition); value 303 src/TrimNoOps.cpp Expr value = mutate(op->value); value 304 src/TrimNoOps.cpp containing_loops.push_back({op->name, {value, value}}); value 307 src/TrimNoOps.cpp return LetStmtOrLet::make(op->name, value, body); value 99 src/Tuple.h typename = typename std::enable_if<Internal::all_are_convertible<Buffer<>, Args...>::value>::type> value 188 src/Type.h (std::is_const<T>::value ? halide_handle_cplusplus_type::Const : 0) | value 189 src/Type.h (std::is_volatile<T>::value ? halide_handle_cplusplus_type::Volatile : 0)) value 209 src/Type.h (std::is_const<T>::value ? halide_handle_cplusplus_type::Const : 0) | value 210 src/Type.h (std::is_volatile<T>::value ? halide_handle_cplusplus_type::Volatile : 0)) value 74 src/UnifyDuplicateLets.cpp Expr value = mutate(op->value); value 81 src/UnifyDuplicateLets.cpp map<Expr, string, IRDeepCompare>::iterator iter = scope.find(value); value 83 src/UnifyDuplicateLets.cpp scope[value] = op->name; value 86 src/UnifyDuplicateLets.cpp value = Variable::make(value.type(), iter->second); value 95 src/UnifyDuplicateLets.cpp scope.erase(value); value 101 src/UnifyDuplicateLets.cpp if (value.same_as(op->value) && body.same_as(op->body)) { value 104 src/UnifyDuplicateLets.cpp stmt = LetStmt::make(op->name, value, body); value 42 src/UniquifyVariableNames.cpp Expr value = mutate(op->value); value 50 src/UniquifyVariableNames.cpp value.same_as(op->value)) { value 53 src/UniquifyVariableNames.cpp stmt = LetStmt::make(new_name, value, body); value 59 src/UniquifyVariableNames.cpp Expr value = mutate(op->value); value 67 src/UniquifyVariableNames.cpp value.same_as(op->value)) { value 70 src/UniquifyVariableNames.cpp expr = Let::make(new_name, value, body); value 25 src/UnrollLoops.cpp if (e->value == 1) { value 31 src/UnrollLoops.cpp for (int i = 0; i < e->value; i++) { value 157 src/Util.h struct meta_and<T1, Args...> : std::integral_constant<bool, T1::value && meta_and<Args...>::value> {}; value 163 src/Util.h struct meta_or<T1, Args...> : std::integral_constant<bool, T1::value || meta_or<Args...>::value> {}; value 93 src/VaryingAttributes.cpp Expr mutated_value = mutate(op->value); value 163 src/VaryingAttributes.cpp Expr mutated_value = mutate(op->value); value 311 src/VaryingAttributes.cpp Expr a = mutate(op->value); value 398 src/VaryingAttributes.cpp std::string name = op->args[0].as<StringImm>()->value; value 439 src/VaryingAttributes.cpp std::string name = op->args[0].as<StringImm>()->value; value 631 src/VaryingAttributes.cpp Expr mutated_value = mutate(op->value); value 633 src/VaryingAttributes.cpp bool changed = op->value.type().is_float() != mutated_value.type().is_float(); value 648 src/VaryingAttributes.cpp Expr mutated_value = mutate(op->value); value 650 src/VaryingAttributes.cpp bool changed = op->value.type().is_float() != mutated_value.type().is_float(); value 774 src/VaryingAttributes.cpp mutate_operator(this, op, op->value, &stmt); value 810 src/VaryingAttributes.cpp mutate_operator(this, op, op->value, &stmt); value 832 src/VaryingAttributes.cpp mutate_operator(this, op, op->value, op->body, &stmt); value 836 src/VaryingAttributes.cpp mutate_operator(this, op, op->value, op->body, &stmt); value 852 src/VaryingAttributes.cpp mutate_operator(this, op, op->predicate, op->value, op->index, &stmt); value 924 src/VaryingAttributes.cpp mutate_operator(this, op, op->value, &stmt); value 948 src/VaryingAttributes.cpp std::string attribute_name = op->args[0].as<StringImm>()->value; value 963 src/VaryingAttributes.cpp Stmt mutated_value = mutate(op->value); value 971 src/VaryingAttributes.cpp stmt = LetStmt::make(op->name, op->value, mutated_body); value 985 src/VaryingAttributes.cpp Stmt mutated_value = mutate(op->value); value 989 src/VaryingAttributes.cpp stmt = LetStmt::make(op->name, op->value, mutated_body); value 58 src/VectorizeLoops.cpp return {ia.min + b->value, ia.max + b->value}; value 61 src/VectorizeLoops.cpp return {b->value + ia.min, b->value + ia.max}; value 66 src/VectorizeLoops.cpp return {ia.min - b->value, ia.max - b->value}; value 69 src/VectorizeLoops.cpp return {b->value - ia.max, b->value - ia.max}; value 73 src/VectorizeLoops.cpp if (is_positive_const(b->value)) { value 75 src/VectorizeLoops.cpp return {ia.min * b->value, ia.max * b->value}; value 76 src/VectorizeLoops.cpp } else if (is_negative_const(b->value)) { value 78 src/VectorizeLoops.cpp return {ia.max * b->value, ia.min * b->value}; value 81 src/VectorizeLoops.cpp if (is_positive_const(b->value)) { value 83 src/VectorizeLoops.cpp return {b->value * ia.min, b->value * ia.max}; value 84 src/VectorizeLoops.cpp } else if (is_negative_const(b->value)) { value 86 src/VectorizeLoops.cpp return {b->value * ia.max, b->value * ia.min}; value 91 src/VectorizeLoops.cpp if (is_positive_const(b->value)) { value 93 src/VectorizeLoops.cpp return {ia.min / b->value, ia.max / b->value}; value 94 src/VectorizeLoops.cpp } else if (is_negative_const(b->value)) { value 96 src/VectorizeLoops.cpp return {ia.max / b->value, ia.min / b->value}; value 102 src/VectorizeLoops.cpp return {ia.min && b->value, ia.max && b->value}; value 105 src/VectorizeLoops.cpp return {ia.min && b->value, ia.max && b->value}; value 110 src/VectorizeLoops.cpp return {ia.min && b->value, ia.max && b->value}; value 113 src/VectorizeLoops.cpp return {ia.min && b->value, ia.max && b->value}; value 118 src/VectorizeLoops.cpp return {Min::make(ia.min, b->value), Min::make(ia.max, b->value)}; value 121 src/VectorizeLoops.cpp return {Min::make(ia.min, b->value), Min::make(ia.max, b->value)}; value 126 src/VectorizeLoops.cpp return {Max::make(ia.min, b->value), Max::make(ia.max, b->value)}; value 129 src/VectorizeLoops.cpp return {Max::make(ia.min, b->value), Max::make(ia.max, b->value)}; value 142 src/VectorizeLoops.cpp return {b->value, b->value}; value 147 src/VectorizeLoops.cpp Interval ia = bounds_of_lanes(let->value); value 206 src/VectorizeLoops.cpp stmt = Store::make(op->name, mutate(op->value), mutate_index(op->name, op->index), value 301 src/VectorizeLoops.cpp valid = valid && should_predicate_store_load(op->value.type().bits()); value 307 src/VectorizeLoops.cpp Expr predicate, value, index; value 311 src/VectorizeLoops.cpp internal_assert(op->value.type().lanes() == lanes); value 314 src/VectorizeLoops.cpp value = mutate(op->value); value 318 src/VectorizeLoops.cpp value = mutate(Broadcast::make(op->value, lanes)); value 330 src/VectorizeLoops.cpp stmt = Store::make(op->name, value, op->index, op->param, predicate); value 391 src/VectorizeLoops.cpp Expr value = mutate(op->value); value 392 src/VectorizeLoops.cpp if (value.same_as(op->value)) { value 395 src/VectorizeLoops.cpp Type t = op->type.with_lanes(value.type().lanes()); value 396 src/VectorizeLoops.cpp expr = Cast::make(t, value); value 527 src/VectorizeLoops.cpp Expr mutated_value = mutate(op->value); value 528 src/VectorizeLoops.cpp bool was_vectorized = (!op->value.type().is_vector() && value 541 src/VectorizeLoops.cpp if (mutated_value.same_as(op->value) && value 553 src/VectorizeLoops.cpp Expr mutated_value = mutate(op->value); value 557 src/VectorizeLoops.cpp bool was_vectorized = (!op->value.type().is_vector() && value 564 src/VectorizeLoops.cpp containing_lets.push_back({op->name, op->value}); value 609 src/VectorizeLoops.cpp if (mutated_value.same_as(op->value) && value 656 src/VectorizeLoops.cpp Expr value = mutate(op->value); value 659 src/VectorizeLoops.cpp if (predicate.same_as(op->predicate) && value.same_as(op->value) && index.same_as(op->index)) { value 662 src/VectorizeLoops.cpp int lanes = std::max(predicate.type().lanes(), std::max(value.type().lanes(), index.type().lanes())); value 663 src/VectorizeLoops.cpp stmt = Store::make(op->name, widen(value, lanes), widen(index, lanes), value 888 src/VectorizeLoops.cpp Expr lane = extract_lane(iter.value(), i); value 931 src/VectorizeLoops.cpp if (!extent || extent->value <= 1) { value 940 src/VectorizeLoops.cpp Expr replacement = Ramp::make(for_loop->min, 1, extent->value); value 58 src/runtime/HalideBuffer.h static const bool value = std::is_convertible<T, int>::value && AllInts<Args...>::value; value 114 src/runtime/HalideBuffer.h static const bool T_is_void = std::is_same<typename std::remove_const<T>::type, void>::value; value 118 src/runtime/HalideBuffer.h using add_const_if_T_is_const = typename std::conditional<std::is_const<T>::value, const T2, T2>::type; value 130 src/runtime/HalideBuffer.h using storage_T = typename std::conditional<std::is_pointer<T>::value, uint64_t, not_void_T>::type; value 499 src/runtime/HalideBuffer.h static_assert((!std::is_const<T2>::value || std::is_const<T>::value), value 502 src/runtime/HalideBuffer.h typename std::remove_const<T2>::type>::value || value 689 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 725 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 783 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 799 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 1447 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 1472 src/runtime/HalideBuffer.h typename = typename std::enable_if<AllInts<Args...>::value>::type> value 1862 src/runtime/HalideBuffer.h typename = typename std::enable_if<!std::is_arithmetic<typename std::decay<Fn>::type>::value>::type> value 317 src/runtime/HalideRuntime.h void *value; value 425 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE const void *value() const { value 432 src/runtime/HalideRuntime.h return (const char *)value() + type.lanes * type.bytes(); value 1032 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE void set_flag(halide_buffer_flags flag, bool value) { value 1033 src/runtime/HalideRuntime.h if (value) { value 22 src/runtime/gcd_thread_pool.cpp extern dispatch_semaphore_t dispatch_semaphore_create(long value); value 125 src/runtime/hexagon_remote/dlib.cpp elfaddr_t value; value 250 src/runtime/hexagon_remote/dlib.cpp hash.table = (const uint32_t *)(base_vaddr + d.value); value 253 src/runtime/hexagon_remote/dlib.cpp symtab = (const Sym *)(base_vaddr + d.value); value 256 src/runtime/hexagon_remote/dlib.cpp if (d.value != sizeof(Sym)) { value 257 src/runtime/hexagon_remote/dlib.cpp log_printf("Unknown symbol size %d\n", d.value); value 262 src/runtime/hexagon_remote/dlib.cpp strtab = (const char *)(base_vaddr + d.value); value 269 src/runtime/hexagon_remote/dlib.cpp jmprel = (const Rela *)(base_vaddr + d.value); value 272 src/runtime/hexagon_remote/dlib.cpp if (d.value != DT_RELA) { value 278 src/runtime/hexagon_remote/dlib.cpp jmprel_count = d.value / sizeof(Rela); value 281 src/runtime/hexagon_remote/dlib.cpp rel = (const Rela *)(base_vaddr + d.value); value 284 src/runtime/hexagon_remote/dlib.cpp rel_count = d.value / sizeof(Rela); value 287 src/runtime/hexagon_remote/dlib.cpp if (d.value != sizeof(Rela)) { value 431 src/runtime/hexagon_remote/sim_remote.cpp void set_rpc_return(int value) { value 432 src/runtime/hexagon_remote/sim_remote.cpp rpc_ret = value; value 338 src/runtime/matlab.cpp double value = mxGetScalar(arr); value 344 src/runtime/matlab.cpp case 1: *reinterpret_cast<bool *>(scalar) = value != 0; return halide_error_code_success; value 345 src/runtime/matlab.cpp case 8: *reinterpret_cast<int8_t *>(scalar) = static_cast<int8_t>(value); return halide_error_code_success; value 346 src/runtime/matlab.cpp case 16: *reinterpret_cast<int16_t *>(scalar) = static_cast<int16_t>(value); return halide_error_code_success; value 347 src/runtime/matlab.cpp case 32: *reinterpret_cast<int32_t *>(scalar) = static_cast<int32_t>(value); return halide_error_code_success; value 348 src/runtime/matlab.cpp case 64: *reinterpret_cast<int64_t *>(scalar) = static_cast<int64_t>(value); return halide_error_code_success; value 352 src/runtime/matlab.cpp case 1: *reinterpret_cast<bool *>(scalar) = value != 0; return halide_error_code_success; value 353 src/runtime/matlab.cpp case 8: *reinterpret_cast<uint8_t *>(scalar) = static_cast<uint8_t>(value); return halide_error_code_success; value 354 src/runtime/matlab.cpp case 16: *reinterpret_cast<uint16_t *>(scalar) = static_cast<uint16_t>(value); return halide_error_code_success; value 355 src/runtime/matlab.cpp case 32: *reinterpret_cast<uint32_t *>(scalar) = static_cast<uint32_t>(value); return halide_error_code_success; value 356 src/runtime/matlab.cpp case 64: *reinterpret_cast<uint64_t *>(scalar) = static_cast<uint64_t>(value); return halide_error_code_success; value 360 src/runtime/matlab.cpp case 32: *reinterpret_cast<float *>(scalar) = static_cast<float>(value); return halide_error_code_success; value 361 src/runtime/matlab.cpp case 64: *reinterpret_cast<double *>(scalar) = static_cast<double>(value); return halide_error_code_success; value 144 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1FPROC) (GLuint location, GLfloat value); value 145 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1IPROC) (GLuint location, GLint value); value 146 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); value 147 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); value 148 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); value 1586 src/runtime/opengl.cpp uint32_t value = *((uint32_t*)args[i]); value 1587 src/runtime/opengl.cpp if (value > 0x7fffffff) { value 1592 src/runtime/opengl.cpp uniform_int[uniform_int_idx++] = static_cast<GLint>(value); value 477 src/runtime/openglcompute.cpp int value = *((int *)args[i]); value 478 src/runtime/openglcompute.cpp global_state.Uniform1i(i, value); value 87 src/runtime/printer.h double value = halide_float16_bits_to_double(arg); value 88 src/runtime/printer.h dst = halide_double_to_string(dst, end, value, 1); value 163 src/runtime/runtime_internal.h void *value, int *coords, value 52 src/runtime/tracing.cpp if (e->value) { value 53 src/runtime/tracing.cpp written += write(fd, e->value, value_bytes); value 117 src/runtime/tracing.cpp ss << ((int8_t *)(e->value))[i]; value 119 src/runtime/tracing.cpp ss << ((int16_t *)(e->value))[i]; value 121 src/runtime/tracing.cpp ss << ((int32_t *)(e->value))[i]; value 123 src/runtime/tracing.cpp ss << ((int64_t *)(e->value))[i]; value 127 src/runtime/tracing.cpp ss << ((uint8_t *)(e->value))[i]; value 129 src/runtime/tracing.cpp ss << ((uint16_t *)(e->value))[i]; value 131 src/runtime/tracing.cpp ss << ((uint32_t *)(e->value))[i]; value 133 src/runtime/tracing.cpp ss << ((uint64_t *)(e->value))[i]; value 138 src/runtime/tracing.cpp ss << ((float *)(e->value))[i]; value 140 src/runtime/tracing.cpp ss.write_float16_from_bits( ((uint16_t *)(e->value))[i]); value 142 src/runtime/tracing.cpp ss << ((double *)(e->value))[i]; value 145 src/runtime/tracing.cpp ss << ((void **)(e->value))[i]; value 228 src/runtime/tracing.cpp void *value, int *coords, value 235 src/runtime/tracing.cpp event.value = value; value 37 src/runtime/write_debug_image.cpp } value; value 39 src/runtime/write_debug_image.cpp void assign16(uint16_t tag_code, int32_t count, int16_t value) __attribute__((always_inline)) { value 43 src/runtime/write_debug_image.cpp this->value.i16 = value; value 46 src/runtime/write_debug_image.cpp void assign32(uint16_t tag_code, int32_t count, int32_t value) __attribute__((always_inline)) { value 50 src/runtime/write_debug_image.cpp this->value.i32 = value; value 53 src/runtime/write_debug_image.cpp void assign32(uint16_t tag_code, int16_t type_code, int32_t count, int32_t value) __attribute__((always_inline)) { value 57 src/runtime/write_debug_image.cpp this->value.i32 = value; value 38 test/correctness/constant_expr.cpp void test_expr(T value) { value 43 test/correctness/constant_expr.cpp Expr e = make_const(t, value); value 50 test/correctness/constant_expr.cpp std::cerr << "constant of type " << t << " failed scalar_from_constant_expr with value " << value << "\n"; value 53 test/correctness/constant_expr.cpp if (nvalue != value) { value 54 test/correctness/constant_expr.cpp std::cerr << "Roundtrip failed for type " << t << ": input " << value << " output " << nvalue << "\n"; value 14 test/correctness/constant_type.cpp if (f.value().type() != t) { value 15 test/correctness/constant_type.cpp std::cout << "Function was defined with type " << t << " but has type " << f.value().type() << "\n"; value 22 test/correctness/image_of_lists.cpp extern "C" DLLEXPORT std::list<int> *list_maybe_insert(std::list<int> *list, bool insert, int value) { value 24 test/correctness/image_of_lists.cpp list->push_back(value); value 53 test/correctness/interleave.cpp void define(FuncRef f, Expr value, int count) { value 56 test/correctness/interleave.cpp values.push_back(value); value 24 test/correctness/newtons_method.cpp Expr value = sin(f()); value 30 test/correctness/newtons_method.cpp f() -= value/deriv + (r*0); value 13 test/correctness/tracing.cpp float value[4]; value 44 test/correctness/tracing.cpp printf("%f", e.value[i]); value 54 test/correctness/tracing.cpp e.value[0], e.value[1], e.value[2], e.value[3]); value 76 test/correctness/tracing.cpp float_match(a.value[0], b.value[0]) && value 77 test/correctness/tracing.cpp float_match(a.value[1], b.value[1]) && value 78 test/correctness/tracing.cpp float_match(a.value[2], b.value[2]) && value 79 test/correctness/tracing.cpp float_match(a.value[3], b.value[3])); value 99 test/correctness/tracing.cpp e.value[i] = ((const float *)(ev->value))[i]; value 9 test/correctness/tracing_broadcast.cpp int val = ((const int *)(e->value))[i]; value 32 test/generator/multitarget_aottest.cpp std::string value; value 34 test/generator/multitarget_aottest.cpp std::tie(value, read) = get_env_variable("HL_MULTITARGET_TEST_USE_DEBUG_FEATURE"); value 38 test/generator/multitarget_aottest.cpp return std::stoi(value) != 0; value 35 test/generator/nested_externs_generator.cpp Input<float> value{ "value", 1.0f }; value 39 test/generator/nested_externs_generator.cpp extern_stage_1.define_extern("nested_externs_leaf", {value}, Float(32), 3); value 40 test/generator/nested_externs_generator.cpp extern_stage_2.define_extern("nested_externs_leaf", {value+1}, Float(32), 3); value 62 test/generator/nested_externs_generator.cpp Input<float> value{ "value", 1.0f }; value 67 test/generator/nested_externs_generator.cpp leaf(x, y, c) = value; value 78 test/generator/nested_externs_generator.cpp Input<float> value{ "value", 1.0f }; value 82 test/generator/nested_externs_generator.cpp extern_stage_1.define_extern("nested_externs_inner", {value}, Float(32), 3); value 83 test/generator/nested_externs_generator.cpp extern_stage_2.define_extern("nested_externs_inner", {value+1}, Float(32), 3); value 111 test/performance/sort.cpp merge_rows(x, y) = Tuple(0, 0, cast(input.value().type(), 0)); value 92 tools/halide_image_io.h int value = 1; value 93 tools/halide_image_io.h return ((char *) &value)[0] == 1; value 96 tools/halide_image_io.h inline void swap_endian_16(bool little_endian, uint16_t &value) { value 98 tools/halide_image_io.h value = ((value & 0xff)<<8)|((value & 0xff00)>>8); value 393 tools/halide_image_io.h uint16_t value = *p++; value 394 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 395 tools/halide_image_io.h Internal::convert(value, *im_data++); value 435 tools/halide_image_io.h uint16_t value; value 436 tools/halide_image_io.h Internal::convert(im(x, y, channel), value); value 437 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 438 tools/halide_image_io.h *p++ = value; value 500 tools/halide_image_io.h uint16_t value; value 501 tools/halide_image_io.h value = *row++; value 502 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 503 tools/halide_image_io.h Internal::convert(value, im_data[(0*height+y)*width+x]); value 504 tools/halide_image_io.h value = *row++; value 505 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 506 tools/halide_image_io.h Internal::convert(value, im_data[(1*height+y)*width+x]); value 507 tools/halide_image_io.h value = *row++; value 508 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 509 tools/halide_image_io.h Internal::convert(value, im_data[(2*height+y)*width+x]); value 578 tools/halide_image_io.h uint16_t value; value 579 tools/halide_image_io.h Internal::convert(im(x, y, c), value); value 580 tools/halide_image_io.h Internal::swap_endian_16(little_endian, value); value 581 tools/halide_image_io.h *p++ = value; value 51 tutorial/lesson_02_input_image.cpp Halide::Expr value = input(x, y, c); value 54 tutorial/lesson_02_input_image.cpp value = Halide::cast<float>(value); value 59 tutorial/lesson_02_input_image.cpp value = value * 1.5f; value 63 tutorial/lesson_02_input_image.cpp value = Halide::min(value, 255.0f); value 66 tutorial/lesson_02_input_image.cpp value = Halide::cast<uint8_t>(value); value 69 tutorial/lesson_02_input_image.cpp brighter(x, y, c) = value; value 51 util/HalideTraceViz.cpp return (T)(((const int8_t *)value())[idx]); value 53 util/HalideTraceViz.cpp return (T)(((const int16_t *)value())[idx]); value 55 util/HalideTraceViz.cpp return (T)(((const int32_t *)value())[idx]); value 57 util/HalideTraceViz.cpp return (T)(((const int64_t *)value())[idx]); value 65 util/HalideTraceViz.cpp return (T)(((const uint8_t *)value())[idx]); value 67 util/HalideTraceViz.cpp return (T)(((const uint16_t *)value())[idx]); value 69 util/HalideTraceViz.cpp return (T)(((const uint32_t *)value())[idx]); value 71 util/HalideTraceViz.cpp return (T)(((const uint64_t *)value())[idx]); value 79 util/HalideTraceViz.cpp return (T)(((const float *)value())[idx]); value 81 util/HalideTraceViz.cpp return (T)(((const double *)value())[idx]); value 233 util/HalideTraceViz.cpp double value = p.get_value_as<double>(i); value 235 util/HalideTraceViz.cpp min_value = value; value 236 util/HalideTraceViz.cpp max_value = value; value 238 util/HalideTraceViz.cpp min_value = std::min(min_value, value); value 239 util/HalideTraceViz.cpp max_value = std::max(max_value, value); value 812 util/HalideTraceViz.cpp double value = p.get_value_as<double>(lane); value 815 util/HalideTraceViz.cpp value = 255 * (value - fi.config.min) / (fi.config.max - fi.config.min); value 816 util/HalideTraceViz.cpp if (value < 0) value = 0; value 817 util/HalideTraceViz.cpp if (value > 255) value = 255; value 820 util/HalideTraceViz.cpp uint8_t int_value = (uint8_t)value;