Searched refs:toBits (Results 1 – 17 of 17) sorted by relevance
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 769 void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); } in setSize() 780 void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); } in setDataSize() 1413 FieldOffset = llvm::alignTo(getDataSizeInBits(), Context.toBits(TypeAlign)); in LayoutWideBitField() 1426 Context.toBits(TypeAlign), FieldPacked, D); in LayoutWideBitField() 1561 unsigned MaxFieldAlignmentInBits = Context.toBits(MaxFieldAlignment); in LayoutBitField() 1782 updateExternalFieldOffset(D, Context.toBits(FieldOffset))); in LayoutField() 1801 FieldOffsets.push_back(Context.toBits(FieldOffset)); in LayoutField() 1804 CheckFieldPadding(Context.toBits(FieldOffset), UnpaddedFieldOffset, in LayoutField() 1805 Context.toBits(UnpackedFieldOffset), in LayoutField() 1806 Context.toBits(UnpackedFieldAlign), FieldPacked, D); in LayoutField() [all …]
|
D | ASTContext.cpp | 1424 unsigned FieldAlign = toBits(Layout.getAlignment()); in getDeclAlign() 1742 Width = toBits(Layout.getSize()); in getTypeInfoImpl() 1743 Align = toBits(Layout.getAlignment()); in getTypeInfoImpl() 1770 Width = toBits(Layout.getSize()); in getTypeInfoImpl() 1771 Align = toBits(Layout.getAlignment()); in getTypeInfoImpl() 1863 int64_t ASTContext::toBits(CharUnits CharSize) const { in toBits() function in ASTContext 5984 uint64_t offs = toBits(layout.getBaseClassOffset(base)); in getObjCEncodingForStructureImpl() 6004 uint64_t offs = toBits(layout.getVBaseClassOffset(base)); in getObjCEncodingForStructureImpl() 6005 if (offs >= uint64_t(toBits(layout.getNonVirtualSize())) && in getObjCEncodingForStructureImpl() 6042 uint64_t offs = toBits(size); in getObjCEncodingForStructureImpl() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 140 (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()
|
D | CGAtomic.cpp | 79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment()); in AtomicInfo() 80 AtomicSizeInBits = C.toBits( in AtomicInfo() 129 AtomicSizeInBits, C.toBits(lvalue.getAlignment())); in AtomicInfo() 643 int64_t SizeInBits = CGF.getContext().toBits(SizeInChars); in AddDirectArgument() 671 getContext().toBits(sizeChars) > MaxInlineWidthInBits); in EmitAtomicExpr() 974 getContext().toBits(sizeChars), /*Signed=*/false); in EmitAtomicExpr()
|
D | CGObjCRuntime.cpp | 135 CGF.CGM.getContext().toBits(StorageSize), in EmitValueForIvarAtOffset()
|
D | CGExprConstant.cpp | 161 uint64_t NextFieldOffsetInBits = Context.toBits(NextFieldOffsetInChars); in AppendBitField() 186 NextFieldOffsetInBits = Context.toBits(NextFieldOffsetInChars); in AppendBitField() 472 uint64_t OffsetBits = CGM.getContext().toBits(Offset); in Build()
|
D | SwiftCallingConv.cpp | 493 CGM.getContext().toBits(unitSize)); in finish()
|
D | CGDebugInfo.cpp | 972 CGM.getContext().toBits(BitFieldInfo.StorageOffset); in createBitFieldType() 1377 BaseOffset = CGM.getContext().toBits(RL.getBaseClassOffset(Base)); in CollectCXXBases() 3103 FieldAlign = CGM.getContext().toBits(Align); in EmitTypeForVarWithBlocksAttr() 3474 CGM.getContext().toBits(block.BlockSize), in EmitDeclareOfBlockLiteralArgVariable() 3475 CGM.getContext().toBits(block.BlockAlign), 0, nullptr, fieldsArray); in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGObjC.cpp | 900 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize()); in generateObjCGetterBody() 1182 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
|
D | CGClass.cpp | 1046 FirstByteOffset = CGF.getContext().toBits(BFInfo.StorageOffset); in emitMemcpy()
|
D | TargetInfo.cpp | 2574 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base)); in classify() 2809 unsigned BaseOffset = Context.toBits(Layout.getBaseClassOffset(Base)); in BitsContainNoUserData()
|
D | CGStmtOpenMP.cpp | 2903 Context.getTypeSize(X.getType()), Context.toBits(X.getAlignment()))) in emitOMPAtomicRMW()
|
/external/llvm/include/llvm/Support/ |
D | Dwarf.h | 680 uint8_t toBits() { return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; } in toBits() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.h | 569 uint8_t toBits() const { in toBits() function
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1825 int64_t toBits(CharUnits CharSize) const;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1359 Asm->EmitInt8(Desc.toBits()); in emitDebugPubSection()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1697 Asm->emitInt8(Desc.toBits()); in emitDebugPubSection()
|