Home
last modified time | relevance | path

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

/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.cpp296 while (AccessWidth > Types.getTarget().getCharWidth() && in MakeInfo()
309 assert(AccessWidth >= Types.getTarget().getCharWidth() in MakeInfo()
444 assert(fieldOffset % Types.getTarget().getCharWidth() == 0 in LayoutField()
DCGExprConstant.cpp165 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
1269 assert(StartOffset % CGM.getContext().getCharWidth() == 0 && in FillInNullDataMemberPointers()
DCGObjCGNU.cpp1478 CGM.getContext().getCharWidth())); in GenerateClassStructure()
2376 CGM.getContext().getCharWidth())); in ModuleInitFunction()
DCGObjCMac.cpp1800 unsigned ByteSizeInBits = CGM.getContext().getTargetInfo().getCharWidth(); in BuildGCBlockLayout()
3853 unsigned ByteSizeInBits = CGM.getContext().getTargetInfo().getCharWidth(); in BuildAggrIvarLayout()
5115 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
DCodeGenModule.cpp597 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
DCGExprScalar.cpp1534 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp185 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof()
467 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros()
470 DefineTypeSize("__SCHAR_MAX__", TI.getCharWidth(), "", true, Builder); in InitializePredefinedMacros()
530 Builder.defineMacro("__INT" + Twine(TI.getCharWidth()) + "_TYPE__", in InitializePredefinedMacros()
533 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()
896 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
982 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
1156 CharByteWidth = getCharWidth(Kind, Target); in init()
DPPExpressions.cpp285 NumBits = TI.getCharWidth(); in EvaluateValue()
/external/clang/include/clang/Basic/
DTargetInfo.h229 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp125 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
773 assert(Size % Context.getCharWidth() == 0); in getSize()
784 assert(DataSize % Context.getCharWidth() == 0); in getDataSize()
2202 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout()
2296 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
DASTContext.cpp1063 unsigned Align = Target->getCharWidth(); in getDeclAlign()
1269 Width = Target->getCharWidth(); in getTypeInfoImpl()
1497 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
1502 return CharSize.getQuantity() * getCharWidth(); in toBits()
DExpr.cpp627 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
DExprConstant.cpp1514 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in ExtractStringLiteralCharacter()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp1134 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
DRegionStore.cpp566 Length = ExtentInt.getLimitedValue() * Ctx.getCharWidth(); in removeSubRegionBindings()
/external/clang/include/clang/AST/
DASTContext.h1449 uint64_t getCharWidth() const { in getCharWidth() function
/external/clang/lib/Sema/
DSemaExprCXX.cpp1344 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew()
1345 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
DSemaDeclAttr.cpp3246 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
DSemaChecking.cpp3133 if (Context.getTypeSize(PointeeTy) == Context.getCharWidth()) in CheckMemaccessArguments()
DSemaDecl.cpp10809 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp4245 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
DRewriteModernObjC.cpp4928 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()