factor 68 apps/blur/halide_blur_generator.cpp int factor = sizeof(int)/sizeof(short); factor 70 apps/blur/halide_blur_generator.cpp blur_y.vectorize(x, factor) factor 28 python_bindings/python/Func.h FuncOrStage &func_parallel1(FuncOrStage &that, hh::VarOrRVar var, int factor) { factor 29 python_bindings/python/Func.h return that.parallel(var, factor); factor 33 python_bindings/python/Func.h FuncOrStage &func_split(FuncOrStage &that, hh::VarOrRVar var, hh::VarOrRVar outer, hh::VarOrRVar inner, int factor) { factor 34 python_bindings/python/Func.h return that.split(var, outer, inner, factor); factor 43 python_bindings/python/Func.h FuncOrStage &func_vectorize1(FuncOrStage &that, hh::VarOrRVar var, int factor) { factor 44 python_bindings/python/Func.h return that.vectorize(var, factor); factor 53 python_bindings/python/Func.h FuncOrStage &func_unroll1(FuncOrStage &that, hh::VarOrRVar var, int factor) { factor 54 python_bindings/python/Func.h return that.unroll(var, factor); factor 24 src/ApplySplit.cpp dim_extent_alignment[split.inner] = split.factor; factor 26 src/ApplySplit.cpp Expr base = outer * split.factor + old_min; factor 39 src/ApplySplit.cpp is_zero(simplify(iter->second % split.factor))) { factor 43 src/ApplySplit.cpp dim_extent_alignment[split.outer] = iter->second / split.factor; factor 44 src/ApplySplit.cpp } else if (is_negative_const(split.factor) || is_zero(split.factor)) { factor 45 src/ApplySplit.cpp user_error << "Can't split " << split.old_var << " by " << split.factor factor 47 src/ApplySplit.cpp } else if (is_one(split.factor)) { factor 59 src/ApplySplit.cpp Expr rebased = outer * split.factor + inner; factor 81 src/ApplySplit.cpp base = Min::make(base, old_max + (1 - split.factor)); factor 104 src/ApplySplit.cpp Expr factor = max(inner_extent, 1); factor 105 src/ApplySplit.cpp Expr inner = fused % factor + inner_min; factor 106 src/ApplySplit.cpp Expr outer = fused / factor + outer_min; factor 141 src/ApplySplit.cpp Expr inner_extent = split.factor; factor 142 src/ApplySplit.cpp Expr outer_extent = (old_var_max - old_var_min + split.factor)/split.factor; factor 451 src/Func.cpp it->extent = s.factor; factor 453 src/Func.cpp rvars.insert(it + 1, {s.outer, 0, simplify((old_extent - 1 + s.factor)/s.factor)}); factor 905 src/Func.cpp void Stage::split(const string &old, const string &outer, const string &inner, Expr factor, bool exact, TailStrategy tail) { factor 907 src/Func.cpp << outer << " and " << inner << " with factor of " << factor << "\n"; factor 1012 src/Func.cpp Split split = {old_name, outer_name, inner_name, factor, exact, tail, Split::SplitVar}; factor 1016 src/Func.cpp Stage &Stage::split(VarOrRVar old, VarOrRVar outer, VarOrRVar inner, Expr factor, TailStrategy tail) { factor 1024 src/Func.cpp split(old.name(), outer.name(), inner.name(), factor, old.is_rvar, tail); factor 1402 src/Func.cpp Stage &Stage::parallel(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1405 src/Func.cpp split(var.rvar, var.rvar, tmp, factor, tail); factor 1408 src/Func.cpp split(var.var, var.var, tmp, factor, tail); factor 1414 src/Func.cpp Stage &Stage::vectorize(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1417 src/Func.cpp split(var.rvar, var.rvar, tmp, factor, tail); factor 1421 src/Func.cpp split(var.var, var.var, tmp, factor, tail); factor 1427 src/Func.cpp Stage &Stage::unroll(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1430 src/Func.cpp split(var.rvar, var.rvar, tmp, factor, tail); factor 1434 src/Func.cpp split(var.var, var.var, tmp, factor, tail); factor 1855 src/Func.cpp Func &Func::split(VarOrRVar old, VarOrRVar outer, VarOrRVar inner, Expr factor, TailStrategy tail) { factor 1857 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).split(old, outer, inner, factor, tail); factor 1918 src/Func.cpp Func &Func::parallel(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1920 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).parallel(var, factor, tail); factor 1924 src/Func.cpp Func &Func::vectorize(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1926 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).vectorize(var, factor, tail); factor 1930 src/Func.cpp Func &Func::unroll(VarOrRVar var, Expr factor, TailStrategy tail) { factor 1932 src/Func.cpp Stage(func.definition(), name(), args(), func.schedule().storage_dims()).unroll(var, factor, tail); factor 2284 src/Func.cpp Func &Func::fold_storage(Var dim, Expr factor, bool fold_forward) { factor 2290 src/Func.cpp dims[i].fold_factor = factor; factor 61 src/Func.h Expr factor, bool exact, TailStrategy tail); factor 175 src/Func.h EXPORT Stage &split(VarOrRVar old, VarOrRVar outer, VarOrRVar inner, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 182 src/Func.h EXPORT Stage &vectorize(VarOrRVar var, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 183 src/Func.h EXPORT Stage &unroll(VarOrRVar var, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 1109 src/Func.h EXPORT Func &split(VarOrRVar old, VarOrRVar outer, VarOrRVar inner, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 1149 src/Func.h EXPORT Func &vectorize(VarOrRVar var, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 1155 src/Func.h EXPORT Func &unroll(VarOrRVar var, Expr factor, TailStrategy tail = TailStrategy::Auto); factor 70 src/Inline.cpp << s.splits()[i].factor << " + " factor 153 src/Schedule.cpp if (s.factor.defined()) { factor 154 src/Schedule.cpp s.factor = mutator->mutate(s.factor); factor 344 src/Schedule.cpp if (s.factor.defined()) { factor 345 src/Schedule.cpp s.factor.accept(visitor); factor 170 src/Schedule.h Expr factor; factor 446 src/Simplify.cpp Expr is_round_up_div(const Expr &e, int64_t factor) { factor 450 src/Simplify.cpp if (!is_const(div->b, factor)) return Expr(); factor 453 src/Simplify.cpp if (!is_const(add->b, factor-1)) return Expr(); factor 459 src/Simplify.cpp Expr is_round_up(const Expr &e, int64_t *factor) { factor 463 src/Simplify.cpp if (!const_int(mul->b, factor)) return Expr(); factor 464 src/Simplify.cpp return is_round_up_div(mul->a, *factor); factor 2431 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2433 src/Simplify.cpp expr = mutate(min(div_a->a, div_b->a) / factor); factor 2435 src/Simplify.cpp expr = mutate(max(div_a->a, div_b->a) / factor); factor 2443 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2445 src/Simplify.cpp expr = mutate(min(mul_a->a, mul_b->a) * factor); factor 2447 src/Simplify.cpp expr = mutate(max(mul_a->a, mul_b->a) * factor); factor 2457 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2459 src/Simplify.cpp expr = mutate(min(mul_a->a, ratio) * factor); factor 2461 src/Simplify.cpp expr = mutate(max(mul_a->a, ratio) * factor); factor 2793 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2795 src/Simplify.cpp expr = mutate(max(div_a->a, div_b->a) / factor); factor 2797 src/Simplify.cpp expr = mutate(min(div_a->a, div_b->a) / factor); factor 2805 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2807 src/Simplify.cpp expr = mutate(max(mul_a->a, mul_b->a) * factor); factor 2809 src/Simplify.cpp expr = mutate(min(mul_a->a, mul_b->a) * factor); factor 2819 src/Simplify.cpp Expr factor = make_const(op->type, ia); factor 2821 src/Simplify.cpp expr = mutate(max(mul_a->a, ratio) * factor); factor 2823 src/Simplify.cpp expr = mutate(min(mul_a->a, ratio) * factor); factor 57 src/StorageFolding.cpp Expr factor; factor 68 src/StorageFolding.cpp args[dim] = is_one(factor) ? 0 : (args[dim] % factor); factor 80 src/StorageFolding.cpp args[dim] = is_one(factor) ? 0 : (args[dim] % factor); factor 182 src/StorageFolding.cpp Expr factor; factor 189 src/StorageFolding.cpp factor = explicit_factor; factor 203 src/StorageFolding.cpp factor = static_cast<int>(next_power_of_two(*const_max_extent)); factor 211 src/StorageFolding.cpp if (factor.defined()) { factor 212 src/StorageFolding.cpp debug(3) << "Proceeding with factor " << factor << "\n"; factor 214 src/StorageFolding.cpp Fold fold = {(int)i - 1, factor}; factor 216 src/StorageFolding.cpp body = FoldStorageOfFunction(func.name(), (int)i - 1, factor).mutate(body); factor 257 src/StorageFolding.cpp Expr factor; factor 333 src/StorageFolding.cpp Expr f = folder.dims_folded[i].factor; factor 31 test/correctness/compile_to_multitarget.cpp Param<float> factor("factor"); factor 37 test/correctness/compile_to_multitarget.cpp j(x, y) = h(x, y) * 2 * factor; factor 55 test/correctness/image_of_lists.cpp int factor = *iter; factor 56 test/correctness/image_of_lists.cpp if (i % factor) { factor 57 test/correctness/image_of_lists.cpp printf("Error: %d is not a factor of %d\n", factor, i); factor 12 test/correctness/min_extent.cpp Expr factor("factor"); factor 16 test/correctness/min_extent.cpp factor = select(x < in.left(), -10, factor 18 test/correctness/min_extent.cpp f(x) = factor * x;