Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprConstant.cpp153 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() local
210 Tmp = Tmp.zext(CharWidth); in AppendBitField()
215 Tmp = Tmp.shl(CharWidth - BitsInPreviousByte); in AppendBitField()
234 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField()
246 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField()
257 while (FieldValue.getBitWidth() > CharWidth) { in AppendBitField()
263 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); in AppendBitField()
266 Tmp = FieldValue.trunc(CharWidth); in AppendBitField()
268 FieldValue = FieldValue.lshr(CharWidth); in AppendBitField()
274 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); in AppendBitField()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp81 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape() argument
154 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
156 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
182 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { in ProcessCharEscape()
186 ResultChar &= ~0U >> (32-CharWidth); in ProcessCharEscape()
1143 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() local
1147 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); in CharLiteralParser()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp108 uint64_t CharWidth; member in __anon07e898d70111::EmptySubobjectMap
145 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
/external/clang/lib/Sema/
DSemaDecl.cpp13737 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody() local
13802 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
13804 BestWidth = CharWidth; in ActOnEnumBody()
13830 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()
13833 BestWidth = CharWidth; in ActOnEnumBody()