Searched refs:getConstantRange (Results 1 – 10 of 10) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 45 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 D | LazyValueInfo.cpp | 72 Val.getConstantRange().isSingleElement()) in hasSingleValue() 124 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect() 804 return Val.getConstantRange(); in getConstantRangeOrFull() 1423 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal() 1628 const ConstantRange &CR = Result.getConstantRange(); in getConstant() 1635 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() function in LazyValueInfo 1645 return Result.getConstantRange(UndefAllowed); in getConstantRange() 1657 getConstantRange(V, cast<Instruction>(U.getUser()), UndefAllowed); in getConstantRangeAtUse() 1678 CR = CR.intersectWith(CondVal->getConstantRange()); in getConstantRangeAtUse() 1708 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 272 const ConstantRange &getConstantRange(bool UndefAllowed = true) const { 281 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger() 282 return *getConstantRange().getSingleElement(); in asConstantInteger() 364 if (getConstantRange() == NewR) 372 assert(NewR.contains(getConstantRange()) && 404 return markConstantRange(RHS.getConstantRange(true), 445 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange());
|
| H A D | LazyValueInfo.h | 95 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 48 (LV.isConstantRange() && LV.getConstantRange().isSingleElement()); in isConstant() 132 IV.getConstantRange().isAllNonNegative(); in replaceSignedInst() 685 ConstantRange getConstantRange(const ValueLatticeElement &LV, Type *Ty) const; 779 const auto &CR = LV.getConstantRange(); in getConstant() 787 SCCPInstVisitor::getConstantRange(const ValueLatticeElement &LV, in getConstantRange() function in SCCPInstVisitor 791 return LV.getConstantRange(); in getConstantRange() 911 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors() 1096 ConstantRange OpRange = getConstantRange(OpSt, I.getSrcTy()); in visitCastInst() 1128 ConstantRange LR = getConstantRange(L, Ty); in handleExtractOfWithOverflow() 1129 ConstantRange RR = getConstantRange(R, Ty); in handleExtractOfWithOverflow() [all …]
|
| H A D | LowerSwitch.cpp | 416 const ConstantRange LVIRange = LVI->getConstantRange(Val, SI); in ProcessSwitchInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 686 (LV.isConstantRange() && LV.getConstantRange().isSingleElement())) { in isArgumentInteresting() 722 else if (LV.isConstantRange() && LV.getConstantRange().isSingleElement()) { in getCandidateConstant() 725 *LV.getConstantRange().getSingleElement()); in getCandidateConstant()
|
| H A D | SCCP.cpp | 284 !ReturnValue.getConstantRange().isSingleElement()) { in runIPSCCP() 289 auto &CR = ReturnValue.getConstantRange(); in runIPSCCP()
|
| H A D | AttributorAttributes.cpp | 8891 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 327 Cmp->getPredicate(), LVI->getConstantRange(Cmp->getOperand(0), Cmp), in processICmp() 328 LVI->getConstantRange(Cmp->getOperand(1), Cmp)); in processICmp() 1071 ConstantRange LRange = LVI->getConstantRange(LHS, BinOp); in processBinOp() 1072 ConstantRange RRange = LVI->getConstantRange(RHS, BinOp); in processBinOp()
|