Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DConstantRange.cpp146 APInt ConstantRange::getSetSize() const { in getSetSize() function in ConstantRange
307 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
322 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
338 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
473 if (isFullSet() || getSetSize().ugt(Size)) in truncate()
510 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in add()
517 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in add()
531 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in sub()
538 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in sub()
/external/llvm/unittests/Support/
DConstantRangeTest.cpp117 EXPECT_EQ(Full.getSetSize(), APInt(16, 0)); in TEST_F()
118 EXPECT_EQ(Empty.getSetSize(), APInt(16, 0)); in TEST_F()
119 EXPECT_EQ(One.getSetSize(), APInt(16, 1)); in TEST_F()
120 EXPECT_EQ(Some.getSetSize(), APInt(16, 0xaa0)); in TEST_F()
121 EXPECT_EQ(Wrap.getSetSize(), APInt(16, 0x10000 - 0xaa0)); in TEST_F()
/external/llvm/include/llvm/Support/
DConstantRange.h123 APInt getSetSize() const;
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp375 if (Span.getSetSize().ugt(8) || Span.isEmptySet() || in GatherConstantCompares()