Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDecl.h2473 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()
/external/clang/lib/Sema/
DSemaDecl.cpp10815 unsigned NumPositiveBits = 0; in ActOnEnumBody() local
10829 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 …]
/external/clang/lib/CodeGen/
DCGExpr.cpp956 unsigned NumPositiveBits = ED->getNumPositiveBits(); in getRangeForLoadFromType() local
959 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForLoadFromType()
964 assert(NumPositiveBits <= Bitwidth); in getRangeForLoadFromType()
965 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForLoadFromType()
/external/clang/lib/AST/
DDecl.cpp2674 unsigned NumPositiveBits, in completeDefinition() argument
2680 setNumPositiveBits(NumPositiveBits); in completeDefinition()