Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstantRange.h190 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;
195 getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS, APInt &Offset) const;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantRangeTest.cpp1821 .getEquivalentICmp(Pred, RHS)); in TEST()
1826 .getEquivalentICmp(Pred, RHS)); in TEST()
1831 .getEquivalentICmp(Pred, RHS)); in TEST()
1836 .getEquivalentICmp(Pred, RHS)); in TEST()
1851 .getEquivalentICmp(Pred, RHS)); in TEST()
1855 .getEquivalentICmp(Pred, RHS)); in TEST()
1859 .getEquivalentICmp(Pred, RHS)); in TEST()
1879 EXPECT_TRUE(ConstantRange(APInt(32, 0)).getEquivalentICmp(Pred, RHS)); in TEST()
1888 EXPECT_TRUE(ConstantRange(APInt(32, -1)).getEquivalentICmp(Pred, RHS)); in TEST()
1901 CR.getEquivalentICmp(Pred, RHS, Offset); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp204 void ConstantRange::getEquivalentICmp(CmpInst::Predicate &Pred, in getEquivalentICmp() function in ConstantRange
234 bool ConstantRange::getEquivalentICmp(CmpInst::Predicate &Pred, in getEquivalentICmp() function in ConstantRange
237 getEquivalentICmp(Pred, RHS, Offset); in getEquivalentICmp()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp528 if (Intersect->getEquivalentICmp(Pred, NewRHSAP)) { in widenCondCommon()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3352 NWR.getEquivalentICmp(Pred, NewRHSC, Offset); in visitExtractValueInst()
H A DInstCombineAndOrXor.cpp1201 CR->getEquivalentICmp(NewPred, NewC, Offset); in foldAndOrOfICmpsUsingRanges()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp8748 NWR.getEquivalentICmp(Pred, NewRHSC, Offset); in computeExitLimitFromCondImpl()
10378 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands()