Searched refs:NumPositiveBits (Results 1 – 4 of 4) sorted by relevance
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()
14808 unsigned NumPositiveBits = 0; in ActOnEnumBody() local14822 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 …]
1236 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForType() local1239 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType()1244 assert(NumPositiveBits <= Bitwidth); in getRangeForType()1245 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
3654 unsigned NumPositiveBits, in completeDefinition() argument3660 setNumPositiveBits(NumPositiveBits); in completeDefinition()