Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp295 BasicBlock *Pred0 = *SI; in mergeStores() local
300 if (Pred0 == Pred1) in mergeStores()
310 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
335 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
342 RBI = Pred0->rbegin(); in mergeStores()
343 RBE = Pred0->rend(); in mergeStores()
H A DGuardWidening.cpp513 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
514 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
520 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in widenCondCommon()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMustExecute.cpp684 const BasicBlock *Pred0 = Worklist[0]; in findBackwardJoinPoint() local
686 const BasicBlock *Pred0UniquePred = Pred0->getUniquePredecessor(); in findBackwardJoinPoint()
688 if (Pred0 == Pred1UniquePred) { in findBackwardJoinPoint()
691 JoinBB = Pred0; in findBackwardJoinPoint()
H A DInstructionSimplify.cpp1733 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithAdd() local
1736 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_APInt(C0)), m_APInt(C1)))) in simplifyAndOfICmpsWithAdd()
1753 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1755 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1759 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1761 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1767 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1770 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1789 ICmpInst::Predicate Pred0 = Cmp0->getPredicate(); in simplifyAndOrOfICmpsWithLimitConst() local
1811 Pred0 = ICmpInst::getInversePredicate(Pred0); in simplifyAndOrOfICmpsWithLimitConst()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp672 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
676 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
677 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
884 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2OrZero() local
886 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)), in foldIsPowerOf2OrZero()
892 if (IsAnd && Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_NE) in foldIsPowerOf2OrZero()
894 if (!IsAnd && Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_EQ) in foldIsPowerOf2OrZero()
911 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local
913 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
916 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
[all …]
H A DInstCombineSelect.cpp1336 ICmpInst::Predicate Pred0 = Cmp0.getPredicate(); in canonicalizeClampLike() local
1344 Pred0 = ICmpInst::getInversePredicate(Pred0); in canonicalizeClampLike()
1350 switch (Pred0) { in canonicalizeClampLike()
1370 Pred0 = ICmpInst::getFlippedStrictnessPredicate(Pred0); in canonicalizeClampLike()
1449 assert((Pred0 == ICmpInst::Predicate::ICMP_ULT || in canonicalizeClampLike()
1450 Pred0 == ICmpInst::Predicate::ICMP_UGE) && in canonicalizeClampLike()
1452 if (Pred0 == ICmpInst::Predicate::ICMP_UGE) in canonicalizeClampLike()