| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | GuardWidening.cpp | 192 bool widenCondCommon(Value *Cond0, Value *Cond1, Instruction *InsertPt, 254 bool isWideningCondProfitable(Value *Cond0, Value *Cond1, bool InvertCond) { in isWideningCondProfitable() argument 256 return widenCondCommon(Cond0, Cond1, /*InsertPt=*/nullptr, ResultUnused, in isWideningCondProfitable() 504 bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1, in widenCondCommon() argument 515 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 547 parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon() 570 makeAvailableAt(Cond1, InsertPt); in widenCondCommon() 572 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon() 573 Result = BinaryOperator::CreateAnd(Cond0, Cond1, "wide.chk", InsertPt); in widenCondCommon()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 110 auto Cond1 = createCond(BBBuilder, Arg, Cmp, Val); in createOrCond() local 111 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 1591 Value *CreateLogicalAnd(Value *Cond1, Value *Cond2, const Twine &Name = "") { 1593 return CreateSelect(Cond1, Cond2, 1597 Value *CreateLogicalOr(Value *Cond1, Value *Cond2, const Twine &Name = "") { 1599 return CreateSelect(Cond1, ConstantInt::getAllOnesValue(Cond2->getType()), 1603 Value *CreateLogicalOp(Instruction::BinaryOps Opc, Value *Cond1, Value *Cond2, 1607 return CreateLogicalAnd(Cond1, Cond2, Name); 1609 return CreateLogicalOr(Cond1, Cond2, Name);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1309 auto *Cond1 = dyn_cast<ConstantInt>(CondCmp->getOperand(1)); in simplifyTerminatorLeadingToRet() local 1310 if (!Cond0 || !Cond1) in simplifyTerminatorLeadingToRet() 1317 CondCmp->getPredicate(), Cond0, Cond1, DL)); in simplifyTerminatorLeadingToRet()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | IfConversion.cpp | 1798 SmallVector<MachineOperand, 4> *Cond1 = &BBI.BrCond; in IfConvertDiamondCommon() local 1812 std::swap(Cond1, Cond2); in IfConvertDiamondCommon() 1978 PredicateBlock(*BBI1, MBB1.end(), *Cond1, &RedefsByFalse); in IfConvertDiamondCommon()
|
| H A D | ModuloSchedule.cpp | 333 SmallVector<MachineOperand, 4> Cond1; in generateEpilog() local 334 TII->insertBranch(*LastEpilogBB, LoopExitBB, nullptr, Cond1, DebugLoc()); in generateEpilog()
|
| H A D | CodeGenPrepare.cpp | 8426 Value *Cond1, *Cond2; in splitBranchCondition() local 8428 m_LogicalAnd(m_OneUse(m_Value(Cond1)), m_OneUse(m_Value(Cond2))))) in splitBranchCondition() 8430 else if (match(LogicOp, m_LogicalOr(m_OneUse(m_Value(Cond1)), in splitBranchCondition() 8442 if (!IsGoodCond(Cond1) || !IsGoodCond(Cond2)) in splitBranchCondition() 8456 Br1->setCondition(Cond1); in splitBranchCondition()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 5543 SDValue Cond1 = N->getOperand(0); in WidenVecRes_Select() local 5544 EVT CondVT = Cond1.getValueType(); in WidenVecRes_Select() 5557 Cond1 = GetWidenedVector(Cond1); in WidenVecRes_Select() 5570 if (Cond1.getValueType() != CondWidenVT) in WidenVecRes_Select() 5571 Cond1 = ModifyToType(Cond1, CondWidenVT); in WidenVecRes_Select() 5578 return DAG.getNode(Opcode, SDLoc(N), WidenVT, Cond1, InOp1, InOp2, in WidenVecRes_Select() 5580 return DAG.getNode(Opcode, SDLoc(N), WidenVT, Cond1, InOp1, InOp2); in WidenVecRes_Select()
|
| H A D | DAGCombiner.cpp | 10677 SDValue Cond1 = N0.getOperand(1); in foldVSelectToSignBitSplatMask() local 10684 if (CC == ISD::SETLT && isNullOrNullSplat(Cond1)) in foldVSelectToSignBitSplatMask() 10686 else if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(Cond1)) in foldVSelectToSignBitSplatMask() 10770 SDValue Cond1 = N0->getOperand(1); in visitSELECT() local 10772 DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond1, N1, N2, Flags); in visitSELECT() 10783 SDValue Cond1 = N0->getOperand(1); in visitSELECT() local 10785 Cond1, N1, N2, Flags); in visitSELECT() 10835 SDValue Cond0 = N0.getOperand(0), Cond1 = N0.getOperand(1); in visitSELECT() local 10844 combineMinNumMaxNum(DL, VT, Cond0, Cond1, N1, N2, CC)) in visitSELECT() 10856 auto *NotC = dyn_cast<ConstantSDNode>(Cond1); in visitSELECT() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 46024 SDValue Cond1 = Cond.getOperand(1); in combineSelect() local 46046 if (LHS == Cond0 && RHS == Cond1) { in combineSelect() 46050 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect() 46055 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect() 46074 Cond1 == InnerSetCC.getOperand(1)) { in combineSelect() 46084 Cond = DAG.getSetCC(DL, CondVT, Cond0, Cond1, NewCC); in combineSelect()
|