Home
last modified time | relevance | path

Searched refs:getCharWidth (Results 1 – 23 of 23) sorted by relevance

/external/clang/include/clang/AST/
DRecordLayout.h193 Base->getASTContext().getCharWidth(); in getBaseClassOffsetInBits()
203 VBase->getASTContext().getCharWidth(); in getVBaseClassOffsetInBits()
DASTContext.h1277 uint64_t getCharWidth() const { in getCharWidth() function
/external/clang/lib/CodeGen/
DCGObjCRuntime.cpp71 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
78 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
119 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
DCGRecordLayoutBuilder.cpp294 while (AccessWidth > Types.getTarget().getCharWidth() && in MakeInfo()
307 assert(AccessWidth >= Types.getTarget().getCharWidth() in MakeInfo()
442 assert(fieldOffset % Types.getTarget().getCharWidth() == 0 in LayoutField()
DCGExprConstant.cpp165 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
1265 assert(StartOffset % CGM.getContext().getCharWidth() == 0 && in FillInNullDataMemberPointers()
DCGObjCGNU.cpp1416 CGM.getContext().getCharWidth())); in GenerateClassStructure()
2314 CGM.getContext().getCharWidth())); in ModuleInitFunction()
DCGExprScalar.cpp1531 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
1558 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
DCGObjCMac.cpp1800 unsigned ByteSizeInBits = CGM.getContext().getTargetInfo().getCharWidth(); in BuildGCBlockLayout()
3841 unsigned ByteSizeInBits = CGM.getContext().getTargetInfo().getCharWidth(); in BuildAggrIvarLayout()
5101 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
DCodeGenModule.cpp539 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp185 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof()
448 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros()
451 DefineTypeSize("__SCHAR_MAX__", TI.getCharWidth(), "", true, Builder); in InitializePredefinedMacros()
508 Builder.defineMacro("__INT" + Twine(TI.getCharWidth()) + "_TYPE__", in InitializePredefinedMacros()
511 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros()
/external/clang/lib/Lex/
DLiteralSupport.cpp33 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { in getCharWidth() function
39 return Target.getCharWidth(); in getCharWidth()
831 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
917 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
1094 CharByteWidth = getCharWidth(Kind, Target); in init()
DPPExpressions.cpp285 NumBits = TI.getCharWidth(); in EvaluateValue()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp124 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
769 assert(Size % Context.getCharWidth() == 0); in getSize()
780 assert(DataSize % Context.getCharWidth() == 0); in getDataSize()
2017 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout()
2097 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
DASTContext.cpp723 unsigned Align = Target->getCharWidth(); in getDeclAlign()
904 Width = Target->getCharWidth(); in getTypeInfoImpl()
1132 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
1137 return CharSize.getQuantity() * getCharWidth(); in toBits()
DExpr.cpp586 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
DExprConstant.cpp1506 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in ExtractStringLiteralCharacter()
/external/clang/include/clang/Basic/
DTargetInfo.h199 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function
/external/clang/lib/Sema/
DSemaExprCXX.cpp1293 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew()
1294 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
DSemaDeclAttr.cpp2703 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
DSemaChecking.cpp2734 if (Context.getTypeSize(PointeeTy) == Context.getCharWidth()) in CheckMemaccessArguments()
DSemaDecl.cpp10177 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp4234 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
DRewriteModernObjC.cpp4707 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()