Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp5353 struct IntRange { struct
5360 IntRange(unsigned Width, bool NonNegative) in IntRange() argument
5365 static IntRange forBoolType() { in forBoolType() argument
5366 return IntRange(1, true); in forBoolType()
5370 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument
5376 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument
5390 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType()
5396 return IntRange(NumPositive, true/*NonNegative*/); in forValueOfCanonicalType()
5398 return IntRange(std::max(NumPositive + 1, NumNegative), in forValueOfCanonicalType()
5405 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2280 uint64_t IntRange = Range.getLimitedValue(UINT64_MAX/10); in handleJTSwitchCase() local
2282 if (IntTSize * 10 < IntRange * 4) in handleJTSwitchCase()