Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDecl.h2741 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()
/external/clang/lib/Sema/
DSemaDecl.cpp14351 unsigned NumPositiveBits = 0; in ActOnEnumBody() local
14365 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 …]
/external/clang/lib/CodeGen/
DCGExpr.cpp1210 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForType() local
1213 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType()
1218 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1219 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
/external/clang/lib/AST/
DDecl.cpp3543 unsigned NumPositiveBits, in completeDefinition() argument
3549 setNumPositiveBits(NumPositiveBits); in completeDefinition()