Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp307 BasicBlock *Pred0 = *SI; in mergeStores() local
312 if (Pred0 == Pred1) in mergeStores()
322 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
347 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
354 RBI = Pred0->rbegin(); in mergeStores()
355 RBE = Pred0->rend(); in mergeStores()
H A DGuardWidening.cpp731 ICmpInst::Predicate Pred0, Pred1; in mergeChecks() local
736 m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in mergeChecks()
741 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in mergeChecks()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp579 const BasicBlock *Pred0 = Worklist[0]; in findBackwardJoinPoint() local
581 const BasicBlock *Pred0UniquePred = Pred0->getUniquePredecessor(); in findBackwardJoinPoint()
583 if (Pred0 == Pred1UniquePred) { in findBackwardJoinPoint()
586 JoinBB = Pred0; in findBackwardJoinPoint()
H A DInstructionSimplify.cpp1706 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithAdd() local
1709 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_APInt(C0)), m_APInt(C1)))) in simplifyAndOfICmpsWithAdd()
1726 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1728 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1732 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1734 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1740 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1743 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1753 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOrOfICmpsWithCtpop() local
1756 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)), in simplifyAndOrOfICmpsWithCtpop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp661 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
665 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
666 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
912 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2OrZero() local
914 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)), in foldIsPowerOf2OrZero()
920 if (IsAnd && Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_NE) in foldIsPowerOf2OrZero()
922 if (!IsAnd && Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_EQ) in foldIsPowerOf2OrZero()
941 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local
943 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
946 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
[all …]
H A DInstCombineSelect.cpp1403 ICmpInst::Predicate Pred0 = Cmp0.getPredicate(); in canonicalizeClampLike() local
1411 Pred0 = ICmpInst::getInversePredicate(Pred0); in canonicalizeClampLike()
1417 switch (Pred0) { in canonicalizeClampLike()
1437 Pred0 = ICmpInst::getFlippedStrictnessPredicate(Pred0); in canonicalizeClampLike()
1516 assert((Pred0 == ICmpInst::Predicate::ICMP_ULT || in canonicalizeClampLike()
1517 Pred0 == ICmpInst::Predicate::ICMP_UGE) && in canonicalizeClampLike()
1519 if (Pred0 == ICmpInst::Predicate::ICMP_UGE) in canonicalizeClampLike()