Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp309 BasicBlock *Pred0 = *SI; in mergeStores() local
314 if (Pred0 == Pred1) in mergeStores()
324 for (BasicBlock::reverse_iterator RBI = Pred0->rbegin(), RBE = Pred0->rend(); in mergeStores()
349 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
356 RBI = Pred0->rbegin(); in mergeStores()
357 RBE = Pred0->rend(); in mergeStores()
H A DGuardWidening.cpp730 CmpPredicate Pred0, Pred1; in mergeChecks() local
735 m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in mergeChecks()
740 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in mergeChecks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp109 auto Pred0 = cast<CmpInst>(I0)->getPredicate(); in notVectorizableBasedOnOpcodesAndTypes() local
110 bool Same = all_of(Bndl, [Pred0](Value *V) { in notVectorizableBasedOnOpcodesAndTypes()
111 return cast<CmpInst>(V)->getPredicate() == Pred0; in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp587 const BasicBlock *Pred0 = Worklist[0]; in findBackwardJoinPoint() local
589 const BasicBlock *Pred0UniquePred = Pred0->getUniquePredecessor(); in findBackwardJoinPoint()
591 if (Pred0 == Pred1UniquePred) { in findBackwardJoinPoint()
594 JoinBB = Pred0; in findBackwardJoinPoint()
H A DInstructionSimplify.cpp1657 CmpPredicate Pred0, Pred1; in simplifyAndOfICmpsWithAdd() local
1660 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_APInt(C0)), m_APInt(C1)))) in simplifyAndOfICmpsWithAdd()
1677 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1679 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1683 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd()
1685 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && IsNSW) in simplifyAndOfICmpsWithAdd()
1691 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1694 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd()
1704 CmpPredicate Pred0, Pred1; in simplifyAndOrOfICmpsWithCtpop() local
1707 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.cpp725 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
729 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
730 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
939 CmpPredicate Pred0, Pred1; in foldIsPowerOf2OrZero() local
941 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)), in foldIsPowerOf2OrZero()
947 if (IsAnd && Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_NE) { in foldIsPowerOf2OrZero()
953 if (!IsAnd && Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_EQ) { in foldIsPowerOf2OrZero()
1275 CmpPredicate Pred0; in foldAndOrOfICmpsWithConstEq() local
1278 if (!match(Cmp0, m_ICmp(Pred0, m_Value(X), m_Constant(C))) || in foldAndOrOfICmpsWithConstEq()
1281 if ((IsAnd && Pred0 != ICmpInst::ICMP_EQ) || in foldAndOrOfICmpsWithConstEq()
[all …]
H A DInstCombineSelect.cpp1494 ICmpInst::Predicate Pred0 = Cmp0.getPredicate(); in canonicalizeClampLike() local
1502 Pred0 = ICmpInst::getInversePredicate(Pred0); in canonicalizeClampLike()
1508 switch (Pred0) { in canonicalizeClampLike()
1528 Pred0 = ICmpInst::getFlippedStrictnessPredicate(Pred0); in canonicalizeClampLike()
1607 assert((Pred0 == ICmpInst::Predicate::ICMP_ULT || in canonicalizeClampLike()
1608 Pred0 == ICmpInst::Predicate::ICMP_UGE) && in canonicalizeClampLike()
1610 if (Pred0 == ICmpInst::Predicate::ICMP_UGE) in canonicalizeClampLike()