Searched refs:IntRange (Results 1 – 2 of 2) sorted by relevance
| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | LowerSwitch.cpp | 35 struct IntRange { struct 39 static bool IsInRanges(const IntRange &R, in IsInRanges() 40 const std::vector<IntRange> &Ranges) { in IsInRanges() 48 [](const IntRange &A, const IntRange &B) { return A.High < B.High; }); in IsInRanges() 87 const std::vector<IntRange> &UnreachableRanges); 201 const std::vector<IntRange> &UnreachableRanges) { in switchConvert() 246 IntRange Gap = { GapLow, GapHigh }; in switchConvert() 424 std::vector<IntRange> UnreachableRanges; in processSwitchInst() 438 IntRange R = { INT64_MIN, INT64_MAX }; in processSwitchInst() 444 IntRange &LastRange = UnreachableRanges.back(); in processSwitchInst() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaChecking.cpp | 5893 struct IntRange { struct 5900 IntRange(unsigned Width, bool NonNegative) in IntRange() function 5905 static IntRange forBoolType() { in forBoolType() argument 5906 return IntRange(1, true); in forBoolType() 5910 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument 5916 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument 5930 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 5936 return IntRange(NumPositive, true/*NonNegative*/); in forValueOfCanonicalType() 5938 return IntRange(std::max(NumPositive + 1, NumNegative), in forValueOfCanonicalType() 5945 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() [all …]
|