definition 1412 src/Bounds.cpp Interval s_interval = compute_pure_function_definition_value_bounds(s.definition, scope, fb, dim); definition 1438 src/Bounds.cpp result = compute_pure_function_definition_value_bounds(f.definition(), arg_scope, fb, j); definition 176 src/BoundsInference.cpp const Definition &s_def = specializations[i-1].definition; definition 235 src/BoundsInference.cpp result = compute_exprs_helper(func.definition(), is_update); definition 254 src/BoundsInference.cpp bool pure = is_dim_always_pure(s.definition, dim, dim_idx); definition 44 src/Definition.cpp s.definition.accept(visitor); definition 66 src/Definition.cpp s.definition.mutate(mutator); definition 118 src/Definition.cpp s_copy.definition = s.definition.deep_copy(copied_map); definition 186 src/Definition.cpp s.definition.contents->is_init = contents->is_init; definition 187 src/Definition.cpp s.definition.contents->predicate = contents->predicate; definition 188 src/Definition.cpp s.definition.contents->values = contents->values; definition 189 src/Definition.cpp s.definition.contents->args = contents->args; definition 192 src/Definition.cpp s.definition.contents->schedule.store_level() = contents->schedule.store_level(); definition 193 src/Definition.cpp s.definition.contents->schedule.compute_level() = contents->schedule.compute_level(); definition 194 src/Definition.cpp s.definition.contents->schedule.rvars() = contents->schedule.rvars(); definition 195 src/Definition.cpp s.definition.contents->schedule.splits() = contents->schedule.splits(); definition 196 src/Definition.cpp s.definition.contents->schedule.dims() = contents->schedule.dims(); definition 197 src/Definition.cpp s.definition.contents->schedule.storage_dims() = contents->schedule.storage_dims(); definition 198 src/Definition.cpp s.definition.contents->schedule.bounds() = contents->schedule.bounds(); definition 199 src/Definition.cpp s.definition.contents->schedule.prefetches() = contents->schedule.prefetches(); definition 200 src/Definition.cpp s.definition.contents->schedule.wrappers() = contents->schedule.wrappers(); definition 201 src/Definition.cpp s.definition.contents->schedule.memoized() = contents->schedule.memoized(); definition 202 src/Definition.cpp s.definition.contents->schedule.touched() = contents->schedule.touched(); definition 203 src/Definition.cpp s.definition.contents->schedule.allow_race_conditions() = contents->schedule.allow_race_conditions(); definition 120 src/Definition.h Definition definition; definition 72 src/Elf.h const Section *definition = nullptr; definition 104 src/Elf.h this->definition = section; definition 109 src/Elf.h bool is_defined() const { return definition != nullptr; } definition 110 src/Elf.h const Section *get_section() const { return definition; } definition 279 src/Func.cpp vector<Dim> &dims = definition.schedule().dims(); definition 290 src/Func.cpp user_assert(definition.schedule().allow_race_conditions()) definition 324 src/Func.cpp vector<Dim> &dims = definition.schedule().dims(); definition 345 src/Func.cpp for (size_t i = 0; i < definition.schedule().dims().size(); i++) { definition 346 src/Func.cpp oss << " " << definition.schedule().dims()[i].var; definition 588 src/Func.cpp user_assert(!definition.is_init()) << "rfactor() must be called on an update definition\n"; definition 597 src/Func.cpp vector<Expr> &args = definition.args(); definition 598 src/Func.cpp vector<Expr> &values = definition.values(); definition 609 src/Func.cpp vector<Split> &splits = definition.schedule().splits(); definition 610 src/Func.cpp vector<ReductionVariable> &rvars = definition.schedule().rvars(); definition 611 src/Func.cpp vector<Dim> &dims = definition.schedule().dims(); definition 612 src/Func.cpp vector<Expr> predicates = definition.split_predicate(); definition 790 src/Func.cpp definition.predicate() = f_rdom.domain().predicate(); definition 908 src/Func.cpp vector<Dim> &dims = definition.schedule().dims(); definition 952 src/Func.cpp } else if (!definition.is_init()) { definition 978 src/Func.cpp for (const Split &s : definition.schedule().splits()) { definition 997 src/Func.cpp if (!definition.is_init()) { definition 1013 src/Func.cpp definition.schedule().splits().push_back(split); definition 1047 src/Func.cpp vector<Dim> &dims = definition.schedule().dims(); definition 1095 src/Func.cpp definition.schedule().splits().push_back(split); definition 1127 src/Func.cpp const vector<Specialization> &specializations = definition.specializations(); definition 1130 src/Func.cpp return Stage(specializations[i].definition, stage_name, dim_vars, storage_dims); definition 1137 src/Func.cpp const Specialization &s = definition.add_specialization(condition); definition 1139 src/Func.cpp return Stage(s.definition, stage_name, dim_vars, storage_dims); definition 1144 src/Func.cpp const vector<Specialization> &specializations = definition.specializations(); definition 1147 src/Func.cpp (void) definition.add_specialization(const_true()); definition 1148 src/Func.cpp Specialization &s = definition.specializations().back(); definition 1162 src/Func.cpp Schedule &schedule = definition.schedule(); definition 1188 src/Func.cpp definition.schedule().splits().push_back(split); definition 1195 src/Func.cpp Schedule &schedule = definition.schedule(); definition 1304 src/Func.cpp Schedule &schedule = definition.schedule(); definition 1371 src/Func.cpp definition.schedule().splits().push_back(split); definition 1378 src/Func.cpp definition.schedule().allow_race_conditions() = true; definition 1513 src/Func.cpp reorder_vars(definition.schedule().dims(), &vars[0], vars.size(), *this); definition 1737 src/Func.cpp definition.schedule().prefetches().push_back(prefetch); definition 1743 src/Func.cpp definition.schedule().prefetches().push_back(prefetch); definition 1857 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).split(old, outer, inner, factor, tail); definition 1863 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).fuse(inner, outer, fused); definition 1869 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).rename(old_name, new_name); definition 1874 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).allow_race_conditions(); definition 1886 src/Func.cpp return Stage(func.definition(), name(), args(), func.schedule().storage_dims()).specialize(c); definition 1891 src/Func.cpp (void) Stage(func.definition(), name(), args(), func.schedule().storage_dims()).specialize_fail(message); definition 1896 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).serial(var); definition 1902 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).parallel(var); definition 1908 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).vectorize(var); definition 1914 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).unroll(var); definition 1920 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).parallel(var, factor, tail); definition 1926 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).vectorize(var, factor, tail); definition 1932 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).unroll(var, factor, tail); definition 2005 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).tile(x, y, xo, yo, xi, yi, xfactor, yfactor, tail); definition 2014 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).tile(x, y, xi, yi, xfactor, yfactor, tail); definition 2020 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).reorder(vars); definition 2026 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_threads(tx, device_api); definition 2032 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_threads(tx, ty, device_api); definition 2038 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_threads(tx, ty, tz, device_api); definition 2044 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_blocks(bx, device_api); definition 2050 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_blocks(bx, by, device_api); definition 2056 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_blocks(bx, by, bz, device_api); definition 2062 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_single_thread(device_api); definition 2068 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu(bx, tx, device_api); definition 2074 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu(bx, by, tx, ty, device_api); definition 2080 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu(bx, by, bz, tx, ty, tz, device_api); definition 2086 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, bx, tx, x_size, tail, device_api); definition 2092 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, bx, tx, x_size, tail, device_api); definition 2098 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, tx, x_size, tail, device_api); definition 2109 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()) definition 2120 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()) definition 2131 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()) definition 2143 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()) definition 2154 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()) definition 2161 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, x_size, tail, device_api); definition 2170 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, y, x_size, y_size, tail, device_api); definition 2179 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_tile(x, y, z, x_size, y_size, z_size, tail, device_api); definition 2192 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).gpu_blocks(x, y, device_api); definition 2214 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).hexagon(x); definition 2220 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).prefetch(f, var, offset, strategy); definition 2226 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).prefetch(param, var, offset, strategy); definition 2378 src/Func.cpp return Stage(func.definition(), name(), args(), func.schedule().storage_dims()); definition 2500 src/Func.cpp return Stage(func.definition(), func.name(), func.args(), func.schedule().storage_dims()); definition 53 src/Func.h Internal::Definition definition; definition 68 src/Func.h : definition(d), stage_name(n), dim_vars(args), storage_dims(sdims) { definition 69 src/Func.h internal_assert(definition.args().size() == dim_vars.size()); definition 70 src/Func.h definition.schedule().touched() = true; definition 75 src/Func.h : definition(d), stage_name(n), storage_dims(sdims) { definition 76 src/Func.h definition.schedule().touched() = true; definition 82 src/Func.h internal_assert(definition.args().size() == dim_vars.size()); definition 88 src/Func.h const Internal::Schedule &get_schedule() const { return definition.schedule(); } definition 797 src/Function.cpp return is_pure() && definition().specializations().empty(); definition 133 src/Function.h EXPORT Definition &definition(); definition 136 src/Function.h EXPORT const Definition &definition() const; definition 28 src/Inline.cpp user_assert(f.definition().specializations().empty()) definition 25 src/Prefetch.cpp return f.definition(); definition 299 src/ScheduleFunctions.cpp const Definition &s_def = s.definition; definition 509 src/ScheduleFunctions.cpp return build_provide_loop_nest(f.name(), prefix, dims, f.definition(), false); definition 1017 src/ScheduleFunctions.cpp definitions.push_back(f.definition()); definition 1024 src/ScheduleFunctions.cpp definitions.push_back(s.definition); definition 104 src/SimplifySpecializations.cpp const Definition s_def = specializations.back().definition; definition 126 src/SimplifySpecializations.cpp Definition &s_def = specializations[i-1].definition; definition 164 src/SimplifySpecializations.cpp propagate_specialization_in_definition(func.definition(), func.name()); definition 101 src/SlidingWindow.cpp bool pure = is_dim_always_pure(s.definition, dim, dim_idx); definition 539 test/correctness/specialize.cpp _halide_user_assert(f.function().definition().specializations().size() == 2); definition 545 test/correctness/specialize.cpp const auto &s = f.function().definition().specializations(); definition 585 test/correctness/specialize.cpp _halide_user_assert(f.function().definition().specializations().size() == 5); definition 591 test/correctness/specialize.cpp const auto &s = f.function().definition().specializations();