reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
364 ConstantRange umax(const ConstantRange &Other) const;
907 return TrueCR.umax(FalseCR);
lib/Analysis/ScalarEvolution.cpp 5598 X = X.umax(getRangeRef(UMax->getOperand(i), SignHint));
unittests/IR/ConstantRangeTest.cpp970 EXPECT_EQ(Full.umax(Full), Full); 971 EXPECT_EQ(Full.umax(Empty), Empty); 972 EXPECT_EQ(Full.umax(Some), ConstantRange(APInt(16, 0xa), APInt(16, 0))); 973 EXPECT_EQ(Full.umax(Wrap), Full); 974 EXPECT_EQ(Full.umax(Some), ConstantRange(APInt(16, 0xa), APInt(16, 0))); 975 EXPECT_EQ(Empty.umax(Empty), Empty); 976 EXPECT_EQ(Empty.umax(Some), Empty); 977 EXPECT_EQ(Empty.umax(Wrap), Empty); 978 EXPECT_EQ(Empty.umax(One), Empty); 979 EXPECT_EQ(Some.umax(Some), Some); 980 EXPECT_EQ(Some.umax(Wrap), ConstantRange(APInt(16, 0xa), APInt(16, 0))); 981 EXPECT_EQ(Some.umax(One), Some); 983 EXPECT_EQ(Wrap.umax(Wrap), Full); 984 EXPECT_EQ(Wrap.umax(One), ConstantRange(APInt(16, 0xa), APInt(16, 0))); 985 EXPECT_EQ(One.umax(One), One);