Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp145 APInt ConstantRange::getSetSize() const { in getSetSize() function in ConstantRange
306 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
321 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
337 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
472 if (isFullSet() || getSetSize().ugt(Size)) in truncate()
509 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in add()
516 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in add()
530 APInt Spread_X = getSetSize(), Spread_Y = Other.getSetSize(); in sub()
537 if (X.getSetSize().ult(Spread_X) || X.getSetSize().ult(Spread_Y)) in sub()
/external/llvm/lib/IR/
DConstantRange.cpp256 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/swiftshader/third_party/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/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h123 APInt getSetSize() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp117 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/include/llvm/IR/
DConstantRange.h175 APInt getSetSize() const;
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp376 if (Span.getSetSize().ugt(8) || Span.isEmptySet() || in GatherConstantCompares()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp559 if (Span.getSetSize().ugt(8) || Span.isEmptySet()) { in matchInstruction()