reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/ConstantRange.h
  156   bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;

References

lib/Analysis/ScalarEvolution.cpp
 8954       if (ExactCR.getEquivalentICmp(NewPred, NewRHS) &&
lib/Transforms/Scalar/GuardWidening.cpp
  568           SubsetIntersect.getEquivalentICmp(Pred, NewRHSAP)) {
unittests/IR/ConstantRangeTest.cpp
 1697                   .getEquivalentICmp(Pred, RHS));
 1702                   .getEquivalentICmp(Pred, RHS));
 1707                   .getEquivalentICmp(Pred, RHS));
 1712                   .getEquivalentICmp(Pred, RHS));
 1717       ConstantRange(32, /*isFullSet=*/true).getEquivalentICmp(Pred, RHS));
 1722       ConstantRange(32, /*isFullSet=*/false).getEquivalentICmp(Pred, RHS));
 1727                    .getEquivalentICmp(Pred, RHS));
 1731                    .getEquivalentICmp(Pred, RHS));
 1735                    .getEquivalentICmp(Pred, RHS));
 1737   EXPECT_TRUE(ConstantRange(APInt(32, 100)).getEquivalentICmp(Pred, RHS));
 1742       ConstantRange(APInt(32, 100)).inverse().getEquivalentICmp(Pred, RHS));
 1747       ConstantRange(APInt(512, 100)).inverse().getEquivalentICmp(Pred, RHS));
 1755   EXPECT_TRUE(ConstantRange(APInt(32, 0)).getEquivalentICmp(Pred, RHS));
 1760       ConstantRange(APInt(32, 0)).inverse().getEquivalentICmp(Pred, RHS));
 1764   EXPECT_TRUE(ConstantRange(APInt(32, -1)).getEquivalentICmp(Pred, RHS));
 1769       ConstantRange(APInt(32, -1)).inverse().getEquivalentICmp(Pred, RHS));