Searched refs:getConstantRange (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 46 const auto &CR = getConstantRange(); in getCompare() 47 const auto &OtherCR = Other.getConstantRange(); in getCompare() 57 if (Val.isConstantRange() && Val.getConstantRange().isSingleElement()) in hasSingleValue() 104 getConstantRange().intersectWith(Other.getConstantRange()); in intersect() 125 << Val.getConstantRange(true).getLower() << ", " in operator <<() 126 << Val.getConstantRange(true).getUpper() << ">"; in operator <<() 129 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<() 130 << Val.getConstantRange().getUpper() << ">"; in operator <<()
|
| H A D | LazyValueInfo.cpp | 75 Val.getConstantRange().isSingleElement()) in hasSingleValue() 1549 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal() 1809 const ConstantRange &CR = Result.getConstantRange(); in getConstant() 1816 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() function in LazyValueInfo 1844 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge() 1871 const ConstantRange &CR = Val.getConstantRange(); in getPredicateResult()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 267 const ConstantRange &getConstantRange(bool UndefAllowed = true) const { 276 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger() 277 return *getConstantRange().getSingleElement(); in asConstantInteger() 284 return getConstantRange(); 374 if (getConstantRange() == NewR) 382 assert(NewR.contains(getConstantRange()) && 416 return markConstantRange(RHS.getConstantRange(true), 460 const ConstantRange &L = getConstantRange();
|
| H A D | LazyValueInfo.h | 92 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 52 (LV.isConstantRange() && LV.getConstantRange().isSingleElement()); in isConstant() 385 if (Val.isConstantRange() && !Val.getConstantRange().isSingleElement()) { in inferAttribute() 392 ConstantRange CR = Val.getConstantRange(); in inferAttribute() 1053 const auto &CR = LV.getConstantRange(); in getConstant() 1210 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors() 1934 Pred, CondVal.getConstantRange()); in handleCallResult()
|
| H A D | LowerSwitch.cpp | 414 LVI->getConstantRange(Val, SI, /*UndefAllowed*/ false); in ProcessSwitchInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 1338 RetRange->unionWith(LVI->getConstantRange(RetVal, RI, in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9100 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
|