/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/ |
H A D | ConstantRange.h | 1 //===-- llvm/Support/ConstantRange.h - Represent a range --------*- C++ -*-===// 27 // Note that ConstantRange can be used to represent either signed or 40 /// ConstantRange - This class represents an range of values. 42 class ConstantRange { class in namespace:llvm 48 explicit ConstantRange(uint32_t BitWidth, bool isFullSet = true); 52 ConstantRange(const APInt &Value); 57 ConstantRange(const APInt &Lower, const APInt &Upper); 66 static ConstantRange makeICmpRegion(unsigned Pred, 67 const ConstantRange &Other); 77 /// getBitWidth - get the bit width of this ConstantRange [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/ |
H A D | ConstantRange.cpp | 1 //===-- ConstantRange.cpp - ConstantRange implementation ------------------===// 25 #include "llvm/Support/ConstantRange.h" 32 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) { function in class:ConstantRange 41 ConstantRange::ConstantRange(const APInt &V) : Lower(V), Upper(V + 1) {} function in class:ConstantRange 43 ConstantRange::ConstantRange(const APInt &L, const APInt &U) : function in class:ConstantRange 46 "ConstantRange wit [all...] |
H A D | CMakeLists.txt | 16 ConstantRange.cpp
|
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/ |
H A D | ConstantRangeTest.cpp | 1 //===- llvm/unittest/Support/ConstantRangeTest.cpp - ConstantRange tests --===// 10 #include "llvm/Support/ConstantRange.h" 21 static ConstantRange Full; 22 static ConstantRange Empty; 23 static ConstantRange One; 24 static ConstantRange Some; 25 static ConstantRange Wrap; 28 ConstantRange ConstantRangeTest::Full(16); 29 ConstantRange ConstantRangeTest::Empty(16, false); 30 ConstantRange ConstantRangeTes [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 25 #include "llvm/Support/ConstantRange.h" 82 ConstantRange Range; 99 static LVILatticeVal getRange(ConstantRange CR) { 121 ConstantRange getConstantRange() const { 139 return markConstantRange(ConstantRange(CI->getValue())); 155 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue())); 170 bool markConstantRange(const ConstantRange NewR) { 226 // RHS is a ConstantRange, LHS is a non-integer Constant. 265 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); 707 ConstantRange LHSRang [all...] |
H A D | ScalarEvolution.cpp | 79 #include "llvm/Support/ConstantRange.h" 923 ConstantRange CR = getUnsignedRange(X); 1189 ConstantRange CR = getSignedRange(X); 3266 ConstantRange 3269 DenseMap<const SCEV *, ConstantRange>::iterator I = UnsignedRanges.find(S); 3274 return setUnsignedRange(C, ConstantRange(C->getValue()->getValue())); 3277 ConstantRange ConservativeResult(BitWidth, /*isFullSet=*/true); 3284 ConstantRange(APInt::getMinValue(BitWidth), 3288 ConstantRange X = getUnsignedRange(Add->getOperand(0)); 3295 ConstantRange [all...] |
H A D | InstructionSimplify.cpp | 30 #include "llvm/Support/ConstantRange.h" 1805 ConstantRange RHS_CR = ICmpInst::makeConstantRange(Pred, CI->getValue()); 1862 ConstantRange LHS_CR = ConstantRange(Lower, Upper);
|
H A D | ValueTracking.cpp | 26 #include "llvm/Support/ConstantRange.h" 204 ConstantRange Range(Lower->getValue(), Upper->getValue());
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 31 #include "llvm/Support/ConstantRange.h" 378 DenseMap<const SCEV *, ConstantRange> UnsignedRanges; 381 DenseMap<const SCEV *, ConstantRange> SignedRanges; 384 const ConstantRange &setUnsignedRange(const SCEV *S, 385 const ConstantRange &CR) { 386 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair = 394 const ConstantRange &setSignedRange(const SCEV *S, 395 const ConstantRange &CR) { 396 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair = 798 ConstantRange getUnsignedRang [all...] |
H A D | ScalarEvolutionExpressions.h | 23 class ConstantRange; 351 const SCEV *getNumIterationsInRange(ConstantRange Range,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/ |
H A D | Metadata.cpp | 24 #include "llvm/Support/ConstantRange.h" 452 static bool isContiguous(const ConstantRange &A, const ConstantRange &B) { 456 static bool canBeMerged(const ConstantRange &A, const ConstantRange &B) { 462 ConstantRange NewRange(Low->getValue(), High->getValue()); 466 ConstantRange LastRange(LB, LE); 468 ConstantRange Union = LastRange.unionWith(NewRange); 545 ConstantRange Range(cast<ConstantInt>(EndPoints[0])->getValue(),
|
H A D | Instructions.cpp | 24 #include "llvm/Support/ConstantRange.h" 2980 ConstantRange 2986 default: llvm_unreachable("Invalid ICmp opcode to ConstantRange ctor!"); 2993 return ConstantRange(BitWidth, /*isFullSet=*/false); 2999 return ConstantRange(BitWidth, /*isFullSet=*/false); 3005 return ConstantRange(BitWidth, /*isFullSet=*/false); 3011 return ConstantRange(BitWidth, /*isFullSet=*/false); 3017 return ConstantRange(BitWidth, /*isFullSet=*/true); 3023 return ConstantRange(BitWidth, /*isFullSet=*/true); 3029 return ConstantRange(BitWidt [all...] |
H A D | Verifier.cpp | 71 #include "llvm/Support/ConstantRange.h" 1367 static bool isContiguous(const ConstantRange &A, const ConstantRange &B) { 1402 ConstantRange LastRange(1); // Dummy initial value 1414 ConstantRange CurRange(LowV, HighV); 1425 LastRange = ConstantRange(LowV, HighV); 1432 ConstantRange FirstRange(FirstLow, FirstHigh);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 18 #include "llvm/Support/ConstantRange.h" 802 ConstantRange LHSRange = 803 ConstantRange::makeICmpRegion(LHSCC, LHSCst->getValue()); 804 ConstantRange RHSRange = 805 ConstantRange::makeICmpRegion(RHSCC, RHSCst->getValue());
|
H A D | InstCombineCompares.cpp | 21 #include "llvm/Support/ConstantRange.h" 1365 ConstantRange CR = ICI.makeConstantRange(ICI.getPredicate(), RHSV)
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ |
H A D | Instructions.h | 33 class ConstantRange; 1020 /// @brief Make a ConstantRange for a relation with a constant value. 1021 static ConstantRange makeConstantRange(Predicate pred, const APInt &C);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 38 #include "llvm/Support/ConstantRange.h" 434 ConstantRange Span = 435 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue());
|