Home
last modified time | relevance | path

Searched refs:Pred0 (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp277 BasicBlock *Pred0 = *PI; in mergeStores() local
282 if (Pred0 == Pred1) in mergeStores()
292 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
315 RBI = Pred0->rbegin(); in mergeStores()
316 RBE = Pred0->rend(); in mergeStores()
DGuardWidening.cpp469 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
470 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
474 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in widenCondCommon()
/external/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp476 BasicBlock *Pred0 = *PI; in mergeStores() local
481 if (Pred0 == Pred1) in mergeStores()
490 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
513 RBI = Pred0->rbegin(); in mergeStores()
514 RBE = Pred0->rend(); in mergeStores()
DGuardWidening.cpp412 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
413 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
417 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in widenCondCommon()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1430 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local
1432 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(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()
1455 ICmpInst::Predicate Pred0, Pred1; in simplifyOrOfICmpsWithSameOperands() local
1457 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyOrOfICmpsWithSameOperands()
1464 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyOrOfICmpsWithSameOperands()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1502 ICmpInst::Predicate Pred0, Pred1; in SimplifyAndOfICmps() local
1511 if (match(Op0, m_ICmp(Pred0, m_Value(V), m_APInt(C0))) && in SimplifyAndOfICmps()
1515 auto Range0 = ConstantRange::makeAllowedICmpRegion(Pred0, *C0); in SimplifyAndOfICmps()
1521 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_ConstantInt(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/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp823 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
827 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
828 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp763 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
767 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
768 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1334 BasicBlock *Pred0 = *PI++; in SinkThenElseCodeToEnd() local
1340 BasicBlock *BB2 = (Pred0 == BB1) ? Pred1 : Pred0; in SinkThenElseCodeToEnd()