Home
last modified time | relevance | path

Searched refs:Pred1 (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp750 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/
DBasicBlockUtils.cpp681 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/
DAsmPredicateCondsEmission.td15 def Pred1 : Predicate<"Condition1">;
28 let Predicates = [Pred1, Pred2];
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DAsmPredicateCondsEmission.td15 def Pred1 : Predicate<"Condition1">;
28 let Predicates = [Pred1, Pred2];
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp279 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()
DGuardWidening.cpp469 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()
DJumpThreading.cpp2585 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/
DMergedLoadStoreMotion.cpp478 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()
DGuardWidening.cpp412 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/
DInstructionSimplify.cpp76 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/
DPTXInstrInfo.cpp139 SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
141 const MachineOperand &PredReg1 = Pred1[0]; in SubsumesPredicate()
146 const MachineOperand &PredOp1 = Pred1[1]; in SubsumesPredicate()
DPTXInstrInfo.h67 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1502 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/
DSimplifyCFG.cpp136 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/
DPPCInstrInfo.h239 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DPPCInstrInfo.cpp1416 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/
DR600InstrInfo.h194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h304 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DPPCInstrInfo.cpp1512 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/
DHexagonInstrInfo.h215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h88 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h549 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h245 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h147 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h154 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,

12