Searched refs:NumPositiveBits (Results 1 – 10 of 10) sorted by relevance
/external/clang/include/clang/AST/ |
D | Decl.h | 2758 unsigned NumPositiveBits : 8; 3051 NumPositiveBits = 0; in EnumDecl() 3100 unsigned NumPositiveBits, 3164 return NumPositiveBits; in getNumPositiveBits() 3167 NumPositiveBits = Num; in setNumPositiveBits() 3168 assert(NumPositiveBits == Num && "can't store this bitcount"); in setNumPositiveBits()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Decl.h | 3579 EnumDeclBits.NumPositiveBits = Num; in setNumPositiveBits() 3580 assert(EnumDeclBits.NumPositiveBits == Num && "can't store this bitcount"); in setNumPositiveBits() 3652 unsigned NumPositiveBits, 3713 unsigned getNumPositiveBits() const { return EnumDeclBits.NumPositiveBits; } in getNumPositiveBits()
|
D | DeclBase.h | 1410 uint64_t NumPositiveBits : 8; variable
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 14808 unsigned NumPositiveBits = 0; in ActOnEnumBody() local 14822 NumPositiveBits = std::max(NumPositiveBits, in ActOnEnumBody() 14867 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody() 14871 NumPositiveBits < ShortWidth) { in ActOnEnumBody() 14874 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in ActOnEnumBody() 14880 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody() 14885 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody() 14895 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody() 14899 } else if (Packed && NumPositiveBits <= ShortWidth) { in ActOnEnumBody() 14903 } else if (NumPositiveBits <= IntWidth) { in ActOnEnumBody() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 18031 unsigned NumPositiveBits = 0; in ActOnEnumBody() local 18045 NumPositiveBits = std::max(NumPositiveBits, in ActOnEnumBody() 18092 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody() 18096 NumPositiveBits < ShortWidth) { in ActOnEnumBody() 18099 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in ActOnEnumBody() 18105 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody() 18110 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody() 18120 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody() 18124 } else if (Packed && NumPositiveBits <= ShortWidth) { in ActOnEnumBody() 18128 } else if (NumPositiveBits <= IntWidth) { in ActOnEnumBody() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1236 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForType() local 1239 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType() 1244 assert(NumPositiveBits <= Bitwidth); in getRangeForType() 1245 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1635 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForType() local 1638 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType() 1643 assert(NumPositiveBits <= Bitwidth); in getRangeForType() 1644 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3654 unsigned NumPositiveBits, in completeDefinition() argument 3660 setNumPositiveBits(NumPositiveBits); in completeDefinition()
|
/external/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 4378 unsigned NumPositiveBits, in completeDefinition() argument 4384 setNumPositiveBits(NumPositiveBits); in completeDefinition()
|
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
D | TypeSystemClang.cpp | 8121 unsigned NumPositiveBits = 1; in CompleteTagDeclarationDefinition() local 8137 promotion_qual_type, NumPositiveBits, in CompleteTagDeclarationDefinition()
|