Home
last modified time | relevance | path

Searched refs:CharWidth (Results 1 – 5 of 5) 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()
1153 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() local
1157 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); in CharLiteralParser()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp107 uint64_t CharWidth; member in __anon79d41fe00111::EmptySubobjectMap
144 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
170 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
/external/python/cpython2/Mac/Modules/qd/
D_Qdmodule.c5854 #ifndef CharWidth in Qd_CharWidth()
5855 PyMac_PRECHECK(CharWidth); in Qd_CharWidth()
5860 _rv = CharWidth(ch); in Qd_CharWidth()
/external/clang/lib/Sema/
DSemaDecl.cpp14802 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody() local
14867 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
14869 BestWidth = CharWidth; in ActOnEnumBody()
14895 if (Packed && NumPositiveBits <= CharWidth) { in ActOnEnumBody()
14898 BestWidth = CharWidth; in ActOnEnumBody()