Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp157 APInt ConstantRange::getSetSize() const { in getSetSize() function in ConstantRange
310 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
325 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
341 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
556 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in add()
563 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in add()
577 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in sub()
584 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in sub()
634 return UR.getSetSize().ult(SR.getSetSize()) ? UR : SR; in multiply()
/external/llvm/unittests/IR/
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/IR/
DConstantRange.h138 APInt getSetSize() const;
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp442 if (Span.getSetSize().ugt(8) || Span.isEmptySet()) { in matchInstruction()