test 208 apps/openglcompute/jni/oglc_run.cpp return tester->test(bt_input, test 218 apps/openglcompute/jni/oglc_run.cpp return tester->test(bt_input, test 177 src/Bounds.cpp Expr test = test 180 src/Bounds.cpp if (can_prove(test)) { test 44 src/CodeGen_C.h EXPORT static void test(); test 20 src/CodeGen_MIPS.h static void test(); test 93 src/CodeGen_OpenGL_Dev.h EXPORT static void test(); test 33 src/CodeGen_PTX_Dev.h static void test(); test 20 src/CodeGen_PowerPC.h static void test(); test 83 src/IRPrinter.h EXPORT static void test(); test 2224 src/Introspection.cpp void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), test 2245 src/Introspection.cpp !saves_frame_pointer(reinterpret_bits<void *>(test))) { test 2256 src/Introspection.cpp debug_sections->working = (*test)(test_a); test 2294 src/Introspection.cpp void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), test 52 src/Introspection.h EXPORT void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), test 109 src/Introspection.h bool test(const std::string &my_name); test 123 src/Introspection.h static bool test(bool (*f)(const void *, const std::string &)) { test 134 src/Introspection.h Halide::Internal::Introspection::test_compilation_unit(&test, &test_a, &offset_marker); test 537 src/PartitionLoops.cpp Expr test = simplify(common_subexpression_elimination(min_val - 1 < max_val + 1)); test 538 src/PartitionLoops.cpp if (!is_one(test)) { test 5369 src/Simplify.cpp Expr test = select(ramp(const_true(), const_true(), 2), test 5375 src/Simplify.cpp check(test, expected); test 5379 src/Simplify.cpp Expr test = select(ramp(const_true(), const_true(), 2), test 5385 src/Simplify.cpp check(test, expected); test 1553 src/Solve.cpp Expr test = (x <= min(max((y - min(((z*x) + t), t)), 1), 0)); test 1554 src/Solve.cpp Interval result = solve_for_outer_interval(test, "z"); test 187 src/TrimNoOps.cpp bool provably_true_over_domain(Expr test) { test 188 src/TrimNoOps.cpp debug(3) << "Attempting to prove: " << test << "\n"; test 195 src/TrimNoOps.cpp if (is_const(test)) { test 197 src/TrimNoOps.cpp } else if (!expr_uses_var(test, loop.var)) { test 201 src/TrimNoOps.cpp expr_uses_var(test, loop.var)) { test 206 src/TrimNoOps.cpp test = common_subexpression_elimination(Let::make(loop.var, loop.i.min, test)); test 209 src/TrimNoOps.cpp expr_uses_var(test, loop.var)) { test 215 src/TrimNoOps.cpp test = common_subexpression_elimination(Let::make(loop.var, loop.i.min, test) || test 216 src/TrimNoOps.cpp Let::make(loop.var, loop.i.max, test)); test 221 src/TrimNoOps.cpp SolverResult solved = solve_expression(test, loop.var); test 223 src/TrimNoOps.cpp test = solved.result; test 226 src/TrimNoOps.cpp test = and_condition_over_domain(test, s); test 228 src/TrimNoOps.cpp test = simplify(test); test 229 src/TrimNoOps.cpp debug(3) << " -> " << test << "\n"; test 231 src/TrimNoOps.cpp return is_one(test); test 240 src/TrimNoOps.cpp Expr test = a <= b; test 216 test/correctness/fuzz_simplify.cpp bool test_expression(Expr test, int samples) { test 217 test/correctness/fuzz_simplify.cpp Expr simplified = simplify(test); test 226 test/correctness/fuzz_simplify.cpp v->second = random_leaf(test.type().element_of(), true); test 229 test/correctness/fuzz_simplify.cpp if (!test_simplification(test, simplified, test.type(), vars)) { test 283 test/correctness/fuzz_simplify.cpp Expr test = random_expr(VT, depth); test 284 test/correctness/fuzz_simplify.cpp if (!test_expression(test, samples)) { test 30 test/correctness/gpu_non_contiguous_copy.cpp Expr test = ((x >= x_off) && (x < x_off + x_size*2) && test 39 test/correctness/gpu_non_contiguous_copy.cpp test_func(x, y, z, w) = test; test 55 test/correctness/gpu_non_contiguous_copy.cpp Expr change_out_of_subregion = select(test, undef<int>(), 4*x + 3*y + 2*z + w); test 103 test/correctness/introspection.cpp bool result = HalideIntrospectionCanary::test(&HalideIntrospectionCanary::test_a); test 44 test/correctness/mod.cpp if (test<float>() && test 45 test/correctness/mod.cpp test<double>() && test 46 test/correctness/mod.cpp test<int32_t>() && test 47 test/correctness/mod.cpp test<uint32_t>() && test 48 test/correctness/mod.cpp test<int16_t>() && test 49 test/correctness/mod.cpp test<uint16_t>() && test 50 test/correctness/mod.cpp test<int8_t>() && test 51 test/correctness/mod.cpp test<uint8_t>()) { test 51 test/correctness/partition_loops_bug.cpp Buffer<double> im1 = test(true); test 52 test/correctness/partition_loops_bug.cpp Buffer<double> im2 = test(false); test 30 test/correctness/round.cpp return test(e, funcname, 1, N, input, result) test 31 test/correctness/round.cpp && test(e, funcname, 2, N, input, result) test 32 test/correctness/round.cpp && test(e, funcname, 4, N, input, result) test 33 test/correctness/round.cpp && test(e, funcname, 8, N, input, result); test 70 test/correctness/round.cpp ok = ok && test(round(input(x)), "round", N, input, round_result); test 71 test/correctness/round.cpp ok = ok && test(floor(input(x)), "floor", N, input, floor_result); test 72 test/correctness/round.cpp ok = ok && test(ceil(input(x)), "ceil", N, input, ceil_result); test 73 test/correctness/round.cpp ok = ok && test(trunc(input(x)), "trunc", N, input, trunc_result); test 111 test/correctness/round.cpp ok = ok && test(round(input(x)), "round", N, input, round_result); test 112 test/correctness/round.cpp ok = ok && test(floor(input(x)), "floor", N, input, floor_result); test 113 test/correctness/round.cpp ok = ok && test(ceil(input(x)), "ceil", N, input, ceil_result); test 114 test/correctness/round.cpp ok = ok && test(trunc(input(x)), "trunc", N, input, trunc_result); test 2075 test/correctness/simd_op_check.cpp Test test; test 2078 test/correctness/simd_op_check.cpp test.filter = argv[1]; test 2089 test/correctness/simd_op_check.cpp test.output_directory = argv[2]; test 2092 test/correctness/simd_op_check.cpp bool success = test.test_all(); test 2095 test/correctness/simd_op_check.cpp compile_standalone_runtime(test.output_directory + "simd_op_check_runtime.o", test.target); test 452 test/correctness/specialize.cpp Expr test = (p > 73) || (p*p + p + 1 == 0); test 456 test/correctness/specialize.cpp f(x) = select(test, im(x, 0), im(0, x)); test 457 test/correctness/specialize.cpp f.specialize(test); test 490 test/correctness/specialize.cpp Expr test = (p > 73); test 495 test/correctness/specialize.cpp f.specialize(test); test 118 test/correctness/vector_cast.cpp success = success && test<A, float>(vec_width, target); test 119 test/correctness/vector_cast.cpp success = success && test<A, double>(vec_width, target); test 120 test/correctness/vector_cast.cpp success = success && test<A, uint8_t>(vec_width, target); test 121 test/correctness/vector_cast.cpp success = success && test<A, uint16_t>(vec_width, target); test 122 test/correctness/vector_cast.cpp success = success && test<A, uint32_t>(vec_width, target); test 123 test/correctness/vector_cast.cpp success = success && test<A, int8_t>(vec_width, target); test 124 test/correctness/vector_cast.cpp success = success && test<A, int16_t>(vec_width, target); test 125 test/correctness/vector_cast.cpp success = success && test<A, int32_t>(vec_width, target); test 628 test/correctness/vector_math.cpp futures.push_back(pool.async(test<float>, 4)); test 629 test/correctness/vector_math.cpp futures.push_back(pool.async(test<float>, 8)); test 630 test/correctness/vector_math.cpp futures.push_back(pool.async(test<double>, 2)); test 631 test/correctness/vector_math.cpp futures.push_back(pool.async(test<uint8_t>, 16)); test 632 test/correctness/vector_math.cpp futures.push_back(pool.async(test<int8_t>, 16)); test 633 test/correctness/vector_math.cpp futures.push_back(pool.async(test<uint16_t>, 8)); test 634 test/correctness/vector_math.cpp futures.push_back(pool.async(test<int16_t>, 8)); test 635 test/correctness/vector_math.cpp futures.push_back(pool.async(test<uint32_t>, 4)); test 636 test/correctness/vector_math.cpp futures.push_back(pool.async(test<int32_t>, 4)); test 54 test/generator/blur2x2_aottest.cpp test(buffer_factory_planar); test 57 test/generator/blur2x2_aottest.cpp test(buffer_factory_interleaved); test 133 test/generator/image_from_array_aottest.cpp test<uint8_t>(); test 134 test/generator/image_from_array_aottest.cpp test<uint16_t>(); test 135 test/generator/image_from_array_aottest.cpp test<uint32_t>(); test 136 test/generator/image_from_array_aottest.cpp test<uint64_t>(); test 138 test/generator/image_from_array_aottest.cpp test<int8_t>(); test 139 test/generator/image_from_array_aottest.cpp test<int16_t>(); test 140 test/generator/image_from_array_aottest.cpp test<int32_t>(); test 141 test/generator/image_from_array_aottest.cpp test<int64_t>(); test 143 test/generator/image_from_array_aottest.cpp test<float>(); test 144 test/generator/image_from_array_aottest.cpp test<double>(); test 92 test/generator/tiled_blur_aottest.cpp test(buffer_factory_planar); test 95 test/generator/tiled_blur_aottest.cpp test(buffer_factory_interleaved); test 25 test/internal.cpp IRPrinter::test(); test 26 test/internal.cpp CodeGen_C::test(); test 7 test/opengl/internal.cpp CodeGen_GLSL::test(); test 63 test/performance/clamped_vector_load.cpp t_ref = test(f, false); test 77 test/performance/clamped_vector_load.cpp t_clamped = test(f); test 91 test/performance/clamped_vector_load.cpp t_scalar = test(f); test 105 test/performance/clamped_vector_load.cpp t_pad = test(f); test 111 test/performance/const_division.cpp success = success && test<int32_t>(1, i == 0); test 112 test/performance/const_division.cpp success = success && test<int16_t>(1, i == 0); test 113 test/performance/const_division.cpp success = success && test<int8_t>(1, i == 0); test 114 test/performance/const_division.cpp success = success && test<uint32_t>(1, i == 0); test 115 test/performance/const_division.cpp success = success && test<uint16_t>(1, i == 0); test 116 test/performance/const_division.cpp success = success && test<uint8_t>(1, i == 0); test 118 test/performance/const_division.cpp success = success && test<int32_t>(8, i == 0); test 119 test/performance/const_division.cpp success = success && test<int16_t>(16, i == 0); test 120 test/performance/const_division.cpp success = success && test<int8_t>(32, i == 0); test 121 test/performance/const_division.cpp success = success && test<uint32_t>(8, i == 0); test 122 test/performance/const_division.cpp success = success && test<uint16_t>(16, i == 0); test 123 test/performance/const_division.cpp success = success && test<uint8_t>(32, i == 0); test 98 test/performance/vectorize.cpp ok = ok && test<float>(4); test 99 test/performance/vectorize.cpp ok = ok && test<float>(8); test 100 test/performance/vectorize.cpp ok = ok && test<double>(2); test 101 test/performance/vectorize.cpp ok = ok && test<uint8_t>(16); test 102 test/performance/vectorize.cpp ok = ok && test<int8_t>(16); test 103 test/performance/vectorize.cpp ok = ok && test<uint16_t>(8); test 104 test/performance/vectorize.cpp ok = ok && test<int16_t>(8); test 105 test/performance/vectorize.cpp ok = ok && test<uint32_t>(4); test 106 test/performance/vectorize.cpp ok = ok && test<int32_t>(4); test 88 test/performance/vectorize_pred.cpp test<float>(4); test 89 test/performance/vectorize_pred.cpp test<float>(8);