cond               68 src/ApplySplit.cpp             Expr cond = likely(rebased_var < old_extent);
cond               69 src/ApplySplit.cpp             result.push_back(ApplySplitResult(cond));
cond              116 src/BoundsInference.cpp         Expr cond; // Condition on params only (can't depend on loop variable)
cond              119 src/BoundsInference.cpp         CondValue(const Expr &c, const Expr &v) : cond(c), value(v) {}
cond              181 src/BoundsInference.cpp                         cval.cond = simplify(!s_cond && cval.cond);
cond              189 src/BoundsInference.cpp                         cval.cond = simplify(s_cond && cval.cond);
cond              758 src/BoundsInference.cpp                         box.used = cval.cond;
cond             1208 src/CodeGen_C.cpp     string cond = print_expr(op->condition);
cond             1210 src/CodeGen_C.cpp         << "(" << cond
cond             2264 src/CodeGen_LLVM.cpp         Expr cond = op->args[0];
cond             2265 src/CodeGen_LLVM.cpp         if (const Broadcast *b = cond.as<Broadcast>()) {
cond             2266 src/CodeGen_LLVM.cpp             cond = b->value;
cond             2268 src/CodeGen_LLVM.cpp         if (cond.type().is_vector()) {
cond             2277 src/CodeGen_LLVM.cpp             builder->CreateCondBr(codegen(cond), true_bb, false_bb);
cond             2518 src/CodeGen_LLVM.cpp             Expr cond;
cond             2551 src/CodeGen_LLVM.cpp             auto cond = op->args[i];
cond             2552 src/CodeGen_LLVM.cpp             sub_fns.push_back({sub_fn, sub_fn_ptr, cond});
cond             2591 src/CodeGen_LLVM.cpp                 selected_value = builder->CreateSelect(codegen(sub_fn.cond),
cond             2873 src/CodeGen_LLVM.cpp void CodeGen_LLVM::create_assertion(Value *cond, Expr message, llvm::Value *error_code) {
cond             2881 src/CodeGen_LLVM.cpp     VectorType *vt = dyn_cast<VectorType>(cond->getType());
cond             2883 src/CodeGen_LLVM.cpp         Value *scalar_cond = builder->CreateExtractElement(cond, ConstantInt::get(i32_t, 0));
cond             2885 src/CodeGen_LLVM.cpp             Value *lane = builder->CreateExtractElement(cond, ConstantInt::get(i32_t, i));
cond             2888 src/CodeGen_LLVM.cpp         cond = scalar_cond;
cond             2896 src/CodeGen_LLVM.cpp     builder->CreateCondBr(cond, assert_succeeds_bb, assert_fails_bb, very_likely_branch);
cond              346 src/CodeGen_Metal_Dev.cpp     string cond = print_expr(op->condition);
cond              350 src/CodeGen_Metal_Dev.cpp         << ", " << cond
cond              194 src/CodeGen_OpenCL_Dev.cpp         string cond = print_expr(op->args[0]);
cond              201 src/CodeGen_OpenCL_Dev.cpp         rhs << "select(" << false_val << ", " << true_val << ", " << cond << ")";
cond              222 src/CodeGen_OpenGLCompute_Dev.cpp     string cond = print_expr(op->condition);
cond              224 src/CodeGen_OpenGLCompute_Dev.cpp         << "(" << cond
cond              415 src/CodeGen_OpenGL_Dev.cpp         Expr cond = extract_lane(op->condition, i);
cond              419 src/CodeGen_OpenGL_Dev.cpp         if (is_const(cond)) {
cond              420 src/CodeGen_OpenGL_Dev.cpp             result[i] = is_one(cond) ? true_value : false_value;
cond              422 src/CodeGen_OpenGL_Dev.cpp             result[i] = Select::make(cond, true_value, false_value);
cond              434 src/CodeGen_OpenGL_Dev.cpp         string cond = print_expr(op->condition);
cond              436 src/CodeGen_OpenGL_Dev.cpp         stream << "if (" << cond << ") ";
cond              177 src/CodeGen_X86.cpp         Value *cond = codegen(op->condition);
cond              190 src/CodeGen_X86.cpp             Value *sc = slice_vector(cond, i, slice_size);
cond              143 src/EliminateBoolVectors.cpp         Expr cond = mutate(op->condition);
cond              146 src/EliminateBoolVectors.cpp         Type cond_ty = cond.type();
cond              157 src/EliminateBoolVectors.cpp                 cond = Call::make(cond_ty, Call::cast_mask, {cond}, Call::PureIntrinsic);
cond              160 src/EliminateBoolVectors.cpp             expr = Call::make(true_value.type(), Call::select_mask, {cond, true_value, false_value}, Call::PureIntrinsic);
cond              161 src/EliminateBoolVectors.cpp         } else if (!cond.same_as(op->condition) ||
cond              164 src/EliminateBoolVectors.cpp             expr = Select::make(cond, true_value, false_value);
cond              211 src/FuseGPUThreadLoops.cpp                 Expr cond = var < op->extent;
cond              212 src/FuseGPUThreadLoops.cpp                 stmt = IfThenElse::make(cond, body, Stmt());
cond              684 src/Generator.h         cond<std::is_same<T, Target>::value,    GeneratorParam_Target<T>>,
cond              685 src/Generator.h         cond<std::is_same<T, Type>::value,      GeneratorParam_Type<T>>,
cond              686 src/Generator.h         cond<std::is_same<T, bool>::value,      GeneratorParam_Bool<T>>,
cond              687 src/Generator.h         cond<std::is_arithmetic<T>::value,      GeneratorParam_Arithmetic<T>>,
cond              688 src/Generator.h         cond<std::is_enum<T>::value,            GeneratorParam_Enum<T>>
cond             1508 src/Generator.h         cond<has_static_halide_type_method<TBase>::value, GeneratorInput_Buffer<T>>,
cond             1509 src/Generator.h         cond<std::is_same<TBase, Func>::value,            GeneratorInput_Func<T>>,
cond             1510 src/Generator.h         cond<std::is_arithmetic<TBase>::value,            GeneratorInput_Arithmetic<T>>,
cond             1511 src/Generator.h         cond<std::is_scalar<TBase>::value,                GeneratorInput_Scalar<T>>
cond             1529 src/Generator.h             Internal::cond<Internal::has_static_halide_type_method<TBase>::value, int>,
cond             1530 src/Generator.h             Internal::cond<std::is_same<TBase, Func>::value, int>,
cond             1531 src/Generator.h             Internal::cond<true, Unused>
cond             1966 src/Generator.h         cond<has_static_halide_type_method<TBase>::value, GeneratorOutput_Buffer<T>>,
cond             1967 src/Generator.h         cond<std::is_same<TBase, Func>::value, GeneratorOutput_Func<T>>,
cond             1968 src/Generator.h         cond<std::is_arithmetic<TBase>::value, GeneratorOutput_Arithmetic<T>>
cond             1077 src/HexagonOptimize.cpp         Expr cond = mutate(op->condition);
cond             1084 src/HexagonOptimize.cpp             expr = native_interleave(Select::make(cond, true_value, false_value));
cond             1085 src/HexagonOptimize.cpp         } else if (!cond.same_as(op->condition) ||
cond             1088 src/HexagonOptimize.cpp             expr = Select::make(cond, true_value, false_value);
cond              103 src/IRMutator.cpp     Expr cond = mutate(op->condition);
cond              106 src/IRMutator.cpp     if (cond.same_as(op->condition) &&
cond              111 src/IRMutator.cpp         expr = Select::make(cond, t, f);
cond              605 src/IROperator.cpp void split_into_ands(const Expr &cond, std::vector<Expr> &result) {
cond              606 src/IROperator.cpp     if (!cond.defined()) {
cond              609 src/IROperator.cpp     internal_assert(cond.type().is_bool()) << "Should be a boolean condition\n";
cond              610 src/IROperator.cpp     if (const And *a = cond.as<And>()) {
cond              613 src/IROperator.cpp     } else if (!is_one(cond)) {
cond              614 src/IROperator.cpp         result.push_back(cond);
cond              169 src/IROperator.h EXPORT void split_into_ands(const Expr &cond, std::vector<Expr> &result);
cond              645 src/InjectHostDevBufferCopies.cpp         Expr cond = mutate(op->condition);
cond              701 src/InjectHostDevBufferCopies.cpp         if (cond.same_as(op->condition) &&
cond              706 src/InjectHostDevBufferCopies.cpp             stmt = IfThenElse::make(cond, then_case, else_case);
cond               77 src/Profiling.cpp         Expr cond = simplify(condition);
cond               78 src/Profiling.cpp         if (is_zero(cond)) { // Condition always false
cond               80 src/RemoveUndef.cpp         Expr cond = mutate(op->condition);
cond               84 src/RemoveUndef.cpp         if (!cond.defined()) {
cond               97 src/RemoveUndef.cpp             cond = Not::make(cond);
cond              105 src/RemoveUndef.cpp                 predicate = predicate && cond;
cond              107 src/RemoveUndef.cpp                 predicate = cond;
cond              110 src/RemoveUndef.cpp         } else if (cond.same_as(op->condition) &&
cond              115 src/RemoveUndef.cpp             expr = Select::make(cond, t, f);
cond              879 src/Solve.cpp          Expr cond = lt->a <= (lt->b - 1);
cond              880 src/Solve.cpp          cond.accept(this);
cond              885 src/Solve.cpp          Expr cond = gt->a >= (gt->b + 1);
cond              886 src/Solve.cpp          cond.accept(this);
cond              899 src/Solve.cpp      void cached_solve(Expr cond) {
cond              901 src/Solve.cpp          auto it = cache.find(cond);
cond              905 src/Solve.cpp              cond.accept(this);
cond              907 src/Solve.cpp              cache[cond] = result;
cond             1026 src/Solve.cpp          Expr cond;
cond             1030 src/Solve.cpp              cond = (op->a && op->b) && (!op->a && !op->b);
cond             1033 src/Solve.cpp              cond = (op->a <= op->b) && (op->a >= op->b);
cond             1035 src/Solve.cpp          cond.accept(this);
cond             1039 src/Solve.cpp          Expr cond;
cond             1043 src/Solve.cpp              cond = (op->a && !op->b) && (!op->a && op->b);
cond             1046 src/Solve.cpp              cond = (op->a < op->b) || (op->a > op->b);
cond             1048 src/Solve.cpp          cond.accept(this);
cond             1399 src/Solve.cpp      Expr cond = and_condition_over_domain(orig, s);
cond             1400 src/Solve.cpp      internal_assert(equal(cond, result))
cond             1402 src/Solve.cpp          << " reduced to " << cond
cond             1546 src/Solve.cpp          Expr cond = and_condition_over_domain(lhs < 0, s);
cond             1547 src/Solve.cpp          internal_assert(!is_one(simplify(cond)));
cond              139 src/UnpackBuffers.cpp         Expr cond = reinterpret<uint64_t>(buf) != 0;
cond              142 src/UnpackBuffers.cpp         Stmt check = AssertStmt::make(cond, error);
cond              677 src/VectorizeLoops.cpp         Expr cond = mutate(op->condition);
cond              678 src/VectorizeLoops.cpp         int lanes = cond.type().lanes();
cond              681 src/VectorizeLoops.cpp                  << "New: " << cond << "\n";
cond              691 src/VectorizeLoops.cpp             bool vectorize_predicate = !uses_gpu_vars(cond);
cond              694 src/VectorizeLoops.cpp                 PredicateLoadStore p(var, cond, in_hexagon, target);
cond              699 src/VectorizeLoops.cpp                 PredicateLoadStore p(var, !cond, in_hexagon, target);
cond              704 src/VectorizeLoops.cpp             debug(4) << "IfThenElse should vectorize predicate over var " << var << "? " << vectorize_predicate << "; cond: " << cond << "\n";
cond              708 src/VectorizeLoops.cpp             const Call *c = cond.as<Call>();
cond              755 src/VectorizeLoops.cpp             if (cond.same_as(op->condition) &&
cond              760 src/VectorizeLoops.cpp                 stmt = IfThenElse::make(cond, then_case, else_case);
cond              899 src/VectorizeLoops.cpp                 Expr cond = (replacement == Broadcast::make(i, lanes));
cond              900 src/VectorizeLoops.cpp                 result = Select::make(cond, Broadcast::make(e, lanes), result);
cond               69 src/runtime/hexagon_remote/thread_pool.cpp void halide_cond_init(struct halide_cond *cond) {
cond               70 src/runtime/hexagon_remote/thread_pool.cpp     qurt_cond_init((qurt_cond_t *)cond);
cond               73 src/runtime/hexagon_remote/thread_pool.cpp void halide_cond_destroy(struct halide_cond *cond) {
cond               74 src/runtime/hexagon_remote/thread_pool.cpp     qurt_cond_destroy((qurt_cond_t *)cond);
cond               77 src/runtime/hexagon_remote/thread_pool.cpp void halide_cond_broadcast(struct halide_cond *cond) {
cond               78 src/runtime/hexagon_remote/thread_pool.cpp     qurt_cond_broadcast((qurt_cond_t *)cond);
cond               81 src/runtime/hexagon_remote/thread_pool.cpp void halide_cond_wait(struct halide_cond *cond, struct halide_mutex *mutex) {
cond               82 src/runtime/hexagon_remote/thread_pool.cpp     qurt_cond_wait((qurt_cond_t *)cond, (qurt_mutex_t *)mutex);
cond               23 src/runtime/posix_threads.cpp extern int pthread_cond_init(halide_cond *cond, const void *attr);
cond               24 src/runtime/posix_threads.cpp extern int pthread_cond_wait(halide_cond *cond, halide_mutex *mutex);
cond               25 src/runtime/posix_threads.cpp extern int pthread_cond_broadcast(halide_cond *cond);
cond               26 src/runtime/posix_threads.cpp extern int pthread_cond_destroy(halide_cond *cond);
cond               78 src/runtime/posix_threads.cpp WEAK void halide_cond_init(struct halide_cond *cond) {
cond               79 src/runtime/posix_threads.cpp     pthread_cond_init(cond, NULL);
cond               82 src/runtime/posix_threads.cpp WEAK void halide_cond_destroy(struct halide_cond *cond) {
cond               83 src/runtime/posix_threads.cpp     pthread_cond_destroy(cond);
cond               86 src/runtime/posix_threads.cpp WEAK void halide_cond_broadcast(struct halide_cond *cond) {
cond               87 src/runtime/posix_threads.cpp     pthread_cond_broadcast(cond);
cond               90 src/runtime/posix_threads.cpp WEAK void halide_cond_wait(struct halide_cond *cond, struct halide_mutex *mutex) {
cond               91 src/runtime/posix_threads.cpp     pthread_cond_wait(cond, mutex);
cond              156 src/runtime/runtime_internal.h WEAK void halide_cond_init(struct halide_cond *cond);
cond              157 src/runtime/runtime_internal.h WEAK void halide_cond_destroy(struct halide_cond *cond);
cond              158 src/runtime/runtime_internal.h WEAK void halide_cond_broadcast(struct halide_cond *cond);
cond              159 src/runtime/runtime_internal.h WEAK void halide_cond_wait(struct halide_cond *cond, struct halide_mutex *mutex);
cond              175 src/runtime/runtime_internal.h #define halide_assert(user_context, cond)                               \
cond              176 src/runtime/runtime_internal.h     if (!(cond)) {                                                      \
cond              177 src/runtime/runtime_internal.h         halide_print(user_context, __FILE__ ":" _halide_expand_and_stringify(__LINE__) " Assert failed: " #cond "\n"); \
cond               94 src/runtime/windows_threads.cpp     ConditionVariable *cond = (ConditionVariable *)cond_arg;
cond               95 src/runtime/windows_threads.cpp     InitializeConditionVariable(cond);
cond              105 src/runtime/windows_threads.cpp     ConditionVariable *cond = (ConditionVariable *)cond_arg;
cond              106 src/runtime/windows_threads.cpp     WakeAllConditionVariable(cond);
cond              110 src/runtime/windows_threads.cpp     ConditionVariable *cond = (ConditionVariable *)cond_arg;
cond              112 src/runtime/windows_threads.cpp     SleepConditionVariableCS(cond, &mutex->critical_section, -1);
cond               44 test/correctness/logical.cpp                 bool cond = ((input(x, y) > 10) && (input(x, y) < 20)) ||
cond               46 test/correctness/logical.cpp                 uint8_t correct = cond ? 255 : 0;
cond               78 test/correctness/logical.cpp                 bool cond = (common_cond && (input(x, y) < 20)) ||
cond               80 test/correctness/logical.cpp                 uint8_t correct = cond ? 255 : 0;
cond              108 test/correctness/logical.cpp                 bool cond = x < 10 || x > 20 || y < 10 || y > 20;
cond              109 test/correctness/logical.cpp                 uint8_t correct = cond ? 0 : input(x,y);
cond              137 test/correctness/logical.cpp                 bool cond = input(x, y) > 10;
cond              138 test/correctness/logical.cpp                 uint8_t correct = cond ? 255 : 0;
cond               84 test/correctness/specialize.cpp         Expr cond = (f.output_buffer().width() >= 4);
cond               85 test/correctness/specialize.cpp         f.specialize(cond).vectorize(x, 4);
cond               92 test/correctness/specialize.cpp         f.specialize(cond).specialize(param);
cond              336 test/correctness/specialize.cpp         Expr cond = f.output_buffer().width() >= 4;
cond              343 test/correctness/specialize.cpp         f.specialize(cond).vectorize(x, 4);
cond              428 util/HalideTraceViz.cpp void expect(bool cond, int i) {
cond              429 util/HalideTraceViz.cpp     if (!cond) {