Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp67 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
236 return getLower(); in getUnsignedMin()
245 if (getLower().sle(getUpper() - 1)) in getSignedMax()
249 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
260 if (getLower().sle(getUpper() - 1)) in getSignedMin()
261 return getLower(); in getSignedMin()
264 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
268 return getLower(); in getSignedMin()
294 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
299 Lower.ule(Other.getLower()); in contains()
[all …]
DMetadata.cpp850 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
868 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
DVerifier.cpp2688 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
2721 Assert(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in visitRangeMetadata()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp178 EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10), in TEST_F()
191 EXPECT_EQ(ZOne, ConstantRange(One.getLower().zext(20), in TEST_F()
193 EXPECT_EQ(ZSome, ConstantRange(Some.getLower().zext(20), in TEST_F()
211 EXPECT_EQ(SOne, ConstantRange(One.getLower().sext(20), in TEST_F()
213 EXPECT_EQ(SSome, ConstantRange(Some.getLower().sext(20), in TEST_F()
596 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST()
603 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST()
610 for (APInt I = NoWrapRegion.getLower(), E = NoWrapRegion.getUpper(); I != E; in TEST()
/external/llvm/include/llvm/IR/
DConstantRange.h98 const APInt &getLower() const { return Lower; } in getLower() function
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp408 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1816 if (CR.getLower().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1821 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
1824 if (CR.getLower().isMinValue()) { in visitICmpInstWithInstAndIntCst()
1829 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp291 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
DScalarEvolution.cpp8409 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp476 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()