Type 14 apps/camera_pipe/camera_pipe_generator.cpp GeneratorParam<Type> result_type{"result_type", UInt(8)}; Type 42 apps/camera_pipe/camera_pipe_generator.cpp Type wider = a.type().with_bits(a.type().bits() * 2); Type 111 apps/fft/complex.h inline ComplexExpr cast(Halide::Type type, ComplexExpr z) { Type 39 apps/fft/fft.cpp ComplexExpr undef_z(Type t = Float(32)) { Type 110 apps/fft/fft.cpp Type type = f.output_types()[0]; Type 125 apps/fft/fft.cpp Type type = f.output_types()[0]; Type 159 apps/fft/fft.cpp Type type = f.output_types()[0]; Type 190 apps/fft/fft.cpp Type type = f.output_types()[0]; Type 7 apps/hexagon_benchmarks/conv3x3_generator.cpp GeneratorParam<Type> accumulator_type{"accumulator_type", Int(16)}; Type 7 apps/templates/tests/example_generator.cpp GeneratorParam<Halide::Type> type{ "type", UInt(8) }; Type 23 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr, h::Expr, h::Expr>( Type 26 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr>( Type 29 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t>( Type 43 python_bindings/python/Expr.cpp const h::Type &t = expr.type(); Type 184 python_bindings/python/Func.cpp h::Type output_type, Type 196 python_bindings/python/Func.cpp auto types_vec = python_collection_to_vector<h::Type>(types); Type 202 python_bindings/python/Func.cpp for (h::Type t : func.output_types()) { Type 13 python_bindings/python/IROperator.cpp h::Expr reinterpret0(h::Type t, h::Expr e) { Type 17 python_bindings/python/IROperator.cpp h::Expr cast0(h::Type t, h::Expr e) { Type 192 python_bindings/python/IROperator.cpp h::Expr undef0(h::Type type) { Type 144 python_bindings/python/Image.cpp h::Type t = halide_type_of<T>(); Type 168 python_bindings/python/Image.cpp std::function<h::Type(h::Buffer<T> &)> return_type_func = Type 169 python_bindings/python/Image.cpp [&](h::Buffer<T> &that) -> h::Type { return halide_type_of<T>(); }; Type 171 python_bindings/python/Image.cpp typedef boost::mpl::vector<h::Type, h::Buffer<T> &> func_sig; Type 243 python_bindings/python/Image.cpp void defineBuffer_impl(const std::string suffix, const h::Type type) { Type 481 python_bindings/python/Image.cpp bn::dtype type_to_dtype(const h::Type &t) { Type 494 python_bindings/python/Image.cpp h::Type dtype_to_type(const bn::dtype &t) { Type 504 python_bindings/python/Image.cpp return h::Type(); Type 509 python_bindings/python/Image.cpp h::Type t = dtype_to_type(array.get_dtype()); Type 558 python_bindings/python/Image.cpp static p::object create_buffer_impl(h::Type t, Args... args) { Type 571 python_bindings/python/Image.cpp static p::object create_buffer0(h::Type type) { Type 575 python_bindings/python/Image.cpp static p::object create_buffer1(h::Type type, int x) { Type 579 python_bindings/python/Image.cpp static p::object create_buffer2(h::Type type, int x, int y) { Type 583 python_bindings/python/Image.cpp static p::object create_buffer3(h::Type type, int x, int y, int z) { Type 587 python_bindings/python/Image.cpp static p::object create_buffer4(h::Type type, int x, int y, int z, int w) { Type 591 python_bindings/python/Image.cpp static p::object create_buffer_from_realization(h::Type type, h::Realization &r) { Type 42 python_bindings/python/Param.cpp const h::Type &t = param.type(); Type 78 python_bindings/python/Param.cpp p::init<h::Type, int, std::string>(p::args("self", "t", "dims", "name"))) Type 79 python_bindings/python/Param.cpp .def(p::init<h::Type, int>(p::args("self", "t", "dims"))) Type 286 python_bindings/python/Param.cpp const h::Type &t = param.type(); Type 294 python_bindings/python/Param.cpp void defineParam_impl(const std::string suffix, const h::Type type) { Type 410 python_bindings/python/Param.cpp p::object create_param0_impl(h::Type type, std::string name) { Type 423 python_bindings/python/Param.cpp p::object create_param0_impl<end_of_recursion_t>(h::Type type, std::string /*name*/) { // end of recursion, did not find a matching type Type 504 python_bindings/python/Param.cpp p::object operator()(h::Type type, p::object val, Args... args) { Type 554 python_bindings/python/Param.cpp p::object operator()(h::Type type, p::object val, Args... args) { Type 563 python_bindings/python/Param.cpp static p::object create_param0(h::Type type) { Type 570 python_bindings/python/Param.cpp static p::object create_param1(h::Type type, std::string name) { Type 577 python_bindings/python/Param.cpp static p::object create_param2(h::Type type, p::object val) { Type 581 python_bindings/python/Param.cpp static p::object create_param3(h::Type type, std::string name, p::object val) { Type 585 python_bindings/python/Param.cpp static p::object create_param4(h::Type type, p::object val, h::Expr min, h::Expr max) { Type 589 python_bindings/python/Param.cpp static p::object create_param5(h::Type type, std::string name, p::object val, h::Expr min, h::Expr max) { Type 14 python_bindings/python/Type.cpp std::string type_code_to_string(const h::Type &t) { Type 17 python_bindings/python/Type.cpp case h::Type::UInt: Type 21 python_bindings/python/Type.cpp case h::Type::Int: Type 25 python_bindings/python/Type.cpp case h::Type::Float: Type 29 python_bindings/python/Type.cpp case h::Type::Handle: Type 40 python_bindings/python/Type.cpp Halide::Type make_handle(int lanes) { Type 44 python_bindings/python/Type.cpp std::string type_repr(const h::Type &t) { Type 52 python_bindings/python/Type.cpp using Halide::Type; Type 55 python_bindings/python/Type.cpp bool (Type::*can_represent_other_type)(Type) const = &Type::can_represent; Type 57 python_bindings/python/Type.cpp p::class_<Type>("Type", Type 61 python_bindings/python/Type.cpp .def(p::init<h::Type>(p::args("that"), "Copy constructor")) Type 63 python_bindings/python/Type.cpp .def("bits", &Type::bits, Type 65 python_bindings/python/Type.cpp .def("bytes", &Type::bytes, Type 67 python_bindings/python/Type.cpp .def("lanes", &Type::lanes, Type 69 python_bindings/python/Type.cpp .def("is_bool", &Type::is_bool, p::arg("self"), Type 71 python_bindings/python/Type.cpp .def("is_vector", &Type::is_vector, p::arg("self"), Type 73 python_bindings/python/Type.cpp .def("is_scalar", &Type::is_scalar, p::arg("self"), Type 75 python_bindings/python/Type.cpp .def("is_float", &Type::is_float, p::arg("self"), Type 77 python_bindings/python/Type.cpp .def("is_int", &Type::is_int, p::arg("self"), Type 79 python_bindings/python/Type.cpp .def("is_uint", &Type::is_uint, p::arg("self"), Type 81 python_bindings/python/Type.cpp .def("is_handle", &Type::is_handle, p::arg("self"), Type 85 python_bindings/python/Type.cpp .def("with_lanes", &Type::with_lanes, p::args("self", "w"), Type 87 python_bindings/python/Type.cpp .def("with_bits", &Type::with_bits, p::args("self", "w"), Type 89 python_bindings/python/Type.cpp .def("element_of", &Type::element_of, p::arg("self"), Type 93 python_bindings/python/Type.cpp .def("max", &Type::max, p::arg("self"), Type 95 python_bindings/python/Type.cpp .def("min", &Type::min, p::arg("self"), Type 7 python_bindings/python/Type.h struct Type; // forward declaration Type 12 python_bindings/python/Type.h std::string type_repr(const Halide::Type &t); // helper function Type 13 python_bindings/python/Type.h std::string type_code_to_string(const Halide::Type &t); Type 22 src/AddImageChecks.cpp Type type; Type 144 src/AddImageChecks.cpp Type type = buf.second.type; Type 101 src/AddParameterChecks.cpp Type wider = p.value.type().with_bits(64); Type 30 src/ApplySplit.h Type type; Type 32 src/ApplySplit.h ApplySplitResult(const std::string &n, Expr val, Type t) Type 54 src/Argument.h Type type; Type 61 src/Argument.h Argument(const std::string &_name, Kind _kind, const Type &_type, int _dimensions, Type 41 src/AssociativeOpsTable.cpp ValType convert_halide_type_to_val_type(const Type &halide_t) { Type 119 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_add(Type t, vector<AssociativePattern> &table) { Type 126 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_mul(Type t, vector<AssociativePattern> &table) { Type 133 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_max(Type t, vector<AssociativePattern> &table) { Type 140 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_min(Type t, vector<AssociativePattern> &table) { Type 147 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_sub(Type t, vector<AssociativePattern> &table) { Type 153 src/AssociativeOpsTable.cpp void populate_ops_table_single_general_select(Type t, vector<AssociativePattern> &table) { Type 159 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_add(Type t, vector<AssociativePattern> &table) { Type 166 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_mul(Type t, vector<AssociativePattern> &table) { Type 172 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_max(Type t, vector<AssociativePattern> &table) { Type 179 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_min(Type t, vector<AssociativePattern> &table) { Type 186 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_sub(Type t, vector<AssociativePattern> &table) { Type 193 src/AssociativeOpsTable.cpp void populate_ops_table_double_general_select(Type t, vector<AssociativePattern> &table) { Type 199 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint1_and(Type t, vector<AssociativePattern> &table) { Type 206 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint1_or(Type t, vector<AssociativePattern> &table) { Type 213 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint8_cast(Type t, vector<AssociativePattern> &table) { Type 225 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint8_select(Type t, vector<AssociativePattern> &table) { Type 233 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint16_cast(Type t, vector<AssociativePattern> &table) { Type 243 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint16_select(Type t, vector<AssociativePattern> &table) { Type 251 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint32_cast(Type t, vector<AssociativePattern> &table) { Type 259 src/AssociativeOpsTable.cpp void populate_ops_table_single_uint32_select(Type t, vector<AssociativePattern> &table) { Type 267 src/AssociativeOpsTable.cpp static const map<TableKey, void(*)(Type, vector<AssociativePattern> &)> val_type_to_populate_luts_fn = { Type 294 src/AssociativeOpsTable.cpp const vector<AssociativePattern> &get_ops_table_helper(Type t, RootExpr root, size_t dim) { Type 233 src/Associativity.cpp Type t = exprs[0].type(); Type 529 src/Associativity.cpp Type t = UInt(8); Type 574 src/Associativity.cpp Type t = UInt(1); Type 599 src/Associativity.cpp Type t = Int(32); Type 92 src/Bounds.cpp void bounds_of_func(string name, int value_index, Type t) { Type 110 src/Bounds.cpp void bounds_of_type(Type t) { Type 143 src/Bounds.cpp Type to = op->type.element_of(); Type 144 src/Bounds.cpp Type from = op->value.type().element_of(); Type 423 src/Bounds.cpp Type t = op->type.element_of(); Type 594 src/Bounds.cpp Type t = op->type.element_of(); Type 143 src/Buffer.h explicit Buffer(Type t, Type 162 src/Buffer.h explicit Buffer(Type t, Type 178 src/Buffer.h explicit Buffer(Type t, Type 196 src/Buffer.h explicit Buffer(Type t, Type 202 src/Buffer.h explicit Buffer(Type t, Type 220 src/Buffer.h static Buffer<> make_scalar(Type t, const std::string &name = "") { Type 229 src/Buffer.h static Buffer<> make_interleaved(Type t, int width, int height, int channels, const std::string &name = "") { Type 240 src/Buffer.h make_interleaved(Type t, T *data, int width, int height, int channels, const std::string &name = "") { Type 383 src/Buffer.h Type type() const { Type 34 src/CPlusPlusMangle.cpp Type non_null_void_star_type() { Type 130 src/CPlusPlusMangle.cpp const Type &type; Type 136 src/CPlusPlusMangle.cpp QualsState(const Type &type, const std::string &base_mode) : type(type), base_mode(base_mode) { } Type 182 src/CPlusPlusMangle.cpp std::string mangle_indirection_and_cvr_quals(const Type &type, const Target &target) { Type 192 src/CPlusPlusMangle.cpp MangledNamePart mangle_inner_name(const Type &type, const Target &target, PreviousDeclarations &prev_decls) { Type 229 src/CPlusPlusMangle.cpp MangledNamePart mangle_type(const Type &type, const Target &target, PreviousDeclarations &prev_decls) { Type 275 src/CPlusPlusMangle.cpp Type return_type, const std::vector<ExternFuncArgument> &args, Type 418 src/CPlusPlusMangle.cpp MangledNamePart apply_indirection_and_cvr_quals(const Type &type, MangledNamePart &name_part, Type 507 src/CPlusPlusMangle.cpp std::string mangle_inner_name(const Type &type, const Target &target, PrevPrefixes &prevs) { Type 518 src/CPlusPlusMangle.cpp std::string mangle_type(const Type &type, const Target &target, PrevPrefixes &prevs) { Type 576 src/CPlusPlusMangle.cpp Type return_type, const std::vector<ExternFuncArgument> &args, Type 597 src/CPlusPlusMangle.cpp Type return_type, const std::vector<ExternFuncArgument> &args, Type 821 src/CPlusPlusMangle.cpp Type test_type(Handle(1, &enclosed_type_info)); Type 834 src/CPlusPlusMangle.cpp Type qual1_type(Handle(1, &qual1)); Type 839 src/CPlusPlusMangle.cpp Type qual2_type(Handle(1, &qual2)); Type 859 src/CPlusPlusMangle.cpp Type std_test_type(Handle(1, &std_enclosed_type_info)); Type 867 src/CPlusPlusMangle.cpp Type class_type(Handle(1, &class_type_info)); Type 875 src/CPlusPlusMangle.cpp Type union_type(Handle(1, &union_type_info)); Type 883 src/CPlusPlusMangle.cpp Type enum_type(Handle(1, &enum_type_info)); Type 21 src/CPlusPlusMangle.h Type return_type, const std::vector<ExternFuncArgument> &args, Type 41 src/Closure.cpp void Closure::found_buffer_ref(const string &name, Type type, Type 42 src/Closure.h Type type; Type 60 src/Closure.h void found_buffer_ref(const std::string &name, Type type, Type 76 src/Closure.h std::map<std::string, Type> vars; Type 42 src/CodeGen_ARM.cpp Type types[] = {Int(8, 8), Int(8, 16), UInt(8, 8), UInt(8, 16), Type 46 src/CodeGen_ARM.cpp Type t = types[i]; Type 59 src/CodeGen_ARM.cpp Type w = t.with_bits(t.bits() * 2); Type 60 src/CodeGen_ARM.cpp Type ws = Int(t.bits()*2, t.lanes()); Type 231 src/CodeGen_ARM.cpp Value *CodeGen_ARM::call_pattern(const Pattern &p, Type t, const vector<Expr> &args) { Type 239 src/CodeGen_ARM.cpp Value *CodeGen_ARM::call_pattern(const Pattern &p, llvm::Type *t, const vector<llvm::Value *> &args) { Type 253 src/CodeGen_ARM.cpp Type t = op->type; Type 323 src/CodeGen_ARM.cpp Type unsigned_type = UInt(t.bits() * 2, t.lanes()); Type 390 src/CodeGen_ARM.cpp llvm::Type *t_arg = llvm_type_of(matches[0].type()); Type 391 src/CodeGen_ARM.cpp llvm::Type *t_result = llvm_type_of(op->type); Type 409 src/CodeGen_ARM.cpp Type ty = a.type(); Type 410 src/CodeGen_ARM.cpp Type wide_ty = ty.with_bits(ty.bits() * 2); Type 510 src/CodeGen_ARM.cpp Type t; Type 583 src/CodeGen_ARM.cpp Type t; Type 665 src/CodeGen_ARM.cpp Type intrin_type = Handle(); Type 667 src/CodeGen_ARM.cpp Type t = shuffle->vectors[0].type(); Type 669 src/CodeGen_ARM.cpp Type elt = t.element_of(); Type 692 src/CodeGen_ARM.cpp Type t = shuffle->vectors[0].type(); Type 709 src/CodeGen_ARM.cpp vector<llvm::Type *> arg_types; Type 720 src/CodeGen_ARM.cpp arg_types = vector<llvm::Type *>(num_vecs + 2, llvm_type_of(intrin_type)); Type 733 src/CodeGen_ARM.cpp arg_types = vector<llvm::Type *>(num_vecs + 1, llvm_type_of(intrin_type)); Type 736 src/CodeGen_ARM.cpp llvm::FunctionType *fn_type = FunctionType::get(llvm::Type::getVoidTy(*context), arg_types, false); Type 890 src/CodeGen_ARM.cpp llvm::Type *load_return_type = llvm_type_of(op->type.with_lanes(intrin_lanes*stride->value)); Type 891 src/CodeGen_ARM.cpp llvm::Type *load_return_pointer_type = load_return_type->getPointerTo(); Type 949 src/CodeGen_ARM.cpp Type narrow = UInt(a.type().bits()/2, a.type().lanes()); Type 63 src/CodeGen_ARM.h llvm::Value *call_pattern(const Pattern &p, Type t, const std::vector<Expr> &args); Type 64 src/CodeGen_ARM.h llvm::Value *call_pattern(const Pattern &p, llvm::Type *t, const std::vector<llvm::Value *> &args); Type 223 src/CodeGen_C.cpp string type_to_c_type(Type type, bool include_space, bool c_plus_plus = true) { Type 317 src/CodeGen_C.cpp string CodeGen_C::print_type(Type type, AppendSpaceIfNeeded space_option) { Type 321 src/CodeGen_C.cpp string CodeGen_C::print_reinterpret(Type type, Expr e) { Type 661 src/CodeGen_C.cpp Type t = buffer.type(); Type 687 src/CodeGen_C.cpp string CodeGen_C::print_assignment(Type t, const std::string &rhs) { Type 728 src/CodeGen_C.cpp void CodeGen_C::visit_binop(Type t, Expr a, Expr b, const char * op) { Type 1032 src/CodeGen_C.cpp Type t = op->args[i].type(); Type 1134 src/CodeGen_C.cpp Type t = op->type; Type 1158 src/CodeGen_C.cpp Type t = op->value.type(); Type 87 src/CodeGen_C.h virtual std::string print_type(Type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); Type 90 src/CodeGen_C.h virtual std::string print_reinterpret(Type, Expr); Type 96 src/CodeGen_C.h std::string print_assignment(Type t, const std::string &rhs); Type 117 src/CodeGen_C.h Type type; Type 180 src/CodeGen_C.h void visit_binop(Type t, Expr a, Expr b, const char *op); Type 324 src/CodeGen_GPU_Host.cpp llvm::Type *target_size_t_type = (target.bits == 32) ? i32_t : i64_t; Type 331 src/CodeGen_GPU_Host.cpp llvm::Type *gpu_args_arr_type = ArrayType::get(arg_t, num_args+1); Type 339 src/CodeGen_GPU_Host.cpp llvm::Type *gpu_arg_sizes_arr_type = ArrayType::get(target_size_t_type, Type 347 src/CodeGen_GPU_Host.cpp llvm::Type *gpu_arg_is_buffer_arr_type = ArrayType::get(i8_t, num_args+1); Type 494 src/CodeGen_GPU_Host.cpp PointerType *void_ptr_type = llvm::Type::getInt8PtrTy(*context); Type 239 src/CodeGen_Hexagon.cpp Type i8 = Int(8); Type 240 src/CodeGen_Hexagon.cpp Type i16 = Int(16); Type 241 src/CodeGen_Hexagon.cpp Type i32 = Int(32); Type 242 src/CodeGen_Hexagon.cpp Type u8 = UInt(8); Type 243 src/CodeGen_Hexagon.cpp Type u16 = UInt(16); Type 244 src/CodeGen_Hexagon.cpp Type u32 = UInt(32); Type 247 src/CodeGen_Hexagon.cpp Type i8v1 = i8.with_lanes(native_vector_bits() / 8); Type 248 src/CodeGen_Hexagon.cpp Type i16v1 = i16.with_lanes(native_vector_bits() / 16); Type 249 src/CodeGen_Hexagon.cpp Type i32v1 = i32.with_lanes(native_vector_bits() / 32); Type 250 src/CodeGen_Hexagon.cpp Type u8v1 = u8.with_lanes(native_vector_bits() / 8); Type 251 src/CodeGen_Hexagon.cpp Type u16v1 = u16.with_lanes(native_vector_bits() / 16); Type 252 src/CodeGen_Hexagon.cpp Type u32v1 = u32.with_lanes(native_vector_bits() / 32); Type 254 src/CodeGen_Hexagon.cpp Type i8v2 = i8v1.with_lanes(i8v1.lanes() * 2); Type 255 src/CodeGen_Hexagon.cpp Type i16v2 = i16v1.with_lanes(i16v1.lanes() * 2); Type 256 src/CodeGen_Hexagon.cpp Type i32v2 = i32v1.with_lanes(i32v1.lanes() * 2); Type 257 src/CodeGen_Hexagon.cpp Type u8v2 = u8v1.with_lanes(u8v1.lanes() * 2); Type 258 src/CodeGen_Hexagon.cpp Type u16v2 = u16v1.with_lanes(u16v1.lanes() * 2); Type 259 src/CodeGen_Hexagon.cpp Type u32v2 = u32v1.with_lanes(u32v1.lanes() * 2); Type 270 src/CodeGen_Hexagon.cpp Type ret_type; Type 272 src/CodeGen_Hexagon.cpp vector<Type> arg_types; Type 571 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(int id, Type ret_ty, const string &name, Type 572 src/CodeGen_Hexagon.cpp const vector<Type> &arg_types, bool broadcast_scalar_word) { Type 579 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(llvm::Function *intrin, Type ret_ty, const string &name, Type 580 src/CodeGen_Hexagon.cpp vector<Type> arg_types, bool broadcast_scalar_word) { Type 585 src/CodeGen_Hexagon.cpp vector<llvm::Type *> llvm_arg_types; Type 587 src/CodeGen_Hexagon.cpp for (Type i : arg_types) { Type 616 src/CodeGen_Hexagon.cpp Type split_type = arg_types.front().with_lanes(arg_types.front().lanes() / 2); Type 624 src/CodeGen_Hexagon.cpp llvm::Type *arg_ty = intrin_ty->getParamType(i); Type 672 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::create_bitcast(Value *v, llvm::Type *ty) { Type 683 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin_cast(llvm::Type *ret_ty, Type 695 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin_cast(llvm::Type *ret_ty, Type 704 src/CodeGen_Hexagon.cpp llvm::Type *v_ty = v[0]->getType(); Type 705 src/CodeGen_Hexagon.cpp llvm::Type *element_ty = v_ty->getVectorElementType(); Type 715 src/CodeGen_Hexagon.cpp llvm::Type *native_ty = llvm::VectorType::get(element_ty, native_elements); Type 724 src/CodeGen_Hexagon.cpp llvm::Type *native2_ty = llvm::VectorType::get(element_ty, native_elements*2); Type 831 src/CodeGen_Hexagon.cpp llvm::Type *a_ty = a->getType(); Type 832 src/CodeGen_Hexagon.cpp llvm::Type *b_ty = b->getType(); Type 839 src/CodeGen_Hexagon.cpp llvm::Type *element_ty = a->getType()->getVectorElementType(); Type 843 src/CodeGen_Hexagon.cpp llvm::Type *native_ty = llvm::VectorType::get(element_ty, native_elements); Type 844 src/CodeGen_Hexagon.cpp llvm::Type *native2_ty = llvm::VectorType::get(element_ty, native_elements*2); Type 848 src/CodeGen_Hexagon.cpp llvm::Type *result_ty = VectorType::get(element_ty, result_elements); Type 1001 src/CodeGen_Hexagon.cpp llvm::Type *lut_ty = lut->getType(); Type 1002 src/CodeGen_Hexagon.cpp llvm::Type *idx_ty = idx->getType(); Type 1055 src/CodeGen_Hexagon.cpp llvm::Type *native_result_ty = Type 1136 src/CodeGen_Hexagon.cpp llvm::Type *i8x_t = VectorType::get(i8_t, indices.size()); Type 1137 src/CodeGen_Hexagon.cpp llvm::Type *i16x_t = VectorType::get(i16_t, indices.size()); Type 1182 src/CodeGen_Hexagon.cpp llvm::Type *element_ty = result->getType()->getVectorElementType(); Type 1198 src/CodeGen_Hexagon.cpp string type_suffix(Type type, bool signed_variants = true) { Type 1236 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin(Type result_type, const string &name, Type 1256 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin(llvm::Type *result_type, const string &name, Type 1361 src/CodeGen_Hexagon.cpp Type wide = op->type.with_bits(op->type.bits()*2); Type 1377 src/CodeGen_Hexagon.cpp Type ty = a.type(); Type 1379 src/CodeGen_Hexagon.cpp Type wide_ty = ty.with_bits(ty.bits() * 2); Type 1402 src/CodeGen_Hexagon.cpp Type ty = a.type(); Type 1542 src/CodeGen_Hexagon.cpp llvm::Type *ptr_type = prefetch_fn->getFunctionType()->params()[0]; Type 35 src/CodeGen_Hexagon.h llvm::Function *define_hvx_intrinsic(int intrin, Type ret_ty, Type 37 src/CodeGen_Hexagon.h const std::vector<Type> &arg_types, Type 39 src/CodeGen_Hexagon.h llvm::Function *define_hvx_intrinsic(llvm::Function *intrin, Type ret_ty, Type 41 src/CodeGen_Hexagon.h std::vector<Type> arg_types, Type 68 src/CodeGen_Hexagon.h int allocation_padding(Type type) const { Type 75 src/CodeGen_Hexagon.h llvm::Value *call_intrin_cast(llvm::Type *ret_ty, llvm::Function *F, Type 77 src/CodeGen_Hexagon.h llvm::Value *call_intrin_cast(llvm::Type *ret_ty, int id, Type 87 src/CodeGen_Hexagon.h llvm::Value *call_intrin(Type t, const std::string &name, Type 89 src/CodeGen_Hexagon.h llvm::Value *call_intrin(llvm::Type *t, const std::string &name, Type 111 src/CodeGen_Hexagon.h llvm::Value *create_bitcast(llvm::Value *v, llvm::Type *ty); Type 19 src/CodeGen_Internal.cpp vector<llvm::Type*> llvm_types(const Closure& closure, llvm::StructType *buffer_t, LLVMContext &context) { Type 20 src/CodeGen_Internal.cpp vector<llvm::Type *> res; Type 50 src/CodeGen_Internal.cpp llvm::Type *t = type->elements()[idx]; Type 62 src/CodeGen_Internal.cpp llvm::Type *t = type->elements()[idx]; Type 112 src/CodeGen_Internal.cpp llvm::Type *llvm_type_of(LLVMContext *c, Halide::Type t) { Type 117 src/CodeGen_Internal.cpp return llvm::Type::getHalfTy(*c); Type 119 src/CodeGen_Internal.cpp return llvm::Type::getFloatTy(*c); Type 121 src/CodeGen_Internal.cpp return llvm::Type::getDoubleTy(*c); Type 127 src/CodeGen_Internal.cpp return llvm::Type::getInt8PtrTy(*c); Type 129 src/CodeGen_Internal.cpp return llvm::Type::getIntNTy(*c, t.bits()); Type 132 src/CodeGen_Internal.cpp llvm::Type *element_type = llvm_type_of(c, t.element_of()); Type 48 src/CodeGen_Internal.h llvm::Type *llvm_type_of(llvm::LLVMContext *context, Halide::Type t); Type 377 src/CodeGen_LLVM.cpp void_t = llvm::Type::getVoidTy(*context); Type 378 src/CodeGen_LLVM.cpp i1_t = llvm::Type::getInt1Ty(*context); Type 379 src/CodeGen_LLVM.cpp i8_t = llvm::Type::getInt8Ty(*context); Type 380 src/CodeGen_LLVM.cpp i16_t = llvm::Type::getInt16Ty(*context); Type 381 src/CodeGen_LLVM.cpp i32_t = llvm::Type::getInt32Ty(*context); Type 382 src/CodeGen_LLVM.cpp i64_t = llvm::Type::getInt64Ty(*context); Type 383 src/CodeGen_LLVM.cpp f16_t = llvm::Type::getHalfTy(*context); Type 384 src/CodeGen_LLVM.cpp f32_t = llvm::Type::getFloatTy(*context); Type 385 src/CodeGen_LLVM.cpp f64_t = llvm::Type::getDoubleTy(*context); Type 470 src/CodeGen_LLVM.cpp Type void_star_star(Handle(1, &inner_type)); Type 567 src/CodeGen_LLVM.cpp vector<llvm::Type *> arg_types(args.size()); Type 693 src/CodeGen_LLVM.cpp std::vector<llvm::Constant*> get_constants(llvm::Type *t, It begin, It end) { Type 727 src/CodeGen_LLVM.cpp llvm::Type *void_ptr = i8_t->getPointerTo(); Type 870 src/CodeGen_LLVM.cpp llvm::Type *args_t[] = {i8_t->getPointerTo()->getPointerTo()}; Type 975 src/CodeGen_LLVM.cpp llvm::Type *CodeGen_LLVM::llvm_type_of(Type t) { Type 1122 src/CodeGen_LLVM.cpp Halide::Type src = op->value.type(); Type 1123 src/CodeGen_LLVM.cpp Halide::Type dst = op->type; Type 1127 src/CodeGen_LLVM.cpp llvm::Type *llvm_dst = llvm_type_of(dst); Type 1205 src/CodeGen_LLVM.cpp Type ty = a.type(); Type 1206 src/CodeGen_LLVM.cpp Type wide_ty = ty.with_bits(ty.bits() * 2); Type 1255 src/CodeGen_LLVM.cpp num = cast(num.type().with_code(Type::UInt), num); Type 1365 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1376 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1388 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1401 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1414 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1427 src/CodeGen_LLVM.cpp Halide::Type t = op->a.type(); Type 1488 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(string buffer, Halide::Type type, Expr index) { Type 1494 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(Value *base_address, Halide::Type type, Expr index) { Type 1509 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(string buffer, Halide::Type type, Value *index) { Type 1515 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(Value *base_address, Halide::Type type, Value *index) { Type 1516 src/CodeGen_LLVM.cpp llvm::Type *base_address_type = base_address->getType(); Type 1519 src/CodeGen_LLVM.cpp llvm::Type *load_type = llvm_type_of(type)->getPointerTo(address_space); Type 1876 src/CodeGen_LLVM.cpp llvm::Type *result_type = llvm_type_of(e.type()); Type 1892 src/CodeGen_LLVM.cpp Halide::Type value_type = op->value.type(); Type 1937 src/CodeGen_LLVM.cpp Type value_type = op->value.type().element_of(); Type 2014 src/CodeGen_LLVM.cpp llvm::Type *slice_type = VectorType::get(llvm_type_of(load->type.element_of()), slice_lanes); Type 2115 src/CodeGen_LLVM.cpp Type dst = op->type; Type 2116 src/CodeGen_LLVM.cpp Type src = op->args[0].type(); Type 2117 src/CodeGen_LLVM.cpp llvm::Type *llvm_dst = llvm_type_of(dst); Type 2125 src/CodeGen_LLVM.cpp llvm::Type *intermediate = llvm_type_of(UInt(32, dst.lanes())); Type 2140 src/CodeGen_LLVM.cpp llvm::Type *intermediate = llvm_type_of(UInt(32, src.lanes())); Type 2167 src/CodeGen_LLVM.cpp Type t = op->args[0].type(); Type 2188 src/CodeGen_LLVM.cpp Type t = a.type(); Type 2241 src/CodeGen_LLVM.cpp std::vector<llvm::Type*> arg_type(1); Type 2249 src/CodeGen_LLVM.cpp std::vector<llvm::Type*> arg_type(1); Type 2308 src/CodeGen_LLVM.cpp vector<llvm::Type *> types(op->args.size()); Type 2322 src/CodeGen_LLVM.cpp llvm::Type *aggregate_t = (all_same_type ? Type 2323 src/CodeGen_LLVM.cpp (llvm::Type *)ArrayType::get(types[0], types.size()) : Type 2324 src/CodeGen_LLVM.cpp (llvm::Type *)StructType::get(*context, types)); Type 2344 src/CodeGen_LLVM.cpp Type t = op->args[i].type(); Type 2391 src/CodeGen_LLVM.cpp Type t = op->args[i].type(); Type 2466 src/CodeGen_LLVM.cpp llvm::Type *arg_types[] = {i8_t->getPointerTo(), i8_t->getPointerTo()}; Type 2533 src/CodeGen_LLVM.cpp vector<llvm::Type *> arg_types; Type 2537 src/CodeGen_LLVM.cpp llvm::Type *result_type = llvm_type_of(op->type); Type 2626 src/CodeGen_LLVM.cpp llvm::Type *ptr_type = prefetch_fn->getFunctionType()->params()[0]; Type 2690 src/CodeGen_LLVM.cpp llvm::Type *result_type = llvm_type_of(op->type); Type 2702 src/CodeGen_LLVM.cpp vector<llvm::Type *> arg_types(args.size()); Type 2711 src/CodeGen_LLVM.cpp llvm::Type *scalar_result_type = result_type; Type 2739 src/CodeGen_LLVM.cpp llvm::Type *t = func_t->getParamType(i); Type 2859 src/CodeGen_LLVM.cpp llvm::Type *type = ArrayType::get(i8_t, data.size()); Type 2994 src/CodeGen_LLVM.cpp llvm::Type *voidPointerType = (llvm::Type *)(i8_t->getPointerTo()); Type 2995 src/CodeGen_LLVM.cpp llvm::Type *args_t[] = {voidPointerType, i32_t, voidPointerType}; Type 3090 src/CodeGen_LLVM.cpp Halide::Type value_type = op->value.type(); Type 3144 src/CodeGen_LLVM.cpp Type ptr_type = value_type.element_of(); Type 3251 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::create_alloca_at_entry(llvm::Type *t, int n, bool zero_initialize, const string &name) { Type 3285 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::call_intrin(Type result_type, int intrin_lanes, Type 3297 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::call_intrin(llvm::Type *result_type, int intrin_lanes, Type 3324 src/CodeGen_LLVM.cpp llvm::Type *result_slice_type = Type 3333 src/CodeGen_LLVM.cpp vector<llvm::Type *> arg_types(arg_values.size()); Type 3341 src/CodeGen_LLVM.cpp llvm::Type *intrinsic_result_type = VectorType::get(result_type->getScalarType(), intrin_lanes); Type 26 src/CodeGen_LLVM.h class Type; Type 181 src/CodeGen_LLVM.h llvm::Type *void_t, *i1_t, *i8_t, *i16_t, *i32_t, *i64_t, *f16_t, *f32_t, *f64_t; Type 193 src/CodeGen_LLVM.h llvm::Type *i8x8, *i8x16, *i8x32; Type 194 src/CodeGen_LLVM.h llvm::Type *i16x4, *i16x8, *i16x16; Type 195 src/CodeGen_LLVM.h llvm::Type *i32x2, *i32x4, *i32x8; Type 196 src/CodeGen_LLVM.h llvm::Type *i64x2, *i64x4; Type 197 src/CodeGen_LLVM.h llvm::Type *f32x2, *f32x4, *f32x8; Type 198 src/CodeGen_LLVM.h llvm::Type *f64x2, *f64x4; Type 285 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(std::string buffer, Type type, llvm::Value *index); Type 286 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(std::string buffer, Type type, Expr index); Type 287 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(llvm::Value *base_address, Type type, Expr index); Type 288 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(llvm::Value *base_address, Type type, llvm::Value *index); Type 292 src/CodeGen_LLVM.h llvm::Value *make_halide_type_t(Type); Type 384 src/CodeGen_LLVM.h llvm::Type *llvm_type_of(Type); Type 388 src/CodeGen_LLVM.h llvm::Value *create_alloca_at_entry(llvm::Type *type, int n, Type 414 src/CodeGen_LLVM.h llvm::Value *call_intrin(Type t, int intrin_lanes, Type 416 src/CodeGen_LLVM.h llvm::Value *call_intrin(llvm::Type *t, int intrin_lanes, Type 23 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_type_maybe_storage(Type type, bool storage, AppendSpaceIfNeeded space) { Type 82 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_type(Type type, AppendSpaceIfNeeded space) { Type 86 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_storage_type(Type type) { Type 90 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_reinterpret(Type type, Expr e) { Type 290 src/CodeGen_Metal_Dev.cpp Type t = op->value.type(); Type 54 src/CodeGen_Metal_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); Type 62 src/CodeGen_Metal_Dev.h std::string print_storage_type(Type type); Type 63 src/CodeGen_Metal_Dev.h std::string print_type_maybe_storage(Type type, bool storage, AppendSpaceIfNeeded space); Type 64 src/CodeGen_Metal_Dev.h std::string print_reinterpret(Type type, Expr e); Type 23 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::CodeGen_OpenCL_C::print_type(Type type, AppendSpaceIfNeeded space) { Type 78 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::CodeGen_OpenCL_C::print_reinterpret(Type type, Expr e) { Type 292 src/CodeGen_OpenCL_Dev.cpp Type t = op->value.type(); Type 600 src/CodeGen_OpenCL_Dev.cpp Type t = args[i].type; Type 54 src/CodeGen_OpenCL_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded append_space = DoNotAppendSpace); Type 55 src/CodeGen_OpenCL_Dev.h std::string print_reinterpret(Type type, Expr e); Type 29 src/CodeGen_OpenGLCompute_Dev.cpp Type map_type(const Type &type) { Type 30 src/CodeGen_OpenGLCompute_Dev.cpp Type result = type; Type 48 src/CodeGen_OpenGLCompute_Dev.cpp Type scalar_type = type.element_of(); Type 55 src/CodeGen_OpenGLCompute_Dev.cpp string CodeGen_OpenGLCompute_Dev::CodeGen_OpenGLCompute_C::print_type(Type type, AppendSpaceIfNeeded space) { Type 56 src/CodeGen_OpenGLCompute_Dev.cpp Type mapped_type = map_type(type); Type 104 src/CodeGen_OpenGLCompute_Dev.cpp Type value_type = op->value.type(); Type 108 src/CodeGen_OpenGLCompute_Dev.cpp Type target_type = map_type(op->type); Type 50 src/CodeGen_OpenGLCompute_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); Type 33 src/CodeGen_OpenGL_Dev.cpp Type map_type(const Type &type) { Type 34 src/CodeGen_OpenGL_Dev.cpp Type result = type; Type 59 src/CodeGen_OpenGL_Dev.cpp Type scalar_type = type.element_of(); Type 72 src/CodeGen_OpenGL_Dev.cpp Expr call_builtin(const Type &result_type, const string &func, Type 74 src/CodeGen_OpenGL_Dev.cpp Type float_type = Float(32, result_type.lanes()); Type 180 src/CodeGen_OpenGL_Dev.cpp Type float_type = Float(32, op->type.lanes()); Type 207 src/CodeGen_OpenGL_Dev.cpp string CodeGen_GLSLBase::print_type(Type type, AppendSpaceIfNeeded space_option) { Type 351 src/CodeGen_OpenGL_Dev.cpp Type value_type = op->value.type(); Type 356 src/CodeGen_OpenGL_Dev.cpp if (value_type.code() == Type::Float) { Type 361 src/CodeGen_OpenGL_Dev.cpp if (op->type.code() == Type::UInt) { Type 363 src/CodeGen_OpenGL_Dev.cpp } else if (op->type.code() == Type::Int) { Type 370 src/CodeGen_OpenGL_Dev.cpp Type target_type = map_type(op->type); Type 603 src/CodeGen_OpenGL_Dev.cpp internal_assert((op->type.code() == Type::UInt || op->type.code() == Type::Float) && Type 715 src/CodeGen_OpenGL_Dev.cpp Type result_type = Float(32, op->type.lanes()); Type 850 src/CodeGen_OpenGL_Dev.cpp Type t = args[i].type.element_of(); Type 58 src/CodeGen_OpenGL_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); Type 55 src/CodeGen_PTX_Dev.cpp vector<llvm::Type *> arg_types(args.size()); Type 27 src/CodeGen_Posix.cpp Value *CodeGen_Posix::codegen_allocation_size(const std::string &name, Type type, const std::vector<Expr> &extents) { Type 75 src/CodeGen_Posix.cpp int CodeGen_Posix::allocation_padding(Type type) const { Type 82 src/CodeGen_Posix.cpp CodeGen_Posix::Allocation CodeGen_Posix::create_allocation(const std::string &name, Type type, Type 167 src/CodeGen_Posix.cpp llvm::Type *t = Type 37 src/CodeGen_Posix.h virtual int allocation_padding(Type type) const; Type 51 src/CodeGen_Posix.h Type type; Type 88 src/CodeGen_Posix.h llvm::Value *codegen_allocation_size(const std::string &name, Type type, const std::vector<Expr> &extents); Type 103 src/CodeGen_Posix.h Allocation create_allocation(const std::string &name, Type type, Type 24 src/CodeGen_PowerPC.cpp const char* CodeGen_PowerPC::altivec_int_type_name(const Type& t) { Type 55 src/CodeGen_PowerPC.cpp Type type; Type 134 src/CodeGen_PowerPC.cpp const Type& element_type = op->type.element_of(); Type 160 src/CodeGen_PowerPC.cpp const Type& element_type = op->type.element_of(); Type 40 src/CodeGen_PowerPC.h static const char* altivec_int_type_name(const Type&); Type 39 src/CodeGen_X86.cpp Type t = a.type(); Type 49 src/CodeGen_X86.cpp Type narrow = t.with_bits(16); Type 96 src/CodeGen_X86.cpp Type t = op->a.type(); Type 131 src/CodeGen_X86.cpp Type t = op->a.type(); Type 180 src/CodeGen_X86.cpp Type t = op->true_value.type(); Type 215 src/CodeGen_X86.cpp Type type; Type 299 src/CodeGen_X86.cpp Type signed_type = Int(32, op->type.lanes()); Type 320 src/CodeGen_X86.cpp Type ty = a.type(); Type 402 src/CodeGen_X86.cpp Type wider = op->type.with_bits(32); Type 17 src/Debug.h struct Type; Type 20 src/Debug.h EXPORT std::ostream &operator<<(std::ostream &stream, const Type &); Type 44 src/DebugToFile.cpp Type t = op->types[0]; Type 173 src/Deinterleave.cpp Type t = op->type.with_lanes(new_lanes); Type 191 src/Deinterleave.cpp Type t = op->type.with_lanes(new_lanes); Type 230 src/Deinterleave.cpp Type t = op->type.with_lanes(new_lanes); Type 236 src/Deinterleave.cpp Type t = op->type.with_lanes(new_lanes); Type 272 src/Deinterleave.cpp Type new_type = new_value.type(); Type 601 src/Deinterleave.cpp Type t = store->value.type(); Type 47 src/DeviceArgument.h Type type; Type 72 src/DeviceArgument.h Type _type, Type 327 src/Elf.cpp obj->set_type((Object::Type)header.e_type) Type 360 src/Elf.cpp auto section = obj->add_section(name, (Section::Type)sh->sh_type); Type 386 src/Elf.cpp symbol->set_type((Symbol::Type)sym.get_type()) Type 434 src/Elf.cpp Object::section_iterator Object::add_section(const std::string &name, Section::Type type) { Type 53 src/Elf.h enum Type : uint8_t { Type 76 src/Elf.h Type type = STT_NOTYPE; Type 94 src/Elf.h Symbol &set_type(Type type) { Type 98 src/Elf.h Type get_type() const { return type; } Type 182 src/Elf.h enum Type : uint32_t { Type 217 src/Elf.h Type type = SHT_NULL; Type 227 src/Elf.h Section(const std::string &name, Type type) : name(name), type(type) {} Type 235 src/Elf.h Section &set_type(Type type) { Type 239 src/Elf.h Type get_type() const { return type; } Type 361 src/Elf.h enum Type : uint16_t { Type 385 src/Elf.h Type type = ET_NONE; Type 397 src/Elf.h Type get_type() const { return type; } Type 403 src/Elf.h Object &set_type(Type type) { Type 440 src/Elf.h section_iterator add_section(const std::string &name, Section::Type type); Type 13 src/EliminateBoolVectors.cpp Scope<Type> lets; Type 27 src/EliminateBoolVectors.cpp Type t = a.type(); Type 53 src/EliminateBoolVectors.cpp expr = Call::make(t.with_code(Type::Int), Call::bool_to_mask, {expr}, Call::PureIntrinsic); Type 69 src/EliminateBoolVectors.cpp Type ta = a.type(); Type 70 src/EliminateBoolVectors.cpp Type tb = b.type(); Type 73 src/EliminateBoolVectors.cpp Type t = ta.with_bits(std::max(ta.bits(), tb.bits())); Type 127 src/EliminateBoolVectors.cpp Type ty = UInt(8, op->value.type().lanes()); Type 146 src/EliminateBoolVectors.cpp Type cond_ty = cond.type(); Type 150 src/EliminateBoolVectors.cpp internal_assert(cond_ty.code() == Type::Int); Type 32 src/EliminateBoolVectors.h EXPORT inline Type eliminated_bool_type(Type bool_type, Type other_type) { Type 34 src/EliminateBoolVectors.h bool_type = bool_type.with_code(Type::Int).with_bits(other_type.bits()); Type 115 src/Expr.h Type type; Type 173 src/Expr.h static const IntImm *make(Type t, int64_t value) { Type 197 src/Expr.h static const UIntImm *make(Type t, uint64_t value) { Type 220 src/Expr.h static const FloatImm *make(Type t, double value) { Type 291 src/Expr.h Type type() const { Type 123 src/FastIntegerDivide.cpp Type t = numerator.type(); Type 129 src/FastIntegerDivide.cpp Type wide = t.with_bits(t.bits() * 2); Type 164 src/Func.cpp const std::vector<Type> &types, Type 173 src/Func.cpp const std::vector<Type> &Func::output_types() const { Type 831 src/Func.cpp Dim d = {v.name(), ForType::Serial, DeviceAPI::None, Dim::Type::PureVar}; Type 1049 src/Func.cpp Dim::Type outer_type = Dim::Type::PureRVar; Type 1074 src/Func.cpp (dims[i].is_rvar() && ((outer_type == Dim::Type::PureRVar) || Type 1075 src/Func.cpp (outer_type == Dim::Type::ImpureRVar))) || Type 1076 src/Func.cpp (!dims[i].is_rvar() && (outer_type == Dim::Type::PureVar))); Type 1079 src/Func.cpp dims[i].dim_type = (dims[i].dim_type == Dim::Type::PureRVar) && (outer_type == Dim::Type::PureRVar) ? Type 1080 src/Func.cpp Dim::Type::PureRVar : Dim::Type::ImpureRVar; Type 1174 src/Func.cpp dims[i].dim_type = Dim::Type::PureVar; Type 2696 src/Func.cpp Type t = func_ref.function().values()[i].type(); Type 936 src/Func.h Type t, Type 940 src/Func.h define_extern(function_name, params, std::vector<Type>{t}, Type 946 src/Func.h const std::vector<Type> &types, Type 953 src/Func.h EXPORT const std::vector<Type> &output_types() const; Type 37 src/Function.cpp std::vector<Type> output_types; Type 447 src/Function.cpp Dim d = {args[i], ForType::Serial, DeviceAPI::None, Dim::Type::PureVar}; Type 455 src/Function.cpp Dim d = {Var::outermost().name(), ForType::Serial, DeviceAPI::None, Dim::Type::PureVar}; Type 508 src/Function.cpp Type pure_type = pure_def_vals[i].type(); Type 644 src/Function.cpp pure ? Dim::Type::PureRVar : Dim::Type::ImpureRVar}; Type 652 src/Function.cpp Dim d = {pure_args[i], ForType::Serial, DeviceAPI::None, Dim::Type::PureVar}; Type 659 src/Function.cpp Dim d = {Var::outermost().name(), ForType::Serial, DeviceAPI::None, Dim::Type::PureVar}; Type 683 src/Function.cpp const std::vector<Type> &types, Type 753 src/Function.cpp const std::vector<Type> &Function::output_types() const { Type 150 src/Function.h EXPORT const std::vector<Type> &output_types() const; Type 215 src/Function.h const std::vector<Type> &types, Type 235 src/FuseGPUThreadLoops.cpp Type type; Type 13 src/FuzzFloatStores.cpp Type t = op->value.type(); Type 17 src/FuzzFloatStores.cpp Expr mask = make_one(t.with_code(Type::UInt)); Type 176 src/Generator.cpp std::vector<Type> parse_halide_type_list(const std::string &types) { Type 178 src/Generator.cpp std::vector<Type> result; Type 726 src/Generator.cpp const std::map<std::string, Type> &get_halide_type_enum_map() { Type 727 src/Generator.cpp static const std::map<std::string, Type> halide_type_enum_map{ Type 741 src/Generator.cpp std::string halide_type_to_c_source(const Type &t) { Type 753 src/Generator.cpp std::string halide_type_to_c_type(const Type &t) { Type 754 src/Generator.cpp auto encode = [](const Type &t) -> int { return t.code() << 16 | t.bits(); }; Type 1099 src/Generator.cpp owned_synthetic_params.emplace_back(new GeneratorParam_Synthetic<Type>(n + ".type", *gio, GeneratorParam_Synthetic<Type>::Type)); Type 1396 src/Generator.cpp Type expected = output->types().at(i); Type 1397 src/Generator.cpp Type actual = f.output_types()[i]; Type 1478 src/Generator.cpp const std::vector<Type> &types, Type 1514 src/Generator.cpp const std::vector<Type> &GIOBase::types() const { Type 1519 src/Generator.cpp Type GIOBase::type() const { Type 1588 src/Generator.cpp void GIOBase::check_matching_type_and_dim(const std::vector<Type> &t, int d) { Type 1616 src/Generator.cpp const std::vector<Type> &t, Type 1622 src/Generator.cpp GeneratorInputBase::GeneratorInputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1719 src/Generator.cpp GeneratorOutputBase::GeneratorOutputBase(size_t array_size, const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1726 src/Generator.cpp GeneratorOutputBase::GeneratorOutputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 274 src/Generator.h EXPORT extern const std::map<std::string, Halide::Type> &get_halide_type_enum_map(); Type 275 src/Generator.h inline std::string halide_type_to_enum_string(const Type &t) { Type 286 src/Generator.h EXPORT std::string halide_type_to_c_source(const Type &t); Type 290 src/Generator.h EXPORT std::string halide_type_to_c_type(const Type &t); Type 355 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(Type) Type 439 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(Type) Type 685 src/Generator.h cond<std::is_same<T, Type>::value, GeneratorParam_Type<T>>, Type 1098 src/Generator.h EXPORT const std::vector<Type> &types() const; Type 1099 src/Generator.h EXPORT Type type() const; Type 1111 src/Generator.h const std::vector<Type> &types, Type 1122 src/Generator.h std::vector<Type> types_; // empty if type is unspecified Type 1141 src/Generator.h EXPORT void check_matching_type_and_dim(const std::vector<Type> &t, int d); Type 1179 src/Generator.h const std::vector<Type> &t, Type 1182 src/Generator.h EXPORT GeneratorInputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d); Type 1220 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1228 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1236 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1300 src/Generator.h T::has_static_halide_type() ? std::vector<Type>{ T::static_halide_type() } : std::vector<Type>{}, Type 1304 src/Generator.h GeneratorInput_Buffer(const std::string &name, const Type &t, int d = -1) Type 1310 src/Generator.h : Super(name, IOKind::Buffer, T::has_static_halide_type() ? std::vector<Type>{ T::static_halide_type() } : std::vector<Type>{}, d) { Type 1347 src/Generator.h GeneratorInput_Func(const std::string &name, const Type &t, int d) Type 1357 src/Generator.h GeneratorInput_Func(const std::string &name, const Type &t) Type 1366 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name, const Type &t, int d) Type 1376 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name, const Type &t) Type 1557 src/Generator.h GeneratorInput(const std::string &name, const Type &t, int d) Type 1561 src/Generator.h GeneratorInput(const std::string &name, const Type &t) Type 1570 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, const Type &t, int d) Type 1574 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, const Type &t) Type 1664 src/Generator.h const std::vector<Type> &t, Type 1669 src/Generator.h const std::vector<Type> &t, Type 1713 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1721 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1729 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) Type 1794 src/Generator.h T::has_static_halide_type() ? std::vector<Type>{ T::static_halide_type() } : std::vector<Type>{}, Type 1798 src/Generator.h GeneratorOutput_Buffer(const std::string &name, const std::vector<Type> &t, int d = -1) Type 1800 src/Generator.h T::has_static_halide_type() ? std::vector<Type>{ T::static_halide_type() } : t, Type 1810 src/Generator.h : Super(name, IOKind::Buffer, std::vector<Type>{ T::static_halide_type() }, d) { Type 1846 src/Generator.h user_assert(Type(buffer.type()) == this->type()) Type 1847 src/Generator.h << "Output should have type=" << this->type() << " but saw type=" << Type(buffer.type()) << "\n"; Type 1912 src/Generator.h GeneratorOutput_Func(const std::string &name, const std::vector<Type> &t, int d) Type 1916 src/Generator.h GeneratorOutput_Func(size_t array_size, const std::string &name, const std::vector<Type> &t, int d) Type 1997 src/Generator.h GeneratorOutput(const std::string &name, const Type &t, int d) Type 2001 src/Generator.h GeneratorOutput(const std::string &name, const std::vector<Type> &t, int d) Type 2009 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name, const Type &t, int d) Type 2013 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name, const std::vector<Type> &t, int d) Type 2049 src/Generator.h EXPORT std::vector<Type> parse_halide_type_list(const std::string &types); Type 2085 src/Generator.h template <typename T2 = T, typename std::enable_if<std::is_same<T2, ::Halide::Type>::value>::type * = nullptr> Type 2087 src/Generator.h internal_assert(which == Type); Type 2193 src/Generator.h using Type = Halide::Type; Type 2197 src/Generator.h static inline Expr cast(Halide::Type t, Expr e) { return Halide::cast(t, e); } Type 2202 src/Generator.h static inline Type Bool(int lanes = 1) { return Halide::Bool(lanes); } Type 2203 src/Generator.h static inline Type Float(int bits, int lanes = 1) { return Halide::Float(bits, lanes); } Type 2204 src/Generator.h static inline Type Int(int bits, int lanes = 1) { return Halide::Int(bits, lanes); } Type 2205 src/Generator.h static inline Type UInt(int bits, int lanes = 1) { return Halide::UInt(bits, lanes); } Type 2263 src/Generator.h int natural_vector_size(Halide::Type t) const { Type 614 src/HexagonOffload.cpp Expr state_var(const std::string& name, Type type) { Type 620 src/HexagonOffload.cpp Expr state_var_ptr(const std::string& name, Type type) { Type 73 src/HexagonOptimize.cpp Type with_lanes(Type t) { return t.with_lanes(lanes); } Type 162 src/HexagonOptimize.cpp Expr wild_u8x = Variable::make(Type(Type::UInt, 8, 0), "*"); Type 163 src/HexagonOptimize.cpp Expr wild_u16x = Variable::make(Type(Type::UInt, 16, 0), "*"); Type 164 src/HexagonOptimize.cpp Expr wild_u32x = Variable::make(Type(Type::UInt, 32, 0), "*"); Type 165 src/HexagonOptimize.cpp Expr wild_u64x = Variable::make(Type(Type::UInt, 64, 0), "*"); Type 166 src/HexagonOptimize.cpp Expr wild_i8x = Variable::make(Type(Type::Int, 8, 0), "*"); Type 167 src/HexagonOptimize.cpp Expr wild_i16x = Variable::make(Type(Type::Int, 16, 0), "*"); Type 168 src/HexagonOptimize.cpp Expr wild_i32x = Variable::make(Type(Type::Int, 32, 0), "*"); Type 169 src/HexagonOptimize.cpp Expr wild_i64x = Variable::make(Type(Type::Int, 64, 0), "*"); Type 196 src/HexagonOptimize.cpp Type t = matches[i].type(); Type 197 src/HexagonOptimize.cpp Type target_t = t.with_bits(t.bits()/2); Type 201 src/HexagonOptimize.cpp matches[i] = lossless_cast(target_t.with_code(Type::UInt), matches[i]); Type 359 src/HexagonOptimize.cpp static Expr halide_hexagon_add_2mpy(Type result_type, string suffix, Expr v0, Expr v1, Expr c0, Expr c1) { Type 364 src/HexagonOptimize.cpp static Expr halide_hexagon_add_2mpy(Type result_type, string suffix, Expr v01, Expr c01) { Type 368 src/HexagonOptimize.cpp static Expr halide_hexagon_add_4mpy(Type result_type, string suffix, Expr v01, Expr c01) { Type 376 src/HexagonOptimize.cpp static Expr unbroadcast_lossless_cast(Type ty, Expr x) { Type 391 src/HexagonOptimize.cpp static int find_mpy_ops(Expr op, Type a_ty, Type b_ty, int max_mpy_count, Type 495 src/HexagonOptimize.cpp b0123 = reinterpret(Type(b0123.type().code(), 32, 1), b0123); Type 584 src/HexagonOptimize.cpp b01 = reinterpret(Type(b01.type().code(), 16, 1), b01); Type 887 src/HexagonOptimize.cpp Type src_type = op->args[0].type(); Type 888 src/HexagonOptimize.cpp Type dst_type = op->type; Type 8 src/IR.cpp Expr Cast::make(Type t, const Expr &v) { Type 232 src/IR.cpp Expr Load::make(Type type, const std::string &name, const Expr &index, Buffer<> image, Parameter param, const Expr &predicate) { Type 378 src/IR.cpp Stmt Allocate::make(const std::string &name, Type type, const std::vector<Expr> &extents, Type 441 src/IR.cpp Stmt Realize::make(const std::string &name, const std::vector<Type> &types, const Region &bounds, const Expr &condition, const Stmt &body) { Type 462 src/IR.cpp Stmt Prefetch::make(const std::string &name, const std::vector<Type> &types, const Region &bounds, Parameter param) { Type 537 src/IR.cpp Expr Call::make(Type type, const std::string &name, const std::vector<Expr> &args, CallType call_type, Type 573 src/IR.cpp Expr Variable::make(Type type, const std::string &name, Buffer<> image, Parameter param, ReductionDomain reduction_domain) { Type 588 src/IR.cpp Type element_ty = vectors.front().type().element_of(); Type 31 src/IR.h EXPORT static Expr make(Type t, const Expr &v); Type 210 src/IR.h EXPORT static Expr make(Type type, const std::string &name, Type 344 src/IR.h Type type; Type 359 src/IR.h EXPORT static Stmt make(const std::string &name, Type type, const std::vector<Expr> &extents, Type 404 src/IR.h std::vector<Type> types; Type 409 src/IR.h EXPORT static Stmt make(const std::string &name, const std::vector<Type> &types, const Region &bounds, const Expr &condition, const Stmt &body); Type 559 src/IR.h EXPORT static Expr make(Type type, const std::string &name, const std::vector<Expr> &args, CallType call_type, Type 614 src/IR.h static Expr make(Type type, const std::string &name) { Type 618 src/IR.h static Expr make(Type type, const std::string &name, Parameter param) { Type 622 src/IR.h static Expr make(Type type, const std::string &name, Buffer<> image) { Type 626 src/IR.h static Expr make(Type type, const std::string &name, ReductionDomain reduction_domain) { Type 630 src/IR.h EXPORT static Expr make(Type type, const std::string &name, Buffer<> image, Type 723 src/IR.h std::vector<Type> types; Type 729 src/IR.h EXPORT static Stmt make(const std::string &name, const std::vector<Type> &types, Type 44 src/IREquality.cpp CmpResult compare_types(Type a, Type b); Type 198 src/IREquality.cpp IRComparer::CmpResult IRComparer::compare_types(Type a, Type b) { Type 66 src/IRMatch.cpp bool types_match(Type pattern_type, Type expr_type) { Type 190 src/IROperator.cpp bool is_negative_negatable_const(const Expr &e, Type T) { Type 255 src/IROperator.cpp Expr make_const_helper(Type t, T val) { Type 271 src/IROperator.cpp Expr make_const(Type t, int64_t val) { Type 275 src/IROperator.cpp Expr make_const(Type t, uint64_t val) { Type 279 src/IROperator.cpp Expr make_const(Type t, double val) { Type 288 src/IROperator.cpp Expr make_zero(Type t) { Type 296 src/IROperator.cpp Expr make_one(Type t) { Type 300 src/IROperator.cpp Expr make_two(Type t) { Type 312 src/IROperator.cpp Expr lossless_cast(Type t, const Expr &e) { Type 364 src/IROperator.cpp void check_representable(Type dst, int64_t x) { Type 395 src/IROperator.cpp Type ta = a.type(), tb = b.type(); Type 429 src/IROperator.cpp Type type = input.type(); Type 430 src/IROperator.cpp Type int_type = Int(32, type.lanes()); Type 458 src/IROperator.cpp Type type = x_full.type(); Type 502 src/IROperator.cpp Type type = x_full.type(); Type 843 src/IROperator.cpp Expr saturating_cast(Type t, Expr e) { Type 81 src/IROperator.h EXPORT Expr make_const(Type t, int64_t val); Type 82 src/IROperator.h EXPORT Expr make_const(Type t, uint64_t val); Type 83 src/IROperator.h EXPORT Expr make_const(Type t, double val); Type 84 src/IROperator.h inline Expr make_const(Type t, int32_t val) {return make_const(t, (int64_t)val);} Type 85 src/IROperator.h inline Expr make_const(Type t, uint32_t val) {return make_const(t, (uint64_t)val);} Type 86 src/IROperator.h inline Expr make_const(Type t, int16_t val) {return make_const(t, (int64_t)val);} Type 87 src/IROperator.h inline Expr make_const(Type t, uint16_t val) {return make_const(t, (uint64_t)val);} Type 88 src/IROperator.h inline Expr make_const(Type t, int8_t val) {return make_const(t, (int64_t)val);} Type 89 src/IROperator.h inline Expr make_const(Type t, uint8_t val) {return make_const(t, (uint64_t)val);} Type 90 src/IROperator.h inline Expr make_const(Type t, bool val) {return make_const(t, (uint64_t)val);} Type 91 src/IROperator.h inline Expr make_const(Type t, float val) {return make_const(t, (double)val);} Type 92 src/IROperator.h inline Expr make_const(Type t, float16_t val) {return make_const(t, (double)val);} Type 96 src/IROperator.h EXPORT void check_representable(Type t, int64_t val); Type 109 src/IROperator.h EXPORT Expr make_zero(Type t); Type 112 src/IROperator.h EXPORT Expr make_one(Type t); Type 115 src/IROperator.h EXPORT Expr make_two(Type t); Type 128 src/IROperator.h EXPORT Expr lossless_cast(Type t, const Expr &e); Type 184 src/IROperator.h Type type; Type 200 src/IROperator.h inline Expr cast(Type t, const Expr &a) { Type 793 src/IROperator.h Type t = a.type(); Type 798 src/IROperator.h return Internal::Call::make(t.with_code(t.is_int() ? Type::UInt : t.code()), Type 810 src/IROperator.h Type t = a.type(); Type 818 src/IROperator.h return Internal::Call::make(t.with_code(t.is_int() ? Type::UInt : t.code()), Type 1234 src/IROperator.h Type t = Float(32, x.type().lanes()); Type 1252 src/IROperator.h Type t = Float(32, x.type().lanes()); Type 1271 src/IROperator.h Type t = Float(32, x.type().lanes()); Type 1288 src/IROperator.h Type t = Float(32, x.type().lanes()); Type 1298 src/IROperator.h Type t = Bool(x.type().lanes()); Type 1306 src/IROperator.h Type ft = Float(32, x.type().lanes()); Type 1320 src/IROperator.h inline Expr reinterpret(Type t, const Expr &e) { Type 1793 src/IROperator.h inline Expr undef(Type t) { Type 1878 src/IROperator.h EXPORT Expr saturating_cast(Type t, Expr e); Type 17 src/IRPrinter.cpp ostream &operator<<(ostream &out, const Type &type) { Type 19 src/IRPrinter.cpp case Type::Int: Type 22 src/IRPrinter.cpp case Type::UInt: Type 25 src/IRPrinter.cpp case Type::Float: Type 28 src/IRPrinter.cpp case Type::Handle: Type 101 src/IRPrinter.cpp Type i32 = Int(32); Type 102 src/IRPrinter.cpp Type f32 = Float(32); Type 30 src/IRPrinter.h EXPORT std::ostream &operator<<(std::ostream &stream, const Type &); Type 5 src/ImageParam.cpp ImageParam::ImageParam(Type t, int d) Type 12 src/ImageParam.cpp ImageParam::ImageParam(Type t, int d, const std::string &n) Type 37 src/ImageParam.cpp << " of type " << Type(b.type()) << "\n"; Type 33 src/ImageParam.h EXPORT ImageParam(Type t, int d); Type 37 src/ImageParam.h EXPORT ImageParam(Type t, int d, const std::string &n); Type 114 src/InjectImageIntrinsics.cpp Type load_type = call->type; Type 425 src/JITModule.cpp llvm::Type *halide_buffer_t = dummy_module.getTypeByName("struct.halide_buffer_t"); Type 429 src/JITModule.cpp llvm::Type *halide_buffer_t_star = llvm::PointerType::get(halide_buffer_t, 0); Type 431 src/JITModule.cpp llvm::Type *ret_type; Type 434 src/JITModule.cpp ret_type = llvm::Type::getVoidTy(jit_module->context); Type 439 src/JITModule.cpp std::vector<llvm::Type *> llvm_arg_types; Type 440 src/JITModule.cpp for (const Type &t : signature.arg_types()) { Type 18 src/JITModule.h class Type; Type 38 src/JITModule.h llvm::Type *llvm_type; Type 40 src/JITModule.h Symbol(void *address, llvm::Type *llvm_type) : address(address), llvm_type(llvm_type) {} Type 18 src/Lerp.cpp Type result_type = zero_val.type(); Type 21 src/Lerp.cpp Type computation_type = result_type; Type 126 src/LoopCarry.cpp Expr scratch_index(int i, Type t) { Type 490 src/LoopCarry.cpp Type type; Type 21 src/MatlabWrapper.cpp llvm::Type *void_ty = llvm::Type::getVoidTy(ctx); Type 22 src/MatlabWrapper.cpp llvm::Type *i8_ty = llvm::Type::getInt8Ty(ctx); Type 23 src/MatlabWrapper.cpp llvm::Type *i32_ty = llvm::Type::getInt32Ty(ctx); Type 26 src/MatlabWrapper.cpp llvm::Type *mxArray_ty = module->getTypeByName("struct.mxArray"); Type 28 src/MatlabWrapper.cpp llvm::Type *mxArray_ptr_ty = mxArray_ty->getPointerTo(); Type 29 src/MatlabWrapper.cpp llvm::Type *mxArray_ptr_ptr_ty = mxArray_ptr_ty->getPointerTo(); Type 33 src/MatlabWrapper.cpp llvm::Type *mex_arg_types[] = { Type 136 src/Memoization.cpp Type type; Type 31 src/Module.h LoweredArgument(const std::string &_name, Kind _kind, const Type &_type, uint8_t _dimensions, Type 16 src/OutputImageParam.cpp Type OutputImageParam::type() const { Type 41 src/OutputImageParam.h EXPORT Type type() const; Type 110 src/Param.h Type type() const { Type 12 src/Parameter.cpp const Type type; Type 27 src/Parameter.cpp ParameterContents(Type t, bool b, int d, const std::string &n, bool e, bool r, bool is_bound_before_lowering) Type 73 src/Parameter.cpp Parameter::Parameter(Type t, bool is_buffer, int d) : Type 82 src/Parameter.cpp Parameter::Parameter(Type t, bool is_buffer, int d, const std::string &name, bool is_explicit_name, bool register_instance, bool is_bound_before_lowering) : Type 120 src/Parameter.cpp Type Parameter::type() const { Type 152 src/Parameter.cpp const Type t = type(); Type 195 src/Parameter.cpp << " of type " << Type(b.type()) << "\n"; Type 360 src/Parameter.cpp Type t = (*args)[i].type(); Type 39 src/Parameter.h EXPORT Parameter(Type t, bool is_buffer, int dimensions); Type 50 src/Parameter.h EXPORT Parameter(Type t, bool is_buffer, int dimensions, Type 60 src/Parameter.h EXPORT Type type() const; Type 511 src/Pipeline.cpp for (Type t : out.output_types()) { Type 666 src/Pipeline.cpp Type type; Type 671 src/Pipeline.cpp for (Type t : f.output_types()) { Type 686 src/Pipeline.cpp Type type = output_buffer_types[i].type; Type 696 src/Pipeline.cpp << " because Buffer has type " << Type(dst[i].type()) Type 759 src/Pipeline.cpp std::vector<Type> arg_types; Type 996 src/Pipeline.cpp for (Type t : contents->outputs[0].output_types()) { Type 402 src/Pipeline.h Type ret_type_; // Only meaningful if is_void_return is false; must be default value otherwise Type 404 src/Pipeline.h std::vector<Type> arg_types_; Type 409 src/Pipeline.h ExternSignature(const Type &ret_type, bool is_void_return, const std::vector<Type> &arg_types) Type 413 src/Pipeline.h internal_assert(!(is_void_return && ret_type != Type())); Type 423 src/Pipeline.h const Type &ret_type() const { Type 432 src/Pipeline.h const std::vector<Type> &arg_types() const { Type 72 src/Profiling.cpp const Type &type, Type 204 src/Schedule.h Type dim_type; Type 31 src/ScheduleFunctions.cpp Type type; Type 7 src/ScheduleParam.cpp ScheduleParamBase::ScheduleParamBase(const Type &t, const std::string &name, bool is_explicit_name) Type 30 src/ScheduleParam.h const Type &scalar_type() const { Type 73 src/ScheduleParam.h Type type; Type 78 src/ScheduleParam.h EXPORT ScheduleParamBase(const Type &t, const std::string &name, bool is_explicit_name); Type 114 src/ScheduleParam.h static Type get_param_type() { Type 120 src/ScheduleParam.h static Type get_param_type() { Type 83 src/Simplify.cpp bool no_overflow_scalar_int(Type t) { Type 88 src/Simplify.cpp bool no_overflow(Type t) { Type 94 src/Simplify.cpp Expr signed_integer_overflow_error(Type t) { Type 102 src/Simplify.cpp Expr indeterminate_expression_error(Type t) { Type 114 src/Simplify.cpp bool propagate_indeterminate_expression(const Expr &e, Type t, Expr *expr) { Type 127 src/Simplify.cpp bool propagate_indeterminate_expression(const Expr &e0, const Expr &e1, Type t, Expr *expr) { Type 132 src/Simplify.cpp bool propagate_indeterminate_expression(const Expr &e0, const Expr &e1, const Expr &e2, Type t, Expr *expr) { Type 306 src/Simplify.cpp Type t = e.type(); Type 1664 src/Simplify.cpp Type t = op->type.element_of(); Type 2099 src/Simplify.cpp Type t = ramp_a->base.type(); Type 4012 src/Simplify.cpp Type t = op->type; Type 4084 src/Simplify.cpp Type ta = a.type(); Type 4345 src/Simplify.cpp Type t = load_indices[0].type().with_lanes(op->indices.size()); Type 55 src/Simplify.h Type t = type_of<T>(); Type 67 src/Simplify.h Type t = type_of<T>(); Type 298 src/StorageFlattening.cpp Type upgrade(Type t) { Type 303 src/StorageFlattening.cpp Type t = upgrade(op->type); Type 313 src/StorageFlattening.cpp Type t = upgrade(op->value.type()); Type 323 src/StorageFlattening.cpp Type t = upgrade(op->type); Type 183 src/Target.h bool supports_type(const Type &t) const { Type 225 src/Target.h int natural_vector_size(Halide::Type t) const { Type 18 src/Tracing.cpp Type type; Type 128 src/Tracing.cpp Type t = values[i].type(); Type 27 src/Type.cpp Halide::Expr Type::max() const { Type 51 src/Type.cpp Halide::Expr Type::min() const { Type 74 src/Type.cpp bool Type::is_max(int64_t x) const { Type 78 src/Type.cpp bool Type::is_max(uint64_t x) const { Type 88 src/Type.cpp bool Type::is_min(int64_t x) const { Type 98 src/Type.cpp bool Type::is_min(uint64_t x) const { Type 102 src/Type.cpp bool Type::can_represent(Type other) const { Type 118 src/Type.cpp bool Type::can_represent(int64_t x) const { Type 139 src/Type.cpp bool Type::can_represent(uint64_t x) const { Type 160 src/Type.cpp bool Type::can_represent(double x) const { Type 183 src/Type.cpp bool Type::same_handle_type(const Type &other) const { Type 124 src/Type.h #define HALIDE_DECLARE_EXTERN_TYPE(TypeType, Type) \ Type 125 src/Type.h template<> struct halide_c_type_to_name<Type> { \ Type 128 src/Type.h return { halide_cplusplus_type_name::TypeType, #Type}; \ Type 303 src/Type.h Type() : type(Handle, 0, 0), handle_type(nullptr) {} Type 310 src/Type.h Type(halide_type_code_t code, int bits, int lanes, const halide_handle_cplusplus_type *handle_type = nullptr) Type 315 src/Type.h Type(const Type &that) = default; Type 320 src/Type.h Type(const halide_type_t &that, const halide_handle_cplusplus_type *handle_type = nullptr) Type 337 src/Type.h Type with_code(halide_type_code_t new_code) const { Type 338 src/Type.h return Type(new_code, bits(), lanes(), Type 343 src/Type.h Type with_bits(int new_bits) const { Type 344 src/Type.h return Type(code(), new_bits, lanes(), Type 350 src/Type.h Type with_lanes(int new_lanes) const { Type 351 src/Type.h return Type(code(), bits(), new_lanes, handle_type); Type 381 src/Type.h EXPORT bool same_handle_type(const Type &other) const; Type 384 src/Type.h bool operator==(const Type &other) const { Type 390 src/Type.h bool operator!=(const Type &other) const { Type 396 src/Type.h Type element_of() const { Type 401 src/Type.h EXPORT bool can_represent(Type other) const; Type 427 src/Type.h inline Type Int(int bits, int lanes = 1) { Type 428 src/Type.h return Type(Type::Int, bits, lanes); Type 432 src/Type.h inline Type UInt(int bits, int lanes = 1) { Type 433 src/Type.h return Type(Type::UInt, bits, lanes); Type 437 src/Type.h inline Type Float(int bits, int lanes = 1) { Type 438 src/Type.h return Type(Type::Float, bits, lanes); Type 442 src/Type.h inline Type Bool(int lanes = 1) { Type 447 src/Type.h inline Type Handle(int lanes = 1, const halide_handle_cplusplus_type *handle_type = nullptr) { Type 448 src/Type.h return Type(Type::Handle, 64, lanes, handle_type); Type 453 src/Type.h inline Type type_of() { Type 454 src/Type.h return Type(halide_type_of<T>(), halide_handle_traits<T>::type_info()); Type 546 src/VaryingAttributes.cpp Type float_type(Expr e) { Type 1128 src/VaryingAttributes.cpp Stmt used_in_codegen(Type type_, const std::string &v_) { Type 395 src/VectorizeLoops.cpp Type t = op->type.with_lanes(value.type().lanes()); Type 581 src/VectorizeLoops.cpp Type t = mutated_value.type(); Type 275 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c typedef struct Type Type; Type 289 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type *arrayType;\ Type 293 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type *seqType;\ Type 317 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type * seqType; Type 343 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type *descriptor; Type 346 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type * const *cases; Type 362 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const Type * const *members; Type 421 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c static const Type types[2]; Type 423 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c static const Type types[2] = {{0x1,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x1},{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8)}}; Type 275 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c typedef struct Type Type; Type 289 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type *arrayType;\ Type 293 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type *seqType;\ Type 317 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type * seqType; Type 343 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type *descriptor; Type 346 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type * const *cases; Type 362 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const Type * const *members; Type 421 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c static const Type types[2]; Type 423 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c static const Type types[2] = {{0x1,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x1},{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8)}}; Type 156 src/runtime/opengl.cpp Type type; Type 420 src/runtime/opengl.cpp Argument::Type type = Argument::Void; Type 39 test/correctness/constant_expr.cpp Type t = type_of<T>(); Type 8 test/correctness/constant_type.cpp Type t = type_of<T>(); Type 116 test/correctness/extern_producer.cpp std::vector<Type> types; Type 17 test/correctness/fuzz_simplify.cpp Type fuzz_types[] = { UInt(1), UInt(8), UInt(16), UInt(32), Int(8), Int(16), Int(32) }; Type 29 test/correctness/fuzz_simplify.cpp Type random_type(int width) { Type 30 test/correctness/fuzz_simplify.cpp Type T = fuzz_types[rng()%fuzz_type_count]; Type 37 test/correctness/fuzz_simplify.cpp Expr random_leaf(Type T, bool overflow_undef = false, bool imm_only = false) { Type 68 test/correctness/fuzz_simplify.cpp Expr random_expr(Type T, int depth, bool overflow_undef = false); Type 70 test/correctness/fuzz_simplify.cpp Expr random_condition(Type T, int depth, bool maybe_scalar) { Type 92 test/correctness/fuzz_simplify.cpp Expr random_expr(Type T, int depth, bool overflow_undef) { Type 161 test/correctness/fuzz_simplify.cpp Type subT; Type 184 test/correctness/fuzz_simplify.cpp bool test_simplification(Expr a, Expr b, Type T, const map<string, Expr> &vars) { Type 278 test/correctness/fuzz_simplify.cpp Type T = fuzz_types[i]; Type 280 test/correctness/fuzz_simplify.cpp Type VT = T.with_lanes(w); Type 28 test/correctness/gpu_mixed_shared_mem_types.cpp Type types[] = {Int(8), Int(16), Int(32), Int(64), Type 37 test/correctness/gpu_mixed_shared_mem_types.cpp Type result_type; Type 102 test/correctness/infer_arguments.cpp EXPECT(Type::Float, frac_arg.type.code()); Type 103 test/correctness/infer_arguments.cpp EXPECT(Type::Int, height_arg.type.code()); Type 104 test/correctness/infer_arguments.cpp EXPECT(Type::UInt, thresh_arg.type.code()); Type 105 test/correctness/infer_arguments.cpp EXPECT(Type::Int, width_arg.type.code()); Type 106 test/correctness/infer_arguments.cpp EXPECT(Type::UInt, z_unsigned_arg.type.code()); Type 139 test/correctness/infer_arguments.cpp EXPECT(Type::Float, frac_arg.type.code()); Type 140 test/correctness/infer_arguments.cpp EXPECT(Type::UInt, thresh_arg.type.code()); Type 151 test/correctness/logical.cpp Type narrow = UInt(n), wide = UInt(w); Type 125 test/correctness/mul_div_mod.cpp Type t = type_of<T>(); Type 149 test/correctness/mul_div_mod.cpp Type t = type_of<T>(); Type 177 test/correctness/mul_div_mod.cpp Buffer<T> init(Type t, int unique, int width, int height) { Type 283 test/correctness/mul_div_mod.cpp Type t1 = type_of<T1>(); Type 284 test/correctness/mul_div_mod.cpp Type t2 = type_of<T2>(); Type 285 test/correctness/mul_div_mod.cpp Type rt = type_of<RT>(); Type 355 test/correctness/mul_div_mod.cpp Type t = type_of<T>(); Type 457 test/correctness/mul_div_mod.cpp Type t = type_of<T>(); Type 568 test/correctness/vector_math.cpp Type t = type_of<A>(); Type 115 test/generator/metadata_tester_aottest.cpp template <typename Type> Type 116 test/generator/metadata_tester_aottest.cpp Buffer<Type> make_image() { Type 117 test/generator/metadata_tester_aottest.cpp Buffer<Type> im(kSize, kSize, 3); Type 121 test/generator/metadata_tester_aottest.cpp im(x, y, c) = static_cast<Type>(x + y + c); Type 60 test/generator/metadata_tester_generator.cpp Type output_type = output.types().at(0); Type 11 test/generator/stubtest_aottest.cpp template<typename Type> Type 12 test/generator/stubtest_aottest.cpp Buffer<Type> make_image(int extra) { Type 13 test/generator/stubtest_aottest.cpp Buffer<Type> im(kSize, kSize, 3); Type 17 test/generator/stubtest_aottest.cpp im(x, y, c) = static_cast<Type>(x + y + c + extra); Type 7 test/generator/stubtest_generator.cpp template<typename Type, int size = 32, int dim = 3> Type 8 test/generator/stubtest_generator.cpp Halide::Buffer<Type> make_image(int extra) { Type 9 test/generator/stubtest_generator.cpp Halide::Buffer<Type> im(size, size, dim); Type 13 test/generator/stubtest_generator.cpp im(x, y, c) = static_cast<Type>(x + y + c + extra); Type 22 test/generator/stubtest_generator.cpp GeneratorParam<Type> untyped_buffer_output_type{ "untyped_buffer_output_type", Float(32) }; Type 18 test/generator/stubtest_jittest.cpp template<typename Type> Type 19 test/generator/stubtest_jittest.cpp Buffer<Type> make_image(int extra) { Type 20 test/generator/stubtest_jittest.cpp Buffer<Type> im(kSize, kSize, 3); Type 24 test/generator/stubtest_jittest.cpp im(x, y, c) = static_cast<Type>(x + y + c + extra); Type 10 test/generator/stubuser_aottest.cpp template<typename Type> Type 11 test/generator/stubuser_aottest.cpp Buffer<Type> make_image() { Type 12 test/generator/stubuser_aottest.cpp Buffer<Type> im(kSize, kSize, 3); Type 16 test/generator/stubuser_aottest.cpp im(x, y, c) = static_cast<Type>(x + y + c); Type 9 test/generator/stubuser_generator.cpp template<typename Type, int size = 32> Type 10 test/generator/stubuser_generator.cpp Buffer<Type> make_image() { Type 11 test/generator/stubuser_generator.cpp Buffer<Type> im(size, size, 3); Type 15 test/generator/stubuser_generator.cpp im(x, y, c) = static_cast<Type>(x + y + c); Type 36 tutorial/lesson_14_types.cpp Type valid_halide_types[] = { Type 51 tutorial/lesson_14_types.cpp Type t = UInt(8); Type 116 tutorial/lesson_14_types.cpp for (Type t : valid_halide_types) { Type 230 tutorial/lesson_14_types.cpp Type narrow = a.type(); Type 231 tutorial/lesson_14_types.cpp Type wider = narrow.with_bits(narrow.bits() * 2); Type 101 tutorial/lesson_15_generators.cpp GeneratorParam<Halide::Type> output_type{"output_type", Int(32)};