Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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()
184 if (getLower().sle(getUpper() - 1)) in getSignedMax()
185 return getUpper() - 1; in getSignedMax()
189 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
192 return getUpper() - 1; in getSignedMax()
202 if (getLower().sle(getUpper() - 1)) in getSignedMin()
207 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
208 if (getUpper() != SignedMin) in getSignedMin()
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp67 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
153 RHS = getUpper(); in getEquivalentICmp()
155 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
273 return getUpper() - 1; in getUnsignedMax()
280 if (isFullSet() || (isWrappedSet() && getUpper() != 0)) in getUnsignedMin()
291 if (getLower().sle(getUpper() - 1)) in getSignedMax()
292 return getUpper() - 1; in getSignedMax()
295 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
297 return getUpper() - 1; in getSignedMax()
[all …]
DMetadata.cpp915 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
935 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange()
DVerifier.cpp2915 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
/external/llvm/unittests/IR/
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()
635 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST()
642 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST()
649 for (APInt I = NoWrapRegion.getLower(), E = NoWrapRegion.getUpper(); I != E; in TEST()
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp175 One.getUpper().trunc(10))); in TEST_F()
188 One.getUpper().zext(20))); in TEST_F()
190 Some.getUpper().zext(20))); in TEST_F()
204 One.getUpper().sext(20))); in TEST_F()
206 Some.getUpper().sext(20))); in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h75 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/llvm/include/llvm/IR/
DConstantRange.h128 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCamera2Enumerator.java92 defaultMaxFps = Math.max(defaultMaxFps, fpsRange.getUpper()); in getSupportedFormats()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp397 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1344 ConstantInt::get(ICI.getContext(),CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1345 } else if (CR.getUpper().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1352 ConstantInt::get(ICI.getContext(),CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1353 } else if (CR.getUpper().isMinValue()) { in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp282 << Val.getConstantRange().getUpper() << '>'; in operator <<()
DScalarEvolution.cpp6245 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
6270 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2163 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
2164 } else if (CR.getUpper().isSignBit()) { in visitICmpInstWithInstAndIntCst()
2171 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
2172 } else if (CR.getUpper().isMinValue()) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp293 << Val.getConstantRange().getUpper() << '>'; in operator <<()
DScalarEvolution.cpp8832 APInt End = A.sge(One) ? (Range.getUpper() - One) : Range.getLower(); in getNumIterationsInRange()
8857 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp381 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp568 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()