| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineSelect.cpp | 1681 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 1731 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() 1756 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect() local 1761 if (!match(CondVal, m_ExtractValue<1>(m_WithOverflowInst(II))) || in foldOverflowingAddSubSelect() 1935 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle() local 1937 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 1940 unsigned NumElts = CondVal->getType()->getVectorNumElements(); in canonicalizeSelectToShuffle() 1943 Type *Int32Ty = Type::getInt32Ty(CondVal->getContext()); in canonicalizeSelectToShuffle() 2327 Value *CondVal = SI.getCondition(); in visitSelectInst() local 2348 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, in visitSelectInst() [all …]
|
| HD | InstructionCombining.cpp | 3506 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 3507 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | LoopUnswitch.cpp | 1123 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 1146 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1149 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 1160 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1193 CondVal = CaseVal; in TryTrivialLoopUnswitch() 1203 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1207 BranchesInfo.setUnswitched(SI, CondVal); in TryTrivialLoopUnswitch()
|
| HD | NewGVN.cpp | 2510 auto *CondVal = cast<ConstantInt>(CondEvaluated); in processOutgoingEdges() local 2512 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaStmt.cpp | 1321 auto CondVal = Cond.get(); in ActOnWhileStmt() local 1322 CheckBreakContinueBinding(CondVal.second); in ActOnWhileStmt() 1324 if (CondVal.second && in ActOnWhileStmt() 1325 !Diags.isIgnored(diag::warn_comma_operator, CondVal.second->getExprLoc())) in ActOnWhileStmt() 1326 CommaVisitor(*this).Visit(CondVal.second); in ActOnWhileStmt() 1331 return WhileStmt::Create(Context, CondVal.first, CondVal.second, Body, in ActOnWhileStmt()
|
| HD | AnalysisBasedWarnings.cpp | 787 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 789 if (CondVal) { in CreateIfFixit()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| HD | Execution.cpp | 951 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 957 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGOpenMPRuntime.cpp | 6711 llvm::Value *CondVal = nullptr; in getNumThreads() local 6745 CondVal = CGF.EvaluateExprAsBool(Cond); in getNumThreads() 6782 if (CondVal) { in getNumThreads() 6783 NumThreads = CGF.Builder.CreateSelect(CondVal, NumThreads, in getNumThreads() 6904 llvm::Value *CondVal = nullptr; in emitNumThreadsForTargetDirective() local 6924 CondVal = CGF.EvaluateExprAsBool(Cond); in emitNumThreadsForTargetDirective() 6951 if (CondVal) in emitNumThreadsForTargetDirective() 6952 return Bld.CreateSelect(CondVal, ThreadLimitVal, Bld.getInt32(1)); in emitNumThreadsForTargetDirective()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | InstructionSimplify.cpp | 3854 static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal, in simplifySelectWithICmpCond() argument 3859 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) in simplifySelectWithICmpCond()
|
| HD | ScalarEvolution.cpp | 8049 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 8053 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 8055 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGBuilder.cpp | 2275 const Value *CondVal = I.getCondition(); in visitBr() local 2293 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 2331 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86ISelLowering.cpp | 24044 unsigned CondVal = Op.getConstantOperandVal(3); in LowerINTRINSIC_WO_CHAIN() local 24050 DAG.getTargetConstant(CondVal, dl, MVT::i8)); in LowerINTRINSIC_WO_CHAIN() 24053 DAG.getTargetConstant(CondVal, dl, MVT::i8), Sae); in LowerINTRINSIC_WO_CHAIN()
|