Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp70 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
164 RHS = getUpper(); in getEquivalentICmp()
166 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
168 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
368 return getUpper() - 1; in getUnsignedMax()
372 if (isFullSet() || (isWrappedSet() && !getUpper().isNullValue())) in getUnsignedMin()
380 return getUpper() - 1; in getSignedMax()
384 if (isFullSet() || (Lower.sgt(Upper) && !getUpper().isMinSignedValue())) in getSignedMin()
406 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
410 return Other.getUpper().ule(Upper) || in contains()
[all …]
DMetadata.cpp942 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
962 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange()
DVerifier.cpp3138 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp62 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F()
68 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F()
75 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F()
78 EXPECT_EQ(LV2.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueLattice.cpp23 << Val.getConstantRange().getUpper() << ">"; in operator <<()
DScalarEvolution.cpp5776 APInt StartUpper = StartRange.getUpper() - 1; in getRangeForAffineARHelper()
10549 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
10574 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
/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-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp188 One.getUpper().trunc(10))); in TEST_F()
218 One.getUpper().zext(20))); in TEST_F()
220 Some.getUpper().zext(20))); in TEST_F()
238 One.getUpper().sext(20))); in TEST_F()
240 Some.getUpper().sext(20))); in TEST_F()
719 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST()
726 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST()
733 for (APInt I = NoWrapRegion.getLower(), E = NoWrapRegion.getUpper(); I != E; in TEST()
764 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST()
771 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST()
[all …]
/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/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCamera2Enumerator.java92 defaultMaxFps = Math.max(defaultMaxFps, fpsRange.getUpper()); in getSupportedFormats()
/external/llvm/include/llvm/IR/
DConstantRange.h128 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h129 const APInt &getUpper() const { return Upper; } in getUpper() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp382 R.getUpper().getMinSignedBits()) + 1; in validateAndTransform()
/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 <<()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp381 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()

12