Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprConstant.cpp144 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() local
201 Tmp = Tmp.zext(CharWidth); in AppendBitField()
206 Tmp = Tmp.shl(CharWidth - BitsInPreviousByte); in AppendBitField()
225 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField()
237 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField()
248 while (FieldValue.getBitWidth() > CharWidth) { in AppendBitField()
254 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); in AppendBitField()
257 Tmp = FieldValue.trunc(CharWidth); in AppendBitField()
259 FieldValue = FieldValue.lshr(CharWidth); in AppendBitField()
265 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); in AppendBitField()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp80 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape() argument
152 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
154 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
180 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
184 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
1145 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() local
1149 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); in CharLiteralParser()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp62 uint64_t CharWidth; member in __anon3287a19b0111::EmptySubobjectMap
99 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
125 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
/external/clang/lib/Sema/
DSemaDecl.cpp13120 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody() local
13181 BestWidth = CharWidth; in ActOnEnumBody()
13187 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
13189 BestWidth = CharWidth; in ActOnEnumBody()
13215 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()
13218 BestWidth = CharWidth; in ActOnEnumBody()