Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp73 Val.getConstantRange().isSingleElement()) in hasSingleValue()
125 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect()
836 return Val.getConstantRange(); in toConstantRange()
1464 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal()
1726 const ConstantRange &CR = Result.getConstantRange(); in getConstant()
1733 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() function in LazyValueInfo
1762 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge()
1796 const ConstantRange &CR = Val.getConstantRange(); in getPredicateResult()
/freebsd-14.2/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()
361 if (getConstantRange() == NewR)
369 assert(NewR.contains(getConstantRange()) &&
401 return markConstantRange(RHS.getConstantRange(true),
442 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange());
H A DLazyValueInfo.h94 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp49 return LV.getConstantRange(); in getConstantRange()
168 IV.getConstantRange().isAllNonNegative(); in replaceSignedInst()
909 const auto &CR = LV.getConstantRange(); in getConstant()
1066 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors()
1250 ConstantRange OpRange = getConstantRange(OpSt, I.getSrcTy()); in visitCastInst()
1282 ConstantRange LR = getConstantRange(L, Ty); in handleExtractOfWithOverflow()
1283 ConstantRange RR = getConstantRange(R, Ty); in handleExtractOfWithOverflow()
1487 ConstantRange A = getConstantRange(V1State, I.getType()); in visitBinaryOperator()
1488 ConstantRange B = getConstantRange(V2State, I.getType()); in visitBinaryOperator()
1756 Pred, CondVal.getConstantRange()); in handleCallResult()
[all …]
H A DLowerSwitch.cpp416 LVI->getConstantRange(Val, SI, /*UndefAllowed*/ false); in ProcessSwitchInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSCCP.cpp288 !ReturnValue.getConstantRange().isSingleElement()) { in runIPSCCP()
293 auto &CR = ReturnValue.getConstantRange(); in runIPSCCP()
H A DAttributorAttributes.cpp9024 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp1089 LVI->getConstantRange(LHS, BinOp, /*UndefAllowed*/ false); in processBinOp()
1091 LVI->getConstantRange(RHS, BinOp, /*UndefAllowed*/ false); in processBinOp()