internal_assert 167 src/AddImageChecks.cpp internal_assert(touched.empty() || (int)(touched.size()) == dimensions); internal_assert 110 src/AddParameterChecks.cpp internal_assert(p.condition.as<GE>()); internal_assert 119 src/AddParameterChecks.cpp internal_assert(wider.is_float()); internal_assert 37 src/AlignLoads.cpp internal_assert(is_one(load->predicate)) << "Load should not be predicated.\n"; internal_assert 98 src/AlignLoads.cpp internal_assert(stride >= 0); internal_assert 118 src/AlignLoads.cpp internal_assert(stride == 1); internal_assert 29 src/AllocationBoundsInference.cpp internal_assert(iter != env.end()); internal_assert 53 src/AllocationBoundsInference.cpp internal_assert(b.size() == op->bounds.size()); internal_assert 89 src/AllocationBoundsInference.cpp internal_assert(bound.remainder.defined()); internal_assert 104 src/AllocationBoundsInference.cpp internal_assert(min_var.type() == min.type()); internal_assert 105 src/AllocationBoundsInference.cpp internal_assert(max_var.type() == max.type()); internal_assert 35 src/ApplySplit.cpp internal_assert(tail != TailStrategy::Auto) internal_assert 83 src/ApplySplit.cpp internal_assert(tail == TailStrategy::RoundUp); internal_assert 66 src/Argument.h internal_assert(_dimensions >= 0 && _dimensions <= 255); internal_assert 42 src/AssociativeOpsTable.cpp internal_assert(halide_t.is_scalar() && !halide_t.is_handle()); internal_assert 55 src/AssociativeOpsTable.cpp internal_assert(halide_t.bits() == 64); internal_assert 66 src/AssociativeOpsTable.cpp internal_assert(halide_t.bits() == 64); internal_assert 70 src/AssociativeOpsTable.cpp internal_assert(halide_t.is_float()); internal_assert 74 src/AssociativeOpsTable.cpp internal_assert(halide_t.bits() == 64); internal_assert 322 src/AssociativeOpsTable.cpp internal_assert(!exprs.empty()); internal_assert 32 src/Associativity.cpp internal_assert(index < (int)v.size()); internal_assert 56 src/Associativity.cpp internal_assert(op); internal_assert 59 src/Associativity.cpp internal_assert(!op->func.defined()) internal_assert 61 src/Associativity.cpp internal_assert(args.size() == op->args.size()) internal_assert 72 src/Associativity.cpp internal_assert(op->value_index < (int)op_x_names.size()); internal_assert 161 src/Associativity.cpp internal_assert(op_x_names.size() == op_y_names.size()); internal_assert 162 src/Associativity.cpp internal_assert(op_x_names.size() == x_parts.size()); internal_assert 163 src/Associativity.cpp internal_assert(op_x_names.size() == exprs.size()); internal_assert 164 src/Associativity.cpp internal_assert(op_x_names.size() == assoc_op.size()); internal_assert 172 src/Associativity.cpp internal_assert(pattern.size() == op_x_names.size()); internal_assert 356 src/Associativity.cpp internal_assert((exprs.size() != 1) || all_independent) << "1D tuple should be all independent\n"; internal_assert 371 src/Associativity.cpp internal_assert(subgraphs.size() == exprs.size()); internal_assert 475 src/Associativity.cpp internal_assert(result.associative() == assoc_op.associative()) internal_assert 482 src/Associativity.cpp internal_assert(equal(result.pattern.identities[i], assoc_op.pattern.identities[i])) internal_assert 487 src/Associativity.cpp internal_assert(equal(result.xs[i].expr, assoc_op.xs[i].expr)) internal_assert 492 src/Associativity.cpp internal_assert(equal(result.ys[i].expr, assoc_op.ys[i].expr)) internal_assert 501 src/Associativity.cpp internal_assert(result.ys[i].expr.defined()); internal_assert 507 src/Associativity.cpp internal_assert(equal(result.pattern.ops[i], expected_op)) internal_assert 673 src/Bounds.cpp internal_assert(op->args.size() >= 1); internal_assert 789 src/Bounds.cpp internal_assert(b.interval.min.type().is_scalar()) internal_assert 794 src/Bounds.cpp internal_assert(b.interval.max.type().is_scalar()) internal_assert 802 src/Bounds.cpp internal_assert(a.size() == b.size()) << "Mismatched dimensionality in region union\n"; internal_assert 826 src/Bounds.cpp internal_assert(a.size() == b.size()); internal_assert 905 src/Bounds.cpp internal_assert(a.size() == b.size()); internal_assert 932 src/Bounds.cpp internal_assert(a.size() == b.size()); internal_assert 1351 src/Bounds.cpp internal_assert(boxes.size() <= 1); internal_assert 1558 src/Bounds.cpp internal_assert(r.find("output") == r.end()); internal_assert 1559 src/Bounds.cpp internal_assert(r.find("input") != r.end()); internal_assert 1560 src/Bounds.cpp internal_assert(equal(simplify(r["input"][0].min), 6)); internal_assert 1561 src/Bounds.cpp internal_assert(equal(simplify(r["input"][0].max), 25)); internal_assert 1563 src/Bounds.cpp internal_assert(r.find("output") != r.end()); internal_assert 1564 src/Bounds.cpp internal_assert(equal(simplify(r["output"][0].min), 4)); internal_assert 1565 src/Bounds.cpp internal_assert(equal(simplify(r["output"][0].max), 13)); internal_assert 1569 src/Bounds.cpp internal_assert(equal(simplify(r2[0].min), 4)); internal_assert 1570 src/Bounds.cpp internal_assert(equal(simplify(r2[0].max), 19)); internal_assert 214 src/BoundsInference.cpp internal_assert(val.defined()); internal_assert 240 src/BoundsInference.cpp internal_assert(result.size() == 2); internal_assert 285 src/BoundsInference.cpp internal_assert(b.empty() || b.size() == func_args.size()); internal_assert 640 src/BoundsInference.cpp internal_assert(!f.empty()); internal_assert 689 src/BoundsInference.cpp internal_assert(cond_val.value.defined()); internal_assert 884 src/BoundsInference.cpp internal_assert((int)box.size() == f.dimensions()); internal_assert 919 src/BoundsInference.cpp internal_assert(box[i].is_bounded()); internal_assert 791 src/CPlusPlusMangle.cpp internal_assert(mangled_name == expecteds[expected_index].expected) << "Mangling for " << internal_assert 101 src/CSE.cpp internal_assert(entries[number].expr.type() == e.type()); internal_assert 110 src/CSE.cpp internal_assert(entries[number].expr.type() == e.type()); internal_assert 120 src/CSE.cpp internal_assert(entries[number].expr.type() == e.type()); internal_assert 134 src/CSE.cpp internal_assert(entries[number].expr.type() == old_e.type()); internal_assert 144 src/CSE.cpp internal_assert(e.type() == old_e.type()); internal_assert 361 src/CSE.cpp internal_assert(equal(result, correct)) internal_assert 22 src/CanonicalizeGPUVars.cpp internal_assert(index >= 0 && index < 4); internal_assert 27 src/CanonicalizeGPUVars.cpp internal_assert(index >= 0 && index < 4); internal_assert 91 src/CanonicalizeGPUVars.cpp internal_assert(v.size() == 2); internal_assert 121 src/CanonicalizeGPUVars.cpp internal_assert(v.size() > 2); internal_assert 125 src/CanonicalizeGPUVars.cpp internal_assert(counter.nblocks <= 4) internal_assert 127 src/CanonicalizeGPUVars.cpp internal_assert(counter.nthreads <= 4) internal_assert 270 src/CodeGen_ARM.cpp internal_assert(matches[i].type().bits() == t.bits() * 2); internal_assert 271 src/CodeGen_ARM.cpp internal_assert(matches[i].type().lanes() == t.lanes()); internal_assert 279 src/CodeGen_ARM.cpp internal_assert(matches[i].type() == t); internal_assert 388 src/CodeGen_ARM.cpp internal_assert(pattern.type == Pattern::LeftShift); internal_assert 738 src/CodeGen_ARM.cpp internal_assert(fn); internal_assert 743 src/CodeGen_ARM.cpp internal_assert(slices >= 1); internal_assert 874 src/CodeGen_ARM.cpp internal_assert(alignment > 0); internal_assert 944 src/CodeGen_ARM.cpp internal_assert(op->args.size() == 1); internal_assert 873 src/CodeGen_C.cpp internal_assert(op->call_type == Call::Extern || internal_assert 884 src/CodeGen_C.cpp internal_assert(op->args.size() == 3); internal_assert 886 src/CodeGen_C.cpp internal_assert(string_imm); internal_assert 897 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 902 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 907 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 912 src/CodeGen_C.cpp internal_assert(op->args.size() == 1); internal_assert 915 src/CodeGen_C.cpp internal_assert(op->args.size() == 1); internal_assert 918 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 923 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 928 src/CodeGen_C.cpp internal_assert(op->args.size() == 3); internal_assert 932 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 938 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 943 src/CodeGen_C.cpp internal_assert(op->args.size() == 3); internal_assert 970 src/CodeGen_C.cpp internal_assert(op->args.size() == 1); internal_assert 974 src/CodeGen_C.cpp internal_assert(op->args.size() >= 1); internal_assert 978 src/CodeGen_C.cpp internal_assert(op->args.size() == 1); internal_assert 979 src/CodeGen_C.cpp internal_assert(op->type.is_handle()); internal_assert 1049 src/CodeGen_C.cpp internal_assert(t.is_handle()); internal_assert 1066 src/CodeGen_C.cpp internal_assert(op->args.size() == 2); internal_assert 1068 src/CodeGen_C.cpp internal_assert(fn); internal_assert 1098 src/CodeGen_C.cpp internal_assert(base && base->type.is_handle()); internal_assert 1266 src/CodeGen_C.cpp internal_assert(op->for_type == ForType::Serial) internal_assert 1326 src/CodeGen_C.cpp internal_assert(op->extents.size() > 0); internal_assert 1394 src/CodeGen_C.cpp internal_assert(!allocations.contains(op->name)); internal_assert 52 src/CodeGen_GPU_Host.cpp internal_assert(is_zero(op->min)); internal_assert 88 src/CodeGen_GPU_Host.cpp internal_assert(allocate->type == UInt(8) && allocate->extents.size() == 1); internal_assert 156 src/CodeGen_GPU_Host.cpp internal_assert(terminator); internal_assert 203 src/CodeGen_GPU_Host.cpp internal_assert(init) << "Could not find function " + init_kernels_name + " in initial module\n"; internal_assert 223 src/CodeGen_GPU_Host.cpp internal_assert(loop->device_api != DeviceAPI::Default_GPU) internal_assert 432 src/CodeGen_GPU_Host.cpp internal_assert(is_one(bounds.num_threads[3]) && is_one(bounds.num_blocks[3])) internal_assert 473 src/CodeGen_GPU_Host.cpp internal_assert(dev_run_fn) << "Could not find " << run_fn_name << " in module\n"; internal_assert 573 src/CodeGen_Hexagon.cpp internal_assert(id != Intrinsic::not_intrinsic); internal_assert 581 src/CodeGen_Hexagon.cpp internal_assert(intrin) << "Null definition for intrinsic '" << name << "'\n"; internal_assert 622 src/CodeGen_Hexagon.cpp internal_assert(args.size() == intrin_ty->getNumParams()); internal_assert 687 src/CodeGen_Hexagon.cpp internal_assert(FType->getNumParams() == Ops.size()); internal_assert 833 src/CodeGen_Hexagon.cpp internal_assert(a_ty == b_ty); internal_assert 840 src/CodeGen_Hexagon.cpp internal_assert(element_ty); internal_assert 847 src/CodeGen_Hexagon.cpp internal_assert(result_elements > 0); internal_assert 910 src/CodeGen_Hexagon.cpp internal_assert(start == 0); internal_assert 947 src/CodeGen_Hexagon.cpp internal_assert(start == 0 || start == 1); internal_assert 1004 src/CodeGen_Hexagon.cpp internal_assert(isa<VectorType>(lut_ty)); internal_assert 1005 src/CodeGen_Hexagon.cpp internal_assert(isa<VectorType>(idx_ty)); internal_assert 1006 src/CodeGen_Hexagon.cpp internal_assert(idx_ty->getScalarSizeInBits() == 8); internal_assert 1007 src/CodeGen_Hexagon.cpp internal_assert(min_index >= 0); internal_assert 1008 src/CodeGen_Hexagon.cpp internal_assert(max_index <= 255); internal_assert 1053 src/CodeGen_Hexagon.cpp internal_assert(!lut_slices.empty()); internal_assert 1144 src/CodeGen_Hexagon.cpp internal_assert(max_index < std::numeric_limits<int16_t>::max()) internal_assert 1240 src/CodeGen_Hexagon.cpp internal_assert(fn) << "Function '" << name << "' not found\n"; internal_assert 1260 src/CodeGen_Hexagon.cpp internal_assert(fn) << "Function '" << name << "' not found\n"; internal_assert 1422 src/CodeGen_Hexagon.cpp internal_assert(op->call_type == Call::Extern || internal_assert 1465 src/CodeGen_Hexagon.cpp internal_assert(op->args.size() == 2); internal_assert 1473 src/CodeGen_Hexagon.cpp internal_assert(op->args.size() == 4); internal_assert 1476 src/CodeGen_Hexagon.cpp internal_assert(min_index && max_index); internal_assert 1482 src/CodeGen_Hexagon.cpp internal_assert(op->args.size() == 3); internal_assert 1498 src/CodeGen_Hexagon.cpp internal_assert(op->args.size() == 1); internal_assert 1511 src/CodeGen_Hexagon.cpp internal_assert(op->args.size() == 2); internal_assert 1513 src/CodeGen_Hexagon.cpp internal_assert(index); internal_assert 1519 src/CodeGen_Hexagon.cpp internal_assert((op->args.size() == 4) || (op->args.size() == 6)) internal_assert 1537 src/CodeGen_Hexagon.cpp internal_assert(prefetch_fn); internal_assert 1603 src/CodeGen_Hexagon.cpp internal_assert(op->condition.type().is_scalar()) << Expr(op) << "\n"; internal_assert 218 src/CodeGen_Internal.cpp internal_assert(a.type() == b.type()); internal_assert 249 src/CodeGen_Internal.cpp internal_assert(a.type() == b.type()); internal_assert 452 src/CodeGen_Internal.cpp internal_assert(target) << "Could not create target for " << module.getTargetTriple() << "\n"; internal_assert 497 src/CodeGen_LLVM.cpp internal_assert(module && context && builder) internal_assert 502 src/CodeGen_LLVM.cpp internal_assert(buffer_t_type) << "Did not find halide_buffer_t in initial module"; internal_assert 505 src/CodeGen_LLVM.cpp internal_assert(type_t_type) << "Did not find halide_type_t in initial module"; internal_assert 508 src/CodeGen_LLVM.cpp internal_assert(dimension_t_type) << "Did not find halide_dimension_t in initial module"; internal_assert 511 src/CodeGen_LLVM.cpp internal_assert(metadata_t_type) << "Did not find halide_filter_metadata_t in initial module"; internal_assert 514 src/CodeGen_LLVM.cpp internal_assert(argument_t_type) << "Did not find halide_filter_argument_t in initial module"; internal_assert 517 src/CodeGen_LLVM.cpp internal_assert(scalar_value_t_type) << "Did not find halide_scalar_value_t in initial module"; internal_assert 520 src/CodeGen_LLVM.cpp internal_assert(scalar_value_t_type) << "Did not find halide_device_interface_t in initial module"; internal_assert 657 src/CodeGen_LLVM.cpp internal_assert(!verifyFunction(*function, &os)); internal_assert 673 src/CodeGen_LLVM.cpp internal_assert(annotate_buffer_fn) internal_assert 720 src/CodeGen_LLVM.cpp internal_assert(destructor_block->getParent() == function); internal_assert 753 src/CodeGen_LLVM.cpp internal_assert(error_code) << "The destructor block is supposed to start with a phi node\n"; internal_assert 762 src/CodeGen_LLVM.cpp internal_assert(call_destructor); internal_assert 763 src/CodeGen_LLVM.cpp internal_assert(destructor_fn); internal_assert 764 src/CodeGen_LLVM.cpp internal_assert(should_call); internal_assert 777 src/CodeGen_LLVM.cpp internal_assert(call_destructor); internal_assert 778 src/CodeGen_LLVM.cpp internal_assert(destructor_fn); internal_assert 786 src/CodeGen_LLVM.cpp internal_assert(buf.defined()); internal_assert 847 src/CodeGen_LLVM.cpp internal_assert(!e.type().is_handle()) << "Should never see Handle types here."; internal_assert 851 src/CodeGen_LLVM.cpp internal_assert(constant); internal_assert 912 src/CodeGen_LLVM.cpp internal_assert(type_t_type) << "Did not find halide_type_t in module.\n"; internal_assert 1090 src/CodeGen_LLVM.cpp internal_assert(e.defined()); internal_assert 1094 src/CodeGen_LLVM.cpp internal_assert(value) << "Codegen of an expr did not produce an llvm value\n"; internal_assert 1099 src/CodeGen_LLVM.cpp internal_assert(s.defined()); internal_assert 1158 src/CodeGen_LLVM.cpp internal_assert(src.is_float() && dst.is_float()); internal_assert 1288 src/CodeGen_LLVM.cpp internal_assert(method != 0) internal_assert 1797 src/CodeGen_LLVM.cpp internal_assert(broadcast); internal_assert 1805 src/CodeGen_LLVM.cpp internal_assert(vecs.size() >= 1); internal_assert 1807 src/CodeGen_LLVM.cpp internal_assert(vecs[0]->getType() == vecs[i]->getType()); internal_assert 1839 src/CodeGen_LLVM.cpp internal_assert(even_vecs.size() == odd_vecs.size()); internal_assert 1950 src/CodeGen_LLVM.cpp internal_assert(p && v && idx); internal_assert 1972 src/CodeGen_LLVM.cpp internal_assert(ramp && is_one(ramp->stride)) << "Should be dense vector load\n"; internal_assert 2071 src/CodeGen_LLVM.cpp internal_assert(op->call_type == Call::Extern || internal_assert 2083 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 3); internal_assert 2085 src/CodeGen_LLVM.cpp internal_assert(filename) << "Malformed debug_to_file node\n"; internal_assert 2088 src/CodeGen_LLVM.cpp internal_assert(debug_to_file) << "Could not find halide_debug_to_file function in initial module\n"; internal_assert 2102 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2105 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2108 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2111 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2114 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2120 src/CodeGen_LLVM.cpp internal_assert(dst.is_uint() && dst.bits() == 64); internal_assert 2135 src/CodeGen_LLVM.cpp internal_assert(src.is_uint() && src.bits() == 64); internal_assert 2153 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2156 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2164 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2182 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2215 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2226 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2237 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 3); internal_assert 2240 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2248 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2260 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2272 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 3); internal_assert 2359 src/CodeGen_LLVM.cpp internal_assert(t.is_handle()); internal_assert 2382 src/CodeGen_LLVM.cpp internal_assert(append_string); internal_assert 2383 src/CodeGen_LLVM.cpp internal_assert(append_int64); internal_assert 2384 src/CodeGen_LLVM.cpp internal_assert(append_uint64); internal_assert 2385 src/CodeGen_LLVM.cpp internal_assert(append_double); internal_assert 2386 src/CodeGen_LLVM.cpp internal_assert(append_pointer); internal_assert 2387 src/CodeGen_LLVM.cpp internal_assert(append_buffer); internal_assert 2392 src/CodeGen_LLVM.cpp internal_assert(t.lanes() == 1); internal_assert 2423 src/CodeGen_LLVM.cpp internal_assert(t.is_handle()); internal_assert 2434 src/CodeGen_LLVM.cpp internal_assert(op->args.size() > 0); internal_assert 2439 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2450 src/CodeGen_LLVM.cpp internal_assert(sz); internal_assert 2459 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2461 src/CodeGen_LLVM.cpp internal_assert(fn); internal_assert 2463 src/CodeGen_LLVM.cpp internal_assert(arg.type().is_handle()); internal_assert 2511 src/CodeGen_LLVM.cpp internal_assert(op->args.size() >= 4); internal_assert 2512 src/CodeGen_LLVM.cpp internal_assert(!(op->args.size() & 1)); internal_assert 2619 src/CodeGen_LLVM.cpp internal_assert(prefetch_fn); internal_assert 2644 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 2); internal_assert 2650 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2654 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2659 src/CodeGen_LLVM.cpp internal_assert(op->args.size() == 1); internal_assert 2695 src/CodeGen_LLVM.cpp internal_assert(fn) << "External function " << op->name << " is marked as taking user_context, but is not in the runtime module. Check if runtime_api.cpp needs to be rebuilt.\n"; internal_assert 2858 src/CodeGen_LLVM.cpp internal_assert(!data.empty()); internal_assert 2875 src/CodeGen_LLVM.cpp internal_assert(!message.defined() || message.type() == Int(32)) internal_assert 2916 src/CodeGen_LLVM.cpp internal_assert(phi) << "The destructor block is supposed to start with a phi node\n"; internal_assert 3049 src/CodeGen_LLVM.cpp internal_assert(do_par_for) << "Could not find halide_do_par_for in initial module\n"; internal_assert 3299 src/CodeGen_LLVM.cpp internal_assert(result_type->isVectorTy()) << "call_intrin is for vector intrinsics only\n"; internal_assert 3312 src/CodeGen_LLVM.cpp internal_assert(arg_i_lanes >= arg_lanes); internal_assert 3377 src/CodeGen_LLVM.cpp internal_assert(!v.empty()); internal_assert 3406 src/CodeGen_LLVM.cpp internal_assert(v1->getType() == v2->getType()); internal_assert 3435 src/CodeGen_LLVM.cpp internal_assert(a->getType() == b->getType()); internal_assert 3439 src/CodeGen_LLVM.cpp internal_assert(indices[i] < (int)a->getType()->getVectorNumElements() * 2); internal_assert 3443 src/CodeGen_LLVM.cpp internal_assert(indices[i] == -1); internal_assert 155 src/CodeGen_Metal_Dev.cpp internal_assert((loop->for_type == ForType::GPUBlock) || internal_assert 158 src/CodeGen_Metal_Dev.cpp internal_assert(is_zero(loop->min)); internal_assert 224 src/CodeGen_Metal_Dev.cpp internal_assert(op->type.is_vector()); internal_assert 260 src/CodeGen_Metal_Dev.cpp internal_assert(op->type.is_vector()); internal_assert 295 src/CodeGen_Metal_Dev.cpp internal_assert(op->value.type().is_vector()); internal_assert 304 src/CodeGen_Metal_Dev.cpp internal_assert(t.is_vector()); internal_assert 388 src/CodeGen_Metal_Dev.cpp internal_assert(!allocations.contains(op->name)); internal_assert 399 src/CodeGen_Metal_Dev.cpp internal_assert(allocations.contains(op->name)); internal_assert 40 src/CodeGen_OpenCL_Dev.cpp internal_assert(type.lanes() == 1) << "Encountered vector of bool\n"; internal_assert 112 src/CodeGen_OpenCL_Dev.cpp internal_assert((loop->for_type == ForType::GPUBlock) || internal_assert 115 src/CodeGen_OpenCL_Dev.cpp internal_assert(is_zero(loop->min)); internal_assert 193 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->args.size() == 3); internal_assert 228 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->type.is_vector()); internal_assert 265 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->type.is_vector()); internal_assert 297 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->value.type().is_vector()); internal_assert 310 src/CodeGen_OpenCL_Dev.cpp internal_assert(t.is_vector()); internal_assert 384 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->condition.type().is_scalar()); internal_assert 423 src/CodeGen_OpenCL_Dev.cpp internal_assert(!allocations.contains(op->name)); internal_assert 434 src/CodeGen_OpenCL_Dev.cpp internal_assert(allocations.contains(op->name)); internal_assert 449 src/CodeGen_OpenCL_Dev.cpp internal_assert(!op->vectors.empty()); internal_assert 453 src/CodeGen_OpenCL_Dev.cpp internal_assert(op_lanes == arg_lanes); internal_assert 458 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->vectors[1].type().lanes() == arg_lanes); internal_assert 459 src/CodeGen_OpenCL_Dev.cpp internal_assert(op_lanes / 2 == arg_lanes); internal_assert 473 src/CodeGen_OpenCL_Dev.cpp internal_assert(dest_lanes <= 16); internal_assert 477 src/CodeGen_OpenCL_Dev.cpp internal_assert(op->vectors[i].type().lanes() == arg_lanes); internal_assert 480 src/CodeGen_OpenCL_Dev.cpp internal_assert(num_vectors * arg_lanes >= dest_lanes); internal_assert 488 src/CodeGen_OpenCL_Dev.cpp internal_assert(arg_idx <= arg_lanes); internal_assert 125 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert((loop->for_type == ForType::GPUBlock) || internal_assert 128 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(is_zero(loop->min)); internal_assert 186 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(op->type.is_scalar()); internal_assert 201 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(op->value.type().is_scalar()); internal_assert 293 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(op->extents.size() == 1 && is_const(op->extents[0])); internal_assert 334 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(op->extents.size() >= 1); internal_assert 340 src/CodeGen_OpenGLCompute_Dev.cpp internal_assert(is_const(extent)); internal_assert 66 src/CodeGen_OpenGL_Dev.cpp internal_assert(i >= 0 && i < 4); internal_assert 295 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->vectors.size() == 1); internal_assert 298 src/CodeGen_OpenGL_Dev.cpp internal_assert(shuffle_lanes <= 4); internal_assert 306 src/CodeGen_OpenGL_Dev.cpp internal_assert(channel < 4) << "Shuffle of invalid channel"; internal_assert 391 src/CodeGen_OpenGL_Dev.cpp internal_assert(loop->for_type == ForType::GPUBlock) internal_assert 459 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->condition.type().lanes() == op->type.lanes()); internal_assert 493 src/CodeGen_OpenGL_Dev.cpp internal_assert(e.type().is_scalar()); internal_assert 504 src/CodeGen_OpenGL_Dev.cpp internal_assert(e.type().is_vector()); internal_assert 527 src/CodeGen_OpenGL_Dev.cpp internal_assert(is_zero(op->index)); internal_assert 552 src/CodeGen_OpenGL_Dev.cpp internal_assert(is_zero(op->index)); internal_assert 588 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->args.size() == 5); internal_assert 592 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->args[0].as<StringImm>() || internal_assert 603 src/CodeGen_OpenGL_Dev.cpp internal_assert((op->type.code() == Type::UInt || op->type.code() == Type::Float) && internal_assert 609 src/CodeGen_OpenGL_Dev.cpp internal_assert(is_const(c)); internal_assert 655 src/CodeGen_OpenGL_Dev.cpp internal_assert(*ic >= 0 && *ic < 4); internal_assert 673 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->args.size() == 6); internal_assert 702 src/CodeGen_OpenGL_Dev.cpp internal_assert(weight.type().is_uint() || weight.type().is_float()); internal_assert 705 src/CodeGen_OpenGL_Dev.cpp internal_assert(weight.type().bits() < 32); internal_assert 711 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->type.bits() < 32); internal_assert 729 src/CodeGen_OpenGL_Dev.cpp internal_assert(op->args.size() == 2); internal_assert 50 src/CodeGen_PTX_Dev.cpp internal_assert(module != nullptr); internal_assert 173 src/CodeGen_PTX_Dev.cpp internal_assert(is_zero(loop->min)); internal_assert 278 src/CodeGen_PTX_Dev.cpp internal_assert(target) << err_str << "\n"; internal_assert 301 src/CodeGen_PTX_Dev.cpp internal_assert(target_machine.get()) << "Could not allocate target machine!"; internal_assert 180 src/CodeGen_Posix.cpp internal_assert(malloc_fn) << "Could not find halide_malloc in module\n"; internal_assert 223 src/CodeGen_Posix.cpp internal_assert(free_fn) << "Could not find " << free_function << " in module.\n"; internal_assert 245 src/CodeGen_Posix.cpp internal_assert(alloc.destructor); internal_assert 40 src/CodeGen_X86.cpp internal_assert(b.type() == t); internal_assert 11 src/DebugArguments.cpp internal_assert(func); internal_assert 84 src/Definition.cpp internal_assert(ptr.defined()) internal_assert 105 src/Definition.cpp internal_assert(contents.defined()) << "Cannot deep-copy undefined Definition\n"; internal_assert 180 src/Deinterleave.cpp internal_assert(expr.type() == op->base.type()); internal_assert 290 src/Deinterleave.cpp internal_assert(starting_lane >= 0 && starting_lane < lane_stride); internal_assert 322 src/Deinterleave.cpp internal_assert(e.type().lanes() % 2 == 0); internal_assert 332 src/Deinterleave.cpp internal_assert(e.type().lanes() % 2 == 0); internal_assert 342 src/Deinterleave.cpp internal_assert(e.type().lanes() % 2 == 0); internal_assert 348 src/Deinterleave.cpp internal_assert(e.type().lanes() % 2 == 0); internal_assert 354 src/Deinterleave.cpp internal_assert(e.type().lanes() % 3 == 0); internal_assert 596 src/Deinterleave.cpp internal_assert(stores.size() <= (size_t)expected_stores); internal_assert 614 src/Deinterleave.cpp internal_assert(ri); internal_assert 686 src/Deinterleave.cpp internal_assert(base.defined()); internal_assert 45 src/DeviceArgument.cpp internal_assert(op->args[0].as<Broadcast>()); internal_assert 49 src/DeviceArgument.cpp internal_assert(string_imm); internal_assert 152 src/EarlyFree.cpp internal_assert(alloc); internal_assert 266 src/Elf.cpp internal_assert(data <= name && name + strlen(name) + 1 <= data + size); internal_assert 295 src/Elf.cpp internal_assert(std::numeric_limits<T>::min() <= x && x <= std::numeric_limits<T>::max()); internal_assert 323 src/Elf.cpp internal_assert(memcmp(header.e_ident, elf_magic, sizeof(elf_magic)) == 0); internal_assert 324 src/Elf.cpp internal_assert(header.e_type == Object::ET_REL || header.e_type == Object::ET_DYN); internal_assert 335 src/Elf.cpp internal_assert(data <= at && at + sizeof(Shdr<T>) <= data + size) internal_assert 345 src/Elf.cpp internal_assert(!strings) << "Found more than one string table.\n"; internal_assert 347 src/Elf.cpp internal_assert(data <= strings && strings + sh->sh_size <= data + size); internal_assert 350 src/Elf.cpp internal_assert(strings) internal_assert 366 src/Elf.cpp internal_assert(data <= sh_data && sh_data + sh->sh_size <= data + size); internal_assert 378 src/Elf.cpp internal_assert(sh->sh_entsize == sizeof(Sym<T>)); internal_assert 382 src/Elf.cpp internal_assert(data <= sym_ptr && sym_ptr + sizeof(Sym<T>) <= data + size); internal_assert 400 src/Elf.cpp internal_assert(sh->sh_type != Section::SHT_REL) << "Section::SHT_REL not supported\n"; internal_assert 403 src/Elf.cpp internal_assert(strncmp(name, ".rela.", 6) == 0); internal_assert 404 src/Elf.cpp internal_assert(sh->sh_entsize == sizeof(Rela<T>)); internal_assert 406 src/Elf.cpp internal_assert(to_relocate != obj->sections_end()); internal_assert 412 src/Elf.cpp internal_assert(data <= rela_ptr && rela_ptr + sizeof(Rela<T>) <= data + size); internal_assert 467 src/Elf.cpp internal_assert(!to_merge.empty()); internal_assert 474 src/Elf.cpp internal_assert(s->get_type() == merged->get_type()); internal_assert 798 src/Elf.cpp internal_assert(plt_def != plt_defs.end()); internal_assert 814 src/Elf.cpp internal_assert(s.is_writable()); internal_assert 829 src/Elf.cpp internal_assert(got.contents_size() <= max_got_size); internal_assert 33 src/EliminateBoolVectors.cpp internal_assert(t.is_int() && b.type().is_int()); internal_assert 150 src/EliminateBoolVectors.cpp internal_assert(cond_ty.code() == Type::Int); internal_assert 154 src/EliminateBoolVectors.cpp internal_assert(true_value.type().bits() == false_value.type().bits()); internal_assert 185 src/EliminateBoolVectors.cpp internal_assert(op); internal_assert 174 src/Expr.h internal_assert(t.is_int() && t.is_scalar()) internal_assert 176 src/Expr.h internal_assert(t.bits() == 8 || t.bits() == 16 || t.bits() == 32 || t.bits() == 64) internal_assert 198 src/Expr.h internal_assert(t.is_uint() && t.is_scalar()) internal_assert 200 src/Expr.h internal_assert(t.bits() == 1 || t.bits() == 8 || t.bits() == 16 || t.bits() == 32 || t.bits() == 64) internal_assert 221 src/Expr.h internal_assert(t.is_float() && t.is_scalar()) internal_assert 225 src/FastIntegerDivide.cpp internal_assert(result.type() == t); internal_assert 31 src/Float16.cpp internal_assert(bits <= 0xFFFF) << "Invalid bits for float16_t\n"; internal_assert 53 src/Float16.cpp internal_assert(!(status & llvm::APFloat::opStatus::opInvalidOp)) << "Unexpected invalid op\n"; internal_assert 54 src/Float16.cpp internal_assert(!(status & llvm::APFloat::opStatus::opDivByZero)) << "Unexpected div by zero\n"; internal_assert 60 src/Float16.cpp internal_assert(status & llvm::APFloat::opStatus::opInexact) << "Underflow was flagged but inexact was not\n"; internal_assert 182 src/Float16.cpp internal_assert(!losesInfo) << "Unexpected information loss\n"; internal_assert 196 src/Float16.cpp internal_assert(!losesInfo) << "Unexpected information loss\n"; internal_assert 321 src/Float16.cpp internal_assert(count < sizeof(buffer) / sizeof(char)) << "Incorrect buffer size\n"; internal_assert 327 src/Float16.cpp internal_assert(!this->are_unordered(rhs)) << "Cannot compare unorderable values\n"; internal_assert 334 src/Float16.cpp internal_assert(!this->are_unordered(rhs)) << "Cannot compare unorderable values\n"; internal_assert 265 src/Func.cpp internal_assert(var.find('.') == string::npos) internal_assert 364 src/Func.cpp internal_assert(c); internal_assert 367 src/Func.cpp internal_assert(!c->func.defined()) internal_assert 381 src/Func.cpp internal_assert(substitute.get_contents().defined()); internal_assert 416 src/Func.cpp internal_assert(res.is_predicate()); internal_assert 436 src/Func.cpp internal_assert(s.is_split()); internal_assert 469 src/Func.cpp internal_assert(s.is_fuse()); internal_assert 506 src/Func.cpp internal_assert(s.is_purify()); internal_assert 527 src/Func.cpp internal_assert(s.is_rename()); internal_assert 593 src/Func.cpp internal_assert(!tmp.empty() && !tmp[0].empty()); internal_assert 607 src/Func.cpp internal_assert(prover_result.size() == values.size()); internal_assert 812 src/Func.cpp internal_assert(intm_storage_dims.size() == storage_dims.size() + vars_rename.size()); internal_assert 856 src/Func.cpp internal_assert(f_load_args.size() == init_args.size()); internal_assert 866 src/Func.cpp internal_assert(!prover_result.ys[i].var.empty()); internal_assert 886 src/Func.cpp internal_assert(!prover_result.ys[0].var.empty()); internal_assert 1073 src/Func.cpp internal_assert( internal_assert 1766 src/Func.cpp internal_assert(wrapper_contents.defined()); internal_assert 1778 src/Func.cpp internal_assert(wrapper.frozen()); internal_assert 1810 src/Func.cpp internal_assert(wrapper_contents.defined()); internal_assert 1833 src/Func.cpp internal_assert(wrapper.frozen()); internal_assert 1849 src/Func.cpp internal_assert(wrapper_contents.defined()); internal_assert 1851 src/Func.cpp internal_assert(wrapper.frozen()); internal_assert 2445 src/Func.cpp internal_assert(implicit_count == 0) internal_assert 2496 src/Func.cpp internal_assert(v); internal_assert 2550 src/Func.cpp internal_assert(e.size() > 1); internal_assert 2685 src/Func.cpp internal_assert(func_ref.size() > 1) internal_assert 2687 src/Func.cpp internal_assert(idx >= 0 && idx < (int)func_ref.size()); internal_assert 2800 src/Func.cpp internal_assert(pipeline_.defined()); internal_assert 69 src/Func.h internal_assert(definition.args().size() == dim_vars.size()); internal_assert 82 src/Func.h internal_assert(definition.args().size() == dim_vars.size()); internal_assert 210 src/Function.cpp internal_assert(c); internal_assert 248 src/Function.cpp internal_assert(ptr.defined()) internal_assert 272 src/Function.cpp internal_assert(!src.is_func()) internal_assert 305 src/Function.cpp internal_assert(dst.defined() && src.defined()) << "Cannot deep-copy undefined FunctionContents\n"; internal_assert 321 src/Function.cpp internal_assert(dst->init_def.is_init()); internal_assert 322 src/Function.cpp internal_assert(dst->init_def.schedule().rvars().empty()) internal_assert 326 src/Function.cpp internal_assert(!def.is_init()); internal_assert 328 src/Function.cpp internal_assert(!def_copy.is_init()); internal_assert 340 src/Function.cpp internal_assert(copy.contents.defined() && contents.defined()) internal_assert 363 src/Function.cpp internal_assert(copied_map[old_func].contents.same_as(iter.second)) internal_assert 433 src/Function.cpp internal_assert(contents->init_def.is_init()); internal_assert 542 src/Function.cpp internal_assert(pure_var); internal_assert 629 src/Function.cpp internal_assert(!r.is_init()) << "Should have been an update definition\n"; internal_assert 743 src/Function.cpp internal_assert(var); internal_assert 774 src/Function.cpp internal_assert(idx < (int)contents->updates.size()) << "Invalid update definition index\n"; internal_assert 779 src/Function.cpp internal_assert(idx < (int)contents->updates.size()) << "Invalid update definition index\n"; internal_assert 784 src/Function.cpp internal_assert(idx < (int)contents->updates.size()) << "Invalid update definition index\n"; internal_assert 814 src/Function.cpp internal_assert(has_extern_definition()); internal_assert 900 src/Function.cpp internal_assert(c); internal_assert 44 src/Function.h internal_assert(p.is_buffer()); internal_assert 76 src/Function.h internal_assert(a.contents.defined() && b.contents.defined()); internal_assert 73 src/FuseGPUThreadLoops.cpp internal_assert(dim >= 0 && dim < 4); internal_assert 201 src/FuseGPUThreadLoops.cpp internal_assert(dim >= 0 && dim < block_size.dimensions()); internal_assert 339 src/FuseGPUThreadLoops.cpp internal_assert(op); internal_assert 435 src/FuseGPUThreadLoops.cpp internal_assert(free_spaces[i] >= 0 && free_spaces[i] < (int)mem_allocs.size()); internal_assert 436 src/FuseGPUThreadLoops.cpp internal_assert(mem_allocs[free_spaces[i]].is_free(stage)); internal_assert 447 src/FuseGPUThreadLoops.cpp internal_assert(free_spaces[i] >= 0 && free_spaces[i] < (int)mem_allocs.size()); internal_assert 448 src/FuseGPUThreadLoops.cpp internal_assert(mem_allocs[free_spaces[i]].is_free(stage)); internal_assert 454 src/FuseGPUThreadLoops.cpp internal_assert(current_diff != nullptr); internal_assert 510 src/FuseGPUThreadLoops.cpp internal_assert(free_idx >= 0 && free_idx < (int)mem_allocs.size()); internal_assert 695 src/FuseGPUThreadLoops.cpp internal_assert(op); internal_assert 161 src/Generator.cpp internal_assert(p.is_buffer()); internal_assert 196 src/Generator.cpp internal_assert(history.size() == values.size()) internal_assert 233 src/Generator.cpp internal_assert(p.defined()); internal_assert 264 src/Generator.cpp internal_assert(namespaces.size() >= 1); internal_assert 268 src/Generator.cpp internal_assert(namespaces.size() >= 2); internal_assert 769 src/Generator.cpp internal_assert(m.count(encode(t))) << t << " " << encode(t); internal_assert 1011 src/Generator.cpp internal_assert(registry.factories.find(name) == registry.factories.end()) internal_assert 1020 src/Generator.cpp internal_assert(registry.factories.find(name) != registry.factories.end()) internal_assert 1042 src/Generator.cpp internal_assert(g != nullptr); internal_assert 1085 src/Generator.cpp internal_assert(param != nullptr); internal_assert 1114 src/Generator.cpp internal_assert(input != nullptr); internal_assert 1118 src/Generator.cpp internal_assert(input->generator == nullptr || input->generator == generator); internal_assert 1128 src/Generator.cpp internal_assert(output != nullptr); internal_assert 1132 src/Generator.cpp internal_assert(output->generator == nullptr || output->generator == generator); internal_assert 1155 src/Generator.cpp internal_assert(param != nullptr); internal_assert 1159 src/Generator.cpp internal_assert(param->generator == nullptr || param->generator == generator); internal_assert 1177 src/Generator.cpp internal_assert(param != nullptr); internal_assert 1237 src/Generator.cpp internal_assert(it->second != nullptr); internal_assert 1262 src/Generator.cpp internal_assert(it->second != nullptr); internal_assert 1269 src/Generator.cpp internal_assert(!inputs_set) << "set_inputs_vector() must be called at most once per Generator instance.\n"; internal_assert 1319 src/Generator.cpp internal_assert(phase == Created); internal_assert 1323 src/Generator.cpp internal_assert(phase == Created || phase == InputsSet); internal_assert 1326 src/Generator.cpp internal_assert(phase == GenerateCalled); internal_assert 1492 src/Generator.cpp internal_assert(array_size_defined()) << "ArraySize is unspecified for " << name() internal_assert 1515 src/Generator.cpp internal_assert(types_defined()) << "Type is unspecified for " << name() << "\n"; internal_assert 1520 src/Generator.cpp internal_assert(types_.size() == 1) << "Expected types_.size() == 1, saw " << types_.size() << " for " << name() << "\n"; internal_assert 1529 src/Generator.cpp internal_assert(dimensions_defined()) << "Dimensions unspecified for " << name() << "\n"; internal_assert 1534 src/Generator.cpp internal_assert(funcs_.size() == array_size() && exprs_.empty()); internal_assert 1539 src/Generator.cpp internal_assert(exprs_.size() == array_size() && funcs_.empty()); internal_assert 1597 src/Generator.cpp internal_assert(d >= 0); internal_assert 1666 src/Generator.cpp internal_assert(dimensions() == parameters_[i].dimensions()); internal_assert 1721 src/Generator.cpp internal_assert(kind != IOKind::Scalar); internal_assert 1750 src/Generator.cpp internal_assert(is_array()); internal_assert 1751 src/Generator.cpp internal_assert(!array_size_defined()) << "You may only call " << name() internal_assert 1783 src/Generator.cpp internal_assert(gp0 == 1); internal_assert 1784 src/Generator.cpp internal_assert(gp1 == 2.f); internal_assert 1785 src/Generator.cpp internal_assert(gp2 == (uint64_t) 2); // unchanged internal_assert 1797 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::Created); internal_assert 1804 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::InputsSet); internal_assert 1813 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::GenerateCalled); internal_assert 1820 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::ScheduleCalled); internal_assert 1844 src/Generator.cpp internal_assert(gp0 == 1); internal_assert 1845 src/Generator.cpp internal_assert(gp1 == 2.f); internal_assert 1846 src/Generator.cpp internal_assert(gp2 == (uint64_t) 2); // unchanged internal_assert 1893 src/Generator.cpp internal_assert(gp0 == 1); internal_assert 1894 src/Generator.cpp internal_assert(gp1 == 2.f); internal_assert 1895 src/Generator.cpp internal_assert(gp2 == (uint64_t) 2); // unchanged internal_assert 1907 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::Created); internal_assert 1925 src/Generator.cpp internal_assert(tester.phase == GeneratorBase::ScheduleCalled); internal_assert 1992 src/Generator.cpp internal_assert(im.dim(0).extent() == 1); internal_assert 1993 src/Generator.cpp internal_assert(im(0) == 1475.25f) << "Expected 1475.25 but saw " << im(0); internal_assert 2033 src/Generator.cpp internal_assert(actual == expected) internal_assert 933 src/Generator.h internal_assert((Buffer<T>::can_convert_from(other))); internal_assert 1031 src/Generator.h internal_assert(kind_ == IOKind::Buffer); internal_assert 1036 src/Generator.h internal_assert(kind_ == IOKind::Function); internal_assert 1041 src/Generator.h internal_assert(kind_ == IOKind::Scalar); internal_assert 1293 src/Generator.h internal_assert(this->parameters_.size() == 1); internal_assert 1687 src/Generator.h internal_assert(kind() != IOKind::Scalar); internal_assert 1688 src/Generator.h internal_assert(funcs_.size() == array_size() && exprs_.empty()); internal_assert 1693 src/Generator.h internal_assert(kind() != IOKind::Scalar); internal_assert 1694 src/Generator.h internal_assert(funcs_.size() == array_size() && exprs_.empty()); internal_assert 1825 src/Generator.h internal_assert(this->funcs().size() == 1); internal_assert 1854 src/Generator.h internal_assert(this->exprs_.empty() && this->funcs_.size() == 1); internal_assert 1869 src/Generator.h internal_assert(f.defined()); internal_assert 1889 src/Generator.h internal_assert(this->exprs_.empty() && this->funcs_.size() == 1); internal_assert 1904 src/Generator.h internal_assert(this->exprs_.empty() && this->funcs_.size() > i); internal_assert 2087 src/Generator.h internal_assert(which == Type); internal_assert 2455 src/Generator.h internal_assert(generator_name.empty()); internal_assert 2619 src/Generator.h internal_assert(create_func != nullptr); internal_assert 2625 src/Generator.h internal_assert(g.get() != nullptr); internal_assert 233 src/HexagonOffload.cpp internal_assert(iclass >= 3 && iclass <= 7); internal_assert 241 src/HexagonOffload.cpp internal_assert((hi >> 10) == 2); internal_assert 286 src/HexagonOffload.cpp internal_assert((inst & (1 << i)) == 0); internal_assert 301 src/HexagonOffload.cpp internal_assert(!verify || consumed_every_bit) internal_assert 497 src/HexagonOffload.cpp internal_assert(r.get_addend() == 0); internal_assert 882 src/HexagonOffload.cpp internal_assert(obj); internal_assert 919 src/HexagonOffload.cpp internal_assert(f.good()); internal_assert 925 src/HexagonOffload.cpp internal_assert(system(cmd.c_str()) == 0); internal_assert 934 src/HexagonOffload.cpp internal_assert(f.good()); internal_assert 225 src/HexagonOptimize.cpp internal_assert(matches[i].type().is_vector()); internal_assert 230 src/HexagonOptimize.cpp internal_assert(matches.size() >= 2); internal_assert 234 src/HexagonOptimize.cpp internal_assert(matches.size() >= 3); internal_assert 883 src/HexagonOptimize.cpp internal_assert(op->args.size() == 3); internal_assert 886 src/HexagonOptimize.cpp internal_assert(op->args.size() == 1); internal_assert 1030 src/HexagonOptimize.cpp internal_assert(!interleave_mask); internal_assert 1059 src/HexagonOptimize.cpp internal_assert(op->type.is_scalar()); internal_assert 1063 src/HexagonOptimize.cpp internal_assert(op->type.is_scalar()); internal_assert 1067 src/HexagonOptimize.cpp internal_assert(op->type.is_scalar()); internal_assert 1075 src/HexagonOptimize.cpp internal_assert(op->condition.type().is_scalar()); internal_assert 1164 src/HexagonOptimize.cpp internal_assert(!uses_var(op->body, op->name)) << "EliminateInterleaves eliminated a non-dead let.\n"; internal_assert 1411 src/HexagonOptimize.cpp internal_assert(is_one(predicate)) << "The store shouldn't have been predicated.\n"; internal_assert 1493 src/HexagonOptimize.cpp internal_assert(bounds.is_bounded()); internal_assert 9 src/IR.cpp internal_assert(v.defined()) << "Cast of undefined\n"; internal_assert 10 src/IR.cpp internal_assert(t.lanes() == v.type().lanes()) << "Cast may not change vector widths\n"; internal_assert 19 src/IR.cpp internal_assert(a.defined()) << "Add of undefined\n"; internal_assert 20 src/IR.cpp internal_assert(b.defined()) << "Add of undefined\n"; internal_assert 21 src/IR.cpp internal_assert(a.type() == b.type()) << "Add of mismatched types\n"; internal_assert 31 src/IR.cpp internal_assert(a.defined()) << "Sub of undefined\n"; internal_assert 32 src/IR.cpp internal_assert(b.defined()) << "Sub of undefined\n"; internal_assert 33 src/IR.cpp internal_assert(a.type() == b.type()) << "Sub of mismatched types\n"; internal_assert 43 src/IR.cpp internal_assert(a.defined()) << "Mul of undefined\n"; internal_assert 44 src/IR.cpp internal_assert(b.defined()) << "Mul of undefined\n"; internal_assert 45 src/IR.cpp internal_assert(a.type() == b.type()) << "Mul of mismatched types\n"; internal_assert 55 src/IR.cpp internal_assert(a.defined()) << "Div of undefined\n"; internal_assert 56 src/IR.cpp internal_assert(b.defined()) << "Div of undefined\n"; internal_assert 57 src/IR.cpp internal_assert(a.type() == b.type()) << "Div of mismatched types\n"; internal_assert 67 src/IR.cpp internal_assert(a.defined()) << "Mod of undefined\n"; internal_assert 68 src/IR.cpp internal_assert(b.defined()) << "Mod of undefined\n"; internal_assert 69 src/IR.cpp internal_assert(a.type() == b.type()) << "Mod of mismatched types\n"; internal_assert 79 src/IR.cpp internal_assert(a.defined()) << "Min of undefined\n"; internal_assert 80 src/IR.cpp internal_assert(b.defined()) << "Min of undefined\n"; internal_assert 81 src/IR.cpp internal_assert(a.type() == b.type()) << "Min of mismatched types\n"; internal_assert 91 src/IR.cpp internal_assert(a.defined()) << "Max of undefined\n"; internal_assert 92 src/IR.cpp internal_assert(b.defined()) << "Max of undefined\n"; internal_assert 93 src/IR.cpp internal_assert(a.type() == b.type()) << "Max of mismatched types\n"; internal_assert 103 src/IR.cpp internal_assert(a.defined()) << "EQ of undefined\n"; internal_assert 104 src/IR.cpp internal_assert(b.defined()) << "EQ of undefined\n"; internal_assert 105 src/IR.cpp internal_assert(a.type() == b.type()) << "EQ of mismatched types\n"; internal_assert 115 src/IR.cpp internal_assert(a.defined()) << "NE of undefined\n"; internal_assert 116 src/IR.cpp internal_assert(b.defined()) << "NE of undefined\n"; internal_assert 117 src/IR.cpp internal_assert(a.type() == b.type()) << "NE of mismatched types\n"; internal_assert 127 src/IR.cpp internal_assert(a.defined()) << "LT of undefined\n"; internal_assert 128 src/IR.cpp internal_assert(b.defined()) << "LT of undefined\n"; internal_assert 129 src/IR.cpp internal_assert(a.type() == b.type()) << "LT of mismatched types\n"; internal_assert 140 src/IR.cpp internal_assert(a.defined()) << "LE of undefined\n"; internal_assert 141 src/IR.cpp internal_assert(b.defined()) << "LE of undefined\n"; internal_assert 142 src/IR.cpp internal_assert(a.type() == b.type()) << "LE of mismatched types\n"; internal_assert 152 src/IR.cpp internal_assert(a.defined()) << "GT of undefined\n"; internal_assert 153 src/IR.cpp internal_assert(b.defined()) << "GT of undefined\n"; internal_assert 154 src/IR.cpp internal_assert(a.type() == b.type()) << "GT of mismatched types\n"; internal_assert 165 src/IR.cpp internal_assert(a.defined()) << "GE of undefined\n"; internal_assert 166 src/IR.cpp internal_assert(b.defined()) << "GE of undefined\n"; internal_assert 167 src/IR.cpp internal_assert(a.type() == b.type()) << "GE of mismatched types\n"; internal_assert 177 src/IR.cpp internal_assert(a.defined()) << "And of undefined\n"; internal_assert 178 src/IR.cpp internal_assert(b.defined()) << "And of undefined\n"; internal_assert 179 src/IR.cpp internal_assert(a.type().is_bool()) << "lhs of And is not a bool\n"; internal_assert 180 src/IR.cpp internal_assert(b.type().is_bool()) << "rhs of And is not a bool\n"; internal_assert 181 src/IR.cpp internal_assert(a.type() == b.type()) << "And of mismatched types\n"; internal_assert 191 src/IR.cpp internal_assert(a.defined()) << "Or of undefined\n"; internal_assert 192 src/IR.cpp internal_assert(b.defined()) << "Or of undefined\n"; internal_assert 193 src/IR.cpp internal_assert(a.type().is_bool()) << "lhs of Or is not a bool\n"; internal_assert 194 src/IR.cpp internal_assert(b.type().is_bool()) << "rhs of Or is not a bool\n"; internal_assert 195 src/IR.cpp internal_assert(a.type() == b.type()) << "Or of mismatched types\n"; internal_assert 205 src/IR.cpp internal_assert(a.defined()) << "Not of undefined\n"; internal_assert 206 src/IR.cpp internal_assert(a.type().is_bool()) << "argument of Not is not a bool\n"; internal_assert 215 src/IR.cpp internal_assert(condition.defined()) << "Select of undefined\n"; internal_assert 216 src/IR.cpp internal_assert(true_value.defined()) << "Select of undefined\n"; internal_assert 217 src/IR.cpp internal_assert(false_value.defined()) << "Select of undefined\n"; internal_assert 218 src/IR.cpp internal_assert(condition.type().is_bool()) << "First argument to Select is not a bool: " << condition.type() << "\n"; internal_assert 219 src/IR.cpp internal_assert(false_value.type() == true_value.type()) << "Select of mismatched types\n"; internal_assert 220 src/IR.cpp internal_assert(condition.type().is_scalar() || internal_assert 233 src/IR.cpp internal_assert(predicate.defined()) << "Load with undefined predicate\n"; internal_assert 234 src/IR.cpp internal_assert(index.defined()) << "Load of undefined\n"; internal_assert 235 src/IR.cpp internal_assert(type.lanes() == index.type().lanes()) << "Vector lanes of Load must match vector lanes of index\n"; internal_assert 236 src/IR.cpp internal_assert(type.lanes() == predicate.type().lanes()) internal_assert 250 src/IR.cpp internal_assert(base.defined()) << "Ramp of undefined\n"; internal_assert 251 src/IR.cpp internal_assert(stride.defined()) << "Ramp of undefined\n"; internal_assert 252 src/IR.cpp internal_assert(base.type().is_scalar()) << "Ramp with vector base\n"; internal_assert 253 src/IR.cpp internal_assert(stride.type().is_scalar()) << "Ramp with vector stride\n"; internal_assert 254 src/IR.cpp internal_assert(lanes > 1) << "Ramp of lanes <= 1\n"; internal_assert 255 src/IR.cpp internal_assert(stride.type() == base.type()) << "Ramp of mismatched types\n"; internal_assert 266 src/IR.cpp internal_assert(value.defined()) << "Broadcast of undefined\n"; internal_assert 267 src/IR.cpp internal_assert(value.type().is_scalar()) << "Broadcast of vector\n"; internal_assert 268 src/IR.cpp internal_assert(lanes != 1) << "Broadcast of lanes 1\n"; internal_assert 278 src/IR.cpp internal_assert(value.defined()) << "Let of undefined\n"; internal_assert 279 src/IR.cpp internal_assert(body.defined()) << "Let of undefined\n"; internal_assert 290 src/IR.cpp internal_assert(value.defined()) << "Let of undefined\n"; internal_assert 291 src/IR.cpp internal_assert(body.defined()) << "Let of undefined\n"; internal_assert 301 src/IR.cpp internal_assert(condition.defined()) << "AssertStmt of undefined\n"; internal_assert 302 src/IR.cpp internal_assert(message.type() == Int(32)) << "AssertStmt message must be an int:" << message << "\n"; internal_assert 311 src/IR.cpp internal_assert(body.defined()) << "ProducerConsumer of undefined\n"; internal_assert 329 src/IR.cpp internal_assert(min.defined()) << "For of undefined\n"; internal_assert 330 src/IR.cpp internal_assert(extent.defined()) << "For of undefined\n"; internal_assert 331 src/IR.cpp internal_assert(min.type().is_scalar()) << "For with vector min\n"; internal_assert 332 src/IR.cpp internal_assert(extent.type().is_scalar()) << "For with vector extent\n"; internal_assert 333 src/IR.cpp internal_assert(body.defined()) << "For of undefined\n"; internal_assert 346 src/IR.cpp internal_assert(predicate.defined()) << "Store with undefined predicate\n"; internal_assert 347 src/IR.cpp internal_assert(value.defined()) << "Store of undefined\n"; internal_assert 348 src/IR.cpp internal_assert(index.defined()) << "Store of undefined\n"; internal_assert 349 src/IR.cpp internal_assert(value.type().lanes() == index.type().lanes()) << "Vector lanes of Store must match vector lanes of index\n"; internal_assert 350 src/IR.cpp internal_assert(value.type().lanes() == predicate.type().lanes()) internal_assert 363 src/IR.cpp internal_assert(!values.empty()) << "Provide of no values\n"; internal_assert 365 src/IR.cpp internal_assert(values[i].defined()) << "Provide of undefined value\n"; internal_assert 368 src/IR.cpp internal_assert(args[i].defined()) << "Provide to undefined location\n"; internal_assert 382 src/IR.cpp internal_assert(extents[i].defined()) << "Allocate of undefined extent\n"; internal_assert 383 src/IR.cpp internal_assert(extents[i].type().is_scalar() == 1) << "Allocate of vector extent\n"; internal_assert 385 src/IR.cpp internal_assert(body.defined()) << "Allocate of undefined\n"; internal_assert 386 src/IR.cpp internal_assert(condition.defined()) << "Allocate with undefined condition\n"; internal_assert 387 src/IR.cpp internal_assert(condition.type().is_bool()) << "Allocate condition is not boolean\n"; internal_assert 443 src/IR.cpp internal_assert(bounds[i].min.defined()) << "Realize of undefined\n"; internal_assert 444 src/IR.cpp internal_assert(bounds[i].extent.defined()) << "Realize of undefined\n"; internal_assert 445 src/IR.cpp internal_assert(bounds[i].min.type().is_scalar()) << "Realize of vector size\n"; internal_assert 446 src/IR.cpp internal_assert(bounds[i].extent.type().is_scalar()) << "Realize of vector size\n"; internal_assert 448 src/IR.cpp internal_assert(body.defined()) << "Realize of undefined\n"; internal_assert 449 src/IR.cpp internal_assert(!types.empty()) << "Realize has empty type\n"; internal_assert 450 src/IR.cpp internal_assert(condition.defined()) << "Realize with undefined condition\n"; internal_assert 451 src/IR.cpp internal_assert(condition.type().is_bool()) << "Realize condition is not boolean\n"; internal_assert 464 src/IR.cpp internal_assert(bounds[i].min.defined()) << "Prefetch of undefined\n"; internal_assert 465 src/IR.cpp internal_assert(bounds[i].extent.defined()) << "Prefetch of undefined\n"; internal_assert 466 src/IR.cpp internal_assert(bounds[i].min.type().is_scalar()) << "Prefetch of vector size\n"; internal_assert 467 src/IR.cpp internal_assert(bounds[i].extent.type().is_scalar()) << "Prefetch of vector size\n"; internal_assert 469 src/IR.cpp internal_assert(!types.empty()) << "Prefetch has empty type\n"; internal_assert 480 src/IR.cpp internal_assert(first.defined()) << "Block of undefined\n"; internal_assert 481 src/IR.cpp internal_assert(rest.defined()) << "Block of undefined\n"; internal_assert 509 src/IR.cpp internal_assert(condition.defined() && then_case.defined()) << "IfThenElse of undefined\n"; internal_assert 520 src/IR.cpp internal_assert(v.defined()) << "Evaluate of undefined\n"; internal_assert 528 src/IR.cpp internal_assert(idx >= 0 && internal_assert 531 src/IR.cpp internal_assert(func.has_pure_definition() || func.has_extern_definition()) internal_assert 541 src/IR.cpp internal_assert(args.size() % 2 == 0) internal_assert 545 src/IR.cpp internal_assert(args[i].defined()) << "Call of undefined\n"; internal_assert 549 src/IR.cpp internal_assert(args[i].type() == Int(32)) internal_assert 553 src/IR.cpp internal_assert((param.defined() || image.defined())) internal_assert 556 src/IR.cpp internal_assert(args[i].type() == Int(32)) internal_assert 574 src/IR.cpp internal_assert(!name.empty()); internal_assert 586 src/IR.cpp internal_assert(!vectors.empty()) << "Shuffle of zero vectors.\n"; internal_assert 587 src/IR.cpp internal_assert(!indices.empty()) << "Shufle with zero indices.\n"; internal_assert 591 src/IR.cpp internal_assert(i.type().element_of() == element_ty) << "Shuffle of vectors of mismatched types.\n"; internal_assert 595 src/IR.cpp internal_assert(0 <= i && i < input_lanes) << "Shuffle vector index out of range: " << i << "\n"; internal_assert 606 src/IR.cpp internal_assert(!vectors.empty()) << "Interleave of zero vectors.\n"; internal_assert 615 src/IR.cpp internal_assert(i.type().lanes() == lanes) internal_assert 630 src/IR.cpp internal_assert(!vectors.empty()) << "Concat of zero vectors.\n"; internal_assert 389 src/IR.h internal_assert(min.type() == extent.type()) << "Region min and extent must have same type\n"; internal_assert 521 src/IREquality.cpp internal_assert(r == IRComparer::Equal) internal_assert 532 src/IREquality.cpp internal_assert(r1 != IRComparer::Equal && internal_assert 27 src/IRMatch.cpp internal_assert(expr_match(w, 3, matches) && internal_assert 30 src/IRMatch.cpp internal_assert(expr_match(w + 3, (y*2) + 3, matches) && internal_assert 33 src/IRMatch.cpp internal_assert(expr_match(fw * 17 + cast<float>(w + cast<int>(fw)), internal_assert 40 src/IRMatch.cpp internal_assert(!expr_match(fw + 17, fx + 18, matches) && internal_assert 42 src/IRMatch.cpp internal_assert(!expr_match((w*2) + 17, fx + 17, matches) && internal_assert 44 src/IRMatch.cpp internal_assert(!expr_match(w * 3, 3 * x, matches) && internal_assert 47 src/IRMatch.cpp internal_assert(expr_match(vec_wild * 3, Ramp::make(x, y, 4) * 3, matches)); internal_assert 20 src/IROperator.cpp internal_assert(n >= 2); internal_assert 392 src/IROperator.cpp internal_assert(a.type().lanes() == b.type().lanes()) << "Can't match types of differing widths"; internal_assert 459 src/IROperator.cpp internal_assert(type.element_of() == Float(32)); internal_assert 503 src/IROperator.cpp internal_assert(type.element_of() == Float(32)); internal_assert 609 src/IROperator.cpp internal_assert(cond.type().is_bool()) << "Should be a boolean condition\n"; internal_assert 680 src/IROperator.cpp internal_assert(e.type() == Int(32)) internal_assert 229 src/IROperator.h internal_assert(b->lanes == t.lanes()); internal_assert 609 src/IROperator.h internal_assert(a.defined()) << "operator&& of undefined Expr\n"; internal_assert 610 src/IROperator.h internal_assert(a.type().is_bool()) << "operator&& of Expr of type " << a.type() << "\n"; internal_assert 632 src/IROperator.h internal_assert(a.defined()) << "operator|| of undefined Expr\n"; internal_assert 633 src/IROperator.h internal_assert(a.type().is_bool()) << "operator|| of Expr of type " << a.type() << "\n"; internal_assert 107 src/IRPrinter.cpp internal_assert(expr_source.str() == "((x + 3)*((y/2) + 17))"); internal_assert 63 src/ImageParam.cpp internal_assert(func.defined()); internal_assert 68 src/ImageParam.cpp internal_assert(func.defined()); internal_assert 73 src/ImageParam.cpp internal_assert(func.defined()); internal_assert 65 src/InjectHostDevBufferCopies.cpp internal_assert(internal.find(op->name) == internal.end()) << "Duplicate Allocate node in FindBuffersToTrack.\n"; internal_assert 80 src/InjectHostDevBufferCopies.cpp internal_assert(device_api != DeviceAPI::None); internal_assert 239 src/InjectHostDevBufferCopies.cpp internal_assert(direction == ToHost || direction == ToDevice) << "make_buffer_copy caller logic error.\n"; internal_assert 254 src/InjectHostDevBufferCopies.cpp internal_assert(s.defined()); internal_assert 307 src/InjectHostDevBufferCopies.cpp internal_assert(non_host_devices_reading_count <= 1); internal_assert 308 src/InjectHostDevBufferCopies.cpp internal_assert(non_host_devices_writing_count <= 1); internal_assert 309 src/InjectHostDevBufferCopies.cpp internal_assert((non_host_devices_reading_count == 0 || non_host_devices_writing_count == 0) || internal_assert 326 src/InjectHostDevBufferCopies.cpp internal_assert(!device_wrote && !(host_wrote && device_read)); internal_assert 333 src/InjectHostDevBufferCopies.cpp internal_assert(!device_read && !device_wrote); internal_assert 344 src/InjectHostDevBufferCopies.cpp internal_assert(!host_wrote && !(device_wrote && host_read)); internal_assert 356 src/InjectHostDevBufferCopies.cpp internal_assert(!host_read && !host_wrote); internal_assert 383 src/InjectHostDevBufferCopies.cpp internal_assert(s.defined()); internal_assert 394 src/InjectHostDevBufferCopies.cpp internal_assert(s.defined()); internal_assert 436 src/InjectHostDevBufferCopies.cpp internal_assert(device_api == DeviceAPI::GLSL); internal_assert 437 src/InjectHostDevBufferCopies.cpp internal_assert(op->args.size() >= 2); internal_assert 439 src/InjectHostDevBufferCopies.cpp internal_assert(buffer_var && ends_with(buffer_var->name, ".buffer")); internal_assert 447 src/InjectHostDevBufferCopies.cpp internal_assert(device_api == DeviceAPI::GLSL); internal_assert 448 src/InjectHostDevBufferCopies.cpp internal_assert(op->args.size() >= 2); internal_assert 450 src/InjectHostDevBufferCopies.cpp internal_assert(buffer_var && ends_with(buffer_var->name, ".buffer")); internal_assert 539 src/InjectHostDevBufferCopies.cpp internal_assert(op); internal_assert 596 src/InjectHostDevBufferCopies.cpp internal_assert(buffer_init_let) << "Could not find definition of " << op->name << ".buffer\n"; internal_assert 623 src/InjectHostDevBufferCopies.cpp internal_assert(op); internal_assert 669 src/InjectHostDevBufferCopies.cpp internal_assert(then_state.loop_level == else_state.loop_level) internal_assert 740 src/InjectHostDevBufferCopies.cpp internal_assert(device_api != DeviceAPI::None); internal_assert 33 src/InjectImageIntrinsics.cpp internal_assert(provide->values.size() == 1) internal_assert 112 src/Inline.cpp internal_assert(args.size() == func_args.size()); internal_assert 144 src/Inline.cpp internal_assert(f.can_be_inlined()) << "Illegal to inline " << f.name() << "\n"; internal_assert 122 src/Interval.cpp internal_assert(equal(result.min, expected.min) && internal_assert 138 src/Interval.cpp internal_assert(e.is_everything()); internal_assert 139 src/Interval.cpp internal_assert(!e.has_upper_bound()); internal_assert 140 src/Interval.cpp internal_assert(!e.has_lower_bound()); internal_assert 141 src/Interval.cpp internal_assert(!e.is_empty()); internal_assert 142 src/Interval.cpp internal_assert(!e.is_bounded()); internal_assert 143 src/Interval.cpp internal_assert(!e.is_single_point()); internal_assert 145 src/Interval.cpp internal_assert(!n.is_everything()); internal_assert 146 src/Interval.cpp internal_assert(!n.has_upper_bound()); internal_assert 147 src/Interval.cpp internal_assert(!n.has_lower_bound()); internal_assert 148 src/Interval.cpp internal_assert(n.is_empty()); internal_assert 149 src/Interval.cpp internal_assert(!n.is_bounded()); internal_assert 150 src/Interval.cpp internal_assert(!n.is_single_point()); internal_assert 152 src/Interval.cpp internal_assert(!xp.is_everything()); internal_assert 153 src/Interval.cpp internal_assert(!xp.has_upper_bound()); internal_assert 154 src/Interval.cpp internal_assert(xp.has_lower_bound()); internal_assert 155 src/Interval.cpp internal_assert(!xp.is_empty()); internal_assert 156 src/Interval.cpp internal_assert(!xp.is_bounded()); internal_assert 157 src/Interval.cpp internal_assert(!xp.is_single_point()); internal_assert 159 src/Interval.cpp internal_assert(!xn.is_everything()); internal_assert 160 src/Interval.cpp internal_assert(xn.has_upper_bound()); internal_assert 161 src/Interval.cpp internal_assert(!xn.has_lower_bound()); internal_assert 162 src/Interval.cpp internal_assert(!xn.is_empty()); internal_assert 163 src/Interval.cpp internal_assert(!xn.is_bounded()); internal_assert 164 src/Interval.cpp internal_assert(!xn.is_single_point()); internal_assert 166 src/Interval.cpp internal_assert(!xx.is_everything()); internal_assert 167 src/Interval.cpp internal_assert(xx.has_upper_bound()); internal_assert 168 src/Interval.cpp internal_assert(xx.has_lower_bound()); internal_assert 169 src/Interval.cpp internal_assert(!xx.is_empty()); internal_assert 170 src/Interval.cpp internal_assert(xx.is_bounded()); internal_assert 171 src/Interval.cpp internal_assert(xx.is_single_point()); internal_assert 28 src/Interval.h internal_assert(min.defined() && max.defined()); internal_assert 398 src/Introspection.cpp internal_assert(ptr.type->type == TypeInfo::Pointer) internal_assert 400 src/Introspection.cpp internal_assert(ptr.type->members.size() == 1); internal_assert 402 src/Introspection.cpp internal_assert(object_type); internal_assert 406 src/Introspection.cpp internal_assert(size == object_type->size); internal_assert 287 src/JITModule.cpp internal_assert(tm) << error_string << "\n"; internal_assert 302 src/JITModule.cpp internal_assert(ee) << "Couldn't create execution engine\n"; internal_assert 410 src/JITModule.cpp internal_assert(!module_already_in_graph(dep.jit_module.get(), jit_module.get(), already_seen)) << "JITModule::add_dependency: creating circular dependency graph.\n"; internal_assert 584 src/JITModule.cpp internal_assert(iter != exports.end()); internal_assert 756 src/JITModule.cpp internal_assert(arg_addr != 0); internal_assert 760 src/JITModule.cpp internal_assert(fun_addr != 0); internal_assert 18 src/LLVM_Output.cpp internal_assert(error_string.empty()) internal_assert 30 src/LLVM_Output.cpp internal_assert(target_machine.get()) << "Could not allocate target machine!\n"; internal_assert 92 src/LLVM_Output.cpp internal_assert(!src_files.empty()); internal_assert 137 src/LLVM_Output.cpp internal_assert(!result.second) << "Failed to write archive: " << dst_file internal_assert 474 src/LLVM_Runtime_Linker.cpp internal_assert(t.os == Target::NoOS || !is_halide_extern_c_sym || f.isWeakForLinker() || f.isDeclaration()) internal_assert 562 src/LLVM_Runtime_Linker.cpp internal_assert(alt->getName() == new_name); internal_assert 617 src/LLVM_Runtime_Linker.cpp internal_assert(t.bits == 32 || t.bits == 64); internal_assert 15 src/Lerp.cpp internal_assert(zero_val.type() == one_val.type()); internal_assert 16 src/Lerp.cpp internal_assert(weight.type().is_uint() || weight.type().is_float()); internal_assert 110 src/Lerp.cpp internal_assert(bits_left > 0); internal_assert 428 src/LoopCarry.cpp internal_assert(call.as<Call>()); internal_assert 346 src/Lower.cpp internal_assert(arg.arg.is_input()) << "Expected only input Arguments here"; internal_assert 19 src/MatlabWrapper.cpp internal_assert(call_pipeline) << "Did not find function 'halide_matlab_call_pipeline' in module.\n"; internal_assert 27 src/MatlabWrapper.cpp internal_assert(mxArray_ty) << "Did not find mxArray in initial module"; internal_assert 49 src/Memoization.cpp internal_assert(!call->args.empty()); internal_assert 482 src/Memoization.cpp internal_assert(call->args.size() >= 3) internal_assert 499 src/Module.cpp internal_assert(sub_out.object_name.empty()); internal_assert 271 src/ModulusRemainder.cpp internal_assert(ra == mod(b.remainder, modulus)) internal_assert 318 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 322 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 326 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 330 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 334 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 338 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 342 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 346 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 350 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of bool\n"; internal_assert 366 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of vector\n"; internal_assert 370 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of vector\n"; internal_assert 395 src/ModulusRemainder.cpp internal_assert(op->indices.size() == 1) << "modulus_remainder of vector\n"; internal_assert 401 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 405 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 409 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 413 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 417 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 421 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 425 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 429 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 433 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 437 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 441 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 445 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 449 src/ModulusRemainder.cpp internal_assert(false) << "modulus_remainder of statement\n"; internal_assert 400 src/Monotonic.cpp internal_assert(is_monotonic(e, "x") == Monotonic::Increasing) internal_assert 405 src/Monotonic.cpp internal_assert(is_monotonic(e, "x") == Monotonic::Decreasing) internal_assert 410 src/Monotonic.cpp internal_assert(is_monotonic(e, "x") == Monotonic::Constant) internal_assert 415 src/Monotonic.cpp internal_assert(is_monotonic(e, "x") == Monotonic::Unknown) internal_assert 20 src/ObjectInstanceRegistry.cpp internal_assert(registry.instances.find(key) == registry.instances.end()); internal_assert 35 src/ObjectInstanceRegistry.cpp internal_assert(it != registry.instances.end()); internal_assert 127 src/ParallelRVar.cpp internal_assert(find.loads[i].size() == other_store.size()); internal_assert 75 src/Parameter.cpp internal_assert(is_buffer || d == 0) << "Scalar parameters should be zero-dimensional"; internal_assert 84 src/Parameter.cpp internal_assert(is_buffer || d == 0) << "Scalar parameters should be zero-dimensional"; internal_assert 85 src/PartitionLoops.cpp internal_assert(op->args.size() == 1); internal_assert 277 src/PartitionLoops.cpp internal_assert(s.condition.type().is_scalar()) << s.condition << "\n"; internal_assert 341 src/PartitionLoops.cpp internal_assert(!expr_uses_var(relaxed, op->name)) internal_assert 565 src/PartitionLoops.cpp internal_assert(s.tight); internal_assert 576 src/PartitionLoops.cpp internal_assert(s.tight); internal_assert 614 src/PartitionLoops.cpp internal_assert(!expr_uses_var(prologue_val, op->name)); internal_assert 629 src/PartitionLoops.cpp internal_assert(!expr_uses_var(epilogue_val, op->name)); internal_assert 791 src/PartitionLoops.cpp internal_assert(!expr_uses_var(f->min, op->name) && internal_assert 797 src/PartitionLoops.cpp internal_assert(a->name == "__shared" && a->extents.size() == 1); internal_assert 821 src/PartitionLoops.cpp internal_assert(op->else_case.defined()) internal_assert 962 src/PartitionLoops.cpp internal_assert(op->args.size() == 1); internal_assert 313 src/Pipeline.cpp internal_assert(!new_fn_name.empty()) << "new_fn_name cannot be empty\n"; internal_assert 662 src/Pipeline.cpp internal_assert(compiled_module.argv_function()); internal_assert 721 src/Pipeline.cpp internal_assert(arg.buffer.defined()); internal_assert 916 src/Pipeline.cpp internal_assert(ia.param.defined() && ia.param.is_buffer()); internal_assert 975 src/Pipeline.cpp internal_assert(!ia.param.get_buffer().defined()); internal_assert 413 src/Pipeline.h internal_assert(!(is_void_return && ret_type != Type())); internal_assert 424 src/Pipeline.h internal_assert(!is_void_return()); internal_assert 48 src/Prefetch.cpp internal_assert(v.size() > 2); internal_assert 53 src/Prefetch.cpp internal_assert(v[1].substr(0, 1) == "s"); internal_assert 57 src/Prefetch.cpp internal_assert(has_only_digits); internal_assert 60 src/Prefetch.cpp internal_assert(stage >= 0); internal_assert 63 src/Prefetch.cpp internal_assert(it != env.end()); internal_assert 66 src/Prefetch.cpp internal_assert(stage <= (int)current_func->updates().size()); internal_assert 76 src/Prefetch.cpp internal_assert((int)b.size() == dims); internal_assert 136 src/Prefetch.cpp internal_assert(op); internal_assert 179 src/Prefetch.cpp internal_assert(it != env.end()); internal_assert 230 src/Prefetch.cpp internal_assert(prefetch_box.size() == bounds.size()); internal_assert 242 src/Prefetch.cpp internal_assert(p.strategy == PrefetchBoundStrategy::NonFaulting); internal_assert 272 src/Prefetch.cpp internal_assert(op); internal_assert 283 src/Prefetch.cpp internal_assert(base && base->type.is_handle()); internal_assert 324 src/Prefetch.cpp internal_assert(op); internal_assert 329 src/Prefetch.cpp internal_assert(base && base->type.is_handle()); internal_assert 399 src/Prefetch.cpp internal_assert(max_dim > 0); internal_assert 53 src/Profiling.cpp internal_assert(v.size() > 0); internal_assert 92 src/Profiling.cpp internal_assert(extents.size() > 0); internal_assert 116 src/Profiling.cpp internal_assert(size.type() == UInt(64)); internal_assert 124 src/Profiling.cpp internal_assert(int_size != NULL); // Stack size is always a const int internal_assert 158 src/Profiling.cpp internal_assert(alloc.size.type() == UInt(64)); internal_assert 175 src/Profiling.cpp internal_assert(int_size != nullptr); internal_assert 21 src/Random.cpp internal_assert(x.type() == UInt(32)); internal_assert 67 src/Random.cpp internal_assert(e.size()); internal_assert 68 src/Random.cpp internal_assert(e[0].type() == Int(32) || e[0].type() == UInt(32)); internal_assert 72 src/Random.cpp internal_assert(e[i].type() == Int(32) || e[i].type() == UInt(32)); internal_assert 122 src/Random.cpp internal_assert(!free_vars[i].empty()); internal_assert 23 src/RealizationOrder.cpp internal_assert(iter != graph.end()); internal_assert 29 src/RealizationOrder.cpp internal_assert(result_set.find(fn) != result_set.end()) internal_assert 40 src/Reduction.h internal_assert(a.contents.defined() && b.contents.defined()); internal_assert 498 src/RemoveUndef.cpp internal_assert(!r.predicate.defined()) internal_assert 48 src/Schedule.cpp internal_assert(defined()); internal_assert 59 src/Schedule.cpp internal_assert(defined()); internal_assert 64 src/Schedule.cpp internal_assert(defined()); internal_assert 65 src/Schedule.cpp internal_assert(!is_inline() && !is_root()); internal_assert 75 src/Schedule.cpp internal_assert(defined()); internal_assert 85 src/Schedule.cpp internal_assert(defined()); internal_assert 90 src/Schedule.cpp internal_assert(defined()); internal_assert 95 src/Schedule.cpp internal_assert(defined()); internal_assert 101 src/Schedule.cpp internal_assert(defined()); internal_assert 195 src/Schedule.cpp internal_assert(contents.defined()) << "Cannot deep-copy undefined Schedule\n"; internal_assert 221 src/Schedule.cpp internal_assert(copy.contents->wrappers.size() == contents->wrappers.size()); internal_assert 110 src/ScheduleFunctions.cpp internal_assert(res.is_predicate()); internal_assert 158 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); internal_assert 159 src/ScheduleFunctions.cpp internal_assert(nest[i].type == Container::Let); internal_assert 163 src/ScheduleFunctions.cpp internal_assert(nest[j+1].value.defined()); internal_assert 181 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); internal_assert 182 src/ScheduleFunctions.cpp internal_assert(nest[i].type == Container::If); internal_assert 191 src/ScheduleFunctions.cpp internal_assert(nest[j+1].value.defined()); internal_assert 203 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); internal_assert 206 src/ScheduleFunctions.cpp internal_assert(nest[i].value.defined()); internal_assert 209 src/ScheduleFunctions.cpp internal_assert(nest[i].type == Container::For); internal_assert 270 src/ScheduleFunctions.cpp internal_assert(!is_update == def.is_init()); internal_assert 304 src/ScheduleFunctions.cpp internal_assert(equal(c, const_true())); internal_assert 306 src/ScheduleFunctions.cpp internal_assert(i == specializations.size()); internal_assert 428 src/ScheduleFunctions.cpp internal_assert(f.dimensions() == (int)f.args().size()); internal_assert 633 src/ScheduleFunctions.cpp internal_assert(realization.second.defined()); internal_assert 734 src/ScheduleFunctions.cpp internal_assert(found_compute_level) internal_assert 802 src/ScheduleFunctions.cpp internal_assert(first_dot != string::npos && last_dot != string::npos); internal_assert 807 src/ScheduleFunctions.cpp internal_assert(!var.empty()); internal_assert 811 src/ScheduleFunctions.cpp internal_assert(it != env.end()) << "Unable to find Function " << func << " in env (Var = " << var << ")\n"; internal_assert 1184 src/ScheduleFunctions.cpp internal_assert(injector.found_store_level && injector.found_compute_level); internal_assert 1192 src/ScheduleFunctions.cpp internal_assert(root_loop); internal_assert 35 src/ScheduleParam.cpp internal_assert(type == that.type); internal_assert 31 src/ScheduleParam.h internal_assert(!is_looplevel_param()); internal_assert 151 src/Scope.h internal_assert(iter != table.end()) << "Name not in symbol table: " << name << "\n"; internal_assert 27 src/SelectGPUAPI.cpp internal_assert(op); internal_assert 566 src/Simplify.cpp internal_assert(info.replacement.type() == op->type) << "Cannot replace variable " << op->name internal_assert 4224 src/Simplify.cpp internal_assert(op->args.size() == 1); internal_assert 4255 src/Simplify.cpp internal_assert(op->args.size() % 2 == 0); // Format: {base, offset, extent0, min0, ...} internal_assert 4288 src/Simplify.cpp internal_assert(args.size() <= op->args.size()); internal_assert 4517 src/Simplify.cpp internal_assert(op); internal_assert 4522 src/Simplify.cpp internal_assert(shuffle_a && shuffle_b && internal_assert 4552 src/Simplify.cpp internal_assert(!var_info.contains(op->name)) internal_assert 4891 src/Simplify.cpp internal_assert(lets.empty()); internal_assert 5010 src/Simplify.cpp internal_assert(e.type().is_bool()) internal_assert 6096 src/Simplify.cpp internal_assert(!is_const(simplify(e))) internal_assert 6100 src/Simplify.cpp internal_assert(is_const(simplify(e))) internal_assert 6441 src/Simplify.cpp internal_assert(r1.type() == halide_type_of<uint16_t>()); internal_assert 6443 src/Simplify.cpp internal_assert(r2.type() == halide_type_of<uint16_t>()); internal_assert 6446 src/Simplify.cpp internal_assert(r3.type() == halide_type_of<int>()); internal_assert 6449 src/Simplify.cpp internal_assert(r1.type() == halide_type_of<uint16_t>()); internal_assert 6451 src/Simplify.cpp internal_assert(r2.type() == halide_type_of<uint16_t>()); internal_assert 6454 src/Simplify.cpp internal_assert(r3.type() == halide_type_of<int>()); internal_assert 250 src/SkipStages.cpp internal_assert(op->call_type == Call::Extern); internal_assert 251 src/SkipStages.cpp internal_assert(starts_with(op->name, "halide_memoization")); internal_assert 296 src/SkipStages.cpp internal_assert(op); internal_assert 132 src/SlidingWindow.cpp internal_assert(scope.contains(var + ".min") && scope.contains(var + ".max")); internal_assert 288 src/SlidingWindow.cpp internal_assert(l); internal_assert 85 src/Solve.cpp internal_assert(!e.type().is_uint()) << "Negating unsigned is not legal\n"; internal_assert 295 src/Solve.cpp internal_assert(!is_const(op->a) || !a_uses_var) << op->a << ", " << uses_var << "\n"; internal_assert 335 src/Solve.cpp internal_assert(!uses_var && !a_uses_var && !b_uses_var); internal_assert 599 src/Solve.cpp internal_assert(!b.type().is_uint()) << "Negating unsigned is not legal\n"; internal_assert 639 src/Solve.cpp internal_assert(!a.type().is_uint()) << "Negating unsigned is not legal\n"; internal_assert 764 src/Solve.cpp internal_assert(op->type.is_bool()); internal_assert 841 src/Solve.cpp internal_assert(op->type.is_bool()); internal_assert 862 src/Solve.cpp internal_assert(op->type.is_bool()); internal_assert 1028 src/Solve.cpp internal_assert(op->a.type().is_bool() == op->b.type().is_bool()); internal_assert 1041 src/Solve.cpp internal_assert(op->a.type().is_bool() == op->b.type().is_bool()); internal_assert 1329 src/Solve.cpp internal_assert(s.result.min.defined() && s.result.max.defined()) internal_assert 1343 src/Solve.cpp internal_assert(s.result.min.defined() && s.result.max.defined()) internal_assert 1365 src/Solve.cpp internal_assert(equal(solved.result, b)) internal_assert 1378 src/Solve.cpp internal_assert(equal(result.min, i.min) && equal(result.max, i.max)) internal_assert 1400 src/Solve.cpp internal_assert(equal(cond, result)) internal_assert 1435 src/Solve.cpp internal_assert(solved.fully_solved && solved.result.as<Let>()); internal_assert 1448 src/Solve.cpp internal_assert(solved.fully_solved) << "Error: failed to solve for x in " << in[j] << "\n"; internal_assert 1455 src/Solve.cpp internal_assert(equal(in_val, out_val)) internal_assert 1470 src/Solve.cpp internal_assert(solved.fully_solved && solved.result.defined()); internal_assert 1475 src/Solve.cpp internal_assert(!solve_expression(x*x < 4, "x").fully_solved); internal_assert 1547 src/Solve.cpp internal_assert(!is_one(simplify(cond))); internal_assert 91 src/SplitTuples.cpp internal_assert(indices != func_value_indices.end()); internal_assert 94 src/SplitTuples.cpp internal_assert((*it) < (int)op->types.size()); internal_assert 97 src/SplitTuples.cpp internal_assert((*it) < (int)op->types.size()); internal_assert 108 src/SplitTuples.cpp internal_assert(it != env.end()); internal_assert 162 src/SplitTuples.cpp internal_assert(it != env.end()); internal_assert 364 src/StmtToHtml.cpp internal_assert(false) << "Unknown for type: " << ((int)op->for_type) << "\n"; internal_assert 115 src/StorageFlattening.cpp internal_assert(iter != env.end()) << "Realize node refers to function not in environment.\n"; internal_assert 129 src/StorageFlattening.cpp internal_assert(storage_permutation.size() == i+1); internal_assert 133 src/StorageFlattening.cpp internal_assert(storage_permutation.size() == op->bounds.size()); internal_assert 136 src/StorageFlattening.cpp internal_assert(op->types.size() == 1); internal_assert 191 src/StorageFlattening.cpp internal_assert(op->values.size() == 1); internal_assert 217 src/StorageFlattening.cpp internal_assert(op->value_index == 0); internal_assert 227 src/StorageFlattening.cpp internal_assert(op->types.size() == 1) internal_assert 258 src/StorageFlattening.cpp internal_assert(storage_permutation.size() == i+1); internal_assert 261 src/StorageFlattening.cpp internal_assert(storage_permutation.size() == op->bounds.size()); internal_assert 264 src/StorageFlattening.cpp internal_assert(storage_permutation[i] < (int)op->bounds.size()); internal_assert 64 src/StorageFolding.cpp internal_assert(op); internal_assert 67 src/StorageFolding.cpp internal_assert(dim < (int)args.size()); internal_assert 77 src/StorageFolding.cpp internal_assert(op); internal_assert 334 src/StorageFolding.cpp internal_assert(d >= 0 && internal_assert 534 src/Target.cpp internal_assert(t.has_feature((Target::Feature)i)) << "Feature " << i << " not in feature_names_map.\n"; internal_assert 71 src/Tracing.cpp internal_assert(op); internal_assert 77 src/Tracing.cpp internal_assert(!f.can_be_inlined() || !f.schedule().compute_level().is_inline()); internal_assert 109 src/Tracing.cpp internal_assert(op); internal_assert 114 src/Tracing.cpp internal_assert(!f.can_be_inlined() || !f.schedule().compute_level().is_inline()); internal_assert 165 src/Tracing.cpp internal_assert(op); internal_assert 203 src/Tracing.cpp internal_assert(op); internal_assert 270 src/Tracing.cpp internal_assert(output_buf.is_buffer()); internal_assert 35 src/Type.cpp internal_assert(is_float()); internal_assert 59 src/Type.cpp internal_assert(is_float()); internal_assert 180 src/Type.h internal_assert(is_ptr) << "Unknown types must be pointers"; internal_assert 181 src/Type.h internal_assert(ref_type == halide_handle_cplusplus_type::NotReference) << "Unknown types must not be references"; internal_assert 237 src/Util.cpp internal_assert(file_exists(name)) << "File not found: " << name; internal_assert 241 src/Util.cpp internal_assert(!file_exists(name)) << "File (wrongly) found: " << name; internal_assert 262 src/Util.cpp internal_assert(r != 0) << "Unable to remove dir: " << name << ":" << GetLastError() << "\n"; internal_assert 265 src/Util.cpp internal_assert(r == 0) << "Unable to remove dir: " << name << "\n"; internal_assert 289 src/Util.cpp internal_assert(prefix.find("/") == string::npos && internal_assert 298 src/Util.cpp internal_assert(ret != 0); internal_assert 301 src/Util.cpp internal_assert(ret != 0); internal_assert 309 src/Util.cpp internal_assert(fd != -1) << "Unable to create temp file for (" << &buf[0] << ")\n"; internal_assert 319 src/Util.cpp internal_assert(ret != 0); internal_assert 327 src/Util.cpp internal_assert(hr == S_OK); internal_assert 352 src/Util.cpp internal_assert(false) << "Unable to create temp directory.\n"; internal_assert 360 src/Util.cpp internal_assert(result != nullptr) << "Unable to create temp directory.\n"; internal_assert 40 src/VaryingAttributes.cpp internal_assert(name.length() > 0); internal_assert 65 src/VaryingAttributes.cpp internal_assert(loop_vars.size() > 0) << "No GPU loop variables found at texture load\n"; internal_assert 76 src/VaryingAttributes.cpp internal_assert(loop_vars.size() > 0) << "No GPU loop variables found at texture store\n"; internal_assert 441 src/VaryingAttributes.cpp internal_assert(ends_with(name, ".varying")); internal_assert 1005 src/VaryingAttributes.cpp internal_assert(for_loops.size() <= 1); internal_assert 1148 src/VaryingAttributes.cpp internal_assert(loop1->body.as<For>()) << "Did not find pair of nested For loops"; internal_assert 248 src/VectorizeLoops.cpp internal_assert(target.features_any_of({Target::HVX_64, Target::HVX_128})) internal_assert 278 src/VectorizeLoops.cpp internal_assert(op->predicate.type().lanes() == lanes); internal_assert 279 src/VectorizeLoops.cpp internal_assert(op->index.type().lanes() == lanes); internal_assert 309 src/VectorizeLoops.cpp internal_assert(op->predicate.type().lanes() == lanes); internal_assert 310 src/VectorizeLoops.cpp internal_assert(op->index.type().lanes() == lanes); internal_assert 311 src/VectorizeLoops.cpp internal_assert(op->value.type().lanes() == lanes); internal_assert 344 src/VectorizeLoops.cpp internal_assert(lanes > 1); internal_assert 498 src/VectorizeLoops.cpp internal_assert(call && call->is_intrinsic(Call::make_struct)); internal_assert 870 src/VectorizeLoops.cpp internal_assert(r) << "Expected replacement in VectorSubs to be a ramp\n"; internal_assert 21 src/WrapCalls.cpp internal_assert(in_func.get_contents().defined() && wrapped_func.get_contents().defined() && internal_assert 23 src/WrapCalls.cpp internal_assert(func_wrappers_map[in_func].count(wrapped_func) == 0) internal_assert 22 src/WrapExternStages.cpp internal_assert(call.type() == Int(32)); internal_assert 126 src/WrapExternStages.cpp internal_assert(f.has_extern_definition());