Home
last modified time | relevance | path

Searched refs:toCharUnitsFromBits (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp102 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset()
774 return Context.toCharUnitsFromBits(Size); in getSize()
785 return Context.toCharUnitsFromBits(DataSize); in getDataSize()
1047 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1049 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1095 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1097 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1599 MaxFieldAlignment = Context.toCharUnitsFromBits(MFAA->getAlignment()); in InitializeLayout()
1602 UpdateAlignment(Context.toCharUnitsFromBits(MaxAlign)); in InitializeLayout()
1618 Alignment = Context.toCharUnitsFromBits(ExternalAlign); in InitializeLayout()
[all …]
DItaniumCXXABI.cpp56 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DMicrosoftCXXABI.cpp48 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DASTContext.cpp1144 return toCharUnitsFromBits(Align); in getDeclAlign()
1171 return std::make_pair(toCharUnitsFromBits(Info.first), in getTypeInfoInChars()
1172 toCharUnitsFromBits(Info.second)); in getTypeInfoInChars()
1496 CharUnits ASTContext::toCharUnitsFromBits(int64_t BitSize) const { in toCharUnitsFromBits() function in ASTContext
1508 return toCharUnitsFromBits(getTypeSize(T)); in getTypeSizeInChars()
1511 return toCharUnitsFromBits(getTypeSize(T)); in getTypeSizeInChars()
1517 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
1520 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
DExprConstant.cpp1346 LVal.Offset += Info.Ctx.toCharUnitsFromBits(RL->getFieldOffset(I)); in HandleLValueMember()
4361 if (Size <= Info.Ctx.toCharUnitsFromBits(InlineWidthBits)) { in VisitCallExpr()
5150 return Info.Ctx.toCharUnitsFromBits( in GetAlignOfType()
5249 Result += Info.Ctx.toCharUnitsFromBits(RL.getFieldOffset(i)); in VisitOffsetOfExpr()
DVTableBuilder.cpp669 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp338 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits( in MakeInfo()
341 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits(AccessStart); in MakeInfo()
345 AI.AccessAlignment = Types.getContext().toCharUnitsFromBits( in MakeInfo()
387 Types.getContext().toCharUnitsFromBits(fieldOffset); in LayoutBitField()
399 numBytesToAppend = Types.getContext().toCharUnitsFromBits( in LayoutBitField()
407 AppendPadding(Types.getContext().toCharUnitsFromBits(fieldOffset), in LayoutBitField()
410 numBytesToAppend = Types.getContext().toCharUnitsFromBits( in LayoutBitField()
447 = Types.getContext().toCharUnitsFromBits(fieldOffset); in LayoutField()
508 CharUnits NumBytesToAppend = Types.getContext().toCharUnitsFromBits( in LayoutUnionField()
DCGExprConstant.cpp113 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField()
169 CharUnits PadSize = Context.toCharUnitsFromBits( in AppendBitField()
1261 CharUnits chars = getContext().toCharUnitsFromBits((int64_t) fieldOffset); in getMemberPointerConstant()
1330 CharUnits StartIndex = CGM.getContext().toCharUnitsFromBits(StartOffset); in FillInNullDataMemberPointers()
DCGObjCRuntime.cpp124 CGF.CGM.getContext().toCharUnitsFromBits(ContainingTypeAlign); in EmitValueForIvarAtOffset()
DCGDebugInfo.cpp2220 if (Align > CGM.getContext().toCharUnitsFromBits( in EmitTypeForVarWithBlocksAttr()
2223 = CGM.getContext().toCharUnitsFromBits(FieldOffset); in EmitTypeForVarWithBlocksAttr()
2308 offset = CGM.getContext().toCharUnitsFromBits( in EmitDeclare()
2314 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclare()
2437 .toCharUnitsFromBits(target.getPointerSizeInBits()); in EmitDeclareOfBlockDeclRefVariable()
2442 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclareOfBlockDeclRefVariable()
DItaniumCXXABI.cpp486 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer()
558 getContext().toCharUnitsFromBits(getContext().getFieldOffset(MPD)); in EmitMemberPointer()
DCodeGenModule.cpp92 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
1422 return Context.toCharUnitsFromBits( in GetTargetTypeStoreSize()
DCGExprAgg.cpp1184 NumNonZeroBytes += CGF.getContext().toCharUnitsFromBits( in GetNumNonZeroBytesInInit()
DCGDecl.cpp866 getContext().toCharUnitsFromBits(Target.getPointerAlign(0))); in EmitAutoVarAlloca()
DCGBlocks.cpp1874 if (Align > getContext().toCharUnitsFromBits(Target.getPointerAlign(0))) { in BuildByRefType()
/external/clang/include/clang/AST/
DASTContext.h1454 CharUnits toCharUnitsFromBits(int64_t BitSize) const;