Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueLattice.h270 const ConstantRange &getConstantRange(bool UndefAllowed = true) const {
279 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger()
280 return *getConstantRange().getSingleElement(); in asConstantInteger()
362 if (getConstantRange() == NewR)
370 assert(NewR.contains(getConstantRange()) &&
402 return markConstantRange(RHS.getConstantRange(true),
443 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange());
475 const auto &CR = getConstantRange(); in getCompare()
476 const auto &OtherCR = Other.getConstantRange(); in getCompare()
H A DLazyValueInfo.h95 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueLattice.cpp25 << Val.getConstantRange(true).getLower() << ", " in operator <<()
26 << Val.getConstantRange(true).getUpper() << ">"; in operator <<()
29 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
30 << Val.getConstantRange().getUpper() << ">"; in operator <<()
H A DLazyValueInfo.cpp73 Val.getConstantRange().isSingleElement()) in hasSingleValue()
125 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect()
811 const ConstantRange &TrueCR = TrueVal.getConstantRange(); in solveBlockValueSelect()
812 const ConstantRange &FalseCR = FalseVal.getConstantRange(); in solveBlockValueSelect()
883 return Val.getConstantRange(); in getRangeFor()
1371 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal()
1576 const ConstantRange &CR = Result.getConstantRange(); in getConstant()
1583 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() function in LazyValueInfo
1593 return Result.getConstantRange(UndefAllowed); in getConstantRange()
1613 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp52 (LV.isConstantRange() && LV.getConstantRange().isSingleElement()); in isConstant()
511 const auto &CR = LV.getConstantRange(); in getConstant()
600 const ConstantRange &Range = SCValue.getConstantRange(); in getFeasibleSuccessors()
784 ConstantRange OpRange = OpSt.getConstantRange(); in visitCastInst()
972 A = V1State.getConstantRange(); in visitBinaryOperator()
974 B = V2State.getConstantRange(); in visitBinaryOperator()
1266 Pred, CondVal.getConstantRange()); in handleCallResult()
1271 ? CopyOfVal.getConstantRange() in handleCallResult()
1311 OpRanges.push_back(State.getConstantRange()); in handleCallResult()
H A DLowerSwitch.cpp403 const ConstantRange LVIRange = LVI->getConstantRange(Val, SI); in ProcessSwitchInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp89 (LV.isConstantRange() && LV.getConstantRange().isSingleElement()); in isConstant()
175 if (IV.getConstantRange().isAllNonNegative()) { in simplifyInstsInBlock()
582 !ReturnValue.getConstantRange().isSingleElement()) { in runIPSCCP()
587 auto &CR = ReturnValue.getConstantRange(); in runIPSCCP()
H A DCorrelatedValuePropagation.cpp392 ConstantRange LRange = LVI->getConstantRange(BO->getLHS(), BO); in willNotOverflow()
393 ConstantRange RRange = LVI->getConstantRange(BO->getRHS(), BO); in willNotOverflow()
687 std::get<1>(I) = LVI->getConstantRange(std::get<0>(I), Instr); in narrowSDivOrSRem()
739 ConstantRange CR = LVI->getConstantRange(Operand, Instr); in processUDivOrURem()
945 ConstantRange LRange = LVI->getConstantRange(LHS, BinOp); in processBinOp()
946 ConstantRange RRange = LVI->getConstantRange(RHS, BinOp); in processBinOp()
982 LVI->getConstantRange(LHS, BinOp, /*UndefAllowed=*/false); in processAnd()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp7055 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()