Lines Matching refs:constantrange
23 #include "llvm/IR/ConstantRange.h"
73 /// This Value has a specific constant value. (For integers, constantrange
78 /// constantrange is used instead.)
82 constantrange,
92 ConstantRange Range;
109 static LVILatticeVal getRange(ConstantRange CR) {
123 bool isConstantRange() const { return Tag == constantrange; }
136 ConstantRange getConstantRange() const {
154 return markConstantRange(ConstantRange(CI->getValue()));
170 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue()));
185 bool markConstantRange(ConstantRange NewR) {
199 Tag = constantrange;
271 ConstantRange NewR = Range.unionWith(RHS.getConstantRange());
292 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", "
353 ConstantRange Range =
910 ConstantRange TrueCR = TrueVal.getConstantRange();
911 ConstantRange FalseCR = FalseVal.getConstantRange();
957 // %24 = constantrange<0, 17>
961 // %siv.next = constantrange<0, 17> not <-1, 17>
1041 ConstantRange LHSRange = ConstantRange(OperandBitWidth);
1052 // NOTE: We're currently limited by the set of operations that ConstantRange
1118 ConstantRange LHSRange = ConstantRange(OperandBitWidth);
1127 ConstantRange RHSRange = ConstantRange(RHS->getValue());
1129 // NOTE: We're currently limited by the set of operations that ConstantRange
1192 ConstantRange CmpRange(CI->getValue());
1193 ConstantRange TrueValues =
1194 ConstantRange::makeAllowedICmpRegion(ICI->getPredicate(), CmpRange);
1250 ConstantRange EdgesVals(BitWidth, DefaultCase/*isFullSet*/);
1253 ConstantRange EdgeVal(i.getCaseValue()->getValue());
1491 ConstantRange CR = Result.getConstantRange();
1498 ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB,
1507 return ConstantRange(Width, /*isFullSet=*/false);
1510 return ConstantRange(Width, /*isFullSet=*/true);
1525 ConstantRange CR = Result.getConstantRange();
1551 ConstantRange CR = Result.getConstantRange();
1567 ConstantRange TrueValues =
1629 // %v1 = ... ; constantrange<1, 5>
1632 // %v2 = ... ; constantrange<10, 20>
1635 // %phi = phi [%v1, %v2] ; constantrange<1,20>