Searched refs:NumPositiveBits (Results 1 – 4 of 4) sorted by relevance
2741 unsigned NumPositiveBits : 8;3034 NumPositiveBits = 0; in EnumDecl()3083 unsigned NumPositiveBits,3147 return NumPositiveBits; in getNumPositiveBits()3150 NumPositiveBits = Num; in setNumPositiveBits()3151 assert(NumPositiveBits == Num && "can't store this bitcount"); in setNumPositiveBits()
14351 unsigned NumPositiveBits = 0; in ActOnEnumBody() local14365 NumPositiveBits = std::max(NumPositiveBits, in ActOnEnumBody()14410 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()14414 NumPositiveBits < ShortWidth) { in ActOnEnumBody()14417 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in ActOnEnumBody()14423 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody()14428 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody()14438 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()14442 } else if (Packed && NumPositiveBits <= ShortWidth) { in ActOnEnumBody()14446 } else if (NumPositiveBits <= IntWidth) { in ActOnEnumBody()[all …]
1210 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForType() local1213 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType()1218 assert(NumPositiveBits <= Bitwidth); in getRangeForType()1219 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
3543 unsigned NumPositiveBits, in completeDefinition() argument3549 setNumPositiveBits(NumPositiveBits); in completeDefinition()