Home
last modified time | relevance | path

Searched refs:getLower (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/IR/
DConstantRange.cpp65 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
183 return getLower(); in getUnsignedMin()
192 if (getLower().sle(getUpper() - 1)) in getSignedMax()
196 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
207 if (getLower().sle(getUpper() - 1)) in getSignedMin()
208 return getLower(); in getSignedMin()
211 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
215 return getLower(); in getSignedMin()
241 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
246 Lower.ule(Other.getLower()); in contains()
[all …]
DMetadata.cpp821 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
839 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
DVerifier.cpp2487 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
2520 Assert(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in visitRangeMetadata()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp177 EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10), in TEST_F()
190 EXPECT_EQ(ZOne, ConstantRange(One.getLower().zext(20), in TEST_F()
192 EXPECT_EQ(ZSome, ConstantRange(Some.getLower().zext(20), in TEST_F()
210 EXPECT_EQ(SOne, ConstantRange(One.getLower().sext(20), in TEST_F()
212 EXPECT_EQ(SSome, ConstantRange(Some.getLower().sext(20), in TEST_F()
/external/llvm/include/llvm/IR/
DConstantRange.h87 const APInt &getLower() const { return Lower; } in getLower() function
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp401 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1710 if (CR.getLower().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1715 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
1718 if (CR.getLower().isMinValue()) { in visitICmpInstWithInstAndIntCst()
1723 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp285 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
DScalarEvolution.cpp7471 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp451 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()