Target 53 apps/HelloHexagon/pipeline.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 54 apps/HelloHexagon/pipeline.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 59 apps/c_backend/pipeline_cpp_generator.cpp assert(get_target().has_feature(Target::CPlusPlusMangling)); Target 181 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().has_feature(Target::HVX_64)) { Target 183 apps/camera_pipe/camera_pipe_generator.cpp } else if (get_target().has_feature(Target::HVX_128)) { Target 201 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 250 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 321 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().has_feature(Target::HVX_128)) { Target 323 apps/camera_pipe/camera_pipe_generator.cpp } else if (get_target().has_feature(Target::HVX_64)) { Target 331 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().has_feature(Target::HVX_64)) { Target 333 apps/camera_pipe/camera_pipe_generator.cpp } else if (get_target().has_feature(Target::HVX_128)) { Target 363 apps/camera_pipe/camera_pipe_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 298 apps/fft/fft.cpp const Target& target, Target 428 apps/fft/fft.cpp const Target& target, Target 435 apps/fft/fft.cpp if (target.arch != Target::ARM && !always_tile) { Target 478 apps/fft/fft.cpp const Target& target, Target 665 apps/fft/fft.cpp const Target& target, Target 857 apps/fft/fft.cpp const Target& target, Target 1042 apps/fft/fft.cpp const Target& target, Target 1049 apps/fft/fft.cpp const Target& target, Target 1056 apps/fft/fft.cpp const Target& target, Target 50 apps/fft/fft.h const Halide::Target& target, Target 59 apps/fft/fft.h const Halide::Target& target, Target 66 apps/fft/fft.h const Halide::Target& target, Target 70 apps/fft/main.cpp Target target = get_jit_target_from_environment(); Target 9 apps/glsl/halide_blur_glsl_generator.cpp assert(get_target().has_feature(Target::OpenGL)); Target 9 apps/glsl/halide_ycc_glsl_generator.cpp assert(get_target().has_feature(Target::OpenGL)); Target 35 apps/hexagon_benchmarks/conv3x3_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 36 apps/hexagon_benchmarks/conv3x3_generator.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 28 apps/hexagon_benchmarks/dilate3x3_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 29 apps/hexagon_benchmarks/dilate3x3_generator.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 31 apps/hexagon_benchmarks/gaussian5x5_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 32 apps/hexagon_benchmarks/gaussian5x5_generator.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 39 apps/hexagon_benchmarks/median3x3_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 40 apps/hexagon_benchmarks/median3x3_generator.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 33 apps/hexagon_benchmarks/sobel_generator.cpp if (get_target().features_any_of({Target::HVX_64, Target::HVX_128})) { Target 34 apps/hexagon_benchmarks/sobel_generator.cpp const int vector_size = get_target().has_feature(Target::HVX_128) ? 128 : 64; Target 51 apps/hexagon_matmul/pipeline.cpp const Target &target = get_target(); Target 55 apps/hexagon_matmul/pipeline.cpp if (target.has_feature(Target::HVX_64)) { Target 58 apps/hexagon_matmul/pipeline.cpp } else if (target.has_feature(Target::HVX_128)) { Target 79 apps/interpolate/interpolate.cpp Target target = get_target_from_environment(); Target 33 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoAsserts) Target 34 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoBoundsQuery)); Target 38 apps/linear_algebra/src/blas_l1_generators.cpp target.set(get_target().with_feature(Target::FMA)); Target 110 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoAsserts) Target 111 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoBoundsQuery)); Target 115 apps/linear_algebra/src/blas_l1_generators.cpp target.set(get_target().with_feature(Target::FMA)); Target 177 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoAsserts) Target 178 apps/linear_algebra/src/blas_l1_generators.cpp .with_feature(Target::NoBoundsQuery)); Target 182 apps/linear_algebra/src/blas_l1_generators.cpp target.set(get_target().with_feature(Target::FMA)); Target 34 apps/linear_algebra/src/blas_l2_generators.cpp .with_feature(Target::NoAsserts) Target 35 apps/linear_algebra/src/blas_l2_generators.cpp .with_feature(Target::NoBoundsQuery)); Target 200 apps/linear_algebra/src/blas_l2_generators.cpp .with_feature(Target::NoAsserts) Target 201 apps/linear_algebra/src/blas_l2_generators.cpp .with_feature(Target::NoBoundsQuery)); Target 22 apps/opengl_demo/sample_filter.cpp if (get_target().has_feature(Halide::Target::OpenGL)) { Target 25 apps/openglcompute/test_oglc_avg.cpp Target target = get_target_from_environment(); Target 29 apps/openglcompute/test_oglc_avg.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 19 apps/openglcompute/test_two_kernels.cpp Target target = get_target_from_environment(); Target 20 apps/openglcompute/test_two_kernels.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 30 apps/openglcompute/test_two_kernels.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 176 apps/resize/resize.cpp Target target = get_jit_target_from_environment(); Target 25 apps/templates/tests/example_generator.cpp if (get_target().has_feature(Target::OpenGL)) { Target 70 python_bindings/python/Func.cpp void func_compile_jit1(h::Func &that, const h::Target &target = h::get_target_from_environment()) { Target 78 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 88 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 98 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 108 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 118 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 128 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 139 python_bindings/python/Func.cpp const h::Target &target = h::get_target_from_environment()) { Target 255 python_bindings/python/Func.cpp .def("realize", &func_realize<h::Target>, Target 261 python_bindings/python/Func.cpp .def("realize", &func_realize<int, h::Target>, Target 267 python_bindings/python/Func.cpp .def("realize", &func_realize<int, int, h::Target>, Target 273 python_bindings/python/Func.cpp .def("realize", &func_realize<int, int, int, h::Target>, Target 279 python_bindings/python/Func.cpp .def("realize", &func_realize<int, int, int, int, h::Target>, Target 285 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<uint8_t>, h::Target>, Target 291 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<uint16_t>, h::Target>, Target 297 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<uint32_t>, h::Target>, Target 303 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<int8_t>, h::Target>, Target 309 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<int16_t>, h::Target>, Target 315 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<int32_t>, h::Target>, Target 321 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<float>, h::Target>, Target 327 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<double>, h::Target>, Target 333 python_bindings/python/Func.cpp .def("realize", &func_realize_tuple<h::Target>, Target 16 python_bindings/python/Target.cpp void target_set_features(h::Target &t, p::list features, bool value) { Target 17 python_bindings/python/Target.cpp auto features_vec = python_collection_to_vector<h::Target::Feature>(features); Target 22 python_bindings/python/Target.cpp using Halide::Target; Target 25 python_bindings/python/Target.cpp p::class_<Target>("Target", Target 34 python_bindings/python/Target.cpp .def_readwrite("os", &Target::os) Target 35 python_bindings/python/Target.cpp .def_readwrite("arch", &Target::arch) Target 36 python_bindings/python/Target.cpp .def_readwrite("bits", &Target::bits, Target 39 python_bindings/python/Target.cpp .def("has_gpu_feature", &Target::has_gpu_feature, p::arg("self"), Target 45 python_bindings/python/Target.cpp .def("to_string", &Target::to_string, p::arg("self"), Target 55 python_bindings/python/Target.cpp .def("set_feature", &Target::set_feature, Target 64 python_bindings/python/Target.cpp p::enum_<Target::OS>("TargetOS", Target 67 python_bindings/python/Target.cpp .value("OSUnknown", Target::OS::OSUnknown) Target 68 python_bindings/python/Target.cpp .value("Linux", Target::OS::Linux) Target 69 python_bindings/python/Target.cpp .value("Windows", Target::OS::Windows) Target 70 python_bindings/python/Target.cpp .value("OSX", Target::OS::OSX) Target 71 python_bindings/python/Target.cpp .value("Android", Target::OS::Android) Target 72 python_bindings/python/Target.cpp .value("IOS", Target::OS::IOS) Target 75 python_bindings/python/Target.cpp p::enum_<Target::Arch>("TargetArch", Target 78 python_bindings/python/Target.cpp .value("ArchUnknown", Target::Arch::ArchUnknown) Target 79 python_bindings/python/Target.cpp .value("X86", Target::Arch::X86) Target 80 python_bindings/python/Target.cpp .value("ARM", Target::Arch::ARM) Target 81 python_bindings/python/Target.cpp .value("MIPS", Target::Arch::MIPS) Target 82 python_bindings/python/Target.cpp .value("POWERPC", Target::Arch::POWERPC) Target 85 python_bindings/python/Target.cpp p::enum_<Target::Feature>("TargetFeature", Target 87 python_bindings/python/Target.cpp .value("JIT", Target::Feature::JIT) Target 88 python_bindings/python/Target.cpp .value("Debug", Target::Feature::Debug) Target 89 python_bindings/python/Target.cpp .value("NoAsserts", Target::Feature::NoAsserts) Target 90 python_bindings/python/Target.cpp .value("NoBoundsQuery", Target::Feature::NoBoundsQuery) Target 91 python_bindings/python/Target.cpp .value("Profile", Target::Feature::Profile) Target 93 python_bindings/python/Target.cpp .value("SSE41", Target::Feature::SSE41) Target 94 python_bindings/python/Target.cpp .value("AVX", Target::Feature::AVX) Target 95 python_bindings/python/Target.cpp .value("AVX2", Target::Feature::AVX2) Target 96 python_bindings/python/Target.cpp .value("FMA", Target::Feature::FMA) Target 97 python_bindings/python/Target.cpp .value("FMA4", Target::Feature::FMA4) Target 98 python_bindings/python/Target.cpp .value("F16C", Target::Feature::F16C) Target 100 python_bindings/python/Target.cpp .value("ARMv7s", Target::Feature::ARMv7s) Target 101 python_bindings/python/Target.cpp .value("NoNEON", Target::Feature::NoNEON) Target 103 python_bindings/python/Target.cpp .value("VSX", Target::Feature::VSX) Target 104 python_bindings/python/Target.cpp .value("POWER_ARCH_2_07", Target::Feature::POWER_ARCH_2_07) Target 106 python_bindings/python/Target.cpp .value("CUDA", Target::Feature::CUDA) Target 107 python_bindings/python/Target.cpp .value("CUDACapability30", Target::Feature::CUDACapability30) Target 108 python_bindings/python/Target.cpp .value("CUDACapability32", Target::Feature::CUDACapability32) Target 109 python_bindings/python/Target.cpp .value("CUDACapability35", Target::Feature::CUDACapability35) Target 110 python_bindings/python/Target.cpp .value("CUDACapability50", Target::Feature::CUDACapability50) Target 112 python_bindings/python/Target.cpp .value("OpenCL", Target::Feature::OpenCL) Target 113 python_bindings/python/Target.cpp .value("CLDoubles", Target::Feature::CLDoubles) Target 115 python_bindings/python/Target.cpp .value("OpenGL", Target::Feature::OpenGL) Target 116 python_bindings/python/Target.cpp .value("UserContext", Target::Feature::UserContext) Target 117 python_bindings/python/Target.cpp .value("Matlab", Target::Feature::Matlab) Target 118 python_bindings/python/Target.cpp .value("Metal", Target::Feature::Metal) Target 119 python_bindings/python/Target.cpp .value("FeatureEnd", Target::Feature::FeatureEnd) Target 63 src/AddImageChecks.cpp const Target &t, Target 68 src/AddImageChecks.cpp bool no_asserts = t.has_feature(Target::NoAsserts); Target 69 src/AddImageChecks.cpp bool no_bounds_query = t.has_feature(Target::NoBoundsQuery); Target 17 src/AddImageChecks.h struct Target; Target 27 src/AddImageChecks.h const Target &t, Target 31 src/AddParameterChecks.cpp Stmt add_parameter_checks(Stmt s, const Target &t) { Target 93 src/AddParameterChecks.cpp if (t.has_feature(Target::NoAsserts)) { Target 14 src/AddParameterChecks.h struct Target; Target 20 src/AddParameterChecks.h Stmt add_parameter_checks(Stmt s, const Target &t); Target 113 src/BoundsInference.cpp const Target target; Target 269 src/BoundsInference.cpp const Target &target) { Target 473 src/BoundsInference.cpp Stmt do_bounds_query(Stmt s, const set<string> &in_pipeline, const Target &target) { Target 562 src/BoundsInference.cpp if (target.has_feature(Target::MSAN)) { Target 638 src/BoundsInference.cpp const Target &target) : Target 997 src/BoundsInference.cpp const Target &target) { Target 26 src/BoundsInference.h const Target &target); Target 445 src/Buffer.h int copy_to_device(const Target &t = get_jit_target_from_environment()) { Target 450 src/Buffer.h int copy_to_device(const DeviceAPI &d, const Target &t = get_jit_target_from_environment()) { Target 455 src/Buffer.h int device_malloc(const Target &t = get_jit_target_from_environment()) { Target 460 src/Buffer.h int device_malloc(const DeviceAPI &d, const Target &t = get_jit_target_from_environment()) { Target 81 src/CPlusPlusMangle.cpp std::string simple_type_to_mangle_char(const std::string type_name, const Target &target) { Target 182 src/CPlusPlusMangle.cpp std::string mangle_indirection_and_cvr_quals(const Type &type, const Target &target) { Target 192 src/CPlusPlusMangle.cpp MangledNamePart mangle_inner_name(const Type &type, const Target &target, PreviousDeclarations &prev_decls) { Target 229 src/CPlusPlusMangle.cpp MangledNamePart mangle_type(const Type &type, const Target &target, PreviousDeclarations &prev_decls) { Target 276 src/CPlusPlusMangle.cpp const Target &target) { Target 319 src/CPlusPlusMangle.cpp std::string simple_type_to_mangle_char(const std::string type_name, const Target &target) { Target 339 src/CPlusPlusMangle.cpp if (target.os == Target::OSX || Target 341 src/CPlusPlusMangle.cpp target.has_feature(Target::MinGW)) { Target 347 src/CPlusPlusMangle.cpp if (target.os == Target::OSX || Target 349 src/CPlusPlusMangle.cpp target.has_feature(Target::MinGW)) { Target 507 src/CPlusPlusMangle.cpp std::string mangle_inner_name(const Type &type, const Target &target, PrevPrefixes &prevs) { Target 518 src/CPlusPlusMangle.cpp std::string mangle_type(const Type &type, const Target &target, PrevPrefixes &prevs) { Target 528 src/CPlusPlusMangle.cpp if (target.os == Target::OSX || Target 530 src/CPlusPlusMangle.cpp target.has_feature(Target::MinGW)) { Target 549 src/CPlusPlusMangle.cpp if (target.os == Target::OSX || Target 551 src/CPlusPlusMangle.cpp target.has_feature(Target::MinGW)) { Target 577 src/CPlusPlusMangle.cpp const Target &target) { Target 598 src/CPlusPlusMangle.cpp const Target &target) { Target 599 src/CPlusPlusMangle.cpp if (target.os == Target::Windows && !target.has_feature(Target::MinGW)) { Target 790 src/CPlusPlusMangle.cpp const Target &target, const std::string &mangled_name) { Target 797 src/CPlusPlusMangle.cpp void main_tests(const MangleResult *expecteds, const Target &target) { Target 892 src/CPlusPlusMangle.cpp Target targets[]{ Target(Target::Linux, Target::X86, 32), Target 893 src/CPlusPlusMangle.cpp Target(Target::Linux, Target::X86, 64), Target 894 src/CPlusPlusMangle.cpp Target(Target::OSX, Target::X86, 32), Target 895 src/CPlusPlusMangle.cpp Target(Target::OSX, Target::X86, 64), Target 896 src/CPlusPlusMangle.cpp Target(Target::Windows, Target::X86, 32), Target 897 src/CPlusPlusMangle.cpp Target(Target::Windows, Target::X86, 64) }; Target 1014 src/CPlusPlusMangle.cpp MangleResult *expecteds = (target.os == Target::Windows) ? (target.bits == 64 ? all_mods_win64 : all_mods_win32) : all_mods_itanium; Target 1030 src/CPlusPlusMangle.cpp MangleResult *expecteds = (target.os == Target::Windows) ? (target.bits == 64 ? two_void_stars_win64 : two_void_stars_win32) : two_void_stars_itanium; Target 22 src/CPlusPlusMangle.h const Target &target); Target 26 src/CodeGen_ARM.cpp CodeGen_ARM::CodeGen_ARM(Target target) : CodeGen_Posix(target) { Target 976 src/CodeGen_ARM.cpp if (target.has_feature(Target::ARMv7s)) { Target 982 src/CodeGen_ARM.cpp if (target.os == Target::IOS) { Target 992 src/CodeGen_ARM.cpp if (target.has_feature(Target::ARMv7s)) { Target 994 src/CodeGen_ARM.cpp } if (!target.has_feature(Target::NoNEON)) { Target 1000 src/CodeGen_ARM.cpp if (target.os == Target::IOS || target.os == Target::OSX) { Target 1011 src/CodeGen_ARM.cpp return target.has_feature(Target::SoftFloatABI) || Target 1013 src/CodeGen_ARM.cpp ((target.os == Target::Android) || Target 1014 src/CodeGen_ARM.cpp (target.os == Target::IOS && !target.has_feature(Target::ARMv7s)))); Target 17 src/CodeGen_ARM.h CodeGen_ARM(Target); Target 74 src/CodeGen_ARM.h return target.has_feature(Target::NoNEON); Target 115 src/CodeGen_C.cpp CodeGen_C::CodeGen_C(ostream &s, Target t, OutputKind output_kind, const std::string &guard) : Target 127 src/CodeGen_C.cpp if (target.has_feature(Target::NoRuntime)) { Target 169 src/CodeGen_C.cpp if (!target.has_feature(Target::NoRuntime)) { Target 175 src/CodeGen_C.cpp if (target.os == Target::Windows) { Target 198 src/CodeGen_C.cpp if (target.has_feature(Target::CUDA)) { Target 201 src/CodeGen_C.cpp if (target.has_feature(Target::HVX_128) || Target 202 src/CodeGen_C.cpp target.has_feature(Target::HVX_64)) { Target 205 src/CodeGen_C.cpp if (target.has_feature(Target::Metal)) { Target 208 src/CodeGen_C.cpp if (target.has_feature(Target::OpenCL)) { Target 211 src/CodeGen_C.cpp if (target.has_feature(Target::OpenGLCompute)) { Target 214 src/CodeGen_C.cpp if (target.has_feature(Target::OpenGL)) { Target 540 src/CodeGen_C.cpp name_mangling = (target.has_feature(Target::CPlusPlusMangling) ? Target 1477 src/CodeGen_C.cpp CodeGen_C cg(source, Target("host"), CodeGen_C::CImplementation); Target 36 src/CodeGen_C.h Target target, Target 58 src/CodeGen_C.h Target target; Target 97 src/CodeGen_GPU_Host.cpp CodeGen_GPU_Host<CodeGen_CPU>::CodeGen_GPU_Host(Target target) : CodeGen_CPU(target) { Target 102 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::OpenGL)) { Target 106 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::OpenGLCompute)) { Target 110 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::CUDA)) { Target 114 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::OpenCL)) { Target 118 src/CodeGen_GPU_Host.cpp if (target.has_feature(Target::Metal)) { Target 31 src/CodeGen_GPU_Host.h CodeGen_GPU_Host(Target); Target 47 src/CodeGen_Hexagon.cpp CodeGen_Hexagon::CodeGen_Hexagon(Target t) : CodeGen_Posix(t) { Target 52 src/CodeGen_Hexagon.cpp user_assert(!t.has_feature(Target::HVX_v62)) Target 82 src/CodeGen_Hexagon.cpp if (module.target().features_all_of({Halide::Target::HVX_128, Halide::Target::HVX_64})) { Target 121 src/CodeGen_Hexagon.cpp Stmt acquire_hvx_context(Stmt stmt, const Target &target) { Target 124 src/CodeGen_Hexagon.cpp Expr hvx_mode = target.has_feature(Target::HVX_128) ? 128 : 64; Target 237 src/CodeGen_Hexagon.cpp bool is_128B = target.has_feature(Halide::Target::HVX_128); Target 703 src/CodeGen_Hexagon.cpp bool is_128B = target.has_feature(Halide::Target::HVX_128); Target 835 src/CodeGen_Hexagon.cpp bool is_128B = target.has_feature(Halide::Target::HVX_128); Target 1000 src/CodeGen_Hexagon.cpp bool is_128B = target.has_feature(Halide::Target::HVX_128); Target 1277 src/CodeGen_Hexagon.cpp if (target.has_feature(Halide::Target::HVX_v62)) { Target 1286 src/CodeGen_Hexagon.cpp if (target.has_feature(Halide::Target::HVX_128)) { Target 1300 src/CodeGen_Hexagon.cpp if (target.has_feature(Halide::Target::HVX_128)) { Target 1559 src/CodeGen_Hexagon.cpp if (target.has_feature(Target::HVX_v62) && (op->value.type().bits() == 8 || op->value.type().bits() == 16)) Target 17 src/CodeGen_Hexagon.h CodeGen_Hexagon(Target); Target 447 src/CodeGen_Internal.cpp const llvm::Target *target = llvm::TargetRegistry::lookupTarget(module.getTargetTriple(), error_string); Target 467 src/CodeGen_Internal.cpp void set_function_attributes_for_target(llvm::Function *fn, Target t) { Target 79 src/CodeGen_Internal.h void set_function_attributes_for_target(llvm::Function *, Target); Target 59 src/CodeGen_LLVM.cpp inline void Initialize##target##Target() {} Target 74 src/CodeGen_LLVM.cpp LLVMInitialize##target##Target(); \ Target 148 src/CodeGen_LLVM.cpp CodeGen_LLVM::CodeGen_LLVM(Target t) : Target 260 src/CodeGen_LLVM.cpp CodeGen_LLVM *make_codegen(const Target &target, Target 273 src/CodeGen_LLVM.cpp CodeGen_LLVM *CodeGen_LLVM::new_for_target(const Target &target, Target 276 src/CodeGen_LLVM.cpp if (target.features_any_of({Target::CUDA, Target 277 src/CodeGen_LLVM.cpp Target::OpenCL, Target 278 src/CodeGen_LLVM.cpp Target::OpenGL, Target 279 src/CodeGen_LLVM.cpp Target::OpenGLCompute, Target 280 src/CodeGen_LLVM.cpp Target::Metal})) { Target 282 src/CodeGen_LLVM.cpp if (target.arch == Target::X86) { Target 287 src/CodeGen_LLVM.cpp if (target.arch == Target::ARM) { Target 292 src/CodeGen_LLVM.cpp if (target.arch == Target::MIPS) { Target 297 src/CodeGen_LLVM.cpp if (target.arch == Target::POWERPC) { Target 306 src/CodeGen_LLVM.cpp } else if (target.arch == Target::X86) { Target 308 src/CodeGen_LLVM.cpp } else if (target.arch == Target::ARM) { Target 310 src/CodeGen_LLVM.cpp } else if (target.arch == Target::MIPS) { Target 312 src/CodeGen_LLVM.cpp } else if (target.arch == Target::POWERPC) { Target 314 src/CodeGen_LLVM.cpp } else if (target.arch == Target::Hexagon) { Target 349 src/CodeGen_LLVM.cpp Initialize##target##Target(); Target 446 src/CodeGen_LLVM.cpp const Target &target) { Target 456 src/CodeGen_LLVM.cpp target.has_feature(Target::CPlusPlusMangling)) || Target 477 src/CodeGen_LLVM.cpp MangledNames get_mangled_names(const LoweredFunc &f, const Target &target) { Target 540 src/CodeGen_LLVM.cpp if (target.has_feature(Target::Matlab)) { Target 670 src/CodeGen_LLVM.cpp target.has_feature(Target::MSAN)) { Target 2667 src/CodeGen_LLVM.cpp user_assert(get_target().has_feature(Target::CPlusPlusMangling)) << Target 2878 src/CodeGen_LLVM.cpp if (target.has_feature(Target::NoAsserts)) return; Target 64 src/CodeGen_LLVM.h static CodeGen_LLVM *new_for_target(const Target &target, Target 73 src/CodeGen_LLVM.h const Target &get_target() const { return target; } Target 82 src/CodeGen_LLVM.h CodeGen_LLVM(Target t); Target 146 src/CodeGen_LLVM.h Halide::Target target; Target 13 src/CodeGen_MIPS.cpp CodeGen_MIPS::CodeGen_MIPS(Target t) : CodeGen_Posix(t) { Target 18 src/CodeGen_MIPS.h CodeGen_MIPS(Target); Target 19 src/CodeGen_Metal_Dev.cpp CodeGen_Metal_Dev::CodeGen_Metal_Dev(Target t) : Target 19 src/CodeGen_Metal_Dev.h CodeGen_Metal_Dev(Target target); Target 47 src/CodeGen_Metal_Dev.h CodeGen_Metal_C(std::ostream &s, Target t) : CodeGen_C(s, t) {} Target 84 src/CodeGen_Metal_Dev.h Target target; Target 19 src/CodeGen_OpenCL_Dev.cpp CodeGen_OpenCL_Dev::CodeGen_OpenCL_Dev(Target t) : Target 683 src/CodeGen_OpenCL_Dev.cpp if (target.has_feature(Target::CLDoubles)) { Target 19 src/CodeGen_OpenCL_Dev.h CodeGen_OpenCL_Dev(Target target); Target 47 src/CodeGen_OpenCL_Dev.h CodeGen_OpenCL_C(std::ostream &s, Target t) : CodeGen_C(s, t) {} Target 82 src/CodeGen_OpenCL_Dev.h Target target; Target 22 src/CodeGen_OpenGLCompute_Dev.cpp CodeGen_OpenGLCompute_Dev::CodeGen_OpenGLCompute_Dev(Target target) Target 264 src/CodeGen_OpenGLCompute_Dev.cpp if (target.os == Target::Android) { Target 21 src/CodeGen_OpenGLCompute_Dev.h CodeGen_OpenGLCompute_Dev(Target target); Target 44 src/CodeGen_OpenGLCompute_Dev.h CodeGen_OpenGLCompute_C(std::ostream &s, Target t) : CodeGen_GLSLBase(s, t) {} Target 23 src/CodeGen_OpenGL_Dev.cpp bool is_opengl_es(const Target &target) { Target 27 src/CodeGen_OpenGL_Dev.cpp return (target.os == Target::Android || Target 28 src/CodeGen_OpenGL_Dev.cpp target.os == Target::IOS); Target 89 src/CodeGen_OpenGL_Dev.cpp CodeGen_OpenGL_Dev::CodeGen_OpenGL_Dev(const Target &target) Target 134 src/CodeGen_OpenGL_Dev.cpp CodeGen_GLSLBase::CodeGen_GLSLBase(std::ostream &s, Target target) : CodeGen_C(s, target) { Target 977 src/CodeGen_OpenGL_Dev.cpp CodeGen_GLSL cg(source, Target()); Target 22 src/CodeGen_OpenGL_Dev.h CodeGen_OpenGL_Dev(const Target &target); Target 47 src/CodeGen_OpenGL_Dev.h Target target; Target 55 src/CodeGen_OpenGL_Dev.h CodeGen_GLSLBase(std::ostream &s, Target t); Target 87 src/CodeGen_OpenGL_Dev.h CodeGen_GLSL(std::ostream &s, const Target &t) : CodeGen_GLSLBase(s, t) {} Target 28 src/CodeGen_PTX_Dev.cpp CodeGen_PTX_Dev::CodeGen_PTX_Dev(Target host) : CodeGen_LLVM(host) { Target 232 src/CodeGen_PTX_Dev.cpp if (target.has_feature(Target::CUDACapability50)) { Target 234 src/CodeGen_PTX_Dev.cpp } else if (target.has_feature(Target::CUDACapability35)) { Target 236 src/CodeGen_PTX_Dev.cpp } else if (target.has_feature(Target::CUDACapability32)) { Target 238 src/CodeGen_PTX_Dev.cpp } else if (target.has_feature(Target::CUDACapability30)) { Target 246 src/CodeGen_PTX_Dev.cpp if (target.features_any_of({Target::CUDACapability32, Target 247 src/CodeGen_PTX_Dev.cpp Target::CUDACapability50})) { Target 277 src/CodeGen_PTX_Dev.cpp const llvm::Target *target = TargetRegistry::lookupTarget(triple.str(), err_str); Target 26 src/CodeGen_PTX_Dev.h CodeGen_PTX_Dev(Target host); Target 23 src/CodeGen_Posix.cpp CodeGen_Posix::CodeGen_Posix(Target t) : Target 93 src/CodeGen_Posix.cpp const string str_max_size = target.has_feature(Target::LargeBuffers) ? "2^63 - 1" : "2^31 - 1"; Target 19 src/CodeGen_Posix.h CodeGen_Posix(Target t); Target 17 src/CodeGen_PowerPC.cpp CodeGen_PowerPC::CodeGen_PowerPC(Target t) : CodeGen_Posix(t) { Target 102 src/CodeGen_PowerPC.cpp if (!target.has_feature(Target::VSX) && pattern.needs_vsx) { Target 131 src/CodeGen_PowerPC.cpp bool vsx = target.has_feature(Target::VSX); Target 132 src/CodeGen_PowerPC.cpp bool arch_2_07 = target.has_feature(Target::POWER_ARCH_2_07); Target 157 src/CodeGen_PowerPC.cpp bool vsx = target.has_feature(Target::VSX); Target 158 src/CodeGen_PowerPC.cpp bool arch_2_07 = target.has_feature(Target::POWER_ARCH_2_07); Target 181 src/CodeGen_PowerPC.cpp if (target.has_feature(Target::POWER_ARCH_2_07)) Target 183 src/CodeGen_PowerPC.cpp else if (target.has_feature(Target::VSX)) Target 198 src/CodeGen_PowerPC.cpp enable = target.has_feature(Target::VSX) ? "+" : "-"; Target 202 src/CodeGen_PowerPC.cpp enable = target.has_feature(Target::POWER_ARCH_2_07) ? "+" : "-"; Target 18 src/CodeGen_PowerPC.h CodeGen_PowerPC(Target); Target 24 src/CodeGen_X86.cpp CodeGen_X86::CodeGen_X86(Target t) : CodeGen_Posix(t) { Target 213 src/CodeGen_X86.cpp Target::Feature feature; Target 222 src/CodeGen_X86.cpp {Target::FeatureEnd, true, Int(8, 16), 0, "llvm.x86.sse2.padds.b", Target 224 src/CodeGen_X86.cpp {Target::FeatureEnd, true, Int(8, 16), 0, "llvm.x86.sse2.psubs.b", Target 226 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(8, 16), 0, "llvm.x86.sse2.paddus.b", Target 228 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(8, 16), 0, "llvm.x86.sse2.psubus.b", Target 230 src/CodeGen_X86.cpp {Target::FeatureEnd, true, Int(16, 8), 0, "llvm.x86.sse2.padds.w", Target 232 src/CodeGen_X86.cpp {Target::FeatureEnd, true, Int(16, 8), 0, "llvm.x86.sse2.psubs.w", Target 234 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(16, 8), 0, "llvm.x86.sse2.paddus.w", Target 236 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(16, 8), 0, "llvm.x86.sse2.psubus.w", Target 240 src/CodeGen_X86.cpp {Target::AVX2, true, Int(16, 16), 9, "llvm.x86.avx2.pmulh.w", Target 242 src/CodeGen_X86.cpp {Target::AVX2, true, UInt(16, 16), 9, "llvm.x86.avx2.pmulhu.w", Target 245 src/CodeGen_X86.cpp {Target::FeatureEnd, true, Int(16, 8), 0, "llvm.x86.sse2.pmulh.w", Target 247 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(16, 8), 0, "llvm.x86.sse2.pmulhu.w", Target 249 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(8, 16), 0, "llvm.x86.sse2.pavg.b", Target 251 src/CodeGen_X86.cpp {Target::FeatureEnd, true, UInt(16, 8), 0, "llvm.x86.sse2.pavg.w", Target 253 src/CodeGen_X86.cpp {Target::FeatureEnd, false, Int(16, 8), 0, "packssdwx8", Target 255 src/CodeGen_X86.cpp {Target::FeatureEnd, false, Int(8, 16), 0, "packsswbx16", Target 257 src/CodeGen_X86.cpp {Target::FeatureEnd, false, UInt(8, 16), 0, "packuswbx16", Target 259 src/CodeGen_X86.cpp {Target::SSE41, false, UInt(16, 8), 0, "packusdwx8", Target 298 src/CodeGen_X86.cpp !target.has_feature(Target::AVX)) { Target 343 src/CodeGen_X86.cpp bool use_sse_41 = target.has_feature(Target::SSE41); Target 367 src/CodeGen_X86.cpp bool use_sse_41 = target.has_feature(Target::SSE41); Target 387 src/CodeGen_X86.cpp if (need_workaround && target.has_feature(Target::AVX2) && Target 414 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_Cannonlake)) return "cannonlake"; Target 415 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_Skylake)) return "skylake-avx512"; Target 416 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_KNL)) return "knl"; Target 418 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX2)) return "haswell"; Target 419 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX)) return "corei7-avx"; Target 421 src/CodeGen_X86.cpp if (target.has_feature(Target::SSE41)) return "penryn"; Target 429 src/CodeGen_X86.cpp if (target.has_feature(Target::FMA)) { Target 433 src/CodeGen_X86.cpp if (target.has_feature(Target::FMA4)) { Target 437 src/CodeGen_X86.cpp if (target.has_feature(Target::F16C)) { Target 442 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512) || Target 443 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_KNL) || Target 444 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_Skylake) || Target 445 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_Cannonlake)) { Target 448 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_KNL)) { Target 451 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_Skylake) || Target 452 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_Cannonlake)) { Target 455 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512_Cannonlake)) { Target 468 src/CodeGen_X86.cpp if (target.has_feature(Target::AVX512) || Target 469 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_Skylake) || Target 470 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_KNL) || Target 471 src/CodeGen_X86.cpp target.has_feature(Target::AVX512_Cannonlake)) { Target 473 src/CodeGen_X86.cpp } else if (target.has_feature(Target::AVX) || Target 474 src/CodeGen_X86.cpp target.has_feature(Target::AVX2)) { Target 23 src/CodeGen_X86.h CodeGen_X86(Target); Target 33 src/DeviceInterface.cpp const Target &target, Target 36 src/DeviceInterface.cpp JITSharedRuntime::get(nullptr, target.with_feature(Target::JIT))); Target 52 src/DeviceInterface.cpp const halide_device_interface_t *get_default_device_interface_for_target(const Target &t) { Target 56 src/DeviceInterface.cpp const halide_device_interface_t *get_device_interface_for_device_api(const DeviceAPI &d, const Target &t) { Target 84 src/DeviceInterface.cpp DeviceAPI get_default_device_api_for_target(const Target &target) { Target 85 src/DeviceInterface.cpp if (target.has_feature(Target::Metal)) { Target 87 src/DeviceInterface.cpp } else if (target.has_feature(Target::OpenCL)) { Target 89 src/DeviceInterface.cpp } else if (target.has_feature(Target::CUDA)) { Target 91 src/DeviceInterface.cpp } else if (target.has_feature(Target::OpenGLCompute)) { Target 93 src/DeviceInterface.cpp } else if (target.has_feature(Target::OpenGL)) { Target 108 src/DeviceInterface.cpp Target target(get_host_target()); Target 124 src/DeviceInterface.cpp Target target(get_host_target()); Target 142 src/DeviceInterface.cpp Target target(get_host_target()); Target 155 src/DeviceInterface.cpp Target target(get_host_target()); Target 167 src/DeviceInterface.cpp Target target(get_host_target()); Target 182 src/DeviceInterface.cpp Target target(get_host_target()); Target 201 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::CUDA); Target 207 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::OpenCL); Target 213 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 219 src/DeviceInterface.cpp Target target(get_host_target()); Target 220 src/DeviceInterface.cpp target.set_feature(Target::OpenGL); Target 230 src/DeviceInterface.cpp Target target(get_host_target()); Target 231 src/DeviceInterface.cpp target.set_feature(Target::OpenGL); Target 241 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::OpenGLCompute); Target 247 src/DeviceInterface.cpp Target t = get_jit_target_from_environment().with_feature(Target::Metal); Target 17 src/DeviceInterface.h EXPORT const halide_device_interface_t *get_default_device_interface_for_target(const Target &t); Target 23 src/DeviceInterface.h const Target &t = get_jit_target_from_environment()); Target 28 src/DeviceInterface.h EXPORT DeviceAPI get_default_device_api_for_target(const Target &t); Target 19 src/ExternalCode.h Target llvm_target; // For LLVMBitcode. Target 27 src/ExternalCode.h ExternalCode(Kind kind, const Target &llvm_target, DeviceAPI device_api, const std::vector<uint8_t> &code, const std::string &name) Target 44 src/ExternalCode.h static ExternalCode bitcode_wrapper(const Target &cpu_type, const std::vector<uint8_t> &code, const std::string &name) { Target 70 src/ExternalCode.h return ExternalCode(DeviceCode, Target(), device_api, code, name); Target 88 src/ExternalCode.h return ExternalCode(CPlusPlusSource, Target(), DeviceAPI::None, code, name); Target 103 src/ExternalCode.h bool is_for_cpu_target(const Target &host) const { Target 105 src/ExternalCode.h (llvm_target.arch == Target::ArchUnknown || llvm_target.arch == host.arch) && Target 106 src/ExternalCode.h (llvm_target.os == Target::OSUnknown || llvm_target.os == host.os) && Target 2731 src/Func.cpp Realization Func::realize(std::vector<int32_t> sizes, const Target &target) { Target 2736 src/Func.cpp Realization Func::realize(int x_size, int y_size, int z_size, int w_size, const Target &target) { Target 2740 src/Func.cpp Realization Func::realize(int x_size, int y_size, int z_size, const Target &target) { Target 2744 src/Func.cpp Realization Func::realize(int x_size, int y_size, const Target &target) { Target 2748 src/Func.cpp Realization Func::realize(int x_size, const Target &target) { Target 2752 src/Func.cpp Realization Func::realize(const Target &target) { Target 2808 src/Func.cpp Module Func::compile_to_module(const vector<Argument> &args, const std::string &fn_name, const Target &target) { Target 2816 src/Func.cpp const Target &target) { Target 2821 src/Func.cpp const Target &target) { Target 2826 src/Func.cpp const Target &target) { Target 2831 src/Func.cpp const Target &target) { Target 2836 src/Func.cpp const Target &target) { Target 2841 src/Func.cpp const string &fn_name, const Target &target) { Target 2846 src/Func.cpp const Target &target) { Target 2851 src/Func.cpp const string &fn_name, const Target &target) { Target 2856 src/Func.cpp const string &fn_name, const Target &target) { Target 2863 src/Func.cpp const Target &target) { Target 2874 src/Func.cpp const Target &target) { Target 2881 src/Func.cpp const Target &target) { Target 2887 src/Func.cpp const std::vector<Target> &targets) { Target 2892 src/Func.cpp const Target &target) { Target 2896 src/Func.cpp void Func::compile_to_assembly(const string &filename, const vector<Argument> &args, const Target &target) { Target 2943 src/Func.cpp void Func::realize(Realization dst, const Target &target) { Target 2951 src/Func.cpp void *Func::compile_jit(const Target &target) { Target 569 src/Func.h EXPORT Realization realize(std::vector<int32_t> sizes, const Target &target = Target()); Target 571 src/Func.h const Target &target = Target()); Target 573 src/Func.h const Target &target = Target()); Target 575 src/Func.h const Target &target = Target()); Target 577 src/Func.h const Target &target = Target()); Target 578 src/Func.h EXPORT Realization realize(const Target &target = Target()); Target 587 src/Func.h EXPORT void realize(Realization dst, const Target &target = Target()); Target 605 src/Func.h const Target &target = get_target_from_environment()); Target 607 src/Func.h const Target &target = get_target_from_environment()); Target 616 src/Func.h const Target &target = get_target_from_environment()); Target 618 src/Func.h const Target &target = get_target_from_environment()); Target 628 src/Func.h const Target &target = get_target_from_environment()); Target 630 src/Func.h const Target &target = get_target_from_environment()); Target 641 src/Func.h const Target &target = get_target_from_environment()); Target 650 src/Func.h const Target &target = get_target_from_environment()); Target 652 src/Func.h const Target &target = get_target_from_environment()); Target 662 src/Func.h const Target &target = get_target_from_environment()); Target 670 src/Func.h const Target &target = get_target_from_environment()); Target 683 src/Func.h const Target &target = get_target_from_environment()); Target 691 src/Func.h const Target &target = get_target_from_environment()); Target 702 src/Func.h const std::vector<Target> &targets); Target 707 src/Func.h const Target &target = get_target_from_environment()); Target 716 src/Func.h const Target &target = get_target_from_environment()); Target 726 src/Func.h EXPORT void *compile_jit(const Target &target = get_jit_target_from_environment()); Target 2033 src/Func.h Target t = get_jit_target_from_environment(); Target 2037 src/Func.h if (t.has_feature(Target::HVX_64) || t.has_feature(Target::HVX_128)) { Target 813 src/Function.cpp const Target &target) const { Target 819 src/Function.cpp call_type = (target.has_feature(Target::CPlusPlusMangling) ? Target 206 src/Function.h const Target &t) const; Target 54 src/Generator.cpp Outputs compute_outputs(const Target &target, Target 57 src/Generator.cpp const bool is_windows_coff = target.os == Target::Windows && Target 58 src/Generator.cpp !target.has_feature(Target::MinGW); Target 922 src/Generator.cpp std::vector<Target> targets; Target 924 src/Generator.cpp targets.push_back(Target(s)); Target 943 src/Generator.cpp auto gen = GeneratorRegistry::create(generator_name, JITGeneratorContext(Target()), {}); Target 952 src/Generator.cpp (const std::string &name, const Target &target) -> Module { Target 1761 src/Generator.cpp Target StubOutputBufferBase::get_target() const { Target 354 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(Target) Target 438 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(Target) Target 481 src/Generator.h this->set(Target(new_value_string)); Target 684 src/Generator.h cond<std::is_same<T, Target>::value, GeneratorParam_Target<T>>, Target 961 src/Generator.h EXPORT Target get_target() const; Target 2119 src/Generator.h virtual Target get_target() const = 0; Target 2161 src/Generator.h explicit JITGeneratorContext(const Target &t) Target 2165 src/Generator.h Target get_target() const override { return target; } Target 2172 src/Generator.h const Target target; Target 2191 src/Generator.h using Target = Halide::Target; Target 2226 src/Generator.h GeneratorParam<Target> target{ "target", Halide::get_host_target() }; Target 2244 src/Generator.h Target get_target() const override { return target; } Target 2803 src/Generator.h Target get_target() const { return generator->get_target(); } Target 477 src/HexagonOffload.cpp HexagonLinker(const Target &target) { Target 478 src/HexagonOffload.cpp if (target.has_feature(Target::HVX_v62)) { Target 704 src/HexagonOffload.cpp if (!device_code.target().has_feature(Target::NoAsserts)) { Target 830 src/HexagonOffload.cpp Stmt inject_hexagon_rpc(Stmt s, const Target &host_target, Target 833 src/HexagonOffload.cpp Target target(Target::NoOS, Target::Hexagon, 32); Target 841 src/HexagonOffload.cpp static const Target::Feature shared_features[] = { Target 842 src/HexagonOffload.cpp Target::Profile, Target 843 src/HexagonOffload.cpp Target::NoAsserts, Target 844 src/HexagonOffload.cpp Target::HVX_64, Target 845 src/HexagonOffload.cpp Target::HVX_128, Target 846 src/HexagonOffload.cpp Target::HVX_v62, Target 848 src/HexagonOffload.cpp for (Target::Feature i : shared_features) { Target 17 src/HexagonOffload.h Stmt inject_hexagon_rpc(Stmt s, const Target &host_target, Module &module); Target 175 src/HexagonOptimize.cpp Expr apply_patterns(Expr x, const vector<Pattern> &patterns, const Target &target, IRMutator *op_mutator) { Target 180 src/HexagonOptimize.cpp if ((p.flags & (Pattern::v62)) && !target.has_feature(Target::HVX_v62)) Target 274 src/HexagonOptimize.cpp Expr apply_commutative_patterns(const T *op, const vector<Pattern> &patterns, const Target &target, IRMutator *mutator) { Target 292 src/HexagonOptimize.cpp Target target; Target 909 src/HexagonOptimize.cpp OptimizePatterns(Target t) { Target 1616 src/HexagonOptimize.cpp Stmt optimize_hexagon_instructions(Stmt s, Target t) { Target 22 src/HexagonOptimize.h EXPORT Stmt optimize_hexagon_instructions(Stmt s, Target t); Target 28 src/InjectHostDevBufferCopies.cpp DeviceAPI fixup_device_api(DeviceAPI device_api, const Target &target) { Target 30 src/InjectHostDevBufferCopies.cpp if (target.has_feature(Target::Metal)) { Target 32 src/InjectHostDevBufferCopies.cpp } else if (target.has_feature(Target::OpenCL)) { Target 34 src/InjectHostDevBufferCopies.cpp } else if (target.has_feature(Target::CUDA)) { Target 36 src/InjectHostDevBufferCopies.cpp } else if (target.has_feature(Target::OpenGLCompute)) { Target 45 src/InjectHostDevBufferCopies.cpp bool different_device_api(DeviceAPI device_api, DeviceAPI stmt_api, const Target &target) { Target 58 src/InjectHostDevBufferCopies.cpp const Target ⌖ Target 125 src/InjectHostDevBufferCopies.cpp FindBuffersToTrack(const Target &t) : target(t), device_api(DeviceAPI::Host) {} Target 187 src/InjectHostDevBufferCopies.cpp const Target ⌖ Target 752 src/InjectHostDevBufferCopies.cpp InjectBufferCopies(const set<string> &i, const Target &t) : loop_level(""), buffers_to_track(i), target(t), device_api(DeviceAPI::Host) {} Target 758 src/InjectHostDevBufferCopies.cpp Stmt inject_host_dev_buffer_copies(Stmt s, const Target &t) { Target 20 src/InjectHostDevBufferCopies.h EXPORT Stmt inject_host_dev_buffer_copies(Stmt s, const Target &t); Target 252 src/JITModule.cpp void JITModule::compile_module(std::unique_ptr<llvm::Module> m, const string &function_name, const Target &target, Target 307 src/JITModule.cpp if (target.arch == Target::X86) { Target 637 src/JITModule.cpp JITModule &make_module(llvm::Module *for_module, Target target, Target 644 src/JITModule.cpp target.set_feature(Target::JIT); Target 646 src/JITModule.cpp Target one_gpu(target); Target 647 src/JITModule.cpp one_gpu.set_feature(Target::OpenCL, false); Target 648 src/JITModule.cpp one_gpu.set_feature(Target::Metal, false); Target 649 src/JITModule.cpp one_gpu.set_feature(Target::CUDA, false); Target 650 src/JITModule.cpp one_gpu.set_feature(Target::HVX_64, false); Target 651 src/JITModule.cpp one_gpu.set_feature(Target::HVX_128, false); Target 652 src/JITModule.cpp one_gpu.set_feature(Target::OpenGL, false); Target 653 src/JITModule.cpp one_gpu.set_feature(Target::OpenGLCompute, false); Target 657 src/JITModule.cpp one_gpu.set_feature(Target::OpenCL); Target 661 src/JITModule.cpp one_gpu.set_feature(Target::Metal); Target 666 src/JITModule.cpp one_gpu.set_feature(Target::CUDA); Target 670 src/JITModule.cpp one_gpu.set_feature(Target::OpenGL); Target 675 src/JITModule.cpp one_gpu.set_feature(Target::OpenGLCompute); Target 680 src/JITModule.cpp one_gpu.set_feature(Target::HVX_64); Target 776 src/JITModule.cpp std::vector<JITModule> JITSharedRuntime::get(llvm::Module *for_module, const Target &target, bool create) { Target 788 src/JITModule.cpp if (target.has_feature(Target::OpenCL)) { Target 794 src/JITModule.cpp if (target.has_feature(Target::Metal)) { Target 800 src/JITModule.cpp if (target.has_feature(Target::CUDA)) { Target 806 src/JITModule.cpp if (target.has_feature(Target::OpenGL)) { Target 812 src/JITModule.cpp if (target.has_feature(Target::OpenGLCompute)) { Target 818 src/JITModule.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 25 src/JITModule.h struct Target; Target 112 src/JITModule.h const std::string &function_name, const Target &target, Target 146 src/JITModule.h EXPORT static std::vector<JITModule> get(llvm::Module *m, const Target &target, bool create = true); Target 90 src/LLVM_Output.cpp void create_static_library(const std::vector<std::string> &src_files, const Target &target, Target 54 src/LLVM_Output.h EXPORT void create_static_library(const std::vector<std::string> &src_files, const Target &target, Target 222 src/LLVM_Runtime_Linker.cpp llvm::DataLayout get_data_layout_for_target(Target target) { Target 223 src/LLVM_Runtime_Linker.cpp if (target.arch == Target::X86) { Target 225 src/LLVM_Runtime_Linker.cpp if (target.os == Target::OSX) { Target 227 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Windows && !target.has_feature(Target::JIT)) { Target 229 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Windows) { Target 236 src/LLVM_Runtime_Linker.cpp if (target.os == Target::OSX) { Target 238 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Windows && !target.has_feature(Target::JIT)) { Target 240 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Windows) { Target 246 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::ARM) { Target 248 src/LLVM_Runtime_Linker.cpp if (target.os == Target::IOS) { Target 254 src/LLVM_Runtime_Linker.cpp if (target.os == Target::IOS) { Target 264 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::MIPS) { Target 270 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::POWERPC) { Target 276 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::Hexagon) { Target 290 src/LLVM_Runtime_Linker.cpp llvm::Triple get_triple_for_target(const Target &target) { Target 293 src/LLVM_Runtime_Linker.cpp if (target.arch == Target::X86) { Target 301 src/LLVM_Runtime_Linker.cpp if (target.os == Target::Linux) { Target 304 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::OSX) { Target 307 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Windows) { Target 310 src/LLVM_Runtime_Linker.cpp if (target.has_feature(Target::MinGW)) { Target 315 src/LLVM_Runtime_Linker.cpp if (target.has_feature(Target::JIT)) { Target 319 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Android) { Target 322 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::IOS) { Target 327 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::ARM) { Target 329 src/LLVM_Runtime_Linker.cpp if (target.has_feature(Target::ARMv7s)) { Target 343 src/LLVM_Runtime_Linker.cpp if (target.os == Target::Android) { Target 346 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::IOS) { Target 349 src/LLVM_Runtime_Linker.cpp } else if (target.os == Target::Linux) { Target 355 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::MIPS) { Target 364 src/LLVM_Runtime_Linker.cpp if (target.os == Target::Android) { Target 370 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::POWERPC) { Target 373 src/LLVM_Runtime_Linker.cpp user_assert(target.os == Target::Linux) << "PowerPC target is Linux-only.\n"; Target 387 src/LLVM_Runtime_Linker.cpp } else if (target.arch == Target::Hexagon) { Target 405 src/LLVM_Runtime_Linker.cpp void link_modules(std::vector<std::unique_ptr<llvm::Module>> &modules, Target t) { Target 445 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::MinGW)) { Target 474 src/LLVM_Runtime_Linker.cpp internal_assert(t.os == Target::NoOS || !is_halide_extern_c_sym || f.isWeakForLinker() || f.isDeclaration()) Target 479 src/LLVM_Runtime_Linker.cpp if (can_strip || t.os == Target::NoOS) { Target 592 src/LLVM_Runtime_Linker.cpp std::unique_ptr<llvm::Module> get_initial_module_for_target(Target t, llvm::LLVMContext *c, bool for_shared_jit_runtime, bool just_gpu) { Target 601 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::JIT)) { Target 609 src/LLVM_Runtime_Linker.cpp } else if (t.has_feature(Target::NoRuntime)) { Target 619 src/LLVM_Runtime_Linker.cpp bool debug = t.has_feature(Target::Debug); Target 626 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Linux) { Target 630 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::X86) { Target 641 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::OSX) { Target 650 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::Android) { Target 654 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::ARM) { Target 665 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::Windows) { Target 675 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::MinGW)) { Target 678 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::IOS) { Target 686 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::QuRT) { Target 694 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::NoOS) { Target 707 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Windows) { Target 732 src/LLVM_Runtime_Linker.cpp if (t.arch != Target::MIPS && t.os != Target::NoOS) { Target 737 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::MSAN)) { Target 746 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::X86) { Target 749 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::ARM) { Target 752 src/LLVM_Runtime_Linker.cpp } else if (t.has_feature(Target::ARMv7s)) { Target 754 src/LLVM_Runtime_Linker.cpp } else if (!t.has_feature(Target::NoNEON)) { Target 760 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::MIPS) { Target 763 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::POWERPC) { Target 766 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::Hexagon) { Target 768 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::HVX_64)) { Target 770 src/LLVM_Runtime_Linker.cpp } else if (t.has_feature(Target::HVX_128)) { Target 776 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::SSE41)) { Target 779 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::AVX)) { Target 782 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::Profile)) { Target 790 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::X86) { Target 793 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::ARM) { Target 800 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::MIPS) { Target 803 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::POWERPC) { Target 817 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::CUDA)) { Target 818 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Windows) { Target 824 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::OpenCL)) { Target 825 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Windows) { Target 831 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::OpenGL)) { Target 833 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Linux) { Target 835 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::OSX) { Target 837 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::Android) { Target 843 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::OpenGLCompute)) { Target 845 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Android) { Target 848 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::Linux) { Target 850 src/LLVM_Runtime_Linker.cpp } else if (t.os == Target::OSX) { Target 857 src/LLVM_Runtime_Linker.cpp if (t.has_feature(Target::Metal)) { Target 859 src/LLVM_Runtime_Linker.cpp if (t.arch == Target::ARM) { Target 861 src/LLVM_Runtime_Linker.cpp } else if (t.arch == Target::X86) { Target 867 src/LLVM_Runtime_Linker.cpp if (t.arch != Target::Hexagon && t.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 873 src/LLVM_Runtime_Linker.cpp if (module_type == ModuleAOT && t.has_feature(Target::Matlab)) { Target 884 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Windows && Target 886 src/LLVM_Runtime_Linker.cpp (t.has_feature(Target::JIT))) { Target 890 src/LLVM_Runtime_Linker.cpp if (t.os == Target::Windows) { Target 898 src/LLVM_Runtime_Linker.cpp std::unique_ptr<llvm::Module> get_initial_module_for_ptx_device(Target target, llvm::LLVMContext *c) { Target 906 src/LLVM_Runtime_Linker.cpp if (target.has_feature(Target::CUDACapability35)) { Target 908 src/LLVM_Runtime_Linker.cpp } else if (target.features_any_of({Target::CUDACapability32, Target 909 src/LLVM_Runtime_Linker.cpp Target::CUDACapability50})) { Target 912 src/LLVM_Runtime_Linker.cpp } else if (target.has_feature(Target::CUDACapability30)) { Target 21 src/LLVM_Runtime_Linker.h llvm::Triple get_triple_for_target(const Target &target); Target 24 src/LLVM_Runtime_Linker.h std::unique_ptr<llvm::Module> get_initial_module_for_target(Target, llvm::LLVMContext *, bool for_shared_jit_runtime = false, bool just_gpu = false); Target 27 src/LLVM_Runtime_Linker.h std::unique_ptr<llvm::Module> get_initial_module_for_ptx_device(Target, llvm::LLVMContext *c); Target 75 src/Lower.cpp Module lower(const vector<Function> &output_funcs, const string &pipeline_name, const Target &t, Target 201 src/Lower.cpp if (t.has_feature(Target::OpenGL)) { Target 224 src/Lower.cpp t.has_feature(Target::OpenGLCompute) || Target 225 src/Lower.cpp t.has_feature(Target::OpenGL) || Target 226 src/Lower.cpp (t.arch != Target::Hexagon && (t.features_any_of({Target::HVX_64, Target::HVX_128})))) { Target 236 src/Lower.cpp if (t.has_feature(Target::OpenGL)) { Target 243 src/Lower.cpp t.has_feature(Target::OpenGLCompute)) { Target 287 src/Lower.cpp if (t.has_feature(Target::Profile)) { Target 293 src/Lower.cpp if (t.has_feature(Target::FuzzFloatStores)) { Target 302 src/Lower.cpp if (t.has_feature(Target::OpenGL)) { Target 385 src/Lower.cpp if (t.has_feature(Target::Debug)) { Target 394 src/Lower.cpp if (!t.has_feature(Target::JIT)) { Target 405 src/Lower.cpp const Target &t, const std::vector<IRMutator *> &custom_passes) { Target 29 src/Lower.h EXPORT Module lower(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, Target 38 src/Lower.h EXPORT Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, Target 40 src/Module.cpp const Target &target, Target 42 src/Module.cpp const char* ext = (target.os == Target::Windows && !target.has_feature(Target::MinGW)) ? ".obj" : ".o"; Target 96 src/Module.cpp uint64_t target_feature_mask(const Target &target) { Target 97 src/Module.cpp static_assert(sizeof(uint64_t)*8 >= Target::FeatureEnd, "Features will not fit in uint64_t"); Target 99 src/Module.cpp for (int i = 0; i < Target::FeatureEnd; ++i) { Target 100 src/Module.cpp if (target.has_feature((Target::Feature) i)) { Target 112 src/Module.cpp Target target; Target 151 src/Module.cpp Module::Module(const std::string &name, const Target &target) : Target 157 src/Module.cpp const Target &Module::target() const { Target 241 src/Module.cpp if (target().arch == Target::Hexagon) { Target 341 src/Module.cpp Target base_target(target().os, target().arch, target().bits); Target 365 src/Module.cpp target().has_feature(Target::CPlusPlusMangling) ? Target 375 src/Module.cpp target().has_feature(Target::CPlusPlusMangling) ? Target 390 src/Module.cpp Outputs compile_standalone_runtime(const Outputs &output_files, Target t) { Target 391 src/Module.cpp Module empty("standalone_runtime", t.without_feature(Target::NoRuntime).without_feature(Target::JIT)); Target 399 src/Module.cpp void compile_standalone_runtime(const std::string &object_filename, Target t) { Target 405 src/Module.cpp const std::vector<Target> &targets, Target 420 src/Module.cpp const Target &base_target = targets.back(); Target 423 src/Module.cpp user_assert(!base_target.has_feature(Target::JIT)) << "JIT not allowed for compile_multitarget.\n"; Target 453 src/Module.cpp for (const Target &target : targets) { Target 461 src/Module.cpp static const std::array<Target::Feature, 6> must_match_features = {{ Target 462 src/Module.cpp Target::CPlusPlusMangling, Target 463 src/Module.cpp Target::JIT, Target 464 src/Module.cpp Target::Matlab, Target 465 src/Module.cpp Target::MSAN, Target 466 src/Module.cpp Target::NoRuntime, Target 467 src/Module.cpp Target::UserContext, Target 488 src/Module.cpp Target sub_fn_target = target.with_feature(Target::NoRuntime); Target 490 src/Module.cpp sub_fn_target = sub_fn_target.without_feature(Target::Matlab); Target 521 src/Module.cpp if (!base_target.has_feature(Target::NoRuntime)) { Target 523 src/Module.cpp Target runtime_target(base_target.os, base_target.arch, base_target.bits); Target 525 src/Module.cpp runtime_features_mask &= ~(((uint64_t)(1)) << Target::NoRuntime); Target 527 src/Module.cpp for (int i = 0; i < Target::FeatureEnd; ++i) { Target 529 src/Module.cpp runtime_target.set_feature((Target::Feature) i); Target 535 src/Module.cpp futures.emplace_back(pool.async([](Target t, Outputs o) { Target 557 src/Module.cpp Target wrapper_target = base_target Target 558 src/Module.cpp .with_feature(Target::NoRuntime) Target 559 src/Module.cpp .with_feature(Target::NoBoundsQuery) Target 560 src/Module.cpp .without_feature(Target::NoAsserts); Target 564 src/Module.cpp if (base_target.has_feature(Target::Matlab)) { Target 565 src/Module.cpp wrapper_target = wrapper_target.with_feature(Target::Matlab); Target 87 src/Module.h EXPORT Module(const std::string &name, const Target &target); Target 90 src/Module.h EXPORT const Target &target() const; Target 136 src/Module.h EXPORT void compile_standalone_runtime(const std::string &object_filename, Target t); Target 142 src/Module.h EXPORT Outputs compile_standalone_runtime(const Outputs &output_files, Target t); Target 144 src/Module.h typedef std::function<Module(const std::string &, const Target &)> ModuleProducer; Target 148 src/Module.h const std::vector<Target> &targets, Target 32 src/Pipeline.cpp Outputs static_library_outputs(const string &filename_prefix, const Target &target) { Target 34 src/Pipeline.cpp if (target.os == Target::Windows && !target.has_feature(Target::MinGW)) { Target 55 src/Pipeline.cpp Target jit_target; Target 59 src/Pipeline.cpp module = Module("", Target()); Target 61 src/Pipeline.cpp jit_target = Target(); Target 91 src/Pipeline.cpp module("", Target()) { Target 154 src/Pipeline.cpp const Target &target) { Target 169 src/Pipeline.cpp const Target &target) { Target 177 src/Pipeline.cpp const Target &target) { Target 185 src/Pipeline.cpp const Target &target) { Target 187 src/Pipeline.cpp const char* ext = target.os == Target::Windows && !target.has_feature(Target::MinGW) ? ".obj" : ".o"; Target 194 src/Pipeline.cpp const Target &target) { Target 202 src/Pipeline.cpp const Target &target) { Target 211 src/Pipeline.cpp const Target &target) { Target 224 src/Pipeline.cpp const Target &target) { Target 238 src/Pipeline.cpp const Target &target) { Target 246 src/Pipeline.cpp const std::vector<Target> &targets) { Target 247 src/Pipeline.cpp auto module_producer = [this, &args](const std::string &name, const Target &target) -> Module { Target 257 src/Pipeline.cpp const Target &target) { Target 261 src/Pipeline.cpp if (target.os == Target::Windows && !target.has_feature(Target::MinGW)) { Target 306 src/Pipeline.cpp const Target &target, Target 321 src/Pipeline.cpp const bool requires_user_context = target.has_feature(Target::UserContext); Target 380 src/Pipeline.cpp void *Pipeline::compile_jit(const Target &target_arg) { Target 383 src/Pipeline.cpp Target target(target_arg); Target 384 src/Pipeline.cpp target.set_feature(Target::JIT); Target 385 src/Pipeline.cpp target.set_feature(Target::UserContext); Target 507 src/Pipeline.cpp const Target &target) { Target 524 src/Pipeline.cpp const Target &target) { Target 529 src/Pipeline.cpp const Target &target) { Target 534 src/Pipeline.cpp const Target &target) { Target 539 src/Pipeline.cpp const Target &target) { Target 546 src/Pipeline.cpp Realization Pipeline::realize(const Target &target) { Target 656 src/Pipeline.cpp vector<const void *> Pipeline::prepare_jit_call_arguments(Realization dst, const Target &target) { Target 739 src/Pipeline.cpp Pipeline::make_externs_jit_module(const Target &target, Target 787 src/Pipeline.cpp void Pipeline::realize(Realization dst, const Target &t) { Target 788 src/Pipeline.cpp Target target = t; Target 800 src/Pipeline.cpp if (target.os == Target::OSUnknown) { Target 878 src/Pipeline.cpp if (target.has_feature(Target::Profile)) { Target 898 src/Pipeline.cpp Target target = get_jit_target_from_environment(); Target 61 src/Pipeline.h std::vector<const void *> prepare_jit_call_arguments(Realization dst, const Target &target); Target 63 src/Pipeline.h static std::vector<Internal::JITModule> make_externs_jit_module(const Target &target, Target 88 src/Pipeline.h const Target &target); Target 97 src/Pipeline.h const Target &target = get_target_from_environment()); Target 106 src/Pipeline.h const Target &target = get_target_from_environment()); Target 116 src/Pipeline.h const Target &target = get_target_from_environment()); Target 127 src/Pipeline.h const Target &target = get_target_from_environment()); Target 137 src/Pipeline.h const Target &target = get_target_from_environment()); Target 146 src/Pipeline.h const Target &target = get_target_from_environment()); Target 154 src/Pipeline.h const Target &target = get_target_from_environment()); Target 166 src/Pipeline.h const Target &target = get_target_from_environment()); Target 173 src/Pipeline.h const Target &target = get_target_from_environment()); Target 184 src/Pipeline.h const std::vector<Target> &targets); Target 190 src/Pipeline.h const Target &target = get_target_from_environment(), Target 201 src/Pipeline.h EXPORT void *compile_jit(const Target &target = get_jit_target_from_environment()); Target 345 src/Pipeline.h EXPORT Realization realize(std::vector<int32_t> sizes, const Target &target = Target()); Target 347 src/Pipeline.h const Target &target = Target()); Target 349 src/Pipeline.h const Target &target = Target()); Target 351 src/Pipeline.h const Target &target = Target()); Target 353 src/Pipeline.h const Target &target = Target()); Target 354 src/Pipeline.h EXPORT Realization realize(const Target &target = Target()); Target 366 src/Pipeline.h EXPORT void realize(Realization dst, const Target &target = Target()); Target 382 src/Prefetch.cpp Stmt reduce_prefetch_dimension(Stmt stmt, const Target &t) { Target 388 src/Prefetch.cpp if (t.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 390 src/Prefetch.cpp } else if (t.arch == Target::ARM) { Target 24 src/Prefetch.h Stmt reduce_prefetch_dimension(Stmt stmt, const Target &t); Target 186 src/PrintLoopNest.cpp Target target = get_host_target(); Target 326 src/ScheduleFunctions.cpp Stmt build_produce(Function f, const Target &target) { Target 451 src/ScheduleFunctions.cpp if (target.has_feature(Target::MSAN)) { Target 531 src/ScheduleFunctions.cpp pair<Stmt, Stmt> build_production(Function func, const Target &target) { Target 613 src/ScheduleFunctions.cpp const Target ⌖ Target 615 src/ScheduleFunctions.cpp InjectRealization(const Function &f, bool o, const Target &t) : Target 669 src/ScheduleFunctions.cpp if (target.has_feature(Target::NoAsserts)) { Target 978 src/ScheduleFunctions.cpp bool validate_schedule(Function f, Stmt s, const Target &target, bool is_output, const map<string, Function> &env) { Target 1148 src/ScheduleFunctions.cpp const Target &target, Target 16 src/ScheduleFunctions.h struct Target; Target 28 src/ScheduleFunctions.h const Target &target, Target 11 src/SelectGPUAPI.cpp Target target; Target 34 src/SelectGPUAPI.cpp SelectGPUAPI(Target t) : target(t) { Target 40 src/SelectGPUAPI.cpp Stmt select_gpu_api(Stmt s, Target t) { Target 18 src/SelectGPUAPI.h Stmt select_gpu_api(Stmt s, Target t); Target 26 src/StorageFlattening.cpp const Target &t) Target 36 src/StorageFlattening.cpp const Target ⌖ Target 42 src/StorageFlattening.cpp Expr idx = target.has_feature(Target::LargeBuffers) ? make_zero(Int(64)) : 0; Target 67 src/StorageFlattening.cpp if (target.has_feature(Target::LargeBuffers)) { Target 79 src/StorageFlattening.cpp Expr base = target.has_feature(Target::LargeBuffers) ? make_zero(Int(64)) : 0; Target 81 src/StorageFlattening.cpp if (target.has_feature(Target::LargeBuffers)) { Target 343 src/StorageFlattening.cpp const Target &target) { Target 23 src/StorageFlattening.h const Target &target); Target 54 src/Target.cpp Target calculate_host_target() { Target 55 src/Target.cpp Target::OS os = Target::OSUnknown; Target 57 src/Target.cpp os = Target::Linux; Target 60 src/Target.cpp os = Target::Windows; Target 63 src/Target.cpp os = Target::OSX; Target 70 src/Target.cpp Target::Arch arch = Target::MIPS; Target 71 src/Target.cpp return Target(os, arch, bits); Target 74 src/Target.cpp Target::Arch arch = Target::ARM; Target 75 src/Target.cpp return Target(os, arch, bits); Target 78 src/Target.cpp Target::Arch arch = Target::POWERPC; Target 89 src/Target.cpp std::vector<Target::Feature> initial_features; Target 90 src/Target.cpp if (have_vsx) initial_features.push_back(Target::VSX); Target 91 src/Target.cpp if (arch_2_07) initial_features.push_back(Target::POWER_ARCH_2_07); Target 93 src/Target.cpp return Target(os, arch, bits, initial_features); Target 95 src/Target.cpp Target::Arch arch = Target::X86; Target 115 src/Target.cpp std::vector<Target::Feature> initial_features; Target 116 src/Target.cpp if (have_sse41) initial_features.push_back(Target::SSE41); Target 117 src/Target.cpp if (have_avx) initial_features.push_back(Target::AVX); Target 118 src/Target.cpp if (have_f16c) initial_features.push_back(Target::F16C); Target 119 src/Target.cpp if (have_fma) initial_features.push_back(Target::FMA); Target 140 src/Target.cpp initial_features.push_back(Target::AVX2); Target 143 src/Target.cpp initial_features.push_back(Target::AVX512); Target 145 src/Target.cpp initial_features.push_back(Target::AVX512_KNL); Target 148 src/Target.cpp initial_features.push_back(Target::AVX512_Skylake); Target 151 src/Target.cpp initial_features.push_back(Target::AVX512_Cannonlake); Target 157 src/Target.cpp initial_features.push_back(Target::MinGW); Target 161 src/Target.cpp return Target(os, arch, bits, initial_features); Target 169 src/Target.cpp Target get_host_target() { Target 174 src/Target.cpp static Target host_target = calculate_host_target(); Target 180 src/Target.cpp const std::map<std::string, Target::OS> os_name_map = { Target 181 src/Target.cpp {"os_unknown", Target::OSUnknown}, Target 182 src/Target.cpp {"linux", Target::Linux}, Target 183 src/Target.cpp {"windows", Target::Windows}, Target 184 src/Target.cpp {"osx", Target::OSX}, Target 185 src/Target.cpp {"android", Target::Android}, Target 186 src/Target.cpp {"ios", Target::IOS}, Target 187 src/Target.cpp {"qurt", Target::QuRT}, Target 188 src/Target.cpp {"noos", Target::NoOS}, Target 191 src/Target.cpp bool lookup_os(const std::string &tok, Target::OS &result) { Target 200 src/Target.cpp const std::map<std::string, Target::Arch> arch_name_map = { Target 201 src/Target.cpp {"arch_unknown", Target::ArchUnknown}, Target 202 src/Target.cpp {"x86", Target::X86}, Target 203 src/Target.cpp {"arm", Target::ARM}, Target 204 src/Target.cpp {"mips", Target::MIPS}, Target 205 src/Target.cpp {"powerpc", Target::POWERPC}, Target 206 src/Target.cpp {"hexagon", Target::Hexagon}, Target 209 src/Target.cpp bool lookup_arch(const std::string &tok, Target::Arch &result) { Target 218 src/Target.cpp const std::map<std::string, Target::Feature> feature_name_map = { Target 219 src/Target.cpp {"jit", Target::JIT}, Target 220 src/Target.cpp {"debug", Target::Debug}, Target 221 src/Target.cpp {"no_asserts", Target::NoAsserts}, Target 222 src/Target.cpp {"no_bounds_query", Target::NoBoundsQuery}, Target 223 src/Target.cpp {"sse41", Target::SSE41}, Target 224 src/Target.cpp {"avx", Target::AVX}, Target 225 src/Target.cpp {"avx2", Target::AVX2}, Target 226 src/Target.cpp {"fma", Target::FMA}, Target 227 src/Target.cpp {"fma4", Target::FMA4}, Target 228 src/Target.cpp {"f16c", Target::F16C}, Target 229 src/Target.cpp {"armv7s", Target::ARMv7s}, Target 230 src/Target.cpp {"no_neon", Target::NoNEON}, Target 231 src/Target.cpp {"vsx", Target::VSX}, Target 232 src/Target.cpp {"power_arch_2_07", Target::POWER_ARCH_2_07}, Target 233 src/Target.cpp {"cuda", Target::CUDA}, Target 234 src/Target.cpp {"cuda_capability_30", Target::CUDACapability30}, Target 235 src/Target.cpp {"cuda_capability_32", Target::CUDACapability32}, Target 236 src/Target.cpp {"cuda_capability_35", Target::CUDACapability35}, Target 237 src/Target.cpp {"cuda_capability_50", Target::CUDACapability50}, Target 238 src/Target.cpp {"opencl", Target::OpenCL}, Target 239 src/Target.cpp {"cl_doubles", Target::CLDoubles}, Target 240 src/Target.cpp {"opengl", Target::OpenGL}, Target 241 src/Target.cpp {"openglcompute", Target::OpenGLCompute}, Target 242 src/Target.cpp {"user_context", Target::UserContext}, Target 243 src/Target.cpp {"matlab", Target::Matlab}, Target 244 src/Target.cpp {"profile", Target::Profile}, Target 245 src/Target.cpp {"no_runtime", Target::NoRuntime}, Target 246 src/Target.cpp {"metal", Target::Metal}, Target 247 src/Target.cpp {"mingw", Target::MinGW}, Target 248 src/Target.cpp {"c_plus_plus_name_mangling", Target::CPlusPlusMangling}, Target 249 src/Target.cpp {"large_buffers", Target::LargeBuffers}, Target 250 src/Target.cpp {"hvx_64", Target::HVX_64}, Target 251 src/Target.cpp {"hvx_128", Target::HVX_128}, Target 252 src/Target.cpp {"hvx_v62", Target::HVX_v62}, Target 253 src/Target.cpp {"hvx_shared_object", Target::HVX_shared_object}, Target 254 src/Target.cpp {"fuzz_float_stores", Target::FuzzFloatStores}, Target 255 src/Target.cpp {"soft_float_abi", Target::SoftFloatABI}, Target 256 src/Target.cpp {"msan", Target::MSAN}, Target 257 src/Target.cpp {"avx512", Target::AVX512}, Target 258 src/Target.cpp {"avx512_knl", Target::AVX512_KNL}, Target 259 src/Target.cpp {"avx512_skylake", Target::AVX512_Skylake}, Target 260 src/Target.cpp {"avx512_cannonlake", Target::AVX512_Cannonlake}, Target 261 src/Target.cpp {"trace_loads", Target::TraceLoads}, Target 262 src/Target.cpp {"trace_stores", Target::TraceStores}, Target 263 src/Target.cpp {"trace_realizations", Target::TraceRealizations}, Target 266 src/Target.cpp bool lookup_feature(const std::string &tok, Target::Feature &result) { Target 277 src/Target.cpp Target get_target_from_environment() { Target 282 src/Target.cpp return Target(target); Target 286 src/Target.cpp Target get_jit_target_from_environment() { Target 287 src/Target.cpp Target host = get_host_target(); Target 288 src/Target.cpp host.set_feature(Target::JIT); Target 293 src/Target.cpp Target t(target); Target 294 src/Target.cpp t.set_feature(Target::JIT); Target 304 src/Target.cpp bool merge_string(Target &t, const std::string &target) { Target 319 src/Target.cpp Target::Feature feature; Target 358 src/Target.cpp if (!(arch_specified && t.arch == Target::ArchUnknown) || Target 359 src/Target.cpp !(os_specified && t.os == Target::OSUnknown) || Target 414 src/Target.cpp Target::Target(const std::string &target) { Target 415 src/Target.cpp Target host = get_host_target(); Target 435 src/Target.cpp Target::Target(const char *s) { Target 436 src/Target.cpp *this = Target(std::string(s)); Target 439 src/Target.cpp bool Target::validate_target_string(const std::string &s) { Target 440 src/Target.cpp Target t; Target 444 src/Target.cpp std::string Target::to_string() const { Target 468 src/Target.cpp bool Target::supported() const { Target 471 src/Target.cpp bad |= arch == Target::ARM && bits == 32; Target 474 src/Target.cpp bad |= arch == Target::ARM && bits == 64; Target 477 src/Target.cpp bad |= arch == Target::X86; Target 480 src/Target.cpp bad |= arch == Target::MIPS; Target 483 src/Target.cpp bad |= arch == Target::POWERPC; Target 486 src/Target.cpp bad |= arch == Target::Hexagon; Target 489 src/Target.cpp bad |= has_feature(Target::CUDA); Target 492 src/Target.cpp bad |= has_feature(Target::OpenCL); Target 495 src/Target.cpp bad |= has_feature(Target::Metal); Target 498 src/Target.cpp bad |= has_feature(Target::OpenGL) || has_feature(Target::OpenGLCompute); Target 503 src/Target.cpp bool Target::supports_device_api(DeviceAPI api) const { Target 507 src/Target.cpp case DeviceAPI::Default_GPU: return has_gpu_feature() || has_feature(Target::OpenGLCompute); Target 508 src/Target.cpp case DeviceAPI::Hexagon: return has_feature(Target::HVX_64) || has_feature(Target::HVX_128); Target 513 src/Target.cpp Target::Feature target_feature_for_device_api(DeviceAPI api) { Target 515 src/Target.cpp case DeviceAPI::CUDA: return Target::CUDA; Target 516 src/Target.cpp case DeviceAPI::OpenCL: return Target::OpenCL; Target 517 src/Target.cpp case DeviceAPI::GLSL: return Target::OpenGL; Target 518 src/Target.cpp case DeviceAPI::OpenGLCompute: return Target::OpenGLCompute; Target 519 src/Target.cpp case DeviceAPI::Metal: return Target::Metal; Target 520 src/Target.cpp case DeviceAPI::Hexagon: return Target::HVX_128; Target 521 src/Target.cpp default: return Target::FeatureEnd; Target 528 src/Target.cpp Target t; Target 532 src/Target.cpp for (int i = 0; i < (int)(Target::FeatureEnd); i++) { Target 534 src/Target.cpp internal_assert(t.has_feature((Target::Feature)i)) << "Feature " << i << " not in feature_names_map.\n"; Target 87 src/Target.h Target() : os(OSUnknown), arch(ArchUnknown), bits(0) {} Target 88 src/Target.h Target(OS o, Arch a, int b, std::vector<Feature> initial_features = std::vector<Feature>()) Target 106 src/Target.h EXPORT explicit Target(const std::string &s); Target 107 src/Target.h EXPORT explicit Target(const char *s); Target 153 src/Target.h Target with_feature(Feature f) const { Target 154 src/Target.h Target copy = *this; Target 163 src/Target.h Target without_feature(Feature f) const { Target 164 src/Target.h Target copy = *this; Target 187 src/Target.h (!has_feature(Target::OpenCL) || has_feature(Target::CLDoubles)); Target 199 src/Target.h bool operator==(const Target &other) const { Target 206 src/Target.h bool operator!=(const Target &other) const { Target 232 src/Target.h if (arch == Target::Hexagon) { Target 235 src/Target.h if (has_feature(Halide::Target::HVX_128)) { Target 237 src/Target.h } else if (has_feature(Halide::Target::HVX_64)) { Target 247 src/Target.h } else if (arch == Target::X86) { Target 248 src/Target.h if (is_integer && (has_feature(Halide::Target::AVX512_Skylake) || Target 249 src/Target.h has_feature(Halide::Target::AVX512_Cannonlake))) { Target 252 src/Target.h } else if (t.is_float() && (has_feature(Halide::Target::AVX512) || Target 253 src/Target.h has_feature(Halide::Target::AVX512_KNL) || Target 254 src/Target.h has_feature(Halide::Target::AVX512_Skylake) || Target 255 src/Target.h has_feature(Halide::Target::AVX512_Cannonlake))) { Target 258 src/Target.h } else if (has_feature(Halide::Target::AVX2)) { Target 261 src/Target.h } else if (!is_integer && has_feature(Halide::Target::AVX)) { Target 302 src/Target.h EXPORT Target get_host_target(); Target 306 src/Target.h EXPORT Target get_target_from_environment(); Target 313 src/Target.h EXPORT Target get_jit_target_from_environment(); Target 318 src/Target.h EXPORT Target::Feature target_feature_for_device_api(DeviceAPI api); Target 46 src/Tracing.cpp InjectTracing(const map<string, Function> &e, const Target &t) Target 48 src/Tracing.cpp trace_all_loads = t.has_feature(Target::TraceLoads); Target 49 src/Tracing.cpp trace_all_stores = t.has_feature(Target::TraceStores); Target 50 src/Tracing.cpp trace_all_realizations = t.has_feature(Target::TraceRealizations); Target 262 src/Tracing.cpp const Target &t) { Target 23 src/Tracing.h const Target &Target); Target 239 src/VectorizeLoops.cpp const Target ⌖ Target 248 src/VectorizeLoops.cpp internal_assert(target.features_any_of({Target::HVX_64, Target::HVX_128})) Target 251 src/VectorizeLoops.cpp } else if (target.arch == Target::X86) { Target 341 src/VectorizeLoops.cpp PredicateLoadStore(string v, Expr vpred, bool in_hexagon, const Target &t) : Target 361 src/VectorizeLoops.cpp const Target ⌖ Target 910 src/VectorizeLoops.cpp VectorSubs(string v, Expr r, bool in_hexagon, const Target &t) : Target 918 src/VectorizeLoops.cpp const Target ⌖ Target 952 src/VectorizeLoops.cpp VectorizeLoops(const Target &t) : target(t), in_hexagon(false) {} Target 957 src/VectorizeLoops.cpp Stmt vectorize_loops(Stmt s, const Target &t) { Target 18 src/VectorizeLoops.h Stmt vectorize_loops(Stmt s, const Target &t); Target 224 src/WrapExternStages.cpp module.target().has_feature(Target::CPlusPlusMangling))) { Target 238 src/WrapExternStages.cpp if (!module.target().has_feature(Target::CPlusPlusMangling)) { Target 54 test/correctness/bit_counting.cpp void schedule(Func f, const Target &t) { Target 56 test/correctness/bit_counting.cpp if (t.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 64 test/correctness/bit_counting.cpp int test_bit_counting(const Target &target) { Target 134 test/correctness/bit_counting.cpp Target target = get_jit_target_from_environment(); Target 21 test/correctness/boundary_conditions.cpp void schedule_test(Func f, int vector_width, const Target &t) { Target 27 test/correctness/boundary_conditions.cpp } else if (t.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 37 test/correctness/boundary_conditions.cpp Target t) { Target 63 test/correctness/boundary_conditions.cpp Target t) { Target 87 test/correctness/boundary_conditions.cpp Target t) { Target 115 test/correctness/boundary_conditions.cpp Target t) { Target 147 test/correctness/boundary_conditions.cpp Target t) { Target 174 test/correctness/boundary_conditions.cpp bool test_all(int vector_width, Target t) { Target 375 test/correctness/boundary_conditions.cpp Target target = get_jit_target_from_environment(); Target 20 test/correctness/bounds.cpp Target target = get_jit_target_from_environment(); Target 26 test/correctness/bounds.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 17 test/correctness/bounds_inference.cpp Target target = get_jit_target_from_environment(); Target 23 test/correctness/bounds_inference.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 17 test/correctness/chunk.cpp Target target = get_jit_target_from_environment(); Target 18 test/correctness/chunk.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 20 test/correctness/compile_to_multitarget.cpp std::vector<Target> targets = { Target 21 test/correctness/compile_to_multitarget.cpp Target("host-profile-debug"), Target 22 test/correctness/compile_to_multitarget.cpp Target("host-profile"), Target 69 test/correctness/convolution.cpp Target target = get_jit_target_from_environment(); Target 81 test/correctness/convolution.cpp } else if (target.has_feature(Target::HVX_64) || target.has_feature(Target::HVX_128)) { Target 82 test/correctness/convolution.cpp int hvx_vector_width = target.has_feature(Target::HVX_128) ? 64 : 32; Target 42 test/correctness/convolution_multiple_kernels.cpp Target target = get_jit_target_from_environment(); Target 46 test/correctness/convolution_multiple_kernels.cpp } else if (target.has_feature(Target::HVX_64)) { Target 48 test/correctness/convolution_multiple_kernels.cpp } else if (target.has_feature(Target::HVX_128)) { Target 33 test/correctness/cross_compilation.cpp Target target(t); Target 38 test/correctness/cross_compilation.cpp if (target.os == Target::Windows && !target.has_feature(Target::MinGW)) { Target 25 test/correctness/debug_to_file.cpp Target target = get_jit_target_from_environment(); Target 27 test/correctness/debug_to_file_reorder.cpp Target target = get_jit_target_from_environment(); Target 29 test/correctness/dilate3x3.cpp Target target = get_jit_target_from_environment(); Target 33 test/correctness/dilate3x3.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 17 test/correctness/external_code.cpp Target target = get_jit_target_from_environment(); Target 31 test/correctness/func_lifetime.cpp Target target = get_jit_target_from_environment(); Target 34 test/correctness/func_lifetime.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 57 test/correctness/func_lifetime.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 28 test/correctness/func_lifetime_2.cpp Target target = get_jit_target_from_environment(); Target 38 test/correctness/func_lifetime_2.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 57 test/correctness/func_lifetime_2.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 6 test/correctness/fuzz_float_stores.cpp Target target = get_jit_target_from_environment(); Target 7 test/correctness/fuzz_float_stores.cpp Target target_fuzzed = target.with_feature(Target::FuzzFloatStores); Target 16 test/correctness/gpu_assertion_in_kernel.cpp Target t = get_jit_target_from_environment(); Target 17 test/correctness/gpu_assertion_in_kernel.cpp if (!t.has_feature(Target::CUDA)) { Target 25 test/correctness/gpu_assertion_in_kernel.cpp t.set_feature(Target::Debug); Target 7 test/correctness/gpu_cpu_simultaneous_read.cpp Target target = get_jit_target_from_environment(); Target 8 test/correctness/gpu_data_flows.cpp Target target = get_jit_target_from_environment(); Target 37 test/correctness/gpu_data_flows.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 71 test/correctness/gpu_data_flows.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 14 test/correctness/gpu_free_sync.cpp Target t = get_jit_target_from_environment(); Target 16 test/correctness/gpu_free_sync.cpp if (t.has_feature(Target::OpenCL) || Target 17 test/correctness/gpu_free_sync.cpp t.has_feature(Target::CUDA)) { Target 7 test/correctness/gpu_give_input_buffers_device_allocations.cpp Target t(get_jit_target_from_environment()); Target 6 test/correctness/gpu_jit_explicit_copy_to_device.cpp Target target = get_jit_target_from_environment(); Target 8 test/correctness/gpu_jit_explicit_copy_to_device.cpp if (!target.has_gpu_feature() && !target.has_feature(Target::OpenGLCompute)) { Target 23 test/correctness/gpu_large_alloc.cpp Target target = get_jit_target_from_environment(); Target 24 test/correctness/gpu_large_alloc.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 7 test/correctness/gpu_mixed_dimensionality.cpp Target target = get_jit_target_from_environment(); Target 8 test/correctness/gpu_mixed_dimensionality.cpp if (!target.has_gpu_feature() && !target.has_feature(Target::OpenGLCompute)) { Target 20 test/correctness/gpu_mixed_shared_mem_types.cpp Target t(get_jit_target_from_environment()); Target 38 test/correctness/gpu_mixed_shared_mem_types.cpp if (t.has_feature(Target::Metal)) { Target 49 test/correctness/gpu_mixed_shared_mem_types.cpp if (t.has_feature(Target::Metal) && Target 72 test/correctness/gpu_mixed_shared_mem_types.cpp if (t.has_feature(Target::Metal)) { Target 17 test/correctness/gpu_multi_device.cpp Target jit_target(get_jit_target_from_environment()); Target 18 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::OpenCL)) { Target 24 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::CUDA)) { Target 30 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::Metal)) { Target 36 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::OpenGL)) { Target 42 test/correctness/gpu_multi_device.cpp if (jit_target.has_feature(Target::OpenGLCompute)) { Target 18 test/correctness/gpu_multi_kernel.cpp Target target = get_jit_target_from_environment(); Target 19 test/correctness/gpu_multi_kernel.cpp if (target.has_gpu_feature() || target.has_feature(Target::OpenGLCompute)) { Target 7 test/correctness/gpu_non_contiguous_copy.cpp Target target = get_jit_target_from_environment(); Target 47 test/correctness/gpu_non_contiguous_copy.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 23 test/correctness/gpu_object_lifetime_1.cpp Target target = get_jit_target_from_environment(); Target 26 test/correctness/gpu_object_lifetime_1.cpp target.set_feature(Target::Debug); Target 34 test/correctness/gpu_object_lifetime_1.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 23 test/correctness/gpu_object_lifetime_2.cpp Target target = get_jit_target_from_environment(); Target 26 test/correctness/gpu_object_lifetime_2.cpp target.set_feature(Target::Debug); Target 40 test/correctness/gpu_object_lifetime_2.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 23 test/correctness/gpu_object_lifetime_3.cpp Target target = get_jit_target_from_environment(); Target 26 test/correctness/gpu_object_lifetime_3.cpp target.set_feature(Target::Debug); Target 45 test/correctness/gpu_object_lifetime_3.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 8 test/correctness/gpu_vectorized_shared_memory.cpp if (get_jit_target_from_environment().has_feature(Target::OpenCL)) { Target 16 test/correctness/hello_gpu.cpp Target target = get_jit_target_from_environment(); Target 79 test/correctness/host_alignment.cpp Target t = get_jit_target_from_environment(); Target 80 test/correctness/host_alignment.cpp t.set_feature(Target::NoBoundsQuery); Target 30 test/correctness/input_larger_than_two_gigs.cpp Target t = get_jit_target_from_environment(); Target 34 test/correctness/input_larger_than_two_gigs.cpp grand_total.compile_jit(t.with_feature(Target::LargeBuffers)); Target 25 test/correctness/interleave.cpp Target t = get_jit_target_from_environment(); Target 26 test/correctness/interleave.cpp t.set_feature(Target::NoBoundsQuery); Target 27 test/correctness/interleave.cpp t.set_feature(Target::NoAsserts); Target 81 test/correctness/interleave.cpp Target t = get_host_target(); Target 82 test/correctness/interleave.cpp if (t.arch == Target::ARM && t.bits == 32) { Target 16 test/correctness/interleave_rgb.cpp Target target = get_jit_target_from_environment(); Target 26 test/correctness/interleave_rgb.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 13 test/correctness/interleave_x.cpp Target target = get_jit_target_from_environment(); Target 17 test/correctness/interleave_x.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 75 test/correctness/inverse.cpp Target t = get_jit_target_from_environment(); Target 22 test/correctness/leak_device_memory.cpp Target target = get_jit_target_from_environment(); Target 25 test/correctness/leak_device_memory.cpp target.set_feature(Target::Debug); Target 47 test/correctness/leak_device_memory.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 77 test/correctness/load_library.cpp Target target = get_jit_target_from_environment().with_feature(Target::OpenCL); Target 31 test/correctness/logical.cpp Target target = get_jit_target_from_environment(); Target 34 test/correctness/logical.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 64 test/correctness/logical.cpp Target target = get_jit_target_from_environment(); Target 67 test/correctness/logical.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 94 test/correctness/logical.cpp Target target = get_jit_target_from_environment(); Target 98 test/correctness/logical.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 124 test/correctness/logical.cpp Target target = get_jit_target_from_environment(); Target 127 test/correctness/logical.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 176 test/correctness/logical.cpp Target target = get_jit_target_from_environment(); Target 179 test/correctness/logical.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 58 test/correctness/math.cpp Target target = get_jit_target_from_environment(); \ Target 67 test/correctness/math.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { \ Target 83 test/correctness/math.cpp Target target = get_jit_target_from_environment(); \ Target 92 test/correctness/math.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { \ Target 46 test/correctness/median3x3.cpp Target target = get_jit_target_from_environment(); Target 50 test/correctness/median3x3.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 276 test/correctness/mul_div_mod.cpp bool mul(int vector_width, ScheduleVariant scheduling, const Target &target) { Target 351 test/correctness/mul_div_mod.cpp bool div_mod(int vector_width, ScheduleVariant scheduling, const Target &target) { Target 504 test/correctness/mul_div_mod.cpp bool test_mul(int vector_width, ScheduleVariant scheduling, Target target) { Target 531 test/correctness/mul_div_mod.cpp bool test_div_mod(int vector_width, ScheduleVariant scheduling, Target target) { Target 545 test/correctness/mul_div_mod.cpp Target target = get_jit_target_from_environment(); Target 550 test/correctness/mul_div_mod.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 556 test/correctness/mul_div_mod.cpp if (target.has_feature(Target::Metal)) { Target 560 test/correctness/mul_div_mod.cpp } else if (target.has_feature(Target::HVX_64)) { Target 562 test/correctness/mul_div_mod.cpp } else if (target.has_feature(Target::HVX_128)) { Target 13 test/correctness/newtons_method.cpp Target target = get_jit_target_from_environment(); Target 14 test/correctness/newtons_method.cpp if (target.has_feature(Target::OpenCL) && Target 15 test/correctness/newtons_method.cpp !target.has_feature(Target::CLDoubles) && Target 28 test/correctness/output_larger_than_two_gigs.cpp Target t = get_jit_target_from_environment(); Target 31 test/correctness/output_larger_than_two_gigs.cpp identity_uint8.compile_jit(t.with_feature(Target::LargeBuffers)); Target 26 test/correctness/param.cpp Target target = get_jit_target_from_environment(); Target 30 test/correctness/param.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 100 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 101 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 103 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 129 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 130 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 132 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 167 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 168 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 170 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 200 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 201 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 203 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 235 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 236 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 238 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 270 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 271 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 273 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 302 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 303 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 306 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 337 test/correctness/predicated_store_load.cpp Target target = get_jit_target_from_environment(); Target 338 test/correctness/predicated_store_load.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 340 test/correctness/predicated_store_load.cpp } else if (target.arch == Target::X86) { Target 21 test/correctness/print.cpp if (get_jit_target_from_environment().has_feature(Target::Profile)) { Target 25 test/correctness/realize_larger_than_two_gigs.cpp Target t = get_jit_target_from_environment(); Target 26 test/correctness/realize_larger_than_two_gigs.cpp t.set_feature(Target::LargeBuffers); Target 36 test/correctness/realize_larger_than_two_gigs.cpp grand_total.compile_jit(t.without_feature(Target::LargeBuffers)); Target 62 test/correctness/simd_op_check.cpp Target target; Target 80 test/correctness/simd_op_check.cpp .with_feature(Target::NoBoundsQuery) Target 81 test/correctness/simd_op_check.cpp .with_feature(Target::NoAsserts) Target 82 test/correctness/simd_op_check.cpp .with_feature(Target::NoRuntime); Target 83 test/correctness/simd_op_check.cpp use_avx512_knl = target.has_feature(Target::AVX512_KNL); Target 84 test/correctness/simd_op_check.cpp use_avx512_cannonlake = target.has_feature(Target::AVX512_Cannonlake); Target 85 test/correctness/simd_op_check.cpp use_avx512_skylake = use_avx512_cannonlake || target.has_feature(Target::AVX512_Skylake); Target 86 test/correctness/simd_op_check.cpp use_avx512 = use_avx512_knl || use_avx512_skylake || use_avx512_cannonlake || target.has_feature(Target::AVX512); Target 87 test/correctness/simd_op_check.cpp use_avx2 = use_avx512 || target.has_feature(Target::AVX2); Target 88 test/correctness/simd_op_check.cpp use_avx = use_avx2 || target.has_feature(Target::AVX); Target 89 test/correctness/simd_op_check.cpp use_sse41 = use_avx || target.has_feature(Target::SSE41); Target 98 test/correctness/simd_op_check.cpp use_vsx = target.has_feature(Target::VSX); Target 99 test/correctness/simd_op_check.cpp use_power_arch_2_07 = target.has_feature(Target::POWER_ARCH_2_07); Target 130 test/correctness/simd_op_check.cpp Target host_target = get_host_target(); Target 137 test/correctness/simd_op_check.cpp for (Target::Feature f : {Target::SSE41, Target::AVX, Target 138 test/correctness/simd_op_check.cpp Target::AVX2, Target::AVX512, Target 139 test/correctness/simd_op_check.cpp Target::FMA, Target::FMA4, Target::F16C, Target 140 test/correctness/simd_op_check.cpp Target::VSX, Target::POWER_ARCH_2_07, Target 141 test/correctness/simd_op_check.cpp Target::ARMv7s, Target::NoNEON, Target::MinGW}) { Target 243 test/correctness/simd_op_check.cpp Realization r = error.realize(target.without_feature(Target::NoRuntime)); Target 1445 test/correctness/simd_op_check.cpp if (target.has_feature(Target::HVX_64)) { Target 1447 test/correctness/simd_op_check.cpp } else if (target.has_feature(Target::HVX_128)) { Target 1451 test/correctness/simd_op_check.cpp bool is_v62 = target.has_feature(Target::HVX_v62); Target 2042 test/correctness/simd_op_check.cpp if (target.arch == Target::X86) { Target 2044 test/correctness/simd_op_check.cpp } else if (target.arch == Target::ARM) { Target 2046 test/correctness/simd_op_check.cpp } else if (target.arch == Target::Hexagon) { Target 2048 test/correctness/simd_op_check.cpp } else if (target.arch == Target::POWERPC) { Target 7 test/correctness/target.cpp Target t1, t2; Target 12 test/correctness/target.cpp t2 = Target(""); Target 18 test/correctness/target.cpp t1 = Target(); Target 24 test/correctness/target.cpp if (!Target::validate_target_string(ts)) { Target 28 test/correctness/target.cpp t2 = Target(ts); Target 35 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41}); Target 41 test/correctness/target.cpp if (!Target::validate_target_string(ts)) { Target 47 test/correctness/target.cpp t1 = Target(Target::Android, Target::ARM, 32, Target 48 test/correctness/target.cpp {Target::JIT, Target::SSE41, Target::AVX, Target::AVX2, Target 49 test/correctness/target.cpp Target::CUDA, Target::OpenCL, Target::OpenGL, Target::OpenGLCompute, Target 50 test/correctness/target.cpp Target::Debug}); Target 56 test/correctness/target.cpp if (!Target::validate_target_string(ts)) { Target 63 test/correctness/target.cpp if (Target::validate_target_string(ts)) { Target 69 test/correctness/target.cpp if (Target::validate_target_string(ts)) { Target 77 test/correctness/target.cpp if (Target::validate_target_string(ts)) { Target 83 test/correctness/target.cpp if (Target::validate_target_string(ts)) { Target 90 test/correctness/target.cpp if (Target::validate_target_string(ts)) { Target 96 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41}); Target 97 test/correctness/target.cpp t2 = t1.with_feature(Target::NoAsserts).with_feature(Target::NoBoundsQuery); Target 105 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41, Target::NoAsserts}); Target 107 test/correctness/target.cpp t2 = t1.without_feature(Target::NoAsserts).without_feature(Target::NoBoundsQuery); Target 116 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41}); Target 136 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41, Target::AVX}); Target 155 test/correctness/target.cpp t1 = Target(Target::Linux, Target::X86, 32, {Target::SSE41, Target::AVX, Target::AVX2}); Target 174 test/correctness/target.cpp t1 = Target(Target::Linux, Target::ARM, 32); Target 202 test/correctness/trim_no_ops.cpp Target gpu_target(get_host_target()); Target 203 test/correctness/trim_no_ops.cpp gpu_target.set_feature(Target::CUDA); Target 7 test/correctness/tuple_reduction.cpp Target target = get_jit_target_from_environment(); Target 23 test/correctness/tuple_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 60 test/correctness/tuple_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 67 test/correctness/tuple_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 110 test/correctness/tuple_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 156 test/correctness/tuple_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 24 test/correctness/vector_cast.cpp bool is_type_supported(int vec_width, const Target &target) { Target 29 test/correctness/vector_cast.cpp bool is_type_supported<float>(int vec_width, const Target &target) { Target 30 test/correctness/vector_cast.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 38 test/correctness/vector_cast.cpp bool is_type_supported<double>(int vec_width, const Target &target) { Target 39 test/correctness/vector_cast.cpp if (target.has_feature(Target::OpenCL) && Target 40 test/correctness/vector_cast.cpp !target.has_feature(Target::CLDoubles)) { Target 42 test/correctness/vector_cast.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 50 test/correctness/vector_cast.cpp bool test(int vec_width, const Target &target) { Target 75 test/correctness/vector_cast.cpp if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 116 test/correctness/vector_cast.cpp bool test_all(int vec_width, const Target &target) { Target 141 test/correctness/vector_cast.cpp Target target = get_jit_target_from_environment(); Target 40 test/correctness/widening_reduction.cpp Target target = get_jit_target_from_environment(); Target 43 test/correctness/widening_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 82 test/correctness/widening_reduction.cpp Target target = get_jit_target_from_environment(); Target 85 test/correctness/widening_reduction.cpp } else if (target.features_any_of({Target::HVX_64, Target::HVX_128})) { Target 7 test/error/thread_id_outside_block_id.cpp Target t = get_jit_target_from_environment(); Target 8 test/error/thread_id_outside_block_id.cpp t.set_feature(Target::CUDA); Target 7 test/error/unknown_target.cpp Target t; Target 16 test/generator/acquire_release_generator.cpp Target target = get_target(); Target 16 test/generator/cleanup_on_error_generator.cpp Target target = get_target(); Target 16 test/generator/cxx_mangling_define_extern_generator.cpp assert(get_target().has_feature(Target::CPlusPlusMangling)); Target 64 test/generator/cxx_mangling_generator.cpp assert(get_target().has_feature(Target::CPlusPlusMangling)); Target 12 test/generator/error_codes_generator.cpp target.set(get_target().without_feature(Target::LargeBuffers)); Target 20 test/generator/external_code_generator.cpp Target target = get_target(); Target 13 test/generator/gpu_object_lifetime_generator.cpp Target target = get_target(); Target 19 test/generator/gpu_object_lifetime_generator.cpp target.set_feature(Target::Debug); Target 16 test/generator/gpu_only_generator.cpp Target target = get_target(); Target 47 test/generator/memory_profiler_mandelbrot_generator.cpp target.set(get_target().with_feature(Target::Profile)); Target 10 test/generator/multitarget_generator.cpp if (get_target().has_feature(Target::Debug)) { Target 24 test/generator/user_context_generator.cpp target.set(get_target().without_feature(Target::Profile)); Target 12 test/opengl/conv_select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/copy_pixels.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 11 test/opengl/copy_to_device.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/copy_to_host.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/float_texture.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/inline_reduction.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 15 test/opengl/lut.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 11 test/opengl/multiple_stages.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 15 test/opengl/produce.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 30 test/opengl/rewrap_texture.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 303 test/opengl/save_state.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 13 test/opengl/select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 50 test/opengl/select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 87 test/opengl/select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 133 test/opengl/select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 169 test/opengl/select.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/set_pixels.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 14 test/opengl/shifted_domains.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 19 test/opengl/special_funcs.cpp Target cpu_target = get_host_target(); Target 20 test/opengl/special_funcs.cpp Target gpu_target = get_host_target().with_feature(Target::OpenGL); Target 10 test/opengl/sum_reduction.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/sumcolor_reduction.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 10 test/opengl/tuples.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 54 test/opengl/varying.cpp bool perform_test(const char *label, const Target target, Func f, int expected_nvarying, float tol, std::function<float(int x, int y, int c)> expected_val) { Target 84 test/opengl/varying.cpp bool test0(const Target target, Var &x, Var &y, Var &c) { Target 125 test/opengl/varying.cpp bool test1(const Target target, Var &x, Var &y, Var &c) { Target 146 test/opengl/varying.cpp bool test2(const Target target, Var &x, Var &y, Var &c) { Target 165 test/opengl/varying.cpp bool test3(const Target target, Var &x, Var &y, Var &c) { Target 198 test/opengl/varying.cpp const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Target 12 test/performance/boundary_conditions.cpp Target target; Target 107 test/performance/memory_profiler.cpp Target t = get_jit_target_from_environment().with_feature(Target::Profile); Target 50 test/performance/profiler.cpp Target t = get_jit_target_from_environment().with_feature(Target::Profile); Target 114 test/performance/wrap.cpp Target target = get_jit_target_from_environment(); Target 55 tutorial/lesson_11_cross_compilation.cpp Target target; Target 56 tutorial/lesson_11_cross_compilation.cpp target.os = Target::Android; // The operating system Target 57 tutorial/lesson_11_cross_compilation.cpp target.arch = Target::ARM; // The CPU architecture Target 59 tutorial/lesson_11_cross_compilation.cpp std::vector<Target::Feature> arm_features; // A list of features to set Target 65 tutorial/lesson_11_cross_compilation.cpp target.os = Target::Windows; Target 66 tutorial/lesson_11_cross_compilation.cpp target.arch = Target::X86; Target 68 tutorial/lesson_11_cross_compilation.cpp std::vector<Target::Feature> x86_features; Target 69 tutorial/lesson_11_cross_compilation.cpp x86_features.push_back(Target::AVX); Target 70 tutorial/lesson_11_cross_compilation.cpp x86_features.push_back(Target::SSE41); Target 80 tutorial/lesson_11_cross_compilation.cpp target.os = Target::IOS; Target 81 tutorial/lesson_11_cross_compilation.cpp target.arch = Target::ARM; Target 83 tutorial/lesson_11_cross_compilation.cpp std::vector<Target::Feature> armv7s_features; Target 84 tutorial/lesson_11_cross_compilation.cpp armv7s_features.push_back(Target::ARMv7s); Target 174 tutorial/lesson_12_using_the_gpu.cpp Target target = get_host_target(); Target 180 tutorial/lesson_12_using_the_gpu.cpp if (target.os == Target::OSX) { Target 181 tutorial/lesson_12_using_the_gpu.cpp target.set_feature(Target::Metal); Target 183 tutorial/lesson_12_using_the_gpu.cpp target.set_feature(Target::OpenCL);