/external/clang/include/clang/AST/ |
D | RecordLayout.h | 193 Base->getASTContext().getCharWidth(); in getBaseClassOffsetInBits() 203 VBase->getASTContext().getCharWidth(); in getVBaseClassOffsetInBits()
|
D | ASTContext.h | 1277 uint64_t getCharWidth() const { in getCharWidth() function
|
/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 | 294 while (AccessWidth > Types.getTarget().getCharWidth() && in MakeInfo() 307 assert(AccessWidth >= Types.getTarget().getCharWidth() in MakeInfo() 442 assert(fieldOffset % Types.getTarget().getCharWidth() == 0 in LayoutField()
|
D | CGExprConstant.cpp | 165 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField() 1265 assert(StartOffset % CGM.getContext().getCharWidth() == 0 && in FillInNullDataMemberPointers()
|
D | CGObjCGNU.cpp | 1416 CGM.getContext().getCharWidth())); in GenerateClassStructure() 2314 CGM.getContext().getCharWidth())); in ModuleInitFunction()
|
D | CGExprScalar.cpp | 1531 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr() 1558 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
|
D | CGObjCMac.cpp | 1800 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()
|
D | CodeGenModule.cpp | 539 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 185 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/ |
D | LiteralSupport.cpp | 33 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()
|
D | PPExpressions.cpp | 285 NumBits = TI.getCharWidth(); in EvaluateValue()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 124 : 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()
|
D | ASTContext.cpp | 723 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()
|
D | Expr.cpp | 586 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
|
D | ExprConstant.cpp | 1506 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in ExtractStringLiteralCharacter()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 199 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1293 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew() 1294 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
|
D | SemaDeclAttr.cpp | 2703 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
|
D | SemaChecking.cpp | 2734 if (Context.getTypeSize(PointeeTy) == Context.getCharWidth()) in CheckMemaccessArguments()
|
D | SemaDecl.cpp | 10177 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in ActOnEnumBody()
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 4234 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
|
D | RewriteModernObjC.cpp | 4707 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
|