Searched refs:getSetSize (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 256 APInt ConstantRange::getSetSize() const { in getSetSize() function in ConstantRange 409 if (getSetSize().ult(CR.getSetSize())) in intersectWith() 424 if (getSetSize().ult(CR.getSetSize())) in intersectWith() 440 if (getSetSize().ult(CR.getSetSize())) in intersectWith() 655 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in add() 662 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in add() 676 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in sub() 683 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in sub() 740 return UR.getSetSize().ult(SR.getSetSize()) ? UR : SR; in multiply()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 175 APInt getSetSize() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 117 EXPECT_EQ(Full.getSetSize(), APInt(17, 65536)); in TEST_F() 118 EXPECT_EQ(Empty.getSetSize(), APInt(17, 0)); in TEST_F() 119 EXPECT_EQ(One.getSetSize(), APInt(17, 1)); in TEST_F() 120 EXPECT_EQ(Some.getSetSize(), APInt(17, 0xaa0)); in TEST_F() 124 EXPECT_EQ(Wrap.getSetSize(), APInt(5, 12)); in TEST_F() 125 EXPECT_EQ(Wrap2.getSetSize(), APInt(5, 15)); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 559 if (Span.getSetSize().ugt(8) || Span.isEmptySet()) { in matchInstruction()
|