Home
last modified time | relevance | path

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

/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/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/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1334 BasicBlock *Pred0 = *PI++; in SinkThenElseCodeToEnd() local
1340 BasicBlock *BB2 = (Pred0 == BB1) ? Pred1 : Pred0; in SinkThenElseCodeToEnd()