Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DConstantRange.cpp63 return ConstantRange(CR.getUpper(), CR.getLower()); in makeICmpRegion()
165 return getUpper() - 1; in getUnsignedMax()
172 if (isFullSet() || (isWrappedSet() && getUpper() != 0)) in getUnsignedMin()
183 if (getLower().sle(getUpper() - 1)) in getSignedMax()
184 return getUpper() - 1; in getSignedMax()
187 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
189 return getUpper() - 1; in getSignedMax()
198 if (getLower().sle(getUpper() - 1)) in getSignedMin()
202 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
203 if (getUpper() != SignedMin) in getSignedMin()
[all …]
/external/llvm/unittests/Support/
DConstantRangeTest.cpp179 One.getUpper().trunc(10))); in TEST_F()
192 One.getUpper().zext(20))); in TEST_F()
194 Some.getUpper().zext(20))); in TEST_F()
212 One.getUpper().sext(20))); in TEST_F()
214 Some.getUpper().sext(20))); in TEST_F()
/external/llvm/include/llvm/Support/
DConstantRange.h75 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/llvm/lib/VMCore/
DMetadata.cpp453 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
471 EndPoints[Size - 1] = ConstantInt::get(Ty, Union.getUpper()); in tryMergeRange()
DVerifier.cpp1367 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1371 ConstantInt::get(ICI.getContext(),CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1372 } else if (CR.getUpper().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1379 ConstantInt::get(ICI.getContext(),CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1380 } else if (CR.getUpper().isMinValue()) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp287 << Val.getConstantRange().getUpper() << '>'; in operator <<()
DScalarEvolution.cpp6455 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
6480 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp440 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()