Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateBaselinePad()
178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad()
223 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align); in calculateOptimalPad()
234 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp147 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset()
765 return Context.toCharUnitsFromBits(Size); in getSize()
776 return Context.toCharUnitsFromBits(DataSize); in getDataSize()
1021 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1023 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1252 MaxFieldAlignment = Context.toCharUnitsFromBits(MFAA->getAlignment()); in InitializeLayout()
1255 UpdateAlignment(Context.toCharUnitsFromBits(MaxAlign)); in InitializeLayout()
1268 Alignment = Context.toCharUnitsFromBits(External.Align); in InitializeLayout()
1294 NonVirtualSize = Context.toCharUnitsFromBits( in Layout()
1700 UpdateAlignment(Context.toCharUnitsFromBits(FieldAlign), in LayoutBitField()
[all …]
DItaniumCXXABI.cpp132 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DASTContext.cpp1441 return toCharUnitsFromBits(Align); in getDeclAlign()
1490 return std::make_pair(toCharUnitsFromBits(Info.Width), in getTypeInfoInChars()
1491 toCharUnitsFromBits(Info.Align)); in getTypeInfoInChars()
1858 CharUnits ASTContext::toCharUnitsFromBits(int64_t BitSize) const { in toCharUnitsFromBits() function in ASTContext
1879 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
1882 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
1934 return toCharUnitsFromBits(getAlignOfGlobalVar(T)); in getAlignOfGlobalVarInChars()
DExprConstant.cpp2022 LVal.Offset += Info.Ctx.toCharUnitsFromBits(RL->getFieldOffset(I)); in HandleLValueMember()
5217 return Info.Ctx.toCharUnitsFromBits( in GetAlignOfType()
7080 if (Size <= Info.Ctx.toCharUnitsFromBits(InlineWidthBits)) { in VisitCallExpr()
7900 Info.Ctx.toCharUnitsFromBits( in VisitUnaryExprOrTypeTraitExpr()
7942 Result += Info.Ctx.toCharUnitsFromBits(RL.getFieldOffset(i)); in VisitOffsetOfExpr()
DMicrosoftMangle.cpp641 CharUnits PointerWidth = getASTContext().toCharUnitsFromBits( in mangleVirtualMemPtrThunk()
DVTableBuilder.cpp667 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/external/bcc/src/cc/
Djson_map_decl_visitor.cc133 CharUnits Offset = C.toCharUnitsFromBits(Layout.getFieldOffset(0)); in VisitRecordDecl()
137 CharUnits FieldOffset = C.toCharUnitsFromBits(FieldOffsetBits); in VisitRecordDecl()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp153 begin + CGM.getContext().toCharUnitsFromBits(fieldOffsetInBits)); in addTypedData()
178 CharUnits bitfieldByteBegin = ctx.toCharUnitsFromBits(bitfieldBitBegin); in addBitFieldData()
185 ctx.toCharUnitsFromBits(bitfieldBitLast) + CharUnits::One(); in addBitFieldData()
597 return CGM.getContext().toCharUnitsFromBits( in getMaximumVoluntaryIntegerSize()
DCGObjCRuntime.cpp123 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset()
125 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits); in EmitValueForIvarAtOffset()
DCGAtomic.cpp69 AtomicAlign = C.toCharUnitsFromBits(AtomicAlignInBits); in AtomicInfo()
70 ValueAlign = C.toCharUnitsFromBits(ValueAlignInBits); in AtomicInfo()
81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo()
85 (C.toCharUnitsFromBits(OrigBFI.Offset) / lvalue.getAlignment()) * in AtomicInfo()
105 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo()
172 CharUnits size = CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits); in getAtomicSizeValue()
352 CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits).getQuantity(), in emitMemSetZeroIfNecessary()
DCGClass.cpp873 Context.toCharUnitsFromBits(Info.getFieldOffset(i)).getQuantity(); in EmitAsanPrologueOrEpilogue()
1028 CGF.getContext().toCharUnitsFromBits(MemcpySizeBits); in getMemcpySize()
1754 Context.toCharUnitsFromBits(Layout.getFieldOffset(layoutStartOffset)) in PoisonMembers()
1764 Context.toCharUnitsFromBits( in PoisonMembers()
1768 PoisonSize = Context.toCharUnitsFromBits( in PoisonMembers()
1796 Context.toCharUnitsFromBits(CGF.PointerWidthInBits).getQuantity(); in Emit()
DCGExprConstant.cpp99 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField()
164 CharUnits PadSize = Context.toCharUnitsFromBits( in AppendBitField()
1501 CharUnits chars = getContext().toCharUnitsFromBits((int64_t) fieldOffset); in getMemberPointerConstant()
DCGDebugInfo.cpp1434 CGM.getContext().toCharUnitsFromBits((int64_t)fieldOffset); in CollectTemplateParams()
3085 if (Align > CGM.getContext().toCharUnitsFromBits( in EmitTypeForVarWithBlocksAttr()
3088 CGM.getContext().toCharUnitsFromBits(FieldOffset); in EmitTypeForVarWithBlocksAttr()
3176 offset = CGM.getContext().toCharUnitsFromBits( in EmitDeclare()
3182 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclare()
3308 CGM.getContext().toCharUnitsFromBits(target.getPointerSizeInBits(0)); in EmitDeclareOfBlockDeclRefVariable()
3313 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclareOfBlockDeclRefVariable()
DCGRecordLayoutBuilder.cpp147 return Context.toCharUnitsFromBits(BitOffset); in bitsToCharUnits()
DItaniumCXXABI.cpp159 return CGM.getContext().toCharUnitsFromBits(Align); in getAlignmentOfExnObject()
798 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer()
856 getContext().toCharUnitsFromBits(getContext().getFieldOffset(MPD)); in EmitMemberPointer()
1479 VTable->setAlignment(getContext().toCharUnitsFromBits(PAlign).getQuantity()); in emitVTableDefinitions()
DCGVTables.cpp946 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
DCodeGenModule.cpp104 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
106 C.toCharUnitsFromBits(C.getTargetInfo().getIntAlign()).getQuantity(); in CodeGenModule()
2302 return Context.toCharUnitsFromBits( in GetTargetTypeStoreSize()
DCGExprAgg.cpp1372 NumNonZeroBytes += CGF.getContext().toCharUnitsFromBits( in GetNumNonZeroBytesInInit()
DCodeGenFunction.cpp114 return getContext().toCharUnitsFromBits(Align); in getNaturalTypeAlignment()
DMicrosoftCXXABI.cpp1513 ? getContext().toCharUnitsFromBits( in emitVTableTypeMetadata()
2629 CharUnits FieldOffset = Ctx.toCharUnitsFromBits(Ctx.getFieldOffset(MPD)); in EmitMemberPointer()
DCGObjCMac.cpp2217 CGM.getContext().toCharUnitsFromBits(RL.getFieldOffset(i)); in BuildRCRecordLayout()
4750 return CGM.getContext().toCharUnitsFromBits(offsetInBits); in visitRecord()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp665 CharUnits Result = Context.toCharUnitsFromBits(RL.getFieldOffset(i)); in LookupInlineAsmField()
DSemaDeclAttr.cpp3270 Context.toCharUnitsFromBits(Context.getTargetInfo().getMaxTLSAlign()) in AddAlignedAttr()
3326 CharUnits RequestedAlign = Context.toCharUnitsFromBits(Align); in CheckAlignasUnderalignment()
/external/clang/include/clang/AST/
DASTContext.h1822 CharUnits toCharUnitsFromBits(int64_t BitSize) const;

12