Home
last modified time | relevance | path

Searched refs:getSetSize (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Support/
DConstantRange.cpp145 APInt ConstantRange::getSetSize() const { in getSetSize() function in ConstantRange
301 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
316 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
332 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
542 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in add()
549 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in add()
563 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in sub()
570 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in sub()
/external/llvm/unittests/Support/
DConstantRangeTest.cpp116 EXPECT_EQ(Full.getSetSize(), APInt(17, 65536)); in TEST_F()
117 EXPECT_EQ(Empty.getSetSize(), APInt(17, 0)); in TEST_F()
118 EXPECT_EQ(One.getSetSize(), APInt(17, 1)); in TEST_F()
119 EXPECT_EQ(Some.getSetSize(), APInt(17, 0xaa0)); in TEST_F()
123 EXPECT_EQ(Wrap.getSetSize(), APInt(5, 12)); in TEST_F()
124 EXPECT_EQ(Wrap2.getSetSize(), APInt(5, 15)); in TEST_F()
/external/llvm/include/llvm/Support/
DConstantRange.h123 APInt getSetSize() const;
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp448 if (Span.getSetSize().ugt(8) || Span.isEmptySet()) in GatherConstantCompares()