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

Declarations

include/llvm/IR/ConstantRange.h
  372   ConstantRange umin(const ConstantRange &Other) const;

References

lib/Analysis/LazyValueInfo.cpp
  903           return TrueCR.umin(FalseCR);
lib/Analysis/ScalarEvolution.cpp
 5614       X = X.umin(getRangeRef(UMin->getOperand(i), SignHint));
unittests/IR/ConstantRangeTest.cpp
 1010   EXPECT_EQ(Full.umin(Full), Full);
 1011   EXPECT_EQ(Full.umin(Empty), Empty);
 1012   EXPECT_EQ(Full.umin(Some), ConstantRange(APInt(16, 0), APInt(16, 0xaaa)));
 1013   EXPECT_EQ(Full.umin(Wrap), Full);
 1014   EXPECT_EQ(Empty.umin(Empty), Empty);
 1015   EXPECT_EQ(Empty.umin(Some), Empty);
 1016   EXPECT_EQ(Empty.umin(Wrap), Empty);
 1017   EXPECT_EQ(Empty.umin(One), Empty);
 1018   EXPECT_EQ(Some.umin(Some), Some);
 1019   EXPECT_EQ(Some.umin(Wrap), ConstantRange(APInt(16, 0), APInt(16, 0xaaa)));
 1020   EXPECT_EQ(Some.umin(One), One);
 1022   EXPECT_EQ(Wrap.umin(Wrap), Full);
 1023   EXPECT_EQ(Wrap.umin(One), ConstantRange(APInt(16, 0), APInt(16, 0xb)));
 1024   EXPECT_EQ(One.umin(One), One);