Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DValueLattice.h159 const ConstantRange &getConstantRange() const { in getConstantRange() function
168 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger()
169 return *getConstantRange().getSingleElement(); in asConstantInteger()
275 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange()); in mergeIn()
278 else if (NewR == getConstantRange()) in mergeIn()
307 const auto &CR = getConstantRange(); in getCompare()
308 const auto &OtherCR = Other.getConstantRange(); in getCompare()
H A DLazyValueInfo.h89 ConstantRange getConstantRange(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr);
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueLattice.cpp22 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
23 << Val.getConstantRange().getUpper() << ">"; in operator <<()
H A DLazyValueInfo.cpp69 Val.getConstantRange().isSingleElement()) in hasSingleValue()
121 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect()
868 const ConstantRange &TrueCR = TrueVal.getConstantRange(); in solveBlockValueSelect()
869 const ConstantRange &FalseCR = FalseVal.getConstantRange(); in solveBlockValueSelect()
970 Range = Val.getConstantRange(); in getRangeForOperand()
1337 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal()
1563 const ConstantRange &CR = Result.getConstantRange(); in getConstant()
1580 return Result.getConstantRange(); in getConstantRange()
1600 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge()
1619 return Result.getConstantRange(); in getConstantRangeOnEdge()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp407 ConstantRange RRange = LVI->getConstantRange(RHS, II->getParent(), II); in willNotOverflow()
414 ConstantRange LRange = LVI->getConstantRange(LHS, II->getParent(), II); in willNotOverflow()
518 LVI->getConstantRange(Operand, Instr->getParent())); in processUDivOrURem()
625 ConstantRange LRange = LVI->getConstantRange(LHS, BB, AddOp); in processAdd()
633 RRange = LVI->getConstantRange(RHS, BB, AddOp); in processAdd()