Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp3838 struct IntRange { struct
3845 IntRange(unsigned Width, bool NonNegative) in IntRange() function
3850 static IntRange forBoolType() { in forBoolType() argument
3851 return IntRange(1, true); in forBoolType()
3855 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument
3861 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument
3873 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType()
3878 return IntRange(std::max(NumPositive, NumNegative), NumNegative == 0); in forValueOfCanonicalType()
3884 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
3892 static IntRange forTargetOfCanonicalType(ASTContext &C, const Type *T) { in forTargetOfCanonicalType() argument
[all …]
/external/llvm/include/llvm/Support/
DIntegersSubset.h180 class IntRange {
188 typedef IntRange<IntType> self;
191 IntRange() : IsEmpty(true) {} in IntRange() function
192 IntRange(const self &RHS) : in IntRange() function
195 IntRange(const IntType &C) : in IntRange() function
198 IntRange(const IntType &L, const IntType &H) : Low(L), High(H), in IntRange() function
352 typedef IntRange<IntTy> Range;
DIntegersSubsetMapping.h40 typedef IntRange<IntTy> RangeTy;
/external/llvm/unittests/Support/
DIntegersSubsetTest.cpp33 typedef IntRange<Int> Range;
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2103 uint64_t IntRange = Range.getLimitedValue(UINT64_MAX/10); in handleJTSwitchCase() local
2105 if (IntTSize * 10 < IntRange * 4) in handleJTSwitchCase()