Home
last modified time | relevance | path

Searched refs:getConstantRange (Results 1 – 8 of 8) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp45 const auto &CR = getConstantRange(); in getCompare()
46 const auto &OtherCR = Other.getConstantRange(); in getCompare()
68 << Val.getConstantRange(true).getLower() << ", " in operator <<()
69 << Val.getConstantRange(true).getUpper() << ">"; in operator <<()
72 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
73 << Val.getConstantRange().getUpper() << ">"; in operator <<()
H A DLazyValueInfo.cpp76 Val.getConstantRange().isSingleElement()) in hasSingleValue()
128 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect()
1473 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal()
1735 const ConstantRange &CR = Result.getConstantRange(); in getConstant()
1742 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() function in LazyValueInfo
1770 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge()
1797 const ConstantRange &CR = Val.getConstantRange(); in getPredicateResult()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h269 const ConstantRange &getConstantRange(bool UndefAllowed = true) const {
278 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger()
279 return *getConstantRange().getSingleElement(); in asConstantInteger()
286 return getConstantRange();
376 if (getConstantRange() == NewR)
384 assert(NewR.contains(getConstantRange()) &&
418 return markConstantRange(RHS.getConstantRange(true),
462 const ConstantRange &L = getConstantRange();
H A DLazyValueInfo.h94 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSCCP.cpp287 !ReturnValue.getConstantRange().isSingleElement()) { in runIPSCCP()
297 auto &CR = ReturnValue.getConstantRange(); in runIPSCCP()
H A DAttributorAttributes.cpp9039 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp49 (LV.isConstantRange() && LV.getConstantRange().isSingleElement()); in isConstant()
181 IV.getConstantRange().isAllNonNegative(); in replaceSignedInst()
953 const auto &CR = LV.getConstantRange(); in getConstant()
1110 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors()
1807 Pred, CondVal.getConstantRange()); in handleCallResult()
H A DLowerSwitch.cpp416 LVI->getConstantRange(Val, SI, /*UndefAllowed*/ false); in ProcessSwitchInst()