Function 39 apps/fft/funct.h explicit FuncT(Halide::Internal::Function f) : Func(f) {} Function 199 python_bindings/python/Func_Ref.cpp p::class_<h::Internal::Function>("InternalFunction", p::no_init); Function 62 src/AddImageChecks.cpp const vector<Function> &outputs, Function 65 src/AddImageChecks.cpp const map<string, Function> &env, Function 77 src/AddImageChecks.cpp for (Function f : outputs) { Function 151 src/AddImageChecks.cpp for (Function f : outputs) { Function 176 src/AddImageChecks.cpp Function f = env.find(order[i])->second; Function 26 src/AddImageChecks.h const std::vector<Function> &outputs, Function 29 src/AddImageChecks.h const std::map<std::string, Function> &env, Function 23 src/AllocationBoundsInference.cpp const map<string, Function> &env; Function 28 src/AllocationBoundsInference.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 30 src/AllocationBoundsInference.cpp Function f = iter->second; Function 126 src/AllocationBoundsInference.cpp AllocationInference(const map<string, Function> &e, const FuncValueBounds &fb) : Function 129 src/AllocationBoundsInference.cpp for (map<string, Function>::const_iterator iter = e.begin(); Function 131 src/AllocationBoundsInference.cpp Function f = iter->second; Function 137 src/AllocationBoundsInference.cpp Function input(arg.func); Function 146 src/AllocationBoundsInference.cpp const map<string, Function> &env, Function 17 src/AllocationBoundsInference.h const std::map<std::string, Function> &env, Function 1419 src/Bounds.cpp const map<string, Function> &env) { Function 1423 src/Bounds.cpp Function f = env.find(order[i])->second; Function 145 src/Bounds.h const std::map<std::string, Function> &env); Function 109 src/BoundsInference.cpp const vector<Function> &funcs; Function 123 src/BoundsInference.cpp Function func; Function 494 src/BoundsInference.cpp Function input(args[j].func); Function 635 src/BoundsInference.cpp BoundsInference(const vector<Function> &f, Function 636 src/BoundsInference.cpp const vector<Function> &outputs, Function 683 src/BoundsInference.cpp Function func = f[i-1]; Function 735 src/BoundsInference.cpp Function f(args[j].func); Function 807 src/BoundsInference.cpp for (Function output : outputs) { Function 866 src/BoundsInference.cpp Function f; Function 993 src/BoundsInference.cpp const vector<Function> &outputs, Function 995 src/BoundsInference.cpp const map<string, Function> &env, Function 999 src/BoundsInference.cpp vector<Function> funcs(order.size()); Function 22 src/BoundsInference.h const std::vector<Function> &outputs, Function 24 src/BoundsInference.h const std::map<std::string, Function> &environment, Function 737 src/CodeGen_ARM.cpp llvm::Function *fn = dyn_cast_or_null<llvm::Function>(module->getOrInsertFunction(instr.str(), fn_type)); Function 794 src/CodeGen_ARM.cpp llvm::Function *fn = module->getFunction(builtin.str()); Function 926 src/CodeGen_ARM.cpp llvm::Function *fn = module->getFunction(builtin.str()); Function 472 src/CodeGen_GPU_Host.cpp llvm::Function *dev_run_fn = module->getFunction(run_fn_name); Function 571 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(int id, Type ret_ty, const string &name, Function 575 src/CodeGen_Hexagon.cpp llvm::Function *intrin = Intrinsic::getDeclaration(module.get(), (llvm::Intrinsic::ID)id); Function 579 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(llvm::Function *intrin, Type ret_ty, const string &name, Function 594 src/CodeGen_Hexagon.cpp llvm::Function *wrapper = Function 595 src/CodeGen_Hexagon.cpp llvm::Function::Create(wrapper_ty, llvm::GlobalValue::InternalLinkage, Function 630 src/CodeGen_Hexagon.cpp llvm::Function *fn = nullptr; Function 684 src/CodeGen_Hexagon.cpp llvm::Function *F, Function 698 src/CodeGen_Hexagon.cpp llvm::Function *intrin = Intrinsic::getDeclaration(module.get(), (llvm::Intrinsic::ID)id); Function 870 src/CodeGen_Hexagon.cpp llvm::Function *vcombine = Function 1238 src/CodeGen_Hexagon.cpp llvm::Function *fn = module->getFunction(name); Function 1245 src/CodeGen_Hexagon.cpp llvm::Function *fn2 = module->getFunction(name + ".dv"); Function 1258 src/CodeGen_Hexagon.cpp llvm::Function *fn = module->getFunction(name); Function 1265 src/CodeGen_Hexagon.cpp llvm::Function *fn2 = module->getFunction(name + ".dv"); Function 1528 src/CodeGen_Hexagon.cpp llvm::Function *prefetch_fn = nullptr; Function 35 src/CodeGen_Hexagon.h llvm::Function *define_hvx_intrinsic(int intrin, Type ret_ty, Function 39 src/CodeGen_Hexagon.h llvm::Function *define_hvx_intrinsic(llvm::Function *intrin, Type ret_ty, Function 75 src/CodeGen_Hexagon.h llvm::Value *call_intrin_cast(llvm::Type *ret_ty, llvm::Function *F, Function 467 src/CodeGen_Internal.cpp void set_function_attributes_for_target(llvm::Function *fn, Target t) { Function 79 src/CodeGen_Internal.h void set_function_attributes_for_target(llvm::Function *, Target); Function 537 src/CodeGen_LLVM.cpp llvm::Function *wrapper = add_argv_wrapper(names.argv_name); Function 538 src/CodeGen_LLVM.cpp llvm::Function *metadata_getter = embed_metadata_getter(names.metadata_name, names.simple_name, f.args); Function 580 src/CodeGen_LLVM.cpp function = llvm::Function::Create(func_t, llvm_linkage(linkage), extern_name, module.get()); Function 671 src/CodeGen_LLVM.cpp llvm::Function *annotate_buffer_fn = Function 724 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::register_destructor(llvm::Function *destructor_fn, Value *obj, DestructorType when) { Function 761 src/CodeGen_LLVM.cpp llvm::Function *call_destructor = module->getFunction("call_destructor"); Function 775 src/CodeGen_LLVM.cpp void CodeGen_LLVM::trigger_destructor(llvm::Function *destructor_fn, Value *stack_slot) { Function 776 src/CodeGen_LLVM.cpp llvm::Function *call_destructor = module->getFunction("call_destructor"); Function 869 src/CodeGen_LLVM.cpp llvm::Function *CodeGen_LLVM::add_argv_wrapper(const std::string &name) { Function 872 src/CodeGen_LLVM.cpp llvm::Function *wrapper = llvm::Function::Create(func_t, llvm::GlobalValue::ExternalLinkage, name, module.get()); Function 879 src/CodeGen_LLVM.cpp for (llvm::Function::arg_iterator i = function->arg_begin(); i != function->arg_end(); i++) { Function 902 src/CodeGen_LLVM.cpp llvm::Function *CodeGen_LLVM::embed_metadata_getter(const std::string &metadata_name, Function 966 src/CodeGen_LLVM.cpp llvm::Function *metadata_getter = llvm::Function::Create(func_t, llvm::GlobalValue::ExternalLinkage, metadata_name, module.get()); Function 2087 src/CodeGen_LLVM.cpp llvm::Function *debug_to_file = module->getFunction("halide_debug_to_file"); Function 2169 src/CodeGen_LLVM.cpp llvm::Function * builtin_abs = Function 2199 src/CodeGen_LLVM.cpp llvm::Function *builtin_absd = Function 2243 src/CodeGen_LLVM.cpp llvm::Function *fn = Intrinsic::getDeclaration(module.get(), Intrinsic::ctpop, arg_type); Function 2251 src/CodeGen_LLVM.cpp llvm::Function *fn = Intrinsic::getDeclaration(module.get(), Function 2375 src/CodeGen_LLVM.cpp llvm::Function *append_string = module->getFunction("halide_string_to_string"); Function 2376 src/CodeGen_LLVM.cpp llvm::Function *append_int64 = module->getFunction("halide_int64_to_string"); Function 2377 src/CodeGen_LLVM.cpp llvm::Function *append_uint64 = module->getFunction("halide_uint64_to_string"); Function 2378 src/CodeGen_LLVM.cpp llvm::Function *append_double = module->getFunction("halide_double_to_string"); Function 2379 src/CodeGen_LLVM.cpp llvm::Function *append_pointer = module->getFunction("halide_pointer_to_string"); Function 2380 src/CodeGen_LLVM.cpp llvm::Function *append_buffer = module->getFunction("halide_buffer_to_string"); Function 2464 src/CodeGen_LLVM.cpp llvm::Function *f = module->getFunction(fn->value); Function 2468 src/CodeGen_LLVM.cpp f = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, fn->value, module.get()); Function 2516 src/CodeGen_LLVM.cpp llvm::Function *fn; Function 2524 src/CodeGen_LLVM.cpp llvm::Function *sub_fn = module->getFunction(sub_fn_name); Function 2539 src/CodeGen_LLVM.cpp sub_fn = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, Function 2618 src/CodeGen_LLVM.cpp llvm::Function *prefetch_fn = module->getFunction("_halide_prefetch"); Function 2688 src/CodeGen_LLVM.cpp llvm::Function *fn = module->getFunction(name); Function 2719 src/CodeGen_LLVM.cpp fn = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, name, module.get()); Function 2769 src/CodeGen_LLVM.cpp pair<llvm::Function *, int> vec = Function 2771 src/CodeGen_LLVM.cpp llvm::Function *vec_fn = vec.first; Function 2997 src/CodeGen_LLVM.cpp llvm::Function *containing_function = function; Function 2998 src/CodeGen_LLVM.cpp function = llvm::Function::Create(func_t, llvm::Function::InternalLinkage, Function 3025 src/CodeGen_LLVM.cpp llvm::Function::arg_iterator iter = function->arg_begin(); Function 3048 src/CodeGen_LLVM.cpp llvm::Function *do_par_for = module->getFunction("halide_do_par_for"); Function 3338 src/CodeGen_LLVM.cpp llvm::Function *fn = module->getFunction(name); Function 3343 src/CodeGen_LLVM.cpp fn = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, name, module.get()); Function 3457 src/CodeGen_LLVM.cpp std::pair<llvm::Function *, int> CodeGen_LLVM::find_vector_runtime_function(const std::string &name, int lanes) { Function 3480 src/CodeGen_LLVM.cpp llvm::Function *vec_fn = module->getFunction(name + "x" + std::to_string(l)); Function 13 src/CodeGen_LLVM.h class Function; Function 133 src/CodeGen_LLVM.h llvm::Function *function; Function 251 src/CodeGen_LLVM.h llvm::Value *register_destructor(llvm::Function *destructor_fn, llvm::Value *obj, DestructorType when); Function 254 src/CodeGen_LLVM.h void trigger_destructor(llvm::Function *destructor_fn, llvm::Value *stack_slot); Function 449 src/CodeGen_LLVM.h std::pair<llvm::Function *, int> find_vector_runtime_function(const std::string &name, int lanes); Function 477 src/CodeGen_LLVM.h llvm::Function* embed_metadata_getter(const std::string &metadata_getter_name, Function 483 src/CodeGen_LLVM.h llvm::Function *add_argv_wrapper(const std::string &name); Function 66 src/CodeGen_PTX_Dev.cpp function = llvm::Function::Create(func_t, llvm::Function::ExternalLinkage, name, module.get()); Function 341 src/CodeGen_PTX_Dev.cpp for (llvm::Function &fn : *module) { Function 140 src/CodeGen_Posix.cpp llvm::Function *allocated_in = alloca_inst ? alloca_inst->getParent()->getParent() : nullptr; Function 141 src/CodeGen_Posix.cpp llvm::Function *current_func = builder->GetInsertBlock()->getParent(); Function 179 src/CodeGen_Posix.cpp llvm::Function *malloc_fn = module->getFunction("halide_malloc"); Function 183 src/CodeGen_Posix.cpp llvm::Function::arg_iterator arg_iter = malloc_fn->arg_begin(); Function 222 src/CodeGen_Posix.cpp llvm::Function *free_fn = module->getFunction(free_function); Function 48 src/CodeGen_Posix.h llvm::Function *destructor_function; Function 18 src/DebugToFile.cpp const map<string, Function> &env; Function 23 src/DebugToFile.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 25 src/DebugToFile.cpp Function f = iter->second; Function 91 src/DebugToFile.cpp DebugToFile(const map<string, Function> &e) : env(e) {} Function 95 src/DebugToFile.cpp const vector<Function> &outputs; Function 100 src/DebugToFile.cpp for (Function f : outputs) { Function 110 src/DebugToFile.cpp RemoveDummyRealizations(const vector<Function> &o) : outputs(o) {} Function 113 src/DebugToFile.cpp Stmt debug_to_file(Stmt s, const vector<Function> &outputs, const map<string, Function> &env) { Function 115 src/DebugToFile.cpp for (Function out : outputs) { Function 20 src/DebugToFile.h const std::vector<Function> &outputs, Function 21 src/DebugToFile.h const std::map<std::string, Function> &env); Function 11 src/DeepCopy.cpp pair<vector<Function>, map<string, Function>> deep_copy( Function 12 src/DeepCopy.cpp const vector<Function> &outputs, const map<string, Function> &env) { Function 13 src/DeepCopy.cpp vector<Function> copy_outputs; Function 14 src/DeepCopy.cpp map<string, Function> copy_env; Function 17 src/DeepCopy.cpp map<Function, Function, Function::Compare> copied_map; // Original Function -> Deep-copy Function 19 src/DeepCopy.cpp copied_map[iter.second] = Function(iter.second.name()); Function 18 src/DeepCopy.h std::pair<std::vector<Function>, std::map<std::string, Function>> deep_copy( Function 19 src/DeepCopy.h const std::vector<Function> &outputs, const std::map<std::string, Function> &env); Function 15 src/FindCalls.cpp map<string, Function> calls; Function 19 src/FindCalls.cpp void include_function(Function f) { Function 20 src/FindCalls.cpp map<string, Function>::iterator iter = calls.find(f.name()); Function 34 src/FindCalls.cpp Function f(call->func); Function 41 src/FindCalls.cpp void populate_environment(Function f, map<string, Function> &env, bool recursive = true) { Function 42 src/FindCalls.cpp map<string, Function>::const_iterator iter = env.find(f.name()); Function 55 src/FindCalls.cpp Function g(arg.func); Function 66 src/FindCalls.cpp for (pair<string, Function> i : calls.calls) { Function 72 src/FindCalls.cpp map<string, Function> find_transitive_calls(Function f) { Function 73 src/FindCalls.cpp map<string, Function> res; Function 78 src/FindCalls.cpp map<string, Function> find_direct_calls(Function f) { Function 79 src/FindCalls.cpp map<string, Function> res; Function 22 src/FindCalls.h std::map<std::string, Function> find_direct_calls(Function f); Function 29 src/FindCalls.h std::map<std::string, Function> find_transitive_calls(Function f); Function 55 src/Func.cpp Func::Func(Function f) : func(f) {} Function 358 src/Func.cpp const Function substitute; Function 378 src/Func.cpp SubstituteSelfReference(const string &func, const Function &substitute, Function 388 src/Func.cpp Expr substitute_self_reference(Expr val, const string &func, const Function &substitute, Function 1775 src/Func.cpp << Function(wrapper_contents).name() << "] in " << f.name() << " is not allowed\n"; Function 1777 src/Func.cpp Function wrapper(wrapper_contents); Function 1828 src/Func.cpp << Function(wrapper_contents).name() << "] in " << fs[0].name() << " is illegal since " Function 1832 src/Func.cpp Function wrapper(wrapper_contents); Function 1850 src/Func.cpp Function wrapper(wrapper_contents); Function 2403 src/Func.cpp FuncRef::FuncRef(Internal::Function f, const vector<Expr> &a, int placeholder_pos, Function 2409 src/Func.cpp FuncRef::FuncRef(Internal::Function f, const vector<Var> &a, int placeholder_pos, Function 2523 src/Func.cpp Func define_base_case(Internal::Function func, const vector<Expr> &a, const Tuple &e) { Function 2544 src/Func.cpp Func define_base_case(Internal::Function func, const vector<Expr> &a, Expr e) { Function 312 src/Func.h Internal::Function func; Function 331 src/Func.h FuncRef(Internal::Function, const std::vector<Expr> &, Function 333 src/Func.h FuncRef(Internal::Function, const std::vector<Var> &, Function 408 src/Func.h EXPORT Internal::Function function() const {return func;} Function 476 src/Func.h EXPORT Internal::Function function() const {return func_ref.function();} Function 495 src/Func.h Internal::Function func; Function 534 src/Func.h EXPORT explicit Func(Internal::Function f); Function 1940 src/Func.h Internal::Function function() const { Function 231 src/Function.cpp Function f(op->func); Function 244 src/Function.cpp Function::Function() : contents(new FunctionContents) { Function 247 src/Function.cpp Function::Function(const IntrusivePtr<FunctionContents> &ptr) : contents(ptr) { Function 252 src/Function.cpp Function::Function(const std::string &n) : contents(new FunctionContents) { Function 338 src/Function.cpp void Function::deep_copy(Function ©, Function 339 src/Function.cpp std::map<Function, Function, Function::Compare> &copied_map) const { Function 358 src/Function.cpp Function old_func = Function(iter.first); Function 367 src/Function.cpp copied_map[old_func] = Function(iter.second); Function 371 src/Function.cpp void Function::define(const vector<string> &args, vector<Expr> values) { Function 474 src/Function.cpp void Function::define_update(const vector<Expr> &_args, vector<Expr> values) { Function 681 src/Function.cpp void Function::define_extern(const std::string &function_name, Function 722 src/Function.cpp void Function::accept(IRVisitor *visitor) const { Function 726 src/Function.cpp const std::string &Function::name() const { Function 730 src/Function.cpp Definition &Function::definition() { Function 734 src/Function.cpp const Definition &Function::definition() const { Function 738 src/Function.cpp const std::vector<std::string> Function::args() const { Function 749 src/Function.cpp int Function::dimensions() const { Function 753 src/Function.cpp const std::vector<Type> &Function::output_types() const { Function 757 src/Function.cpp const std::vector<Expr> &Function::values() const { Function 761 src/Function.cpp Schedule &Function::schedule() { Function 765 src/Function.cpp const Schedule &Function::schedule() const { Function 769 src/Function.cpp const std::vector<Parameter> &Function::output_buffers() const { Function 773 src/Function.cpp Schedule &Function::update_schedule(int idx) { Function 778 src/Function.cpp Definition &Function::update(int idx) { Function 783 src/Function.cpp const Definition &Function::update(int idx) const { Function 788 src/Function.cpp const std::vector<Definition> &Function::updates() const { Function 792 src/Function.cpp bool Function::has_pure_definition() const { Function 796 src/Function.cpp bool Function::can_be_inlined() const { Function 800 src/Function.cpp bool Function::has_update_definition() const { Function 804 src/Function.cpp bool Function::has_extern_definition() const { Function 808 src/Function.cpp NameMangling Function::extern_definition_name_mangling() const { Function 812 src/Function.cpp Expr Function::make_call_to_extern_definition(const std::vector<Expr> &args, Function 833 src/Function.cpp bool Function::extern_definition_uses_old_buffer_t() const { Function 837 src/Function.cpp const std::vector<ExternFuncArgument> &Function::extern_arguments() const { Function 841 src/Function.cpp const std::string &Function::extern_function_name() const { Function 845 src/Function.cpp const std::string &Function::debug_file() const { Function 849 src/Function.cpp std::string &Function::debug_file() { Function 853 src/Function.cpp void Function::trace_loads() { Function 856 src/Function.cpp void Function::trace_stores() { Function 859 src/Function.cpp void Function::trace_realizations() { Function 862 src/Function.cpp bool Function::is_tracing_loads() const { Function 865 src/Function.cpp bool Function::is_tracing_stores() const { Function 868 src/Function.cpp bool Function::is_tracing_realizations() const { Function 872 src/Function.cpp void Function::freeze() { Function 876 src/Function.cpp bool Function::frozen() const { Function 880 src/Function.cpp const map<string, IntrusivePtr<FunctionContents>> &Function::wrappers() const { Function 884 src/Function.cpp void Function::add_wrapper(const std::string &f, Function &wrapper) { Function 895 src/Function.cpp map<Function, Function, Function::Compare> substitutions; Function 902 src/Function.cpp if ((c->call_type == Call::Halide) && c->func.defined() && substitutions.count(Function(c->func))) { Function 903 src/Function.cpp const Function &subs = substitutions[Function(c->func)]; Function 910 src/Function.cpp SubstituteCalls(const map<Function, Function, Function::Compare> &substitutions) Function 931 src/Function.cpp Function &Function::substitute_calls(const map<Function, Function, Compare> &substitutions) { Function 942 src/Function.cpp Function &Function::substitute_calls(const Function &orig, const Function &substitute) { Function 943 src/Function.cpp map<Function, Function, Compare> substitutions; Function 948 src/Function.cpp Function &Function::substitute_schedule_param_exprs() { Function 67 src/Function.h class Function { Function 75 src/Function.h bool operator()(const Function &a, const Function &b) const { Function 85 src/Function.h EXPORT Function(); Function 88 src/Function.h EXPORT explicit Function(const std::string &n); Function 91 src/Function.h EXPORT explicit Function(const IntrusivePtr<FunctionContents> &); Function 107 src/Function.h EXPORT void deep_copy(Function ©, std::map<Function, Function, Compare> &copied_map) const; Function 228 src/Function.h bool same_as(const Function &other) const { Function 269 src/Function.h EXPORT void add_wrapper(const std::string &f, Function &wrapper); Function 277 src/Function.h EXPORT Function &substitute_calls(const std::map<Function, Function, Compare> &substitutions); Function 278 src/Function.h EXPORT Function &substitute_calls(const Function &orig, const Function &substitute); Function 283 src/Function.h EXPORT Function &substitute_schedule_param_exprs(); Function 1686 src/Generator.cpp if (kind() == IOKind::Function) { Function 910 src/Generator.h enum class IOKind { Scalar, Function, Buffer }; Function 1020 src/Generator.h StubInput(const Func &f) : kind_(IOKind::Function), func_(f) {} Function 1036 src/Generator.h internal_assert(kind_ == IOKind::Function); Function 1348 src/Generator.h : Super(name, IOKind::Function, {t}, d) { Function 1353 src/Generator.h : Super(name, IOKind::Function, {}, d) { Function 1358 src/Generator.h : Super(name, IOKind::Function, {t}, -1) { Function 1363 src/Generator.h : Super(name, IOKind::Function, {}, -1) { Function 1367 src/Generator.h : Super(array_size, name, IOKind::Function, {t}, d) { Function 1372 src/Generator.h : Super(array_size, name, IOKind::Function, {}, d) { Function 1377 src/Generator.h : Super(array_size, name, IOKind::Function, {t}, -1) { Function 1382 src/Generator.h : Super(array_size, name, IOKind::Function, {}, -1) { Function 1913 src/Generator.h : Super(name, IOKind::Function, t, d) { Function 1917 src/Generator.h : Super(array_size, name, IOKind::Function, t, d) { Function 1955 src/Generator.h : Super(name, IOKind::Function, {type_of<TBase>()}, 0) { Function 1959 src/Generator.h : Super(array_size, name, IOKind::Function, {type_of<TBase>()}, 0) { Function 2479 src/Generator.h } else if (k == Internal::IOKind::Function) { Function 2503 src/Generator.h } else if (k == Internal::IOKind::Function) { Function 2516 src/Generator.h check_input_kind(in, Internal::IOKind::Function); Function 2526 src/Generator.h check_input_kind(in, Internal::IOKind::Function); Function 527 src/IR.cpp Expr Call::make(Function func, const std::vector<Expr> &args, int idx) { Function 564 src/IR.h EXPORT static Expr make(Function func, const std::vector<Expr> &args, int idx = 0); Function 134 src/IRVisitor.cpp Function f(op->func); Function 21 src/InferArguments.cpp InferArguments(vector<InferredArgument> &a, const vector<Function> &o, Stmt body) Function 24 src/InferArguments.cpp for (const Function &f : outputs) { Function 33 src/InferArguments.cpp vector<Function> outputs; Function 40 src/InferArguments.cpp for (const Function &output : outputs) { Function 64 src/InferArguments.cpp void visit_function(const Function& func) { Function 76 src/InferArguments.cpp visit_function(Function(extern_arg.func)); Function 146 src/InferArguments.cpp Function fn(op->func); Function 156 src/InferArguments.cpp vector<InferredArgument> infer_arguments(Stmt body, const vector<Function> &outputs) { Function 40 src/InferArguments.h class Function; Function 42 src/InferArguments.h std::vector<InferredArgument> infer_arguments(Stmt body, const std::vector<Function> &outputs); Function 17 src/InjectImageIntrinsics.cpp InjectImageIntrinsics(const map<string, Function> &e) : inside_kernel_loop(false), env(e) {} Function 21 src/InjectImageIntrinsics.cpp const map<string, Function> &env; Function 165 src/InjectImageIntrinsics.cpp Stmt inject_image_intrinsics(Stmt s, const map<string, Function> &env) { Function 18 src/InjectImageIntrinsics.h Stmt inject_image_intrinsics(Stmt s, const std::map<std::string, Function> &env); Function 18 src/Inline.cpp void validate_schedule_inlined_function(Function f) { Function 96 src/Inline.cpp Function func; Function 143 src/Inline.cpp Inliner(Function f) : func(f), found(false) { Function 150 src/Inline.cpp Stmt inline_function(Stmt s, Function f) { Function 156 src/Inline.cpp Expr inline_function(Expr e, Function f) { Function 17 src/Inline.h Stmt inline_function(Stmt, Function); Function 18 src/Inline.h Expr inline_function(Expr, Function); Function 23 src/Inline.h void validate_schedule_inlined_function(Function f); Function 157 src/JITModule.cpp llvm::Function *fn = ee.FindFunctionNamed(name.c_str()); Function 517 src/LLVM_Runtime_Linker.cpp llvm::Function &f = *iter; Function 530 src/LLVM_Runtime_Linker.cpp llvm::Function *unmangled = llvm::Function::Create(f.getFunctionType(), f.getLinkage(), unmangled_name, m); Function 554 src/LLVM_Runtime_Linker.cpp void add_underscore_to_posix_call(llvm::CallInst *call, llvm::Function *fn, llvm::Module *m) { Function 556 src/LLVM_Runtime_Linker.cpp llvm::Function *alt = m->getFunction(new_name); Function 558 src/LLVM_Runtime_Linker.cpp alt = llvm::Function::Create(fn->getFunctionType(), Function 580 src/LLVM_Runtime_Linker.cpp if (llvm::Function *called_fn = call->getCalledFunction()) { Function 924 src/LLVM_Runtime_Linker.cpp llvm::Function &f = *iter; Function 75 src/Lower.cpp Module lower(const vector<Function> &output_funcs, const string &pipeline_name, const Target &t, Function 84 src/Lower.cpp map<string, Function> env; Function 85 src/Lower.cpp for (Function f : output_funcs) { Function 86 src/Lower.cpp map<string, Function> more_funcs = find_transitive_calls(f); Function 91 src/Lower.cpp vector<Function> outputs; Function 95 src/Lower.cpp for (Function f: outputs) { Function 404 src/Lower.cpp EXPORT Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, Function 29 src/Lower.h EXPORT Module lower(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, Function 38 src/Lower.h EXPORT Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, Function 10 src/MatlabWrapper.cpp llvm::Function *define_matlab_wrapper(llvm::Module *module, Function 11 src/MatlabWrapper.cpp llvm::Function *pipeline_argv_wrapper, Function 12 src/MatlabWrapper.cpp llvm::Function *metadata_getter) { Function 18 src/MatlabWrapper.cpp llvm::Function *call_pipeline = module->getFunction("halide_matlab_call_pipeline"); Function 40 src/MatlabWrapper.cpp llvm::Function *mex = llvm::Function::Create(mex_ty, llvm::GlobalValue::ExternalLinkage, "mexFunction", module); Function 50 src/MatlabWrapper.cpp llvm::Function::arg_iterator mex_args = mex->arg_begin(); Function 13 src/MatlabWrapper.h class Function; Function 23 src/MatlabWrapper.h EXPORT llvm::Function *define_matlab_wrapper(llvm::Module *module, Function 24 src/MatlabWrapper.h llvm::Function *pipeline_argv_wrapper, Function 25 src/MatlabWrapper.h llvm::Function *metadata_getter); Function 22 src/Memoization.cpp void visit_function(const Function &function) { Function 59 src/Memoization.cpp Function fn(call->func); Function 184 src/Memoization.cpp KeyInfo(const Function &function, const std::string &name) Function 310 src/Memoization.cpp const std::map<std::string, Function> &env; Function 312 src/Memoization.cpp const std::vector<Function> &outputs; Function 314 src/Memoization.cpp InjectMemoization(const std::map<std::string, Function> &e, const std::string &name, Function 315 src/Memoization.cpp const std::vector<Function> &outputs) : Function 322 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(op->name); Function 326 src/Memoization.cpp const Function f(iter->second); Function 328 src/Memoization.cpp for (const Function &o : outputs) { Function 393 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(op->name); Function 409 src/Memoization.cpp const Function f(iter->second); Function 427 src/Memoization.cpp Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env, Function 429 src/Memoization.cpp const std::vector<Function> &outputs) { Function 437 src/Memoization.cpp RewriteMemoizedAllocations(const std::map<std::string, Function> &e) Function 441 src/Memoization.cpp const std::map<std::string, Function> &env; Function 464 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(realization_name); Function 527 src/Memoization.cpp Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env) { Function 23 src/Memoization.h Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env, Function 25 src/Memoization.h const std::vector<Function> &outputs); Function 33 src/Memoization.h Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env); Function 66 src/Pipeline.cpp vector<Function> outputs; Function 145 src/Pipeline.cpp for (Function f : contents->outputs) { Function 157 src/Pipeline.cpp for (Function f : contents->outputs) { Function 665 src/Pipeline.cpp Function func; Function 670 src/Pipeline.cpp for (Function f : contents->outputs) { Function 684 src/Pipeline.cpp Function func = output_buffer_types[i].func; Function 23 src/Prefetch.cpp const Definition &get_stage_definition(const Function &f, int stage_num) { Function 32 src/Prefetch.cpp InjectPrefetch(const map<string, Function> &e) Function 36 src/Prefetch.cpp const map<string, Function> &env; Function 37 src/Prefetch.cpp const Function *current_func; Function 190 src/Prefetch.cpp const Function *old_func = current_func; Function 378 src/Prefetch.cpp Stmt inject_prefetch(Stmt s, const map<string, Function> &env) { Function 17 src/Prefetch.h Stmt inject_prefetch(Stmt s, const std::map<std::string, Function> &env); Function 25 src/PrintLoopNest.cpp PrintLoopNest(std::ostream &output, const map<string, Function> &e) : Function 29 src/PrintLoopNest.cpp const map<string, Function> &env; Function 155 src/PrintLoopNest.cpp string print_loop_nest(const vector<Function> &output_funcs) { Function 159 src/PrintLoopNest.cpp map<string, Function> env; Function 160 src/PrintLoopNest.cpp for (Function f : output_funcs) { Function 161 src/PrintLoopNest.cpp map<string, Function> more_funcs = find_transitive_calls(f); Function 166 src/PrintLoopNest.cpp vector<Function> outputs; Function 170 src/PrintLoopNest.cpp for (Function f: outputs) { Function 15 src/PrintLoopNest.h class Function; Function 20 src/PrintLoopNest.h std::string print_loop_nest(const std::vector<Function> &output_funcs); Function 39 src/RealizationOrder.cpp vector<string> realization_order(const vector<Function> &outputs, Function 40 src/RealizationOrder.cpp const map<string, Function> &env) { Function 46 src/RealizationOrder.cpp for (const pair<string, Function> &caller : env) { Function 48 src/RealizationOrder.cpp for (const pair<string, Function> &callee : find_direct_calls(caller.second)) { Function 57 src/RealizationOrder.cpp for (Function f : outputs) { Function 17 src/RealizationOrder.h class Function; Function 24 src/RealizationOrder.h std::vector<std::string> realization_order(const std::vector<Function> &output, Function 25 src/RealizationOrder.h const std::map<std::string, Function> &env); Function 43 src/Schedule.cpp LoopLevel::LoopLevel(Internal::Function f, VarOrRVar v) : LoopLevel(f.name(), v.name(), v.is_rvar) {} Function 20 src/Schedule.h class Function; Function 114 src/Schedule.h EXPORT LoopLevel(Internal::Function f, VarOrRVar v); Function 326 src/ScheduleFunctions.cpp Stmt build_produce(Function f, const Target &target) { Function 348 src/ScheduleFunctions.cpp Function input(arg.func); Function 514 src/ScheduleFunctions.cpp vector<Stmt> build_update(Function f) { Function 531 src/ScheduleFunctions.cpp pair<Stmt, Stmt> build_production(Function func, const Target &target) { Function 543 src/ScheduleFunctions.cpp Stmt inject_explicit_bounds(Stmt body, Function func) { Function 596 src/ScheduleFunctions.cpp IsUsedInStmt(Function f) : func(f.name()), result(false) { Function 601 src/ScheduleFunctions.cpp bool function_is_used_in_stmt(Function f, Stmt s) { Function 611 src/ScheduleFunctions.cpp const Function &func; Function 615 src/ScheduleFunctions.cpp InjectRealization(const Function &f, bool o, const Target &t) : Function 787 src/ScheduleFunctions.cpp ComputeLegalSchedules(Function f, const map<string, Function> &env) : found(false), func(f), env(env) {} Function 793 src/ScheduleFunctions.cpp Function func; Function 795 src/ScheduleFunctions.cpp const map<string, Function> &env; Function 860 src/ScheduleFunctions.cpp string schedule_to_source(Function f, Function 978 src/ScheduleFunctions.cpp bool validate_schedule(Function f, Stmt s, const Target &target, bool is_output, const map<string, Function> &env) { Function 984 src/ScheduleFunctions.cpp Function g(arg.func); Function 1145 src/ScheduleFunctions.cpp Stmt schedule_functions(const vector<Function> &outputs, Function 1147 src/ScheduleFunctions.cpp const map<string, Function> &env, Function 1157 src/ScheduleFunctions.cpp Function f = env.find(order[i-1])->second; Function 1160 src/ScheduleFunctions.cpp for (Function o : outputs) { Function 20 src/ScheduleFunctions.h class Function; Function 25 src/ScheduleFunctions.h Stmt schedule_functions(const std::vector<Function> &outputs, Function 27 src/ScheduleFunctions.h const std::map<std::string, Function> &env, Function 161 src/SimplifySpecializations.cpp void simplify_specializations(map<string, Function> &env) { Function 163 src/SimplifySpecializations.cpp Function &func = iter.second; Function 19 src/SimplifySpecializations.h EXPORT void simplify_specializations(std::map<std::string, Function> &env); Function 83 src/SlidingWindow.cpp Function func; Function 323 src/SlidingWindow.cpp SlidingWindowOnFunctionAndLoop(Function f, string v, Expr v_min) : func(f), loop_var(v), loop_min(v_min) {} Function 328 src/SlidingWindow.cpp Function func; Function 353 src/SlidingWindow.cpp SlidingWindowOnFunction(Function f) : func(f) {} Function 358 src/SlidingWindow.cpp const map<string, Function> &env; Function 364 src/SlidingWindow.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 396 src/SlidingWindow.cpp SlidingWindow(const map<string, Function> &e) : env(e) {} Function 400 src/SlidingWindow.cpp Stmt sliding_window(Stmt s, const map<string, Function> &env) { Function 21 src/SlidingWindow.h Stmt sliding_window(Stmt s, const std::map<std::string, Function> &env); Function 109 src/SplitTuples.cpp Function f = it->second; Function 163 src/SplitTuples.cpp Function f = it->second; Function 192 src/SplitTuples.cpp const map<string, Function> &env; Function 197 src/SplitTuples.cpp SplitTuples(const map<string, Function> &e) : env(e) {} Function 202 src/SplitTuples.cpp Stmt split_tuples(Stmt s, const map<string, Function> &env) { Function 20 src/SplitTuples.h Stmt split_tuples(Stmt s, const std::map<std::string, Function> &env); Function 24 src/StorageFlattening.cpp FlattenDimensions(const map<string, pair<Function, int>> &e, Function 25 src/StorageFlattening.cpp const vector<Function> &o, Function 34 src/StorageFlattening.cpp const map<string, pair<Function, int>> &env; Function 116 src/StorageFlattening.cpp Function f = iter->second.first; Function 196 src/StorageFlattening.cpp const Function &f = it->second.first; Function 249 src/StorageFlattening.cpp Function f = iter->second.first; Function 341 src/StorageFlattening.cpp const vector<Function> &outputs, Function 342 src/StorageFlattening.cpp const map<string, Function> &env, Function 347 src/StorageFlattening.cpp map<string, pair<Function, int>> tuple_env; Function 21 src/StorageFlattening.h const std::vector<Function> &outputs, Function 22 src/StorageFlattening.h const std::map<std::string, Function> &env, Function 92 src/StorageFolding.cpp Function func; Function 261 src/StorageFolding.cpp AttemptStorageFoldingOfFunction(Function f, bool explicit_only) Function 288 src/StorageFolding.cpp const map<string, Function> &env; Function 301 src/StorageFolding.cpp Function func = func_it != env.end() ? func_it->second : Function(); Function 346 src/StorageFolding.cpp StorageFolding(const map<string, Function> &env) : env(env) {} Function 383 src/StorageFolding.cpp Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env) { Function 27 src/StorageFolding.h Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env); Function 43 src/Tracing.cpp const map<string, Function> &env; Function 46 src/Tracing.cpp InjectTracing(const map<string, Function> &e, const Target &t) Function 76 src/Tracing.cpp Function f = env.find(op->name)->second; Function 111 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 113 src/Tracing.cpp Function f = iter->second; Function 167 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 169 src/Tracing.cpp Function f = iter->second; Function 204 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); Function 206 src/Tracing.cpp Function f = iter->second; Function 244 src/Tracing.cpp const vector<Function> &outputs; Function 247 src/Tracing.cpp for (Function f : outputs) { Function 257 src/Tracing.cpp RemoveRealizeOverOutput(const vector<Function> &o) : outputs(o) {} Function 261 src/Tracing.cpp const map<string, Function> &env, const vector<Function> &outputs, Function 267 src/Tracing.cpp for (Function output : outputs) { Function 21 src/Tracing.h const std::map<std::string, Function> &env, Function 22 src/Tracing.h const std::vector<Function> &outputs, Function 14 src/WrapCalls.cpp typedef map<Function, Function, Function::Compare> SubstitutionMap; Function 18 src/WrapCalls.cpp void insert_func_wrapper_helper(map<Function, SubstitutionMap, Function::Compare> &func_wrappers_map, Function 19 src/WrapCalls.cpp const Function &in_func, const Function &wrapped_func, Function 20 src/WrapCalls.cpp const Function &wrapper) { Function 48 src/WrapCalls.cpp map<string, Function> wrap_func_calls(const map<string, Function> &env) { Function 49 src/WrapCalls.cpp map<string, Function> wrapped_env; Function 51 src/WrapCalls.cpp map<Function, SubstitutionMap, Function::Compare> func_wrappers_map; // In Func -> [wrapped Func -> wrapper] Function 60 src/WrapCalls.cpp const Function &wrapped_func = it.second; Function 67 src/WrapCalls.cpp all_func_wrappers.insert(Function(iter.second).name()); Function 72 src/WrapCalls.cpp const Function &wrapper = Function(iter.second); // This is already the deep-copy version Function 18 src/WrapCalls.h std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env); Function 40 src/WrapExternStages.cpp Function f(op->func); Function 46 src/WrapExternStages.cpp Function f_arg(arg.func); Function 125 src/WrapExternStages.cpp Function f(op->func); Function 541 test/correctness/specialize.cpp std::map<std::string, Internal::Function> env; Function 587 test/correctness/specialize.cpp std::map<std::string, Internal::Function> env;