Home
last modified time | relevance | path

Searched refs:IntRange (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp51 struct IntRange { struct
59 bool IsInRanges(const IntRange &R, const std::vector<IntRange> &Ranges) { in IsInRanges()
66 Ranges, R, [](IntRange A, IntRange B) { return A.High.slt(B.High); }); in IsInRanges()
230 const std::vector<IntRange> &UnreachableRanges) { in SwitchConvert()
273 IntRange Gap = {GapLow, GapHigh}; in SwitchConvert()
430 std::vector<IntRange> UnreachableRanges; in ProcessSwitchInst()
439 IntRange R = {SignedMin, SignedMax}; in ProcessSwitchInst()
445 IntRange &LastRange = UnreachableRanges.back(); in ProcessSwitchInst()
455 IntRange R = {High + 1, SignedMax}; in ProcessSwitchInst()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10423 struct IntRange { struct
10433 IntRange(unsigned Width, bool NonNegative) in IntRange() argument
10442 static IntRange forBoolType() { in forBoolType() argument
10443 return IntRange(1, true); in forBoolType()
10447 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument
10453 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument
10473 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType()
10481 return IntRange(NumPositive, true/*NonNegative*/); in forValueOfCanonicalType()
10483 return IntRange(std::max(NumPositive + 1, NumNegative), in forValueOfCanonicalType()
10488 return IntRange(EIT->getNumBits(), EIT->isUnsigned()); in forValueOfCanonicalType()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc4781 …lueOfTypeERN5clang10ASTContextENS1_8QualTypeE", "(anonymous namespace)::IntRange::forValueOfType(c…