extent 84 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[0].extent = w; extent 87 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[1].extent = h; extent 101 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[0].extent = w; extent 104 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[1].extent = h; extent 162 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp {0, buf.dim(0).extent(), -buf.dim(0).stride()}, extent 163 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp {0, buf.dim(1).extent(), -buf.dim(1).stride()}, extent 22 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.extent[0] = width; extent 23 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.extent[1] = height; extent 24 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.extent[2] = 4; extent 80 apps/HelloHexagon/pipeline.cpp input.dim(0).set_bounds(0, (input.dim(0).extent()/vector_size)*vector_size); extent 81 apps/HelloHexagon/pipeline.cpp blur.dim(0).set_bounds(0, (blur.dim(0).extent()/vector_size)*vector_size); extent 96 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr min_x = clamp(mouse_x - 20, 0, state.dim(0).extent()-1); extent 97 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr max_x = clamp(mouse_x + 20, 0, state.dim(0).extent()-1); extent 98 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr min_y = clamp(mouse_y - 20, 0, state.dim(1).extent()-1); extent 99 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr max_y = clamp(mouse_y + 20, 0, state.dim(1).extent()-1); extent 18 apps/c_backend/run.cpp in->dim[0].extent = 10; extent 19 apps/c_backend/run.cpp in->dim[1].extent = 10; extent 322 apps/camera_pipe/camera_pipe_generator.cpp strip_size = processed.output_buffer().dim(1).extent() / 2; extent 324 apps/camera_pipe/camera_pipe_generator.cpp strip_size = processed.output_buffer().dim(1).extent() / 4; extent 23 apps/hexagon_matmul/pipeline.cpp Expr k_extent = A.dim(0).extent(); extent 130 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (A.dim(1).extent()/tile_rows)*tile_rows) extent 133 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (B.dim(0).extent()/vector_size_u8)*vector_size_u8); extent 138 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (output.dim(0).extent()/vector_size_u32)*vector_size_u32); extent 140 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (output.dim(1).extent()/tile_rows)*tile_rows) extent 28 apps/opengl_demo/main.cpp buf.extent[0] = width; extent 29 apps/opengl_demo/main.cpp buf.extent[1] = height; extent 30 apps/opengl_demo/main.cpp buf.extent[2] = channels; extent 54 apps/simd_op_check/driver.cpp buf.dim[0].extent = w; extent 55 apps/simd_op_check/driver.cpp buf.dim[1].extent = h; extent 129 apps/templates/SimpleAppAPI.h for (int i0 = 0; i0 < std::max(1, buf->extent[0]); ++i0) { extent 131 apps/templates/SimpleAppAPI.h for (int i1 = 0; i1 < std::max(1, buf->extent[1]); ++i1) { extent 133 apps/templates/SimpleAppAPI.h for (int i2 = 0; i2 < std::max(1, buf->extent[2]); ++i2) { extent 135 apps/templates/SimpleAppAPI.h for (int i3 = 0; i3 < std::max(1, buf->extent[3]); ++i3) { extent 181 apps/templates/SimpleAppAPI.h for (int i0 = 0; i0 < std::max(1, buf->extent[0]); ++i0) { extent 183 apps/templates/SimpleAppAPI.h for (int i1 = 0; i1 < std::max(1, buf->extent[1]); ++i1) { extent 185 apps/templates/SimpleAppAPI.h for (int i2 = 0; i2 < std::max(1, buf->extent[2]); ++i2) { extent 188 apps/templates/SimpleAppAPI.h case 0: v = i0 * kMax / std::max(1, buf->extent[0]); break; extent 189 apps/templates/SimpleAppAPI.h case 1: v = i1 * kMax / std::max(1, buf->extent[1]); break; extent 195 apps/templates/SimpleAppAPI.h for (int i3 = 0; i3 < std::max(1, buf->extent[3]); ++i3) { extent 27 apps/templates/tests/example_test.cpp for (int x = 0; x < input.extent(0); x++) { extent 28 apps/templates/tests/example_test.cpp for (int y = 0; y < input.extent(1); y++) { extent 29 apps/templates/tests/example_test.cpp for (int c = 0; c < input.extent(2); c++) { extent 30 apps/templates/tests/example_test.cpp T expected = input(input.extent(0) - x - 1, y, c); extent 161 python_bindings/python/Image.cpp repr = boost::str(f % suffix % t.bits() % t.bytes() % buffer.extent(0) % buffer.extent(1) % buffer.extent(2) % buffer.extent(3) % buffer.min(0) % buffer.min(1) % buffer.min(2) % buffer.min(3) % buffer.stride(0) % buffer.stride(1) % buffer.stride(2) % buffer.stride(3)); extent 237 python_bindings/python/Image.cpp return im.extent(d); extent 516 python_bindings/python/Image.cpp shape[i].extent = array.shape(i); extent 530 python_bindings/python/Image.cpp std::vector<int32_t> extent(im.dimensions()), stride(im.dimensions()); extent 532 python_bindings/python/Image.cpp extent[i] = im.dim(i).extent(); extent 539 python_bindings/python/Image.cpp extent, extent 50 python_bindings/python/Param.cpp param.dim(0).extent() % extent 51 python_bindings/python/Param.cpp param.dim(1).extent() % extent 52 python_bindings/python/Param.cpp param.dim(2).extent() % extent 53 python_bindings/python/Param.cpp param.dim(3).extent()); extent 33 python_bindings/python/RDom.cpp .def("extent", &RVar::extent, p::arg("self"), extent 27 python_bindings/tests/the_sort_function.c int32_t extent[4]; extent 74 python_bindings/tests/the_sort_function.c if (data->extent[0] <= 0) extent 81 python_bindings/tests/the_sort_function.c if(data->extent[i]!=0) extent 424 src/AddImageChecks.cpp extent_constrained = image.dim(i).extent(); extent 73 src/AllocationBoundsInference.cpp Expr min, max, extent; extent 81 src/AllocationBoundsInference.cpp if (bound.extent.defined()) { extent 82 src/AllocationBoundsInference.cpp extent = bound.extent; extent 83 src/AllocationBoundsInference.cpp max = simplify(min + extent - 1); extent 86 src/AllocationBoundsInference.cpp extent = simplify((max - min) + 1); extent 97 src/AllocationBoundsInference.cpp extent = simplify(max_plus_one - min); extent 114 src/AllocationBoundsInference.cpp if (bound.extent.defined()) { extent 118 src/AllocationBoundsInference.cpp stmt = LetStmt::make(extent_name, extent, stmt); extent 19 src/BoundaryConditions.cpp Expr extent = bounds[i].second; extent 21 src/BoundaryConditions.cpp if (min.defined() && extent.defined()) { extent 22 src/BoundaryConditions.cpp actuals.push_back(clamp(likely(arg_var), min, min + extent - 1)); extent 23 src/BoundaryConditions.cpp } else if (!min.defined() && !extent.defined()) { extent 53 src/BoundaryConditions.cpp Expr extent = bounds[i].second; extent 55 src/BoundaryConditions.cpp if (min.defined() && extent.defined()) { extent 58 src/BoundaryConditions.cpp arg_var >= min + extent); extent 59 src/BoundaryConditions.cpp } else if (min.defined() || extent.defined()) { extent 97 src/BoundaryConditions.cpp Expr extent = bounds[i].second; extent 99 src/BoundaryConditions.cpp if (min.defined() && extent.defined()) { extent 101 src/BoundaryConditions.cpp coord = coord % extent; // Range is 0 to w-1 extent 105 src/BoundaryConditions.cpp coord = select(arg_var < min || arg_var >= min + extent, coord, extent 106 src/BoundaryConditions.cpp clamp(likely(arg_var), min, min + extent - 1)); extent 109 src/BoundaryConditions.cpp } else if (!min.defined() && !extent.defined()) { extent 139 src/BoundaryConditions.cpp Expr extent = bounds[i].second; extent 141 src/BoundaryConditions.cpp if (min.defined() && extent.defined()) { extent 143 src/BoundaryConditions.cpp coord = coord % (2 * extent); // Range is 0 to 2w-1 extent 144 src/BoundaryConditions.cpp coord = select(coord >= extent, 2 * extent - 1 - coord, coord); // Range is -w+1, w extent 146 src/BoundaryConditions.cpp coord = clamp(coord, min, min + extent - 1); extent 147 src/BoundaryConditions.cpp coord = select(arg_var < min || arg_var >= min + extent, coord, extent 148 src/BoundaryConditions.cpp clamp(likely(arg_var), min, min + extent-1)); extent 150 src/BoundaryConditions.cpp } else if (!min.defined() && !extent.defined()) { extent 180 src/BoundaryConditions.cpp Expr extent = bounds[i].second; extent 182 src/BoundaryConditions.cpp if (min.defined() && extent.defined()) { extent 183 src/BoundaryConditions.cpp Expr limit = extent - 1; extent 192 src/BoundaryConditions.cpp coord = select(arg_var < min || arg_var >= min + extent, coord, extent 193 src/BoundaryConditions.cpp clamp(likely(arg_var), min, min + extent - 1)); extent 196 src/BoundaryConditions.cpp } else if (!min.defined() && !extent.defined()) { extent 93 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); extent 139 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); extent 175 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); extent 210 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); extent 248 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); extent 806 src/Bounds.cpp Expr max_a = a[i].min + a[i].extent; extent 807 src/Bounds.cpp Expr max_b = b[i].min + b[i].extent; extent 809 src/Bounds.cpp Expr extent = max_plus_one - min; extent 810 src/Bounds.cpp result.push_back(Range(simplify(min), simplify(extent))); extent 1267 src/Bounds.cpp op->extent.accept(this); extent 1280 src/Bounds.cpp max_val = bounds_of_expr_in_scope(op->extent, scope, func_bounds).max; extent 413 src/BoundsInference.cpp if (bound.extent.defined()) { extent 428 src/BoundsInference.cpp s = LetStmt::make(max_var, bound.min + bound.extent - 1, s); extent 466 src/BoundsInference.cpp s = LetStmt::make(arg + ".max", rvar.extent + rvar.min - 1, s); extent 817 src/BoundsInference.cpp Expr extent = Variable::make(Int(32), buffer_name + ".extent." + std::to_string(d), buf); extent 827 src/BoundsInference.cpp extent = extent_constraint; extent 830 src/BoundsInference.cpp output_box.push_back(Interval(min, (min + extent) - 1)); extent 978 src/BoundsInference.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 329 src/Buffer.h HALIDE_BUFFER_FORWARD_CONST(extent) extent 114 src/CanonicalizeGPUVars.cpp Expr extent = mutate(op->extent); extent 143 src/CanonicalizeGPUVars.cpp extent = substitute(op->name, new_var, extent); extent 150 src/CanonicalizeGPUVars.cpp extent.same_as(op->extent) && extent 154 src/CanonicalizeGPUVars.cpp stmt = For::make(name, min, extent, op->for_type, op->device_api, body); extent 36 src/Closure.cpp op->extent.accept(this); extent 637 src/CodeGen_C.cpp for (int d = 0; b.dim[d].extent; d++) { extent 638 src/CodeGen_C.cpp num_elems += b.dim[d].stride * (b.dim[d].extent - 1); extent 653 src/CodeGen_C.cpp << ", " << buffer.dim(i).extent() extent 1271 src/CodeGen_C.cpp string id_extent = print_expr(op->extent); extent 56 src/CodeGen_GPU_Host.cpp num_threads[0] = op->extent; extent 58 src/CodeGen_GPU_Host.cpp num_threads[1] = op->extent; extent 60 src/CodeGen_GPU_Host.cpp num_threads[2] = op->extent; extent 62 src/CodeGen_GPU_Host.cpp num_threads[3] = op->extent; extent 64 src/CodeGen_GPU_Host.cpp num_blocks[0] = op->extent; extent 66 src/CodeGen_GPU_Host.cpp num_blocks[1] = op->extent; extent 68 src/CodeGen_GPU_Host.cpp num_blocks[2] = op->extent; extent 70 src/CodeGen_GPU_Host.cpp num_blocks[3] = op->extent; extent 2937 src/CodeGen_LLVM.cpp Value *extent = codegen(op->extent); extent 2940 src/CodeGen_LLVM.cpp Value *max = builder->CreateNSWAdd(min, extent); extent 3053 src/CodeGen_LLVM.cpp Value *args[] = {user_context, function, min, extent, ptr}; extent 422 src/CodeGen_LLVM.h virtual llvm::Value *slice_vector(llvm::Value *vec, int start, int extent); extent 130 src/CodeGen_OpenGLCompute_Dev.cpp debug(4) << "loop extent is " << loop->extent << "\n"; extent 136 src/CodeGen_OpenGLCompute_Dev.cpp const IntImm *int_limit = loop->extent.as<IntImm>(); extent 335 src/CodeGen_OpenGLCompute_Dev.cpp Expr extent = 1; extent 337 src/CodeGen_OpenGLCompute_Dev.cpp extent *= e; extent 339 src/CodeGen_OpenGLCompute_Dev.cpp extent = simplify(extent); extent 340 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(is_const(extent)); extent 394 src/CodeGen_OpenGL_Dev.cpp debug(1) << "Dropping loop " << loop->name << " (" << loop->min << ", " << loop->extent << ")\n"; extent 40 src/DebugToFile.cpp num_elements *= op->bounds[i].extent; extent 120 src/DebugToFile.cpp Expr extent = Variable::make(Int(32), out.name() + ".extent." + dim); extent 121 src/DebugToFile.cpp output_bounds.push_back(Range(min, extent)); extent 32 src/EarlyFree.cpp loop->extent.accept(this); extent 445 src/Func.cpp old_max = simplify(it->min + it->extent - 1); extent 447 src/Func.cpp old_extent = it->extent; extent 451 src/Func.cpp it->extent = s.factor; extent 480 src/Func.cpp inner_extent = iter_inner->extent; extent 482 src/Func.cpp outer_extent = iter_outer->extent; extent 484 src/Func.cpp Expr extent = iter_outer->extent * iter_inner->extent; extent 487 src/Func.cpp iter_outer->extent = extent; extent 550 src/Func.cpp dim_extent_alignment[rv.var] = rv.extent; extent 556 src/Func.cpp rvar_bounds.push_back({ rv.var + ".loop_max", simplify(rv.min + rv.extent - 1) }); extent 557 src/Func.cpp rvar_bounds.push_back({ rv.var + ".loop_extent", rv.extent }); extent 1936 src/Func.cpp Func &Func::bound(Var var, Expr min, Expr extent) { extent 1938 src/Func.cpp user_assert(extent.defined()) << "Extent bound of a Func can't be undefined\n"; extent 1939 src/Func.cpp user_assert(Int(32).can_represent(extent.type())) << "Can't represent extent bound in int32\n"; extent 1944 src/Func.cpp extent = cast<int32_t>(extent); extent 1959 src/Func.cpp Bound b = {var.name(), min, extent, Expr(), Expr()}; extent 1964 src/Func.cpp Func &Func::bound_extent(Var var, Expr extent) { extent 1965 src/Func.cpp return bound(var, Expr(), extent); extent 2199 src/Func.cpp is_const(sched.bounds()[i].extent); extent 1165 src/Func.h EXPORT Func &bound(Var var, Expr min, Expr extent); extent 1183 src/Func.h EXPORT Func &bound_extent(Var var, Expr extent); extent 1657 src/Func.h EXPORT Func &fold_storage(Var dim, Expr extent, bool fold_forward = true); extent 72 src/FuseGPUThreadLoops.cpp void found_for(int dim, Expr extent) { extent 75 src/FuseGPUThreadLoops.cpp block_extent[dim] = extent; extent 77 src/FuseGPUThreadLoops.cpp block_extent[dim] = simplify(Max::make(extent, block_extent[dim])); extent 84 src/FuseGPUThreadLoops.cpp found_for(i, op->extent); extent 208 src/FuseGPUThreadLoops.cpp if (equal(op->extent, block_size.extent(dim))) { extent 211 src/FuseGPUThreadLoops.cpp Expr cond = var < op->extent; extent 306 src/FuseGPUThreadLoops.cpp stmt = For::make(op->name, mutate(op->min), mutate(op->extent), op->for_type, op->device_api, body); extent 613 src/FuseGPUThreadLoops.cpp body = For::make("." + thread_names[i], 0, block_size.extent(i), ForType::GPUThread, op->device_api, body); extent 630 src/FuseGPUThreadLoops.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 698 src/FuseGPUThreadLoops.cpp stmt = For::make(op->name, 0, op->extent, op->for_type, op->device_api, body); extent 1992 src/Generator.cpp internal_assert(im.dim(0).extent() == 1); extent 1226 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && (std::extent<T2, 0>::value > 0) extent 1229 src/Generator.h : GeneratorInputBase(std::extent<T2, 0>::value, name, kind, t, d) { extent 1234 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 extent 1719 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && (std::extent<T2, 0>::value > 0) extent 1722 src/Generator.h : GeneratorOutputBase(std::extent<T2, 0>::value, name, kind, t, d) { extent 1727 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 extent 1776 src/Generator.h std::is_array<T2>::value && std::rank<T2>::value == 1 && std::extent<T2, 0>::value == 0 extent 665 src/HexagonOffload.cpp Stmt body = For::make(loop->name, loop->min, loop->extent, loop->for_type, extent 328 src/IR.cpp Stmt For::make(const std::string &name, const Expr &min, const Expr &extent, ForType for_type, DeviceAPI device_api, const Stmt &body) { extent 330 src/IR.cpp internal_assert(extent.defined()) << "For of undefined\n"; extent 332 src/IR.cpp internal_assert(extent.type().is_scalar()) << "For with vector extent\n"; extent 338 src/IR.cpp node->extent = extent; extent 444 src/IR.cpp internal_assert(bounds[i].extent.defined()) << "Realize of undefined\n"; extent 446 src/IR.cpp internal_assert(bounds[i].extent.type().is_scalar()) << "Realize of vector size\n"; extent 465 src/IR.cpp internal_assert(bounds[i].extent.defined()) << "Prefetch of undefined\n"; extent 467 src/IR.cpp internal_assert(bounds[i].extent.type().is_scalar()) << "Prefetch of vector size\n"; extent 386 src/IR.h Expr min, extent; extent 388 src/IR.h Range(const Expr &min, const Expr &extent) : min(min), extent(extent) { extent 389 src/IR.h internal_assert(min.type() == extent.type()) << "Region min and extent must have same type\n"; extent 650 src/IR.h Expr min, extent; extent 655 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &min, const Expr &extent, ForType for_type, DeviceAPI device_api, const Stmt &body); extent 366 src/IREquality.cpp compare_expr(s->extent, op->extent); extent 410 src/IREquality.cpp compare_expr(s->bounds[i].extent, op->bounds[i].extent); extent 461 src/IREquality.cpp compare_expr(s->bounds[i].extent, op->bounds[i].extent); extent 49 src/IRMutator.cpp Expr old_extent = bounds[i].extent; extent 206 src/IRMutator.cpp Expr extent = mutate(op->extent); extent 209 src/IRMutator.cpp extent.same_as(op->extent) && extent 213 src/IRMutator.cpp stmt = For::make(op->name, min, extent, op->for_type, op->device_api, body); extent 567 src/IRPrinter.cpp print(op->extent); extent 642 src/IRPrinter.cpp print(op->bounds[i].extent); extent 668 src/IRPrinter.cpp print(op->bounds[i].extent); extent 167 src/IRVisitor.cpp op->extent.accept(this); extent 203 src/IRVisitor.cpp op->bounds[i].extent.accept(this); extent 212 src/IRVisitor.cpp op->bounds[i].extent.accept(this); extent 406 src/IRVisitor.cpp include(op->extent); extent 442 src/IRVisitor.cpp include(op->bounds[i].extent); extent 451 src/IRVisitor.cpp include(op->bounds[i].extent); extent 82 src/Inline.cpp << s.bounds()[i].extent << "] because the function is scheduled inline.\n"; extent 516 src/LoopCarry.cpp if (op->for_type == ForType::Serial && !is_one(op->extent)) { extent 523 src/LoopCarry.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 532 src/LoopCarry.cpp stmt = IfThenElse::make(op->extent > 0, stmt); extent 67 src/OutputImageParam.cpp return dim(0).extent(); extent 72 src/OutputImageParam.cpp return dim(1).extent(); extent 77 src/OutputImageParam.cpp return dim(2).extent(); extent 68 src/OutputImageParam.h Expr extent(int i) const {return dim(i).extent();} extent 138 src/ParallelRVar.cpp Interval in = Interval(rv.min, simplify(rv.min + rv.extent - 1)); extent 315 src/Parameter.cpp return min() + extent() - 1; extent 324 src/Parameter.cpp Dimension Dimension::set_extent(Expr extent) { extent 325 src/Parameter.cpp param.set_extent_constraint(d, extent); extent 340 src/Parameter.cpp Dimension Dimension::set_bounds(Expr min, Expr extent) { extent 341 src/Parameter.cpp return set_min(min).set_extent(extent); extent 156 src/Parameter.h EXPORT Expr extent() const; extent 201 src/Parameter.h EXPORT Dimension set_bounds(Expr min, Expr extent); extent 339 src/PartitionLoops.cpp varying.push(op->name, Interval(op->min, op->min + op->extent - 1)); extent 596 src/PartitionLoops.cpp Expr min_steady = op->min, max_steady = op->extent + op->min; extent 610 src/PartitionLoops.cpp prologue_val = min(prologue_val, op->extent + op->min); extent 618 src/PartitionLoops.cpp max_vals.push_back(op->min + op->extent - 1); extent 643 src/PartitionLoops.cpp epilogue = For::make(op->name, max_steady, op->min + op->extent - max_steady, extent 663 src/PartitionLoops.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, stmt); extent 671 src/PartitionLoops.cpp epilogue_val = op->min + op->extent; extent 792 src/PartitionLoops.cpp !expr_uses_var(f->extent, op->name)); extent 794 src/PartitionLoops.cpp inner = For::make(f->name, f->min, f->extent, f->for_type, f->device_api, inner); extent 870 src/PartitionLoops.cpp for_a->extent.same_as(for_b->extent)) { extent 872 src/PartitionLoops.cpp inner = For::make(for_a->name, for_a->min, for_a->extent, for_a->for_type, for_a->device_api, inner); extent 952 src/Pipeline.cpp tb.query.dim(i).extent() != tb.orig.dim(i).extent() || extent 98 src/Prefetch.cpp b.push_back(Interval(r.min, r.min + r.extent - 1)); extent 170 src/Prefetch.cpp Expr extent = box[i].max - box[i].min + 1; extent 171 src/Prefetch.cpp bounds.push_back(Range(box[i].min, extent)); extent 252 src/Prefetch.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 337 src/Prefetch.cpp Expr extent = call->args[i]; extent 350 src/Prefetch.cpp outer_extent = extent; extent 355 src/Prefetch.cpp outer_extent = simplify((extent * abs_stride_bytes + max_byte_size - 1)/max_byte_size); extent 85 src/PrintLoopNest.cpp Expr min_val = op->min, extent_val = op->extent; extent 257 src/Profiling.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 17 src/RDom.cpp if (!min().defined() || !extent().defined()) { extent 34 src/RDom.cpp return _var().extent; extent 137 src/RDom.cpp rv.extent = cast<int32_t>(ranges[i].second); extent 152 src/RDom.cpp b.dim(i).extent() extent 168 src/RDom.cpp p.dim(i).extent() extent 222 src/RDom.cpp stream << v.name() << "(" << v.min() << ", " << v.extent() << ")"; extent 50 src/RDom.h EXPORT Expr extent() const; extent 187 src/RDom.h NO_INLINE void initialize_from_ranges(std::vector<std::pair<Expr, Expr>> &ranges, Expr min, Expr extent, Args&&... args) { extent 188 src/RDom.h ranges.push_back({ min, extent }); extent 204 src/RDom.h NO_INLINE RDom(Expr min, Expr extent, Args&&... args) { extent 208 src/RDom.h initialize_from_ranges(ranges, min, extent, std::forward<Args>(args)...); extent 107 src/Reduction.cpp if (rvar.extent.defined()) { extent 108 src/Reduction.cpp rvar.extent.accept(visitor); extent 122 src/Reduction.cpp if (rvar.extent.defined()) { extent 123 src/Reduction.cpp rvar.extent = mutator->mutate(rvar.extent); extent 18 src/Reduction.h Expr min, extent; extent 22 src/RemoveTrivialForLoops.cpp if (is_one(for_loop->extent)) { extent 35 src/RemoveTrivialForLoops.cpp } else if (is_zero(for_loop->extent)) { extent 37 src/RemoveTrivialForLoops.cpp } else if (can_prove(for_loop->extent <= 1)) { extent 40 src/RemoveTrivialForLoops.cpp stmt = IfThenElse::make(for_loop->extent > 0, stmt, Stmt()); extent 44 src/RemoveTrivialForLoops.cpp stmt = For::make(for_loop->name, for_loop->min, for_loop->extent, for_loop->for_type, for_loop->device_api, body); extent 253 src/RemoveUndef.cpp Expr extent = mutate(op->extent); extent 261 src/RemoveUndef.cpp extent.same_as(op->extent) && extent 265 src/RemoveUndef.cpp stmt = For::make(op->name, min, extent, op->for_type, op->device_api, body); extent 408 src/RemoveUndef.cpp Expr old_extent = op->bounds[i].extent; extent 148 src/Schedule.cpp if (r.extent.defined()) { extent 149 src/Schedule.cpp r.extent = mutator->mutate(r.extent); extent 161 src/Schedule.cpp if (b.extent.defined()) { extent 162 src/Schedule.cpp b.extent = mutator->mutate(b.extent); extent 339 src/Schedule.cpp if (r.extent.defined()) { extent 340 src/Schedule.cpp r.extent.accept(visitor); extent 352 src/Schedule.cpp if (b.extent.defined()) { extent 353 src/Schedule.cpp b.extent.accept(visitor); extent 217 src/Schedule.h Expr min, extent, modulus, remainder; extent 86 src/ScheduleFunctions.cpp if (i.extent.defined()) { extent 87 src/ScheduleFunctions.cpp dim_extent_alignment[i.var] = i.extent; extent 95 src/ScheduleFunctions.cpp dim_extent_alignment[i.var] = i.extent; extent 212 src/ScheduleFunctions.cpp Expr extent = Variable::make(Int(32), nest[i].name + ".loop_extent"); extent 213 src/ScheduleFunctions.cpp stmt = For::make(nest[i].name, min, extent, dim.for_type, dim.device_api, stmt); extent 556 src/ScheduleFunctions.cpp if (!b.extent.defined()) { extent 561 src/ScheduleFunctions.cpp Expr max_val = (b.extent + b.min) - 1; extent 660 src/ScheduleFunctions.cpp Expr extent = Variable::make(Int(32), name + "." + arg + ".extent_realized"); extent 661 src/ScheduleFunctions.cpp bounds.push_back(Range(min, extent)); extent 754 src/ScheduleFunctions.cpp for_loop->extent, extent 799 src/ScheduleFunctions.cpp f->extent.accept(this); extent 1126 src/ScheduleFunctions.cpp is_one(simplify(op->extent)) && extent 30 src/SelectGPUAPI.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, selected_api, op->body); extent 4786 src/Simplify.cpp Expr new_extent = mutate(op->extent); extent 4806 src/Simplify.cpp op->extent.same_as(new_extent) && extent 69 src/SkipStages.cpp op->extent.accept(this); extent 71 src/SkipStages.cpp if (!is_one(op->extent) || min_varies) { extent 281 src/SlidingWindow.cpp Expr extent = expand_expr(op->extent, scope); extent 282 src/SlidingWindow.cpp if (is_one(extent)) { extent 289 src/SlidingWindow.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, l->body); extent 291 src/SlidingWindow.cpp is_monotonic(extent, loop_var) != Monotonic::Constant) { extent 294 src/SlidingWindow.cpp << min << ", " << extent << "\n"; extent 348 src/SlidingWindow.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, new_body); extent 368 src/StmtToHtml.cpp print_list({Variable::make(Int(32), op->name), op->min, op->extent}); extent 467 src/StmtToHtml.cpp print_list("[", {op->bounds[i].min, op->bounds[i].extent}, "]"); extent 492 src/StmtToHtml.cpp print_list("[", {op->bounds[i].min, op->bounds[i].extent}, "]"); extent 105 src/StorageFlattening.cpp extents.push_back(op->bounds[i].extent); extent 235 src/StorageFlattening.cpp prefetch_extent[i] = mutate(op->bounds[i].extent); extent 181 src/StorageFolding.cpp Expr extent = simplify(max - min + 1); extent 185 src/StorageFolding.cpp {func.name(), storage_dim.var, explicit_factor, op->name, extent}, extent 187 src/StorageFolding.cpp body = Block::make(AssertStmt::make(extent <= explicit_factor, error), body); extent 195 src/StorageFolding.cpp Expr max_extent = simplify(bounds_of_expr_in_scope(extent, scope).max); extent 206 src/StorageFolding.cpp << "extent = " << extent << "\n" extent 226 src/StorageFolding.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 250 src/StorageFolding.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 70 src/Substitute.cpp Expr new_extent = mutate(op->extent); extent 76 src/Substitute.cpp new_extent.same_as(op->extent) && extent 179 src/Tracing.cpp builder.coordinates.push_back(op->bounds[i].extent); extent 218 src/Tracing.cpp Expr extent = (max + 1) - min; extent 220 src/Tracing.cpp builder.coordinates.push_back(extent); extent 274 src/Tracing.cpp Expr extent = Variable::make(Int(32), output_buf.name() + ".extent." + d); extent 275 src/Tracing.cpp output_region.push_back(Range(min, extent)); extent 121 src/TrimNoOps.cpp varying.push(op->name, Interval(op->min, op->min + op->extent - 1)); extent 126 src/TrimNoOps.cpp condition = make_and(old_condition, make_or(condition, simplify(op->extent <= 0))); extent 321 src/TrimNoOps.cpp Expr extent = mutate(op->extent); extent 322 src/TrimNoOps.cpp containing_loops.push_back({op->name, {min, min + extent - 1}}); extent 325 src/TrimNoOps.cpp stmt = For::make(op->name, min, extent, op->for_type, op->device_api, body); extent 363 src/TrimNoOps.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 376 src/TrimNoOps.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, body); extent 404 src/TrimNoOps.cpp Expr old_max = op->min + op->extent; extent 77 src/UniquifyVariableNames.cpp Expr extent = mutate(op->extent); extent 86 src/UniquifyVariableNames.cpp extent.same_as(op->extent)) { extent 89 src/UniquifyVariableNames.cpp stmt = For::make(new_name, min, extent, op->for_type, op->device_api, body); extent 18 src/UnrollLoops.cpp Expr extent = simplify(for_loop->extent); extent 19 src/UnrollLoops.cpp const IntImm *e = extent.as<IntImm>(); extent 22 src/UnrollLoops.cpp << "Loop over " << for_loop->name << " has extent " << extent << ".\n"; extent 139 src/VaryingAttributes.cpp stmt = For::make(op->name, op->min, op->extent, op->for_type, op->device_api, mutated_body); extent 848 src/VaryingAttributes.cpp mutate_operator(this, op, op->min, op->extent, op->body, &stmt); extent 896 src/VaryingAttributes.cpp Expr old_extent = op->bounds[i].extent; extent 1035 src/VaryingAttributes.cpp coord1 = (coord1 / for_loops[0]->extent) * 2.0f - 1.0f; extent 1036 src/VaryingAttributes.cpp coord0 = (coord0 / for_loops[1]->extent) * 2.0f - 1.0f; extent 1175 src/VaryingAttributes.cpp Expr loop0_max = Add::make(loop0->min, loop0->extent); extent 1176 src/VaryingAttributes.cpp Expr loop1_max = Add::make(loop1->min, loop1->extent); extent 775 src/VectorizeLoops.cpp Expr extent = mutate(op->extent); extent 783 src/VectorizeLoops.cpp Stmt transformed = For::make(op->name, 0, op->extent, for_type, op->device_api, body); extent 788 src/VectorizeLoops.cpp if (extent.type().is_vector()) { extent 793 src/VectorizeLoops.cpp extent = bounds_of_lanes(extent).max; extent 795 src/VectorizeLoops.cpp body = IfThenElse::make(likely(var < op->min + op->extent), body); extent 801 src/VectorizeLoops.cpp extent.same_as(op->extent) && extent 806 src/VectorizeLoops.cpp stmt = For::make(op->name, min, extent, for_type, op->device_api, body); extent 820 src/VectorizeLoops.cpp Expr extent = mutate(op->extents[i]); extent 826 src/VectorizeLoops.cpp if (extent.type().is_vector()) { extent 827 src/VectorizeLoops.cpp extent = bounds_of_lanes(extent).max; extent 829 src/VectorizeLoops.cpp new_extents.push_back(extent); extent 930 src/VectorizeLoops.cpp const IntImm *extent = for_loop->extent.as<IntImm>(); extent 931 src/VectorizeLoops.cpp if (!extent || extent->value <= 1) { extent 933 src/VectorizeLoops.cpp << " has extent " << for_loop->extent extent 940 src/VectorizeLoops.cpp Expr replacement = Ramp::make(for_loop->min, 1, extent->value); extent 249 src/runtime/HalideBuffer.h buf.dim[next].extent = first; extent 253 src/runtime/HalideBuffer.h buf.dim[next].stride = buf.dim[next-1].stride * buf.dim[next-1].extent; extent 266 src/runtime/HalideBuffer.h buf.dim[i].extent = sizes[i]; extent 270 src/runtime/HalideBuffer.h buf.dim[i].stride = buf.dim[i-1].stride * buf.dim[i-1].extent; extent 279 src/runtime/HalideBuffer.h buf.dim[next].extent = (int)N; extent 284 src/runtime/HalideBuffer.h buf.dim[next].stride = buf.dim[next - 1].stride * buf.dim[next - 1].extent; extent 353 src/runtime/HalideBuffer.h HALIDE_ALWAYS_INLINE int extent() const { extent 354 src/runtime/HalideBuffer.h return d.extent; extent 359 src/runtime/HalideBuffer.h return min() + extent() - 1; extent 378 src/runtime/HalideBuffer.h return {min() + extent()}; extent 392 src/runtime/HalideBuffer.h int extent(int i) const { return dim(i).extent(); } extent 401 src/runtime/HalideBuffer.h s *= dim(i).extent(); extent 422 src/runtime/HalideBuffer.h index += dim(i).stride() * (dim(i).extent() - 1); extent 433 src/runtime/HalideBuffer.h index += dim(i).stride() * (dim(i).extent() - 1); extent 463 src/runtime/HalideBuffer.h for (d = 0; d < 4 && old_buf.extent[d]; d++); extent 468 src/runtime/HalideBuffer.h buf.dim[i].extent = old_buf.extent[i]; extent 485 src/runtime/HalideBuffer.h old_buf.extent[i] = dim(i).extent(); extent 630 src/runtime/HalideBuffer.h size *= dim(i).extent(); extent 635 src/runtime/HalideBuffer.h size /= dim(i).extent(); extent 922 src/runtime/HalideBuffer.h return (dimensions() > 0) ? dim(0).extent() : 1; extent 925 src/runtime/HalideBuffer.h return (dimensions() > 1) ? dim(1).extent() : 1; extent 928 src/runtime/HalideBuffer.h return (dimensions() > 2) ? dim(2).extent() : 1; extent 1023 src/runtime/HalideBuffer.h Buffer<T, D> cropped(int d, int min, int extent) const { extent 1027 src/runtime/HalideBuffer.h im.crop(d, min, extent); extent 1032 src/runtime/HalideBuffer.h void crop(int d, int min, int extent) { extent 1041 src/runtime/HalideBuffer.h buf.dim[d].extent = extent; extent 1213 src/runtime/HalideBuffer.h buf.dim[dims].stride = buf.dim[dims-1].extent * buf.dim[dims-1].stride; extent 1368 src/runtime/HalideBuffer.h shape[i].stride = shape[i-1].extent * shape[i-1].stride; extent 1510 src/runtime/HalideBuffer.h int extent; extent 1554 src/runtime/HalideBuffer.h for (int i = t[d].extent; i != 0; i--) { extent 1580 src/runtime/HalideBuffer.h for (int i = t[d].extent; i != 0; i--) { extent 1605 src/runtime/HalideBuffer.h t[i].extent = 1; extent 1610 src/runtime/HalideBuffer.h t[i].extent = dim(i).extent(); extent 1623 src/runtime/HalideBuffer.h flat = flat && t[i-1].stride[j] * t[i-1].extent == t[i].stride[j]; extent 1626 src/runtime/HalideBuffer.h t[i-1].extent *= t[i].extent; extent 816 src/runtime/HalideRuntime.h extern int halide_error_buffer_extents_negative(void *user_context, const char *buffer_name, int dimension, int extent); extent 962 src/runtime/HalideRuntime.h int32_t min, extent, stride; extent 968 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE halide_dimension_t() : min(0), extent(0), stride(0), flags(0) {} extent 970 src/runtime/HalideRuntime.h min(m), extent(e), stride(s), flags(f) {} extent 974 src/runtime/HalideRuntime.h (extent == other.extent) && extent 1062 src/runtime/HalideRuntime.h s *= dim[i].extent; extent 1073 src/runtime/HalideRuntime.h index += dim[i].stride * (dim[i].extent - 1); extent 1084 src/runtime/HalideRuntime.h index += dim[i].stride * (dim[i].extent - 1); extent 1131 src/runtime/HalideRuntime.h int32_t extent[4]; extent 39 src/runtime/buffer_t.cpp return buf->dim[d].min + buf->dim[d].extent - 1; extent 44 src/runtime/buffer_t.cpp return buf->dim[d].extent; extent 146 src/runtime/buffer_t.cpp const int *min, const int *extent) { extent 153 src/runtime/buffer_t.cpp dst->dim[i].extent = extent[i]; extent 22 src/runtime/cache.cpp << ", " << buf.dim[i].extent extent 601 src/runtime/cuda.cpp for (int i = 0; i < (int)c.extent[d-1]; i++) { extent 35 src/runtime/device_buffer_utils.h uint64_t extent[MAX_COPY_DIMS]; extent 45 src/runtime/device_buffer_utils.h while (d >= 0 && copy.extent[d] == 1) d--; extent 52 src/runtime/device_buffer_utils.h for (uint64_t i = 0; i < copy.extent[d]; i++) { extent 75 src/runtime/device_buffer_utils.h c.extent[i] = 1; extent 109 src/runtime/device_buffer_utils.h c.extent[j] = c.extent[j - 1]; extent 113 src/runtime/device_buffer_utils.h c.extent[insert] = stride_bytes != 0 ? buf->dim[i].extent : 1; extent 114 src/runtime/device_buffer_utils.h debug(NULL) << "c.extent[" << insert << "] = " << (int)(c.extent[insert]) << "\n"; extent 124 src/runtime/device_buffer_utils.h c.chunk_size *= c.extent[0]; extent 129 src/runtime/device_buffer_utils.h c.extent[j-1] = c.extent[j]; extent 132 src/runtime/device_buffer_utils.h c.extent[MAX_COPY_DIMS-1] = 1; extent 67 src/runtime/errors.cpp WEAK int halide_error_buffer_extents_negative(void *user_context, const char *buffer_name, int dimension, int extent) { extent 71 src/runtime/errors.cpp << " is negative (" << extent << ")"; extent 297 src/runtime/matlab.cpp buf->dim[i].extent = static_cast<int32_t>(get_dimension(arr, i)); extent 302 src/runtime/matlab.cpp if (buf->dim[i].extent == 0) { extent 303 src/runtime/matlab.cpp buf->dim[i].extent = 1; extent 310 src/runtime/matlab.cpp buf->dim[i].stride = buf->dim[i-1].extent * buf->dim[i-1].stride; extent 19 src/runtime/msan.cpp while (d >= 0 && c.extent[d] == 1) d--; extent 25 src/runtime/msan.cpp for (uint64_t i = 0; i < c.extent[d]; i++) { extent 14 src/runtime/old_buffer_t.cpp if (old_buf->extent[i] == 0) { extent 57 src/runtime/old_buffer_t.cpp new_buf->dim[i].extent = old_buf->extent[i]; extent 76 src/runtime/old_buffer_t.cpp old_buf->extent[i] = new_buf->dim[i].extent; extent 788 src/runtime/opencl.cpp size_t region[3] = { c.chunk_size, c.extent[0], c.extent[1] }; extent 820 src/runtime/opencl.cpp for (int i = 0; i < (int)c.extent[d-1]; i++) { extent 172 src/runtime/opengl.cpp GLint extent[4]; extent 817 src/runtime/opengl.cpp const int channels = (buf->dimensions > 2) ? buf->dim[2].extent : 0; extent 893 src/runtime/opengl.cpp *width = buf->dim[0].extent; extent 902 src/runtime/opengl.cpp *height = (buf->dimensions > 1) ? buf->dim[1].extent : 1; extent 903 src/runtime/opengl.cpp *channels = (buf->dimensions > 2) ? buf->dim[2].extent : 1; extent 923 src/runtime/opengl.cpp texinfo->extent[i] = (buf->dimensions > i) ? buf->dim[i].extent : 0; extent 977 src/runtime/opengl.cpp if (width < buf->dim[0].extent || height < buf->dim[1].extent) { extent 981 src/runtime/opengl.cpp << ", buffer size: " << buf->dim[0].extent << "x" << buf->dim[1].extent; extent 1107 src/runtime/opengl.cpp int width = (src_buf->dimensions > 0) ? src_buf->dim[0].extent : 1; extent 1108 src/runtime/opengl.cpp int height = (src_buf->dimensions > 1) ? src_buf->dim[1].extent : 1; extent 1109 src/runtime/opengl.cpp int channels = (src_buf->dimensions > 2) ? src_buf->dim[2].extent : 1; extent 1134 src/runtime/opengl.cpp int width = (dst_buf->dimensions > 0) ? dst_buf->dim[0].extent : 1; extent 1135 src/runtime/opengl.cpp int height = (dst_buf->dimensions > 1) ? dst_buf->dim[1].extent : 1; extent 1136 src/runtime/opengl.cpp int dst_channels = (dst_buf->dimensions > 2) ? dst_buf->dim[2].extent : 1; extent 1205 src/runtime/opengl.cpp bool is_interleaved = (buffer_channels == 1) || (buf->dim[2].stride == 1 && buf->dim[0].stride == buf->dim[2].extent); extent 1206 src/runtime/opengl.cpp bool is_packed = (buf->dim[1].stride == buf->dim[0].extent * buf->dim[0].stride); extent 1324 src/runtime/opengl.cpp bool is_interleaved = (buffer_channels == 1) || (buf->dim[2].stride == 1 && buf->dim[0].stride == buf->dim[2].extent); extent 1325 src/runtime/opengl.cpp bool is_packed = (buf->dim[1].stride == buf->dim[0].extent * buf->dim[0].stride); extent 1331 src/runtime/opengl.cpp global_state.ReadPixels(0, 0, buf->dim[0].extent, buf->dim[1].extent, format, type, buf->host); extent 1356 src/runtime/opengl.cpp global_state.ReadPixels(0, 0, buf->dim[0].extent, buf->dim[1].extent, format, type, tmp.ptr); extent 1696 src/runtime/opengl.cpp output_extent[0] = texinfo->extent[0]; extent 1697 src/runtime/opengl.cpp output_extent[1] = texinfo->extent[1]; extent 133 src/runtime/openglcompute.cpp << " extent: " << buf->dim[0].extent << " " << buf->dim[1].extent extent 134 src/runtime/openglcompute.cpp << " " << buf->dim[2].extent << " " << buf->dim[3].extent << "\n" extent 260 src/runtime/openglcompute.cpp << "extents: " << buf->dim[0].extent << "x" extent 261 src/runtime/openglcompute.cpp << buf->dim[1].extent << "x" << buf->dim[2].extent << "x" extent 262 src/runtime/openglcompute.cpp << buf->dim[3].extent << " " extent 292 src/runtime/to_string.cpp dst = halide_int64_to_string(dst, end, buf->dim[i].extent, 1); extent 119 src/runtime/write_debug_image.cpp elts *= shape[i].extent; extent 123 src/runtime/write_debug_image.cpp shape[i].extent = 1; extent 130 src/runtime/write_debug_image.cpp int32_t width = shape[0].extent; extent 131 src/runtime/write_debug_image.cpp int32_t height = shape[1].extent; extent 134 src/runtime/write_debug_image.cpp if ((shape[3].extent == 0 || shape[3].extent == 1) && (shape[2].extent < 5)) { extent 135 src/runtime/write_debug_image.cpp channels = shape[2].extent; extent 138 src/runtime/write_debug_image.cpp channels = shape[3].extent; extent 139 src/runtime/write_debug_image.cpp depth = shape[2].extent; extent 161 src/runtime/write_debug_image.cpp tag++->assign32(278, 1, shape[1].extent); // Rows per strip extent 196 src/runtime/write_debug_image.cpp offset += shape[0].extent * shape[1].extent * depth * bytes_per_element; extent 198 src/runtime/write_debug_image.cpp int32_t count = shape[0].extent * shape[1].extent * depth; extent 207 src/runtime/write_debug_image.cpp int32_t header[] = {shape[0].extent, extent 208 src/runtime/write_debug_image.cpp shape[1].extent, extent 209 src/runtime/write_debug_image.cpp shape[2].extent, extent 210 src/runtime/write_debug_image.cpp shape[3].extent, extent 224 src/runtime/write_debug_image.cpp for (int32_t dim3 = shape[3].min; dim3 < shape[3].extent + shape[3].min; ++dim3) { extent 225 src/runtime/write_debug_image.cpp for (int32_t dim2 = shape[2].min; dim2 < shape[2].extent + shape[2].min; ++dim2) { extent 226 src/runtime/write_debug_image.cpp for (int32_t dim1 = shape[1].min; dim1 < shape[1].extent + shape[1].min; ++dim1) { extent 227 src/runtime/write_debug_image.cpp for (int32_t dim0 = shape[0].min; dim0 < shape[0].extent + shape[0].min; ++dim0) { extent 6 test/correctness/bounds_of_abs.cpp void check(Func f, ImageParam in, int min, int extent) { extent 14 test/correctness/bounds_of_abs.cpp if (im.extent(0) != extent || im.min(0) != min) { extent 16 test/correctness/bounds_of_abs.cpp im.min(0), im.extent(0), min, extent); extent 6 test/correctness/bounds_of_cast.cpp void check(Func f, ImageParam in, int min, int extent) { extent 14 test/correctness/bounds_of_cast.cpp if (im.extent(0) != extent || im.min(0) != min) { extent 16 test/correctness/bounds_of_cast.cpp im.min(0), im.extent(0), min, extent); extent 26 test/correctness/bounds_of_func.cpp assert(in_buf.min(0) == 10 && in_buf.extent(0) == 11); extent 47 test/correctness/bounds_of_func.cpp assert(in_buf.min(0) == 10 && in_buf.extent(0) == 11); extent 67 test/correctness/bounds_of_func.cpp assert(in_buf.min(0) == 0 && in_buf.extent(0) == 91); extent 95 test/correctness/bounds_of_func.cpp assert(in_buf.min(0) == -1049600 && in_buf.extent(0) == 2097153); extent 30 test/correctness/bounds_query.cpp assert(b.extent(0) == 1028); extent 31 test/correctness/bounds_query.cpp assert(b.extent(1) == 1026); extent 63 test/correctness/constraints.cpp .set_bounds(0, ((h.output_buffer().dim(0).extent())/8)*8) extent 65 test/correctness/constraints.cpp .set_bounds(0, image1.dim(1).extent()); extent 16 test/correctness/extern_bounds_inference.cpp in->dim[0].extent = out->dim[0].extent; extent 17 test/correctness/extern_bounds_inference.cpp in->dim[1].extent = out->dim[1].extent; extent 35 test/correctness/extern_bounds_inference.cpp if (buf.min(0) != x || buf.extent(0) != w || extent 36 test/correctness/extern_bounds_inference.cpp buf.min(1) != y || buf.extent(1) != h) { extent 40 test/correctness/extern_bounds_inference.cpp buf.min(0), buf.extent(0), buf.min(1), buf.extent(1), extent 22 test/correctness/extern_consumer.cpp input->dim[0].extent = desired_extent; extent 75 test/correctness/extern_consumer.cpp Param<int> min, extent; extent 83 test/correctness/extern_consumer.cpp args.push_back(extent); extent 96 test/correctness/extern_consumer.cpp extent.set(10); extent 112 test/correctness/extern_consumer.cpp args2.push_back(extent); extent 19 test/correctness/extern_output_expansion.cpp out->dim[0].extent = ((out->dim[0].extent + 16)/17)*17; extent 22 test/correctness/extern_output_expansion.cpp in->dim[0].extent = out->dim[0].extent; extent 27 test/correctness/extern_output_expansion.cpp assert(out->dim[0].extent % 17 == 0); extent 29 test/correctness/extern_output_expansion.cpp in->dim[0].min, in->dim[0].extent, extent 30 test/correctness/extern_output_expansion.cpp out->dim[0].min, out->dim[0].extent); extent 33 test/correctness/extern_output_expansion.cpp for (int i = out->dim[0].min; i < out->dim[0].min + out->dim[0].extent; i++) { extent 32 test/correctness/extern_producer.cpp int max_plus_one = out->dim[0].min + out->dim[0].extent; extent 35 test/correctness/extern_producer.cpp out->dim[0].extent = max_plus_one - out->dim[0].min; extent 38 test/correctness/extern_producer.cpp if (out->dim[1].extent < 40) { extent 39 test/correctness/extern_producer.cpp out->dim[1].extent = 40; extent 48 test/correctness/extern_producer.cpp out->dim[0].min, out->dim[0].min + out->dim[0].extent, extent 49 test/correctness/extern_producer.cpp out->dim[1].min, out->dim[1].min + out->dim[1].extent); extent 50 test/correctness/extern_producer.cpp for (int y = 0; y < out->dim[1].extent; y++) { extent 52 test/correctness/extern_producer.cpp for (int x = 0; x < out->dim[0].extent; x++) { extent 72 test/correctness/extern_producer.cpp out1->dim[0].extent == out2->dim[0].extent && extent 73 test/correctness/extern_producer.cpp out1->dim[1].extent == out2->dim[1].extent); extent 75 test/correctness/extern_producer.cpp out1->dim[0].min, out1->dim[0].min + out1->dim[0].extent, extent 76 test/correctness/extern_producer.cpp out1->dim[1].min, out1->dim[1].min + out1->dim[1].extent); extent 77 test/correctness/extern_producer.cpp for (int y = 0; y < out1->dim[1].extent; y++) { extent 80 test/correctness/extern_producer.cpp for (int x = 0; x < out1->dim[0].extent; x++) { extent 17 test/correctness/extern_sort.cpp in->dim[0].extent = out->dim[0].extent; extent 19 test/correctness/extern_sort.cpp memcpy(out->host, in->host, out->dim[0].extent * out->type.bytes()); extent 21 test/correctness/extern_sort.cpp float *out_end = out_start + out->dim[0].extent; extent 12 test/correctness/extern_stage.cpp int max = out->dim[0].min + out->dim[0].extent - 1; extent 14 test/correctness/extern_stage.cpp int extent = out->dim[0].extent; extent 25 test/correctness/extern_stage.cpp in1->dim[0].extent = extent; extent 29 test/correctness/extern_stage.cpp in2->dim[0].extent = extent; extent 45 test/correctness/extern_stage.cpp in1->dim[0].min + in1->dim[0].extent > flipped_max); extent 47 test/correctness/extern_stage.cpp in2->dim[0].min + in2->dim[0].extent > flipped_max); extent 21 test/correctness/float16_t_image_type.cpp h_assert(simple.extent(0) == 10, "invalid width"); extent 22 test/correctness/float16_t_image_type.cpp h_assert(simple.extent(1) == 3, "invalid height"); extent 31 test/correctness/float16_t_image_type.cpp for (int x=simple.min(0); x < simple.extent(0); ++x) { extent 32 test/correctness/float16_t_image_type.cpp for (int y = simple.min(1); y < simple.extent(1); ++y) { extent 37 test/correctness/float16_t_image_type.cpp for (int x = simple.min(0); x < simple.extent(0); ++x) { extent 38 test/correctness/float16_t_image_type.cpp for (int y = simple.min(1); y < simple.extent(1); ++y) { extent 27 test/correctness/float16_t_implicit_upcast.cpp h_assert(simple.extent(0) == 10, "invalid width"); extent 28 test/correctness/float16_t_implicit_upcast.cpp h_assert(simple.extent(1) == 3, "invalid height"); extent 35 test/correctness/float16_t_implicit_upcast.cpp for (int x = simple.min(0); x < simple.extent(0); ++x) { extent 36 test/correctness/float16_t_implicit_upcast.cpp for (int y = simple.min(1); y < simple.extent(1); ++y) { extent 40 test/correctness/for_each_element.cpp for (int c = im.dim(2).min(); c < im.dim(2).min() + im.dim(2).extent(); c++) { extent 41 test/correctness/for_each_element.cpp for (int y = im.dim(1).min(); y < im.dim(1).min() + im.dim(1).extent(); y++) { extent 42 test/correctness/for_each_element.cpp for (int x = im.dim(0).min(); x < im.dim(0).min() + im.dim(0).extent(); x++) { extent 19 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[0].extent = x_size; extent 20 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[1].extent = y_size; extent 21 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[2].extent = z_size; extent 22 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[3].extent = w_size; extent 61 test/correctness/gpu_non_contiguous_copy.cpp for (int w = 0; w < full.extent(3); ++w) { extent 62 test/correctness/gpu_non_contiguous_copy.cpp for (int z = 0; z < full.extent(2); ++z) { extent 63 test/correctness/gpu_non_contiguous_copy.cpp for (int y = 0; y < full.extent(1); ++y) { extent 64 test/correctness/gpu_non_contiguous_copy.cpp for (int x = 0; x < full.extent(0); ++x) { extent 11 test/correctness/halide_buffer.cpp a.dim(i).extent() != b.dim(i).extent()) { extent 39 test/correctness/histogram_equalize.cpp int pixels = in.extent(0)*in.extent(1); extent 113 test/correctness/inline_reduction.cpp RDom all_z(input_3d.min(2), input_3d.extent(2)); extent 27 test/correctness/input_larger_than_two_gigs.cpp grand_total() = cast<uint64_t>(input(0, 0, 0) + input(input.dim(0).extent()-1, input.dim(1).extent()-1, input.dim(2).extent()-1)); extent 93 test/correctness/lerp.cpp for (int32_t i = 0; i < result.extent(0); i++) { extent 94 test/correctness/lerp.cpp for (int32_t j = 0; j < result.extent(1); j++) { extent 95 test/correctness/lerp.cpp for (int32_t k = 0; k < result.extent(2); k++) { extent 23 test/correctness/loop_invariant_extern_calls.cpp int not_really_parallel_for(void *ctx, int (*f)(void *, int, uint8_t *), int min, int extent, uint8_t *closure) { extent 24 test/correctness/loop_invariant_extern_calls.cpp for (int i = min; i < min + extent; i++) { extent 12 test/correctness/many_small_extern_stages.cpp printf(" %d %d %d\n", b->dim[i].min, b->dim[i].extent, b->dim[i].stride); extent 38 test/correctness/many_small_extern_stages.cpp size_t sz = out->type.bytes() * out->dim[0].extent * out->dim[1].extent; extent 41 test/correctness/many_small_extern_stages.cpp assert(out->dim[0].stride == 1 && out->dim[1].stride == out->dim[0].extent); extent 70 test/correctness/math.cpp Buffer<type_ret> result = test_##name.realize(in.extent(0), target); \ extent 71 test/correctness/math.cpp for (int i = 0; i < in.extent(0); i++) { \ extent 19 test/correctness/multipass_constraints.cpp in.dim(0).set_bounds(in.dim(1).min() - 5, in.dim(1).extent() + o.dim(0).extent()); extent 21 test/correctness/multipass_constraints.cpp o.dim(0).set_bounds(0, select(o.dim(0).extent() < 22, o.dim(0).extent() + 1, o.dim(0).extent())); extent 30 test/correctness/multipass_constraints.cpp in.get().dim(0).extent() != 34 || extent 32 test/correctness/multipass_constraints.cpp in.get().dim(1).extent() != 10 || extent 34 test/correctness/multipass_constraints.cpp out_buf.dim(0).extent() != 24 || extent 36 test/correctness/multipass_constraints.cpp out_buf.dim(1).extent() != 8) { extent 41 test/correctness/multipass_constraints.cpp in.get().dim(0).min(), in.get().dim(0).extent(), extent 42 test/correctness/multipass_constraints.cpp in.get().dim(1).min(), in.get().dim(1).extent(), extent 43 test/correctness/multipass_constraints.cpp out_buf.dim(0).min(), out_buf.dim(0).extent(), extent 44 test/correctness/multipass_constraints.cpp out_buf.dim(1).min(), out_buf.dim(1).extent()); extent 36 test/correctness/output_larger_than_two_gigs.cpp assert(output(output.extent(0) - 1, output.extent(1) - 1, output.extent(2) - 1) == 42); extent 52 test/correctness/process_some_tiles.cpp output.bound(x, 0, (image.dim(0).extent()/tile_size)*tile_size) extent 53 test/correctness/process_some_tiles.cpp .bound(y, 0, (image.dim(0).extent()/tile_size)*tile_size) extent 14 test/correctness/realize_larger_than_two_gigs.cpp Param<int> extent; extent 16 test/correctness/realize_larger_than_two_gigs.cpp RDom r(0, extent, 0, extent, 0, extent, 0, extent/2 + 1); extent 30 test/correctness/realize_larger_than_two_gigs.cpp extent.set(1 << 16); extent 35 test/correctness/realize_larger_than_two_gigs.cpp extent.set(1 << 8); extent 21 test/correctness/skip_stages_external_array_functions.cpp for (int32_t i = 0; i < output->dim[0].extent; i++) { extent 229 test/correctness/specialize.cpp int m = im.get().min(0), e = im.get().extent(0); extent 348 test/correctness/specialize.cpp if (im.get().extent(0) != 3) { extent 353 test/correctness/specialize.cpp if (im.get().extent(1) != 2) { extent 372 test/correctness/specialize.cpp Expr w = out.output_buffer().dim(0).extent(); extent 27 test/error/float16_t_implicit_downcast.cpp h_assert(simple.extent(0) == 10, "invalid width"); extent 28 test/error/float16_t_implicit_downcast.cpp h_assert(simple.extent(1) == 3, "invalid height"); extent 7 test/generator/blur2x2_generator.cpp return p.dim(0).stride() == channels && p.dim(2).stride() == 1 && p.dim(2).extent() == channels; extent 12 test/generator/blur2x2_generator.cpp return p.dim(0).stride() == 1 && p.dim(2).extent() == channels; extent 109 test/generator/error_codes_aottest.cpp shape[0].extent = 108; extent 113 test/generator/error_codes_aottest.cpp shape[0].extent = 64; extent 87 test/generator/image_from_array_aottest.cpp if (img.dim(dimension).extent() == reference) extent 90 test/generator/image_from_array_aottest.cpp << " is " << img.dim(dimension).extent() << " instead of " << reference << "\n"; extent 25 test/generator/msan_aottest.cpp in->dim[0].extent = 4; extent 26 test/generator/msan_aottest.cpp in->dim[1].extent = 4; extent 27 test/generator/msan_aottest.cpp in->dim[2].extent = 3; extent 20 test/generator/old_buffer_t_aottest.cpp in2->extent[0] = out->extent[0]; extent 22 test/generator/old_buffer_t_aottest.cpp in2->extent[1] = out->extent[1]; extent 27 test/generator/old_buffer_t_aottest.cpp f->extent[0] = out->extent[0]; extent 29 test/generator/old_buffer_t_aottest.cpp f->extent[1] = out->extent[1]; extent 37 test/generator/old_buffer_t_aottest.cpp for (int y = 0; y < out->extent[1]; y++) { extent 38 test/generator/old_buffer_t_aottest.cpp for (int x = 0; x < out->extent[0]; x++) { extent 50 test/generator/old_buffer_t_aottest.cpp out.extent[0] = 60; extent 51 test/generator/old_buffer_t_aottest.cpp out.extent[1] = 40; extent 76 test/generator/old_buffer_t_aottest.cpp in1.host = (uint8_t *)malloc(in1.extent[0] * in1.extent[1] * in1.elem_size); extent 77 test/generator/old_buffer_t_aottest.cpp in2.host = (uint8_t *)malloc(in2.extent[0] * in2.extent[1] * in2.elem_size); extent 79 test/generator/old_buffer_t_aottest.cpp memset(in1.host, 1, in1.extent[0] * in1.extent[1] * in1.elem_size); extent 80 test/generator/old_buffer_t_aottest.cpp memset(in2.host, 2, in2.extent[0] * in2.extent[1] * in2.elem_size); extent 89 test/generator/old_buffer_t_aottest.cpp for (int y = 0; y < out.extent[1]; y++) { extent 90 test/generator/old_buffer_t_aottest.cpp for (int x = 0; x < out.extent[0]; x++) { extent 9 test/generator/tiled_blur_generator.cpp return p.dim(0).stride() == channels && p.dim(2).stride() == 1 && p.dim(2).extent() == channels; extent 14 test/generator/tiled_blur_generator.cpp return p.dim(0).stride() == 1 && p.dim(2).extent() == channels; extent 33 test/generator/tiled_blur_generator.cpp { brightened, input.dim(0).extent(), input.dim(1).extent() }, extent 19 test/performance/packed_planar_fusion.cpp .set_extent(dst.dim(i).extent()) extent 76 tools/halide_image_info.h int32_t *extent = buf->extent; extent 93 tools/halide_image_info.h print_dimid(d, extent[d]); extent 94 tools/halide_image_info.h size *= extent[d]; extent 125 tools/halide_image_info.h std::cout << extent[d] << " "; extent 173 tools/halide_image_info.h int32_t *extent = buf->extent; extent 182 tools/halide_image_info.h print_dimid(d, extent[d]); extent 183 tools/halide_image_info.h size *= extent[d]; extent 237 tools/halide_image_info.h int32_t *extent = buf->extent; extent 245 tools/halide_image_info.h print_dimid(d, extent[d]); extent 246 tools/halide_image_info.h size *= extent[d]; extent 184 tutorial/lesson_16_rgb_generate.cpp input.dim(2).extent() == 3); extent 191 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(2).extent() == 3); extent 455 util/HalideTraceViz.cpp int extent = p.get_coord(current_dimension * 2 + 1); extent 458 util/HalideTraceViz.cpp for (int i = min; i < min + extent; i++) {