/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 71 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 78 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 119 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
|
D | CGRecordLayoutBuilder.cpp | 296 while (AccessWidth > Types.getTarget().getCharWidth() && in MakeInfo() 309 assert(AccessWidth >= Types.getTarget().getCharWidth() in MakeInfo() 444 assert(fieldOffset % Types.getTarget().getCharWidth() == 0 in LayoutField()
|
D | CGExprConstant.cpp | 165 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() 1269 assert(StartOffset % CGM.getContext().getCharWidth() == 0 && in FillInNullDataMemberPointers()
|
D | CGObjCGNU.cpp | 1478 CGM.getContext().getCharWidth())); in GenerateClassStructure() 2376 CGM.getContext().getCharWidth())); in ModuleInitFunction()
|
D | CGObjCMac.cpp | 1800 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()
|
D | CodeGenModule.cpp | 597 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
|
D | CGExprScalar.cpp | 1534 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 185 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/ |
D | LiteralSupport.cpp | 33 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()
|
D | PPExpressions.cpp | 285 NumBits = TI.getCharWidth(); in EvaluateValue()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 229 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 125 : 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()
|
D | ASTContext.cpp | 1063 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()
|
D | Expr.cpp | 627 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
|
D | ExprConstant.cpp | 1514 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in ExtractStringLiteralCharacter()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 1134 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
|
D | RegionStore.cpp | 566 Length = ExtentInt.getLimitedValue() * Ctx.getCharWidth(); in removeSubRegionBindings()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1449 uint64_t getCharWidth() const { in getCharWidth() function
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1344 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew() 1345 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
|
D | SemaDeclAttr.cpp | 3246 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
|
D | SemaChecking.cpp | 3133 if (Context.getTypeSize(PointeeTy) == Context.getCharWidth()) in CheckMemaccessArguments()
|
D | SemaDecl.cpp | 10809 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 4245 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
|
D | RewriteModernObjC.cpp | 4928 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
|