/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 750 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 756 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 762 Pred1 = *PI++; in GetIfCondition() 772 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 787 std::swap(Pred1, Pred2); in GetIfCondition() 802 IfTrue = Pred1; in GetIfCondition() 807 IfFalse = Pred1; in GetIfCondition() 820 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 829 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 830 IfTrue = Pred1; in GetIfCondition() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 681 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 687 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 693 Pred1 = *PI++; in GetIfCondition() 703 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 718 std::swap(Pred1, Pred2); in GetIfCondition() 733 IfTrue = Pred1; in GetIfCondition() 738 IfFalse = Pred1; in GetIfCondition() 751 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 760 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 761 IfTrue = Pred1; in GetIfCondition() [all …]
|
/external/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 15 def Pred1 : Predicate<"Condition1">; 28 let Predicates = [Pred1, Pred2];
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 15 def Pred1 : Predicate<"Condition1">; 28 let Predicates = [Pred1, Pred2];
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | MergedLoadStoreMotion.cpp | 279 BasicBlock *Pred1 = *PI; in mergeStores() local 282 if (Pred0 == Pred1) in mergeStores() 288 auto InstsNoDbg = Pred1->instructionsWithoutDebug(); in mergeStores() 306 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores()
|
D | GuardWidening.cpp | 469 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 471 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 476 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
D | JumpThreading.cpp | 2585 BasicBlock *Pred1, *Pred2; in ProcessGuards() local 2589 Pred1 = *PI++; in ProcessGuards() 2595 if (Pred1 == Pred2) in ProcessGuards() 2600 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MergedLoadStoreMotion.cpp | 478 BasicBlock *Pred1 = *PI; in mergeStores() local 481 if (Pred0 == Pred1) in mergeStores() 487 int Size1 = Pred1->size(); in mergeStores() 504 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores()
|
D | GuardWidening.cpp | 412 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 414 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 419 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 76 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local 98 if (!match(Cond, m_c_BinOp(m_c_ICmp(Pred1, m_Specific(TrueVal), in foldSelectWithBinaryOp() 101 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp() 1430 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local 1433 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1439 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands() 1443 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1444 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1445 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands() 1446 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXInstrInfo.cpp | 139 SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument 141 const MachineOperand &PredReg1 = Pred1[0]; in SubsumesPredicate() 146 const MachineOperand &PredOp1 = Pred1[1]; in SubsumesPredicate()
|
D | PTXInstrInfo.h | 67 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1502 ICmpInst::Predicate Pred0, Pred1; in SimplifyAndOfICmps() local 1512 match(Op1, m_ICmp(Pred1, m_Specific(V), m_APInt(C1)))) { in SimplifyAndOfICmps() 1516 auto Range1 = ConstantRange::makeAllowedICmpRegion(Pred1, *C1); in SimplifyAndOfICmps() 1525 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Specific(CI1)))) in SimplifyAndOfICmps() 1537 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1539 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1543 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1545 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1551 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() 1554 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 136 BasicBlock *Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() local 141 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 156 std::swap(Pred1, Pred2); in GetIfCondition() 171 IfTrue = Pred1; in GetIfCondition() 176 IfFalse = Pred1; in GetIfCondition() 189 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 198 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 199 IfTrue = Pred1; in GetIfCondition() 203 IfFalse = Pred1; in GetIfCondition()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 239 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
D | PPCInstrInfo.cpp | 1416 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 1418 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate() 1421 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate() 1427 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate() 1430 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600InstrInfo.h | 194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 304 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
D | PPCInstrInfo.cpp | 1512 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 1514 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate() 1517 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate() 1523 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate() 1526 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 88 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetInstrInfo.h | 549 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 245 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 147 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 154 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|