Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp292 BasicBlock *Pred0 = *SI; in mergeStores() local
297 if (Pred0 == Pred1) in mergeStores()
307 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
332 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
339 RBI = Pred0->rbegin(); in mergeStores()
340 RBE = Pred0->rend(); in mergeStores()
H A DGuardWidening.cpp506 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
507 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
513 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in widenCondCommon()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1540 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local
1542 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyAndOfICmpsWithSameOperands()
1549 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands()
1553 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1554 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1555 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands()
1556 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands()
1565 ICmpInst::Predicate Pred0, Pred1; in simplifyOrOfICmpsWithSameOperands() local
1567 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyOrOfICmpsWithSameOperands()
1574 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyOrOfICmpsWithSameOperands()
[all …]
H A DMustExecute.cpp677 const BasicBlock *Pred0 = Worklist[0]; in findBackwardJoinPoint() local
679 const BasicBlock *Pred0UniquePred = Pred0->getUniquePredecessor(); in findBackwardJoinPoint()
681 if (Pred0 == Pred1UniquePred) { in findBackwardJoinPoint()
684 JoinBB = Pred0; in findBackwardJoinPoint()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp699 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
703 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
704 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
971 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local
973 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
976 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
981 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
984 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2()
1171 ICmpInst::Predicate Pred0; in foldAndOrOfICmpsWithConstEq() local
1174 if (!match(Cmp0, m_ICmp(Pred0, m_Value(X), m_Constant(C))) || in foldAndOrOfICmpsWithConstEq()
[all …]