/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 63 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/ |
D | ConstantRange.cpp | 67 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 …]
|
D | Metadata.cpp | 915 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 933 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
|
D | Verifier.cpp | 2915 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/ |
D | ConstantRange.cpp | 70 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 …]
|
D | Metadata.cpp | 942 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 960 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
|
D | Verifier.cpp | 3138 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/ |
D | ValueLatticeTest.cpp | 61 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/ |
D | ValueLattice.cpp | 22 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 178 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/ |
D | ConstantRangeTest.cpp | 187 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/ |
D | ConstantRangeTest.cpp | 174 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/ |
D | ConstantRange.h | 71 const APInt &getLower() const { return Lower; } in getLower() function
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 124 const APInt &getLower() const { return Lower; } in getLower() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 126 const APInt &getLower() const { return Lower; } in getLower() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 381 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 396 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1342 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/ |
D | LazyValueInfo.cpp | 281 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2161 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/ |
D | LazyValueInfo.cpp | 292 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 381 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in GatherConstantCompares()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 608 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 568 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2356 const APInt &Lower = CR.getLower(); in foldICmpAddConstant()
|