Lines Matching full:constantrange
24 #include "llvm/IR/ConstantRange.h"
69 ConstantRange seen(Instruction *I, ConstantRange R);
70 ConstantRange badRange();
71 ConstantRange unknownRange();
72 ConstantRange validateRange(ConstantRange R);
79 MapVector<Instruction*, ConstantRange > SeenInsts;
152 ConstantRange Float2Int::seen(Instruction *I, ConstantRange R) {
162 ConstantRange Float2Int::badRange() {
163 return ConstantRange(MaxIntegerBW + 1, true);
165 ConstantRange Float2Int::unknownRange() {
166 return ConstantRange(MaxIntegerBW + 1, false);
168 ConstantRange Float2Int::validateRange(ConstantRange R) {
210 seen(I, validateRange(ConstantRange(Min, Max)));
219 seen(I, validateRange(ConstantRange(SMin, SMax)));
255 std::function<ConstantRange(ArrayRef<ConstantRange>)> Op;
264 Op = [](ArrayRef<ConstantRange> Ops) {
271 Op = [](ArrayRef<ConstantRange> Ops) {
278 Op = [](ArrayRef<ConstantRange> Ops) {
290 Op = [](ArrayRef<ConstantRange> Ops) {
297 Op = [](ArrayRef<ConstantRange> Ops) {
305 SmallVector<ConstantRange,4> OpRanges;
347 OpRanges.push_back(ConstantRange(Int));
365 ConstantRange R(MaxIntegerBW + 1, false);