Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
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()
DGuardWidening.cpp507 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
508 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
514 ConstantRange::makeExactICmpRegion(Pred0, RHS0->getValue()); in widenCondCommon()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1526 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local
1528 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyAndOfICmpsWithSameOperands()
1535 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands()
1539 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1540 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1541 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands()
1542 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands()
1551 ICmpInst::Predicate Pred0, Pred1; in simplifyOrOfICmpsWithSameOperands() local
1553 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyOrOfICmpsWithSameOperands()
1560 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyOrOfICmpsWithSameOperands()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp760 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck() local
764 if (!((Pred0 == ICmpInst::ICMP_SGT && RangeStart->isMinusOne()) || in simplifyRangeCheck()
765 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero()))) in simplifyRangeCheck()
1032 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local
1034 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
1037 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
1042 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
1045 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2()