Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/test/Transforms/FixIrreducible/
Dnested.ll4 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/
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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp295 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()
DGuardWidening.cpp507 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/
DMergedLoadStoreMotion.cpp295 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()
DGuardWidening.cpp507 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/
DAsmPredicateCondsEmission.td15 def Pred1 : Predicate<"Condition1">;
28 let Predicates = [Pred1, Pred2];
/external/llvm-project/llvm/test/TableGen/
DAsmPredicateCondsEmission.td16 def Pred1 : Predicate<"Condition1">;
29 let Predicates = [Pred1, Pred2];
DAsmPredicateCombiningRISCV.td52 def AsmPred1 : Predicate<"Pred1">, AssemblerPredicate<(all_of AsmCond1)>;
DAsmPredicateCombining.td51 def AsmPred1 : Predicate<"Pred1">, AssemblerPredicate<(all_of AsmCond1)>;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1000 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/
DBasicBlockUtils.cpp1056 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/
DInstructionSimplify.cpp80 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 …]
DMustExecute.cpp682 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/
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-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp80 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/
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/llvm-project/llvm/test/Transforms/StructurizeCFG/workarounds/
Dneeds-fr-ule.ll3 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/
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-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp707 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/
DR600InstrInfo.h194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp768 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/
DHexagonInstrInfo.h215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,

123