/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 42 class ConstantRange { 51 explicit ConstantRange(uint32_t BitWidth, bool isFullSet = true); 55 ConstantRange(APIntMoveTy Value); 60 ConstantRange(APIntMoveTy Lower, APIntMoveTy Upper); 69 static ConstantRange makeICmpRegion(unsigned Pred, 70 const ConstantRange &Other); 109 bool contains(const ConstantRange &CR) const; 150 bool operator==(const ConstantRange &CR) const { 153 bool operator!=(const ConstantRange &CR) const { 159 ConstantRange subtract(const APInt &CI) const; [all …]
|
D | Instructions.h | 33 class ConstantRange; variable 1091 static ConstantRange makeConstantRange(Predicate pred, const APInt &C);
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 32 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) { in ConstantRange() function in ConstantRange 41 ConstantRange::ConstantRange(APIntMoveTy V) in ConstantRange() function in ConstantRange 44 ConstantRange::ConstantRange(APIntMoveTy L, APIntMoveTy U) in ConstantRange() function in ConstantRange 52 ConstantRange ConstantRange::makeICmpRegion(unsigned Pred, in makeICmpRegion() 53 const ConstantRange &CR) { in makeICmpRegion() 64 return ConstantRange(CR.getUpper(), CR.getLower()); in makeICmpRegion() 65 return ConstantRange(W); in makeICmpRegion() 69 return ConstantRange(W, /* empty */ false); in makeICmpRegion() 70 return ConstantRange(APInt::getMinValue(W), UMax); in makeICmpRegion() 75 return ConstantRange(W, /* empty */ false); in makeICmpRegion() [all …]
|
D | Metadata.cpp | 420 static bool isContiguous(const ConstantRange &A, const ConstantRange &B) { in isContiguous() 424 static bool canBeMerged(const ConstantRange &A, const ConstantRange &B) { in canBeMerged() 430 ConstantRange NewRange(Low->getValue(), High->getValue()); in tryMergeRange() 434 ConstantRange LastRange(LB, LE); in tryMergeRange() 436 ConstantRange Union = LastRange.unionWith(NewRange); in tryMergeRange() 513 ConstantRange Range(cast<ConstantInt>(EndPoints[0])->getValue(), in getMostGenericRange()
|
D | CMakeLists.txt | 8 ConstantRange.cpp
|
D | Android.mk | 10 ConstantRange.cpp \
|
D | Instructions.cpp | 3197 ConstantRange 3210 return ConstantRange(BitWidth, /*isFullSet=*/false); in makeConstantRange() 3216 return ConstantRange(BitWidth, /*isFullSet=*/false); in makeConstantRange() 3222 return ConstantRange(BitWidth, /*isFullSet=*/false); in makeConstantRange() 3228 return ConstantRange(BitWidth, /*isFullSet=*/false); in makeConstantRange() 3234 return ConstantRange(BitWidth, /*isFullSet=*/true); in makeConstantRange() 3240 return ConstantRange(BitWidth, /*isFullSet=*/true); in makeConstantRange() 3246 return ConstantRange(BitWidth, /*isFullSet=*/true); in makeConstantRange() 3252 return ConstantRange(BitWidth, /*isFullSet=*/true); in makeConstantRange() 3255 return ConstantRange(Lower, Upper); in makeConstantRange()
|
D | Verifier.cpp | 1885 static bool isContiguous(const ConstantRange &A, const ConstantRange &B) { in isContiguous() 1920 ConstantRange LastRange(1); // Dummy initial value in visitLoadInst() 1932 ConstantRange CurRange(LowV, HighV); in visitLoadInst() 1943 LastRange = ConstantRange(LowV, HighV); in visitLoadInst() 1950 ConstantRange FirstRange(FirstLow, FirstHigh); in visitLoadInst()
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 20 static ConstantRange Full; 21 static ConstantRange Empty; 22 static ConstantRange One; 23 static ConstantRange Some; 24 static ConstantRange Wrap; 27 ConstantRange ConstantRangeTest::Full(16); 28 ConstantRange ConstantRangeTest::Empty(16, false); 29 ConstantRange ConstantRangeTest::One(APInt(16, 0xa)); 30 ConstantRange ConstantRangeTest::Some(APInt(16, 0xa), APInt(16, 0xaaa)); 31 ConstantRange ConstantRangeTest::Wrap(APInt(16, 0xaaa), APInt(16, 0xa)); [all …]
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 83 ConstantRange Range; 100 static LVILatticeVal getRange(ConstantRange CR) { in getRange() 122 ConstantRange getConstantRange() const { in getConstantRange() 140 return markConstantRange(ConstantRange(CI->getValue())); in markConstant() 156 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue())); in markNotConstant() 171 bool markConstantRange(const ConstantRange NewR) { in markConstantRange() 266 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); in mergeIn() 712 ConstantRange LHSRange = LHSVal.getConstantRange(); in solveBlockValueConstantRange() 713 ConstantRange RHSRange(1); in solveBlockValueConstantRange() 717 RHSRange = ConstantRange(RHS->getValue()); in solveBlockValueConstantRange() [all …]
|
D | ScalarEvolution.cpp | 931 ConstantRange CR = getUnsignedRange(X); in getZeroExtendExpr() 1196 ConstantRange CR = getSignedRange(X); in getSignExtendExpr() 3408 ConstantRange 3411 DenseMap<const SCEV *, ConstantRange>::iterator I = UnsignedRanges.find(S); in getUnsignedRange() 3416 return setUnsignedRange(C, ConstantRange(C->getValue()->getValue())); in getUnsignedRange() 3419 ConstantRange ConservativeResult(BitWidth, /*isFullSet=*/true); in getUnsignedRange() 3426 ConstantRange(APInt::getMinValue(BitWidth), in getUnsignedRange() 3430 ConstantRange X = getUnsignedRange(Add->getOperand(0)); in getUnsignedRange() 3437 ConstantRange X = getUnsignedRange(Mul->getOperand(0)); in getUnsignedRange() 3444 ConstantRange X = getUnsignedRange(SMax->getOperand(0)); in getUnsignedRange() [all …]
|
D | InstructionSimplify.cpp | 1923 ConstantRange RHS_CR = ICmpInst::makeConstantRange(Pred, CI->getValue()); in SimplifyICmpInst() 2010 ConstantRange LHS_CR = ConstantRange(Lower, Upper); in SimplifyICmpInst()
|
D | ValueTracking.cpp | 202 ConstantRange Range(Lower->getValue(), Upper->getValue()); in computeKnownBitsFromRangeMetadata()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 393 DenseMap<const SCEV *, ConstantRange> UnsignedRanges; 396 DenseMap<const SCEV *, ConstantRange> SignedRanges; 399 const ConstantRange &setUnsignedRange(const SCEV *S, 400 const ConstantRange &CR) { 401 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair = 409 const ConstantRange &setSignedRange(const SCEV *S, 410 const ConstantRange &CR) { 411 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair = 822 ConstantRange getUnsignedRange(const SCEV *S); 826 ConstantRange getSignedRange(const SCEV *S);
|
D | ScalarEvolutionExpressions.h | 24 class ConstantRange; variable 346 const SCEV *getNumIterationsInRange(ConstantRange Range,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 882 ConstantRange LHSRange = in FoldAndOfICmps() 883 ConstantRange::makeICmpRegion(LHSCC, LHSCst->getValue()); in FoldAndOfICmps() 884 ConstantRange RHSRange = in FoldAndOfICmps() 885 ConstantRange::makeICmpRegion(RHSCC, RHSCst->getValue()); in FoldAndOfICmps()
|
D | InstCombineCompares.cpp | 1583 ConstantRange CR = ICI.makeConstantRange(ICI.getPredicate(), RHSV) in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 382 ConstantRange Span = in GatherConstantCompares() 383 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue()); in GatherConstantCompares()
|
/external/llvm/patches/ |
D | 0004-Add-Android-makefiles-for-LLVM.patch | 962 + ConstantRange.cpp \
|