Home
last modified time | relevance | path

Searched refs:NumPositiveBits (Results 1 – 10 of 10) sorted by relevance

/external/clang/include/clang/AST/
DDecl.h2758 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/
DDecl.h3579 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()
DDeclBase.h1410 uint64_t NumPositiveBits : 8; variable
/external/clang/lib/Sema/
DSemaDecl.cpp14808 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/
DSemaDecl.cpp18031 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/
DCGExpr.cpp1236 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/
DCGExpr.cpp1635 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/
DDecl.cpp3654 unsigned NumPositiveBits, in completeDefinition() argument
3660 setNumPositiveBits(NumPositiveBits); in completeDefinition()
/external/llvm-project/clang/lib/AST/
DDecl.cpp4378 unsigned NumPositiveBits, in completeDefinition() argument
4384 setNumPositiveBits(NumPositiveBits); in completeDefinition()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp8121 unsigned NumPositiveBits = 1; in CompleteTagDeclarationDefinition() local
8137 promotion_qual_type, NumPositiveBits, in CompleteTagDeclarationDefinition()