|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/ConstantRange.h 377 ConstantRange udiv(const ConstantRange &Other) const;
References
lib/Analysis/ScalarEvolution.cpp 5623 ConservativeResult.intersectWith(X.udiv(Y), RangeType));
lib/IR/ConstantRange.cpp 788 return udiv(Other);
unittests/IR/ConstantRangeTest.cpp 1049 EXPECT_EQ(Full.udiv(Full), Full);
1050 EXPECT_EQ(Full.udiv(Empty), Empty);
1051 EXPECT_EQ(Full.udiv(One), ConstantRange(APInt(16, 0),
1053 EXPECT_EQ(Full.udiv(Some), ConstantRange(APInt(16, 0),
1055 EXPECT_EQ(Full.udiv(Wrap), Full);
1056 EXPECT_EQ(Empty.udiv(Empty), Empty);
1057 EXPECT_EQ(Empty.udiv(One), Empty);
1058 EXPECT_EQ(Empty.udiv(Some), Empty);
1059 EXPECT_EQ(Empty.udiv(Wrap), Empty);
1060 EXPECT_EQ(One.udiv(One), ConstantRange(APInt(16, 1)));
1061 EXPECT_EQ(One.udiv(Some), ConstantRange(APInt(16, 0), APInt(16, 2)));
1062 EXPECT_EQ(One.udiv(Wrap), ConstantRange(APInt(16, 0), APInt(16, 0xb)));
1063 EXPECT_EQ(Some.udiv(Some), ConstantRange(APInt(16, 0), APInt(16, 0x111)));
1064 EXPECT_EQ(Some.udiv(Wrap), ConstantRange(APInt(16, 0), APInt(16, 0xaaa)));
1065 EXPECT_EQ(Wrap.udiv(Wrap), Full);
1069 EXPECT_EQ(Zero.udiv(One), Zero);
1070 EXPECT_EQ(Zero.udiv(Full), Zero);
1072 EXPECT_EQ(ConstantRange(APInt(16, 0), APInt(16, 99)).udiv(Full),
1074 EXPECT_EQ(ConstantRange(APInt(16, 10), APInt(16, 99)).udiv(Full),