Home
last modified time | relevance | path

Searched refs:NumPositiveBits (Results 1 – 4 of 4) 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/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/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/clang/lib/AST/
DDecl.cpp3654 unsigned NumPositiveBits, in completeDefinition() argument
3660 setNumPositiveBits(NumPositiveBits); in completeDefinition()