Home
last modified time | relevance | path

Searched refs:toBits (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp769 void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); } in setSize()
780 void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); } in setDataSize()
1415 Context.toBits(TypeAlign)); in LayoutWideBitField()
1428 Context.toBits(TypeAlign), FieldPacked, D); in LayoutWideBitField()
1563 unsigned MaxFieldAlignmentInBits = Context.toBits(MaxFieldAlignment); in LayoutBitField()
1768 updateExternalFieldOffset(D, Context.toBits(FieldOffset))); in LayoutField()
1787 FieldOffsets.push_back(Context.toBits(FieldOffset)); in LayoutField()
1790 CheckFieldPadding(Context.toBits(FieldOffset), UnpaddedFieldOffset, in LayoutField()
1791 Context.toBits(UnpackedFieldOffset), in LayoutField()
1792 Context.toBits(UnpackedFieldAlign), FieldPacked, D); in LayoutField()
[all …]
DASTContext.cpp1429 unsigned FieldAlign = toBits(Layout.getAlignment()); in getDeclAlign()
1751 Width = toBits(Layout.getSize()); in getTypeInfoImpl()
1752 Align = toBits(Layout.getAlignment()); in getTypeInfoImpl()
1779 Width = toBits(Layout.getSize()); in getTypeInfoImpl()
1780 Align = toBits(Layout.getAlignment()); in getTypeInfoImpl()
1865 int64_t ASTContext::toBits(CharUnits CharSize) const { in toBits() function in ASTContext
5887 uint64_t offs = toBits(layout.getBaseClassOffset(base)); in getObjCEncodingForStructureImpl()
5907 uint64_t offs = toBits(layout.getVBaseClassOffset(base)); in getObjCEncodingForStructureImpl()
5908 if (offs >= uint64_t(toBits(layout.getNonVirtualSize())) && in getObjCEncodingForStructureImpl()
5945 uint64_t offs = toBits(size); in getObjCEncodingForStructureImpl()
[all …]
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp140 (unsigned)Context.toBits(getSize(Type)))); in getStorageType()
228 Info.Offset = (unsigned)(getFieldBitOffset(FD) - Context.toBits(StartOffset)); in setBitFieldInfo()
598 Members.back().Data = getIntNType(Context.toBits(Alignment)); in determinePacked()
657 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes); in MakeInfo()
739 uint64_t TypeSizeInBits = getContext().toBits(Layout.getSize()); in ComputeRecordLayout()
747 getContext().toBits(NonVirtualSize); in ComputeRecordLayout()
DCGAtomic.cpp79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment()); in AtomicInfo()
80 AtomicSizeInBits = C.toBits( in AtomicInfo()
129 AtomicSizeInBits, C.toBits(lvalue.getAlignment())); in AtomicInfo()
655 int64_t SizeInBits = CGF.getContext().toBits(SizeInChars); in AddDirectArgument()
683 getContext().toBits(sizeChars) > MaxInlineWidthInBits); in EmitAtomicExpr()
986 getContext().toBits(sizeChars), /*Signed=*/false); in EmitAtomicExpr()
DCGObjCRuntime.cpp136 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
DCGExprConstant.cpp161 uint64_t NextFieldOffsetInBits = Context.toBits(NextFieldOffsetInChars); in AppendBitField()
186 NextFieldOffsetInBits = Context.toBits(NextFieldOffsetInChars); in AppendBitField()
465 uint64_t OffsetBits = CGM.getContext().toBits(Offset); in Build()
DCGDebugInfo.cpp1267 BaseOffset = CGM.getContext().toBits(RL.getBaseClassOffset(Base)); in CollectCXXBases()
2906 FieldAlign = CGM.getContext().toBits(Align); in EmitTypeForVarWithBlocksAttr()
3268 CGM.getContext().toBits(block.BlockSize), in EmitDeclareOfBlockLiteralArgVariable()
3269 CGM.getContext().toBits(block.BlockAlign), 0, nullptr, fieldsArray); in EmitDeclareOfBlockLiteralArgVariable()
DCGObjC.cpp906 getContext().toBits(strategy.getIvarSize())); in generateObjCGetterBody()
1184 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
DCGClass.cpp1045 FirstByteOffset = CGF.getContext().toBits(BFInfo.StorageOffset); in emitMemcpy()
DCGStmtOpenMP.cpp2212 Context.getTypeSize(X.getType()), Context.toBits(X.getAlignment()))) in emitOMPAtomicRMW()
DTargetInfo.cpp2353 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base)); in classify()
2588 unsigned BaseOffset = Context.toBits(Layout.getBaseClassOffset(Base)); in BitsContainNoUserData()
/external/llvm/include/llvm/Support/
DDwarf.h685 uint8_t toBits() { return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; } in toBits() function
/external/clang/include/clang/AST/
DASTContext.h1800 int64_t toBits(CharUnits CharSize) const;
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1455 Asm->EmitInt8(Desc.toBits()); in emitDebugPubSection()