Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp102 unsigned CharWidth = in ProcessCharEscape() local
105 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
107 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
132 unsigned CharWidth = in ProcessCharEscape() local
135 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
138 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp135 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() local
193 Tmp = Tmp.zext(CharWidth); in AppendBitField()
198 Tmp = Tmp.shl(CharWidth - BitsInPreviousByte); in AppendBitField()
217 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField()
229 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField()
240 while (FieldValue.getBitWidth() > CharWidth) { in AppendBitField()
246 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); in AppendBitField()
249 Tmp = FieldValue.trunc(CharWidth); in AppendBitField()
251 FieldValue = FieldValue.lshr(CharWidth); in AppendBitField()
257 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); in AppendBitField()
[all …]
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp61 uint64_t CharWidth; member in __anon704f3eda0111::EmptySubobjectMap
98 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
124 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
/external/clang/lib/Sema/
DSemaDecl.cpp8898 unsigned CharWidth = Context.Target.getCharWidth(); in ActOnEnumBody() local
8955 BestWidth = CharWidth; in ActOnEnumBody()
8961 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
8963 BestWidth = CharWidth; in ActOnEnumBody()
8989 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()
8992 BestWidth = CharWidth; in ActOnEnumBody()