| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1213 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 1345 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle() local 1347 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 1611 Value *CondVal = SI.getCondition(); in visitSelectInst() local 1647 CmpInst *Cond = cast<CmpInst>(CondVal); in visitSelectInst() 1664 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 1673 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 1679 if (CondVal == TrueVal) in visitSelectInst() 1681 if (CondVal == FalseVal) in visitSelectInst() 1710 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() [all …]
|
| H A D | InstructionCombining.cpp | 3352 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 3353 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnswitch.cpp | 1119 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 1141 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1144 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 1155 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1187 CondVal = CaseVal; in TryTrivialLoopUnswitch() 1197 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1201 BranchesInfo.setUnswitched(SI, CondVal); in TryTrivialLoopUnswitch()
|
| H A D | NewGVN.cpp | 2534 auto *CondVal = cast<ConstantInt>(CondEvaluated); in processOutgoingEdges() local 2536 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1297 auto CondVal = Cond.get(); in ActOnWhileStmt() local 1298 CheckBreakContinueBinding(CondVal.second); in ActOnWhileStmt() 1300 if (CondVal.second && in ActOnWhileStmt() 1301 !Diags.isIgnored(diag::warn_comma_operator, CondVal.second->getExprLoc())) in ActOnWhileStmt() 1302 CommaVisitor(*this).Visit(CondVal.second); in ActOnWhileStmt() 1309 return WhileStmt::Create(Context, CondVal.first, CondVal.second, Body, in ActOnWhileStmt()
|
| H A D | AnalysisBasedWarnings.cpp | 769 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 771 if (CondVal) { in CreateIfFixit()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 898 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 3891 static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal, in simplifySelectWithICmpCond() argument 3896 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) in simplifySelectWithICmpCond()
|
| H A D | ScalarEvolution.cpp | 7927 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 7931 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 7933 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2015 const Value *CondVal = I.getCondition(); in visitBr() local 2033 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 2071 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 21926 unsigned CondVal = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue(); in LowerINTRINSIC_WO_CHAIN() local 21932 DAG.getConstant(CondVal, dl, MVT::i8)); in LowerINTRINSIC_WO_CHAIN() 21935 DAG.getConstant(CondVal, dl, MVT::i8), Sae); in LowerINTRINSIC_WO_CHAIN()
|