| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1722 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 1797 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect() local 1976 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle() local 2587 Value *CondVal = SI.getCondition(); in foldAndOrOfSelectUsingImpliedCond() local 2627 Value *CondVal = SI.getCondition(); in visitSelectInst() local 2684 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 2689 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 2694 if (CondVal == TrueVal) in visitSelectInst() 2697 if (CondVal == FalseVal) in visitSelectInst() 2829 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() [all …]
|
| H A D | InstructionCombining.cpp | 3645 APInt CondVal(1, isa<Constant>(SI->getFalseValue()) ? 0 : 1); in visitFreeze() local 3646 C = Constant::getIntegerValue(I.getType(), CondVal); in visitFreeze() 4064 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in prepareICWorklistFromFunction() local 4065 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in prepareICWorklistFromFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 1287 ValueLatticeElement CondVal = getValueState(OtherOp); in handleCallResult() local 1289 if (CondVal.isConstantRange() || CopyOfVal.isConstantRange()) { in handleCallResult() 1294 if (CondVal.isConstantRange()) in handleCallResult() 1296 Pred, CondVal.getConstantRange()); in handleCallResult() 1315 } else if (Pred == CmpInst::ICMP_EQ && CondVal.isConstant()) { in handleCallResult() 1319 mergeInValue(IV, &CB, CondVal); in handleCallResult() 1321 } else if (Pred == CmpInst::ICMP_NE && CondVal.isConstant() && in handleCallResult() 1326 ValueLatticeElement::getNot(CondVal.getConstant())); in handleCallResult()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnswitch.cpp | 1217 Constant *CondVal = nullptr; in tryTrivialLoopUnswitch() local 1240 CondVal = ConstantInt::getTrue(Context); in tryTrivialLoopUnswitch() 1243 CondVal = ConstantInt::getFalse(Context); in tryTrivialLoopUnswitch() 1254 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB, in tryTrivialLoopUnswitch() 1287 CondVal = CaseVal; in tryTrivialLoopUnswitch() 1297 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB, in tryTrivialLoopUnswitch() 1301 BranchesInfo.setUnswitched(SI, CondVal); in tryTrivialLoopUnswitch()
|
| H A D | NewGVN.cpp | 2481 auto *CondVal = cast<ConstantInt>(CondEvaluated); in processOutgoingEdges() local 2483 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1653 auto CondVal = Cond.get(); in ActOnWhileStmt() local 1654 CheckBreakContinueBinding(CondVal.second); in ActOnWhileStmt() 1656 if (CondVal.second && in ActOnWhileStmt() 1657 !Diags.isIgnored(diag::warn_comma_operator, CondVal.second->getExprLoc())) in ActOnWhileStmt() 1658 CommaVisitor(*this).Visit(CondVal.second); in ActOnWhileStmt() 1663 return WhileStmt::Create(Context, CondVal.first, CondVal.second, Body, in ActOnWhileStmt()
|
| H A D | AnalysisBasedWarnings.cpp | 789 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 791 if (CondVal) { in CreateIfFixit()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 580 const Value *CondVal = BrInst.getCondition(); in translateBr() local 603 const Instruction *CondI = dyn_cast<Instruction>(CondVal); in translateBr() 640 SwitchCG::CaseBlock CB(CmpInst::ICMP_EQ, false, CondVal, in translateBr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 953 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 959 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 2312 if (Optional<APSInt> CondVal = in getAsVariantMatchInfo() local 2314 VMI.addTrait(CondVal->isNullValue() in getAsVariantMatchInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4069 static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal, in simplifySelectWithICmpCond() argument 4074 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) in simplifySelectWithICmpCond() 4089 matchDecomposedSelectPattern(cast<ICmpInst>(CondVal), TrueVal, FalseVal, in simplifySelectWithICmpCond() 4151 if (Pred == ICmpInst::ICMP_EQ && !CondVal->getType()->isVectorTy()) { in simplifySelectWithICmpCond()
|
| H A D | ScalarEvolution.cpp | 8672 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 8676 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 8678 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 6800 llvm::Value *CondVal = nullptr; in getNumThreads() local 6834 CondVal = CGF.EvaluateExprAsBool(Cond); in getNumThreads() 6871 if (CondVal) { in getNumThreads() 6872 NumThreads = CGF.Builder.CreateSelect(CondVal, NumThreads, in getNumThreads() 7106 llvm::Value *CondVal = nullptr; in emitNumThreadsForTargetDirective() local 7126 CondVal = CGF.EvaluateExprAsBool(Cond); in emitNumThreadsForTargetDirective() 7153 if (CondVal) in emitNumThreadsForTargetDirective() 7154 return Bld.CreateSelect(CondVal, ThreadLimitVal, Bld.getInt32(1)); in emitNumThreadsForTargetDirective()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2361 const Value *CondVal = I.getCondition(); in visitBr() local 2381 const Instruction *BOp = dyn_cast<Instruction>(CondVal); in visitBr() 2426 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 25667 unsigned CondVal = Op.getConstantOperandVal(3); in LowerINTRINSIC_WO_CHAIN() local 25673 DAG.getTargetConstant(CondVal, dl, MVT::i8)); in LowerINTRINSIC_WO_CHAIN() 25676 DAG.getTargetConstant(CondVal, dl, MVT::i8), Sae); in LowerINTRINSIC_WO_CHAIN()
|