Home | History | Annotate | Download | only in Analysis

Lines Matching refs:ConstantRange

25 #include "llvm/Support/ConstantRange.h"
70 /// constantrange - The Value falls within this range.
71 constantrange,
82 ConstantRange Range;
99 static LVILatticeVal getRange(ConstantRange CR) {
108 bool isConstantRange() const { return Tag == constantrange; }
121 ConstantRange getConstantRange() const {
139 return markConstantRange(ConstantRange(CI->getValue()));
155 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue()));
170 bool markConstantRange(const ConstantRange NewR) {
184 Tag = constantrange;
226 // RHS is a ConstantRange, LHS is a non-integer Constant.
265 ConstantRange NewR = Range.unionWith(RHS.getConstantRange());
286 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", "
703 ConstantRange LHSRange = LHSVal.getConstantRange();
704 ConstantRange RHSRange(1);
708 RHSRange = ConstantRange(RHS->getValue());
715 // NOTE: We're currently limited by the set of operations that ConstantRange
821 ConstantRange CmpRange(CI->getValue(), CI->getValue()+1);
822 ConstantRange TrueValues =
823 ConstantRange::makeICmpRegion(ICI->getPredicate(), CmpRange);
845 ConstantRange PossibleValues =
1022 ConstantRange CR = Result.getConstantRange();
1038 ConstantRange CR = Result.getConstantRange();
1067 ConstantRange CR = Result.getConstantRange();
1083 ConstantRange TrueValues =