| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 786 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 792 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 798 Pred1 = *PI++; in GetIfCondition() 808 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 823 std::swap(Pred1, Pred2); in GetIfCondition() 838 IfTrue = Pred1; in GetIfCondition() 843 IfFalse = Pred1; in GetIfCondition() 856 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 865 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 866 IfTrue = Pred1; in GetIfCondition() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 280 BasicBlock *Pred1 = *PI; in mergeStores() local 283 if (Pred0 == Pred1) in mergeStores() 289 auto InstsNoDbg = Pred1->instructionsWithoutDebug(); in mergeStores() 307 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores()
|
| H A D | GuardWidening.cpp | 525 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 527 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 529 Pred1 = ICmpInst::getInversePredicate(Pred1); in widenCondCommon() 534 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
| H A D | JumpThreading.cpp | 2631 BasicBlock *Pred1, *Pred2; in ProcessGuards() local 2635 Pred1 = *PI++; in ProcessGuards() 2641 if (Pred1 == Pred2) in ProcessGuards() 2646 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 76 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local 101 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp() 1434 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local 1443 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands() 1447 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1459 ICmpInst::Predicate Pred0, Pred1; in simplifyOrOfICmpsWithSameOperands() local 1468 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyOrOfICmpsWithSameOperands() 1473 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyOrOfICmpsWithSameOperands() 1562 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithAdd() local 1568 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Value()))) in simplifyAndOfICmpsWithAdd() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.h | 348 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | PPCInstrInfo.cpp | 1508 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 1510 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate() 1513 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate() 1519 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate() 1522 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 245 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | HexagonInstrInfo.cpp | 1570 bool HexagonInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.h | 160 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
| H A D | ARMBaseInstrInfo.cpp | 520 bool ARMBaseInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 522 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate() 525 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm(); in SubsumesPredicate()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 873 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); 877 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 1222 virtual bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3589 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument 3592 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp() 3595 switch (Pred1) { in isImpliedTrueByMatchingCmp() 3614 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument 3615 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 771 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() local 782 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck() 789 switch (Pred1) { in simplifyRangeCheck()
|