Searched refs:NumPositiveBits (Results 1 – 4 of 4) sorted by relevance
2473 unsigned NumPositiveBits : 8;2724 NumPositiveBits = 0; in EnumDecl()2772 unsigned NumPositiveBits,2825 return NumPositiveBits; in getNumPositiveBits()2828 NumPositiveBits = Num; in setNumPositiveBits()2829 assert(NumPositiveBits == Num && "can't store this bitcount"); in setNumPositiveBits()
10815 unsigned NumPositiveBits = 0; in ActOnEnumBody() local10829 NumPositiveBits = std::max(NumPositiveBits, in ActOnEnumBody()10876 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()10880 NumPositiveBits < ShortWidth) { in ActOnEnumBody()10883 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in ActOnEnumBody()10889 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody()10894 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody()10904 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()10908 } else if (Packed && NumPositiveBits <= ShortWidth) { in ActOnEnumBody()10912 } else if (NumPositiveBits <= IntWidth) { in ActOnEnumBody()[all …]
956 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForLoadFromType() local959 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForLoadFromType()964 assert(NumPositiveBits <= Bitwidth); in getRangeForLoadFromType()965 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForLoadFromType()
2674 unsigned NumPositiveBits, in completeDefinition() argument2680 setNumPositiveBits(NumPositiveBits); in completeDefinition()