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

Declarations

include/llvm/IR/ConstantRange.h
  368   ConstantRange smin(const ConstantRange &Other) const;

References

lib/Analysis/LazyValueInfo.cpp
  901           return TrueCR.smin(FalseCR);
lib/Analysis/ScalarEvolution.cpp
 5606       X = X.smin(getRangeRef(SMin->getOperand(i), SignHint));
unittests/IR/ConstantRangeTest.cpp
 1028   EXPECT_EQ(Full.smin(Full), Full);
 1029   EXPECT_EQ(Full.smin(Empty), Empty);
 1030   EXPECT_EQ(Full.smin(Some), ConstantRange(APInt(16, (uint64_t)INT16_MIN),
 1032   EXPECT_EQ(Full.smin(Wrap), Full);
 1033   EXPECT_EQ(Empty.smin(Empty), Empty);
 1034   EXPECT_EQ(Empty.smin(Some), Empty);
 1035   EXPECT_EQ(Empty.smin(Wrap), Empty);
 1036   EXPECT_EQ(Empty.smin(One), Empty);
 1037   EXPECT_EQ(Some.smin(Some), Some);
 1038   EXPECT_EQ(Some.smin(Wrap), ConstantRange(APInt(16, (uint64_t)INT16_MIN),
 1040   EXPECT_EQ(Some.smin(One), One);
 1042   EXPECT_EQ(Wrap.smin(Wrap), Full);
 1043   EXPECT_EQ(Wrap.smin(One), ConstantRange(APInt(16, (uint64_t)INT16_MIN),
 1045   EXPECT_EQ(One.smin(One), One);