Home
last modified time | relevance | path

Searched refs:getUpper (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Support/
DConstantRange.cpp64 return ConstantRange(CR.getUpper(), CR.getLower()); in makeICmpRegion()
166 return getUpper() - 1; in getUnsignedMax()
173 if (isFullSet() || (isWrappedSet() && getUpper() != 0)) in getUnsignedMin()
184 if (getLower().sle(getUpper() - 1)) in getSignedMax()
185 return getUpper() - 1; in getSignedMax()
188 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
190 return getUpper() - 1; in getSignedMax()
199 if (getLower().sle(getUpper() - 1)) in getSignedMin()
203 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
204 if (getUpper() != SignedMin) in getSignedMin()
[all …]
/external/llvm/include/llvm/Support/
DConstantRange.h83 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/llvm/unittests/Support/
DConstantRangeTest.cpp178 One.getUpper().trunc(10))); in TEST_F()
191 One.getUpper().zext(20))); in TEST_F()
193 Some.getUpper().zext(20))); in TEST_F()
211 One.getUpper().sext(20))); in TEST_F()
213 Some.getUpper().sext(20))); in TEST_F()
/external/llvm/lib/IR/
DMetadata.cpp418 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
436 EndPoints[Size - 1] = ConstantInt::get(Ty, Union.getUpper()); in tryMergeRange()
DVerifier.cpp1725 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1573 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1574 } else if (CR.getUpper().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1581 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1582 } else if (CR.getUpper().isMinValue()) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp287 << Val.getConstantRange().getUpper() << '>'; in operator <<()
DScalarEvolution.cpp6555 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
6580 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp393 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()