/external/llvm-project/llvm/test/Transforms/FixIrreducible/ |
D | nested.ll | 4 define void @nested_irr_top_level(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5)… 31 br i1 %Pred1, label %B1, label %B2 49 define void @nested_irr_in_loop(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5, i… 83 br i1 %Pred1, label %B1, label %B2 104 define void @loop_in_irr(i1 %Pred0, i1 %Pred1, i1 %Pred2) { 134 br i1 %Pred1, label %H1, label %A3 146 define void @loop_in_irr_shared_header(i1 %Pred0, i1 %Pred1, i1 %Pred2) { 171 br i1 %Pred1, label %H1, label %A3 183 define void @siblings_top_level(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5, i… 218 br i1 %Pred1, label %A1, label %A2 [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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
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()
|
D | GuardWidening.cpp | 507 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 509 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 511 Pred1 = ICmpInst::getInversePredicate(Pred1); in widenCondCommon() 516 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
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()
|
D | GuardWidening.cpp | 507 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 509 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 511 Pred1 = ICmpInst::getInversePredicate(Pred1); in widenCondCommon() 516 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
/external/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 15 def Pred1 : Predicate<"Condition1">; 28 let Predicates = [Pred1, Pred2];
|
/external/llvm-project/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 16 def Pred1 : Predicate<"Condition1">; 29 let Predicates = [Pred1, Pred2];
|
D | AsmPredicateCombiningRISCV.td | 52 def AsmPred1 : Predicate<"Pred1">, AssemblerPredicate<(all_of AsmCond1)>;
|
D | AsmPredicateCombining.td | 51 def AsmPred1 : Predicate<"Pred1">, AssemblerPredicate<(all_of AsmCond1)>;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 1000 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 1006 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 1012 Pred1 = *PI++; in GetIfCondition() 1022 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 1037 std::swap(Pred1, Pred2); in GetIfCondition() 1052 IfTrue = Pred1; in GetIfCondition() 1057 IfFalse = Pred1; in GetIfCondition() 1070 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 1079 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 1080 IfTrue = Pred1; in GetIfCondition() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 1056 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 1062 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 1068 Pred1 = *PI++; in GetIfCondition() 1078 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 1093 std::swap(Pred1, Pred2); in GetIfCondition() 1108 IfTrue = Pred1; in GetIfCondition() 1113 IfFalse = Pred1; in GetIfCondition() 1126 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 1135 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 1136 IfTrue = Pred1; in GetIfCondition() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 80 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local 102 if (!match(Cond, m_c_BinOp(m_c_ICmp(Pred1, m_Specific(TrueVal), in foldSelectWithBinaryOp() 105 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp() 1520 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local 1523 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1529 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands() 1533 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1534 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1535 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands() 1536 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() [all …]
|
D | MustExecute.cpp | 682 const BasicBlock *Pred1 = Worklist[1]; in findBackwardJoinPoint() local 684 const BasicBlock *Pred1UniquePred = Pred1->getUniquePredecessor(); in findBackwardJoinPoint() 689 } else if (Pred1 == Pred0UniquePred) { in findBackwardJoinPoint() 692 JoinBB = Pred1; in findBackwardJoinPoint()
|
/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-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 80 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local 102 if (!match(Cond, m_c_BinOp(m_c_ICmp(Pred1, m_Specific(TrueVal), in foldSelectWithBinaryOp() 105 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp() 1526 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local 1529 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1535 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands() 1539 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1540 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands() 1541 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands() 1542 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands() [all …]
|
/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/llvm-project/llvm/test/Transforms/StructurizeCFG/workarounds/ |
D | needs-fr-ule.ll | 3 define void @irreducible_mountain_bug(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pr… 128 br i1 %Pred1, label %if.then7, label %if.else
|
/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-project/llvm/lib/Transforms/InstCombine/ |
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() 972 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local 975 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 977 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 983 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 985 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2() 1105 ICmpInst::Predicate Pred1; in foldAndOrOfICmpsWithConstEq() local 1106 if (!match(Cmp1, m_c_ICmp(Pred1, m_Value(Y), m_Deferred(X)))) in foldAndOrOfICmpsWithConstEq() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600InstrInfo.h | 194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 768 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() local 779 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck() 786 switch (Pred1) { in simplifyRangeCheck() 1032 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local 1035 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 1037 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 1043 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 1045 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|