| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | GuardWidening.cpp | 187 bool widenCondCommon(Value *Cond0, Value *Cond1, Instruction *InsertPt, 249 bool isWideningCondProfitable(Value *Cond0, Value *Cond1, bool InvertCond) { in isWideningCondProfitable() argument 251 return widenCondCommon(Cond0, Cond1, /*InsertPt=*/nullptr, ResultUnused, in isWideningCondProfitable() 497 bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1, in widenCondCommon() argument 508 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 546 parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon() 569 makeAvailableAt(Cond1, InsertPt); in widenCondCommon() 571 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon() 572 Result = BinaryOperator::CreateAnd(Cond0, Cond1, "wide.chk", InsertPt); in widenCondCommon()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| D | IdenticalExprChecker.cpp | 136 const Expr *Cond1 = I->getCond(); in VisitIfStmt() local 140 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt() 141 SourceRange Sr = Cond1->getSourceRange(); in VisitIfStmt()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | LibCallsShrinkWrap.cpp | 109 auto Cond1 = createCond(BBBuilder, Arg, Cmp, Val); in createOrCond() local 110 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | IfConversion.cpp | 1800 SmallVector<MachineOperand, 4> *Cond1 = &BBI.BrCond; in IfConvertDiamondCommon() local 1814 std::swap(Cond1, Cond2); in IfConvertDiamondCommon() 1980 PredicateBlock(*BBI1, MBB1.end(), *Cond1, &RedefsByFalse); in IfConvertDiamondCommon()
|
| D | ModuloSchedule.cpp | 326 SmallVector<MachineOperand, 4> Cond1; in generateEpilog() local 327 TII->insertBranch(*LastEpilogBB, LoopExitBB, nullptr, Cond1, DebugLoc()); in generateEpilog()
|
| D | CodeGenPrepare.cpp | 8167 Value *Cond1, *Cond2; in splitBranchCondition() local 8169 m_LogicalAnd(m_OneUse(m_Value(Cond1)), m_OneUse(m_Value(Cond2))))) in splitBranchCondition() 8171 else if (match(LogicOp, m_LogicalOr(m_OneUse(m_Value(Cond1)), in splitBranchCondition() 8183 if (!IsGoodCond(Cond1) || !IsGoodCond(Cond2)) in splitBranchCondition() 8195 Br1->setCondition(Cond1); in splitBranchCondition()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | IRBuilder.h | 1558 Value *CreateLogicalAnd(Value *Cond1, Value *Cond2, const Twine &Name = "") { 1560 return CreateSelect(Cond1, Cond2, 1564 Value *CreateLogicalOr(Value *Cond1, Value *Cond2, const Twine &Name = "") { 1566 return CreateSelect(Cond1, ConstantInt::getAllOnesValue(Cond2->getType()),
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeVectorTypes.cpp | 4356 SDValue Cond1 = N->getOperand(0); in WidenVecRes_SELECT() local 4357 EVT CondVT = Cond1.getValueType(); in WidenVecRes_SELECT() 4371 Cond1 = GetWidenedVector(Cond1); in WidenVecRes_SELECT() 4384 if (Cond1.getValueType() != CondWidenVT) in WidenVecRes_SELECT() 4385 Cond1 = ModifyToType(Cond1, CondWidenVT); in WidenVecRes_SELECT() 4392 WidenVT, Cond1, InOp1, InOp2); in WidenVecRes_SELECT()
|
| D | DAGCombiner.cpp | 9518 SDValue Cond1 = N0->getOperand(1); in visitSELECT() local 9520 DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond1, N1, N2, Flags); in visitSELECT() 9531 SDValue Cond1 = N0->getOperand(1); in visitSELECT() local 9533 Cond1, N1, N2, Flags); in visitSELECT() 9590 SDValue Cond0 = N0.getOperand(0), Cond1 = N0.getOperand(1); in visitSELECT() local 9598 if (SDValue FMinMax = combineMinNumMaxNum(DL, VT, Cond0, Cond1, N1, N2, in visitSELECT() 9611 auto *NotC = dyn_cast<ConstantSDNode>(Cond1); in visitSELECT() 9637 SDValue SelectNode = DAG.getNode(ISD::SELECT_CC, DL, VT, Cond0, Cond1, N1, in visitSELECT()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 42047 SDValue Cond1 = Cond.getOperand(1); in combineSelect() local 42069 if (LHS == Cond0 && RHS == Cond1) { in combineSelect() 42073 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect() 42078 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect() 42097 Cond1 == InnerSetCC.getOperand(1)) { in combineSelect() 42107 Cond = DAG.getSetCC(DL, CondVT, Cond0, Cond1, NewCC); in combineSelect()
|