Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp63 return ConstantRange(CR.getUpper(), CR.getLower()); in makeICmpRegion()
175 return getLower(); in getUnsignedMin()
184 if (getLower().sle(getUpper() - 1)) in getSignedMax()
189 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
202 if (getLower().sle(getUpper() - 1)) in getSignedMin()
203 return getLower(); in getSignedMin()
207 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
211 return getLower(); in getSignedMin()
213 return getLower(); in getSignedMin()
242 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp67 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
150 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
152 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
158 RHS = getLower(); in getEquivalentICmp()
282 return getLower(); in getUnsignedMin()
291 if (getLower().sle(getUpper() - 1)) in getSignedMax()
295 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
306 if (getLower().sle(getUpper() - 1)) in getSignedMin()
307 return getLower(); in getSignedMin()
310 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
[all …]
DMetadata.cpp915 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
933 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
DVerifier.cpp2915 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
2948 Assert(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in visitRangeMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp70 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
161 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
163 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
169 RHS = getLower(); in getEquivalentICmp()
374 return getLower(); in getUnsignedMin()
386 return getLower(); in getSignedMin()
406 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
411 Lower.ule(Other.getLower()); in contains()
413 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
767 APInt NewLower = getLower() + Other.getLower(); in add()
[all …]
DMetadata.cpp942 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
960 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
DVerifier.cpp3138 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
3169 Assert(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in visitRangeMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp61 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F()
67 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F()
74 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F()
77 EXPECT_EQ(LV2.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueLattice.cpp22 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
/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()
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.cpp187 EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10), in TEST_F()
217 EXPECT_EQ(ZOne, ConstantRange(One.getLower().zext(20), in TEST_F()
219 EXPECT_EQ(ZSome, ConstantRange(Some.getLower().zext(20), in TEST_F()
237 EXPECT_EQ(SOne, ConstantRange(One.getLower().sext(20), in TEST_F()
239 EXPECT_EQ(SSome, ConstantRange(Some.getLower().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.cpp174 EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10), in TEST_F()
187 EXPECT_EQ(ZOne, ConstantRange(One.getLower().zext(20), in TEST_F()
189 EXPECT_EQ(ZSome, ConstantRange(Some.getLower().zext(20), in TEST_F()
203 EXPECT_EQ(SOne, ConstantRange(One.getLower().sext(20), in TEST_F()
205 EXPECT_EQ(SSome, ConstantRange(Some.getLower().sext(20), in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h71 const APInt &getLower() const { return Lower; } in getLower() function
/external/llvm/include/llvm/IR/
DConstantRange.h124 const APInt &getLower() const { return Lower; } in getLower() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h126 const APInt &getLower() const { return Lower; } in getLower() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp381 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp396 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1342 if (CR.getLower().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1347 ConstantInt::get(ICI.getContext(),CR.getLower())); in visitICmpInstWithInstAndIntCst()
1350 if (CR.getLower().isMinValue()) { in visitICmpInstWithInstAndIntCst()
1355 ConstantInt::get(ICI.getContext(),CR.getLower())); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp281 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2161 if (CR.getLower().isSignBit()) { in visitICmpInstWithInstAndIntCst()
2166 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
2169 if (CR.getLower().isMinValue()) { in visitICmpInstWithInstAndIntCst()
2174 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp292 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp381 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp608 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp568 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2356 const APInt &Lower = CR.getLower(); in foldICmpAddConstant()

12