| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 295 BasicBlock *Pred1 = *SI; in mergeStores() local 297 if (Pred0 == Pred1) in mergeStores() 303 auto InstsNoDbg = Pred1->instructionsWithoutDebug(); in mergeStores() 321 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores() 332 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
|
| H A D | GuardWidening.cpp | 506 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 508 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 510 Pred1 = ICmpInst::getInversePredicate(Pred1); in widenCondCommon() 515 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
| H A D | JumpThreading.cpp | 2974 BasicBlock *Pred1, *Pred2; in processGuards() local 2978 Pred1 = *PI++; in processGuards() 2984 if (Pred1 == Pred2) in processGuards() 2989 auto *Parent = Pred1->getSinglePredecessor(); in processGuards()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 83 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local 105 if (!match(Cond, m_c_BinOp(m_c_ICmp(Pred1, m_Specific(TrueVal), in foldSelectWithBinaryOp() 108 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp() 1540 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local 1543 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1549 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands() 1553 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1554 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1555 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands() 1556 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() [all …]
|
| H A D | MustExecute.cpp | 678 const BasicBlock *Pred1 = Worklist[1]; in findBackwardJoinPoint() local 680 const BasicBlock *Pred1UniquePred = Pred1->getUniquePredecessor(); in findBackwardJoinPoint() 685 } else if (Pred1 == Pred0UniquePred) { in findBackwardJoinPoint() 688 JoinBB = Pred1; in findBackwardJoinPoint()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 1462 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 1468 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 1474 Pred1 = *PI++; in GetIfCondition() 1484 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 1499 std::swap(Pred1, Pred2); in GetIfCondition() 1514 IfTrue = Pred1; in GetIfCondition() 1519 IfFalse = Pred1; in GetIfCondition() 1532 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 1541 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 1542 IfTrue = Pred1; in GetIfCondition() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 707 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() local 718 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck() 725 switch (Pred1) { in simplifyRangeCheck() 971 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local 974 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 976 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 982 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 984 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2() 1185 ICmpInst::Predicate Pred1; in foldAndOrOfICmpsWithConstEq() local 1186 if (!match(Cmp1, m_c_ICmp(Pred1, m_Value(Y), m_Deferred(X)))) in foldAndOrOfICmpsWithConstEq() [all …]
|
| H A D | InstCombineSelect.cpp | 1291 ICmpInst::Predicate Pred1; in canonicalizeClampLike() local 1297 m_ICmp(Pred1, m_Specific(X), in canonicalizeClampLike() 1308 switch (Pred1) { in canonicalizeClampLike()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 235 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | HexagonInstrInfo.cpp | 1636 bool HexagonInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.h | 513 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | PPCInstrInfo.cpp | 2259 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 2261 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate() 2264 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate() 2270 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate() 2273 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 1018 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); 1022 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.h | 175 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | ARMBaseInstrInfo.cpp | 606 bool ARMBaseInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 608 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate() 611 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm(); in SubsumesPredicate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3974 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument 3977 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp() 3980 switch (Pred1) { in isImpliedTrueByMatchingCmp() 3999 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument 4000 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 1450 virtual bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
|