Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprConstant.cpp160 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() local
217 Tmp = Tmp.zext(CharWidth); in AppendBitField()
222 Tmp = Tmp.shl(CharWidth - BitsInPreviousByte); in AppendBitField()
241 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField()
253 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField()
264 while (FieldValue.getBitWidth() > CharWidth) { in AppendBitField()
270 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); in AppendBitField()
273 Tmp = FieldValue.trunc(CharWidth); in AppendBitField()
275 FieldValue = FieldValue.lshr(CharWidth); in AppendBitField()
281 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()
1139 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() local
1143 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); in CharLiteralParser()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp107 uint64_t CharWidth; member in __anona8ed42180111::EmptySubobjectMap
144 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
170 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
/external/clang/lib/Sema/
DSemaDecl.cpp14345 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody() local
14410 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
14412 BestWidth = CharWidth; in ActOnEnumBody()
14438 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()
14441 BestWidth = CharWidth; in ActOnEnumBody()