Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 25 of 165) sorted by relevance

1234567

/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DPrettyClassDefinitionDumper.cpp34 ClassLayout Layout(Class); in start() local
35 start(Layout); in start()
39 prettyPrintClassIntro(Layout); in start()
42 DumpedAnything |= Dumper.start(Layout); in start()
44 prettyPrintClassOutro(Layout); in start()
51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro()
54 if (Layout.getClass().isConstType()) in prettyPrintClassIntro()
56 if (Layout.getClass().isVolatileType()) in prettyPrintClassIntro()
58 if (Layout.getClass().isUnalignedType()) in prettyPrintClassIntro()
69 for (auto BC : Layout.bases()) { in prettyPrintClassIntro()
[all …]
H A DPrettyClassLayoutGraphicalDumper.cpp39 for (auto &Other : Layout.other_items()) in start()
41 for (auto &Func : Layout.funcs()) in start()
45 const BitVector &UseMap = Layout.usedBytes(); in start()
48 for (auto &Item : Layout.layout_items()) { in start()
85 auto TailPadding = Layout.tailPadding(); in start()
87 if (TailPadding != 1 || Layout.getSize() != 1) { in start()
116 if (Layout.isVirtualBase()) { in dump()
123 uint32_t Size = Layout.isEmptyBase() ? 1 : Layout.getLayoutSize(); in dump()
136 DumpedAnything |= BaseDumper.start(Layout); in dump()
155 DataMemberLayoutItem &Layout = in dump() local
[all …]
H A DBytesOutputStyle.cpp204 auto Layout = File.getStreamLayout(StreamPDB); in dumpNameMap() local
234 auto Layout = File.getStreamLayout(StreamDBI); in dumpSectionContributions() local
245 auto Layout = File.getStreamLayout(StreamDBI); in dumpSectionMap() local
256 auto Layout = File.getStreamLayout(StreamDBI); in dumpModuleInfos() local
267 auto Layout = File.getStreamLayout(StreamDBI); in dumpFileInfo() local
278 auto Layout = File.getStreamLayout(StreamDBI); in dumpTypeServerMap() local
289 auto Layout = File.getStreamLayout(StreamDBI); in dumpECData() local
308 auto Layout = File.getStreamLayout(StreamIdx); in dumpTypeIndex() local
352 auto Layout = File.getStreamLayout(ModiStream); in iterateOneModule() local
353 Callback(I, ModStream, Layout); in iterateOneModule()
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleDescriptorBuilder.cpp44 ::memset(&Layout, 0, sizeof(Layout)); in DbiModuleDescriptorBuilder()
45 Layout.Mod = ModIndex; in DbiModuleDescriptorBuilder()
51 return Layout.ModDiStream; in getStreamIndex()
64 Layout.SC = SC; in setFirstSectionContrib()
100 uint32_t L = sizeof(Layout); in calculateSerializedLength()
107 Layout.SC.Imod = Layout.Mod; in finalize()
110 Layout.C11Bytes = 0; in finalize()
114 Layout.NumFiles = SourceFiles.size(); in finalize()
115 Layout.PdbFilePathNI = PdbFilePathNI; in finalize()
116 Layout.SrcFileNameNI = 0; in finalize()
[all …]
H A DDbiModuleDescriptor.cpp32 if (auto EC = Reader.readObject(Info.Layout)) in initialize()
44 return (Layout->Flags & ModInfoFlags::HasECFlagMask) != 0; in hasECInfo()
48 return (Layout->Flags & ModInfoFlags::TypeServerIndexMask) >> in getTypeServerIndex()
53 return Layout->SC; in getSectionContrib()
57 return Layout->ModDiStream; in getModuleStreamIndex()
61 return Layout->SymBytes; in getSymbolDebugInfoByteSize()
65 return Layout->C11Bytes; in getC11LineInfoByteSize()
69 return Layout->C13Bytes; in getC13LineInfoByteSize()
73 return Layout->NumFiles; in getNumberOfFiles()
77 return Layout->SrcFileNameNI; in getSourceFileNameIndex()
[all …]
H A DPDBFileBuilder.cpp232 Layout, MsfBuffer, SN, Allocator); in commitSrcHeaderBlock()
251 commitSrcHeaderBlock(MsfBuffer, Layout); in commitInjectedSources()
257 Layout, MsfBuffer, SN, Allocator); in commitInjectedSources()
270 MSFLayout Layout; in commit() local
272 Msf->commit(Filename, Layout); in commit()
282 Layout, Buffer, *ExpectedSN, Allocator); in commit()
292 Layout, Buffer, NSE.first, Allocator); in commit()
304 if (auto EC = Dbi->commit(Layout, Buffer)) in commit()
309 if (auto EC = Tpi->commit(Layout, Buffer)) in commit()
314 if (auto EC = Ipi->commit(Layout, Buffer)) in commit()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCAssembler.cpp256 Value += Layout.getSymbolOffset(Sym); in evaluateFixup()
261 Value -= Layout.getSymbolOffset(Sym); in evaluateFixup()
709 writeFragment(OS, *this, Layout, F); in writeSectionData()
779 while (layoutOnce(Layout)) in layout()
788 finishLayout(Layout); in layout()
846 MCAsmLayout Layout(*this); in Finish() local
847 layout(Layout); in Finish()
889 if (!fragmentNeedsRelaxation(&F, Layout)) in relaxInstruction()
1052 relaxDwarfCallFrameFragment(Layout, in layoutSectionOnce()
1085 while (layoutSectionOnce(Layout, Sec)) in layoutOnce()
[all …]
H A DMCCodePadder.cpp185 MCAsmLayout &Layout) { in getMaxWindowSize() argument
190 MCPFRange &Jurisdiction = getJurisdiction(Fragment, Layout); in getMaxWindowSize()
209 MCAsmLayout &Layout) { in relaxFragment() argument
214 uint64_t MaxWindowSize = getMaxWindowSize(Fragment, Layout); in relaxFragment()
229 Layout.invalidateFragmentsFrom(Fragment); in relaxFragment()
242 [&Jurisdiction, &Offset, &Layout]( in relaxFragment()
260 Layout.invalidateFragmentsFrom(Fragment); in relaxFragment()
274 : Layout.getFragmentOffset(NextFragment); in getNextFragmentOffset()
290 uint64_t InstByte = getFragmentInstByte(Fragment, Layout); in computeWindowEndAddress()
303 computeWindowEndAddress(Fragment, Offset, Layout); in computeRangePenaltyWeight()
[all …]
H A DMCExpr.cpp453 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute()
457 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument
459 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute()
472 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
507 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
542 if (!Layout) in AttemptToFoldSymbolOffsetDifference()
552 Addend += Layout->getSymbolOffset(A->getSymbol()) - in AttemptToFoldSymbolOffsetDifference()
553 Layout->getSymbolOffset(B->getSymbol()); in AttemptToFoldSymbolOffsetDifference()
605 assert((!Layout || Asm) && in EvaluateSymbolicAdd()
650 MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr; in evaluateAsRelocatable()
[all …]
H A DMCLinkerOptimizationHint.cpp30 const MCAsmLayout &Layout) const { in emit_impl()
34 encodeULEB128(ObjWriter.getSymbolAddress(*Arg, Layout), OutStream); in emit_impl()
38 const MCAsmLayout &Layout) const { in emit()
40 emit_impl(OutStream, ObjWriter, Layout); in emit()
44 const MCAsmLayout &Layout) const { in getEmitSize()
58 emit_impl(OutStream, ObjWriter, Layout); in getEmitSize()
H A DMachObjectWriter.cpp83 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
116 Layout.getSymbolOffset(S); in getSymbolAddress()
123 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
637 StartAddress += getPaddingSize(Sec, Layout); in computeSectionAddresses()
643 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
748 Layout.getAssembler().getVersionInfo(); in writeObject()
807 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
937 Asm.writeSectionData(W.OS, &Sec, Layout); in writeObject()
939 uint64_t Pad = getPaddingSize(&Sec, Layout); in writeObject()
984 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp57 BlockSize, Layout, MsfData, Allocator); in createStream()
65 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
66 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream()
76 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream()
77 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
85 MSFStreamLayout SL(getFpmStreamLayout(Layout)); in createFpmStream()
323 BlockSize, Layout, MsfData, Allocator); in createStream()
333 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
334 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream()
343 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream()
[all …]
H A DMSFBuilder.cpp325 while (BI < Layout.SB->NumBlocks) { in commitFpm()
329 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm()
345 Layout = std::move(*L); in commit()
347 uint64_t FileSize = Layout.SB->BlockSize * Layout.SB->NumBlocks; in commit()
356 if (auto EC = Writer.writeObject(*Layout.SB)) in commit()
359 commitFpm(Buffer, Layout, Allocator); in commit()
362 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize); in commit()
364 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks)) in commit()
368 Layout, Buffer, Allocator); in commit()
373 if (auto EC = DW.writeArray(Layout.StreamSizes)) in commit()
[all …]
/freebsd-12.1/contrib/apr/
H A Dconfig.layout13 <Layout apr>
27 </Layout>
43 </Layout>
61 </Layout>
78 </Layout>
95 </Layout>
129 </Layout>
146 </Layout>
163 </Layout>
180 </Layout>
[all …]
/freebsd-12.1/contrib/apr-util/
H A Dconfig.layout27 </Layout>
43 </Layout>
61 </Layout>
78 </Layout>
95 </Layout>
129 </Layout>
146 </Layout>
163 </Layout>
180 </Layout>
197 </Layout>
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp30 const MCAsmLayout &Layout,
38 const MCAsmLayout &Layout,
46 const MCAsmLayout &Layout,
52 const MCAsmLayout &Layout,
197 Value += Writer->getSymbolAddress(*A, Layout) - in RecordX86_64Relocation()
199 Value -= Writer->getSymbolAddress(*B, Layout) - in RecordX86_64Relocation()
243 Value += Layout.getSymbolOffset(*Symbol) - in RecordX86_64Relocation()
244 Layout.getSymbolOffset(*RelSymbol); in RecordX86_64Relocation()
389 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
412 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp68 ASanStackFrameLayout Layout; in ComputeASanStackFrameLayout() local
69 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout()
80 assert(Layout.FrameAlignment >= Alignment); in ComputeASanStackFrameLayout()
93 Layout.FrameSize = Offset; in ComputeASanStackFrameLayout()
94 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
95 return Layout; in ComputeASanStackFrameLayout()
118 const ASanStackFrameLayout &Layout) { in GetShadowBytes() argument
122 const size_t Granularity = Layout.Granularity; in GetShadowBytes()
137 const ASanStackFrameLayout &Layout) { in GetShadowBytesAfterScope() argument
138 SmallVector<uint8_t, 64> SB = GetShadowBytes(Vars, Layout); in GetShadowBytesAfterScope()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCCodePadder.h58 MCPFRange &getJurisdiction(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
63 uint64_t getMaxWindowSize(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
122 bool relaxFragment(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
156 const MCAsmLayout &Layout);
166 MCAsmLayout &Layout) const;
168 uint64_t Offset, MCAsmLayout &Layout) const;
184 MCAsmLayout &Layout) const;
195 MCAsmLayout &Layout) const = 0;
237 MCAsmLayout &Layout) const;
H A DMCAssembler.h180 const MCAsmLayout &Layout) const;
184 const MCAsmLayout &Layout) const;
188 bool layoutOnce(MCAsmLayout &Layout);
192 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
198 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
201 bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
203 bool relaxCVInlineLineTable(MCAsmLayout &Layout,
208 void finishLayout(MCAsmLayout &Layout);
231 uint64_t computeFragmentSize(const MCAsmLayout &Layout,
246 const MCAsmLayout &Layout) const;
[all …]
H A DMCMachObjectWriter.h74 const MCAsmLayout &Layout,
153 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
156 const MCAsmLayout &Layout) const;
188 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
202 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
235 const MCAsmLayout &Layout,
240 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
244 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
257 const MCAsmLayout &Layout);
260 const MCAsmLayout &Layout) override;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp29 const MCAsmLayout &Layout,
35 const MCAsmLayout &Layout,
44 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
176 static uint32_t getFixupOffset(const MCAsmLayout &Layout, in getFixupOffset() argument
196 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); in recordScatteredRelocation()
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
226 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
329 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); in RecordPPCRelocation()
347 Res, Layout, Writer->getSectionAddressMap())) { in RecordPPCRelocation()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp33 const MCAsmLayout &Layout,
42 const MCAsmLayout &Layout,
57 const MCAsmLayout &Layout, const MCFragment *Fragment,
143 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation() argument
171 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation()
188 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation()
285 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredRelocation()
303 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredRelocation()
378 const MCAsmLayout &Layout, in recordRelocation() argument
441 Res, Layout, Writer->getSectionAddressMap())) { in recordRelocation()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DRecordLayoutBuilder.cpp195 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
219 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
461 ElementOffset += Layout.getSize(); in CanPlaceFieldSubobjectAtOffset()
678 void Layout(const RecordDecl *D);
679 void Layout(const CXXRecordDecl *D);
2372 const ASTRecordLayout &Layout) { in getAdjustedElementInfo() argument
3012 Builder.Layout(RD); in getASTRecordLayout()
3036 Builder.Layout(D); in getASTRecordLayout()
3188 Builder.Layout(D); in getObjCLayout()
3281 return Layout.getBaseClassOffset(L) < Layout.getBaseClassOffset(R); in DumpRecordLayout()
[all …]
H A DOSLog.cpp135 void computeLayout(ASTContext &Ctx, OSLogBufferLayout &Layout) const { in computeLayout()
136 Layout.Items.clear(); in computeLayout()
140 Layout.Items.emplace_back(OSLogBufferItem::MaskKind, nullptr, in computeLayout()
146 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.FieldWidth, in computeLayout()
151 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision, in computeLayout()
157 Layout.Items.emplace_back(OSLogBufferItem::CountKind, *Data.Count, Size, in computeLayout()
161 Layout.Items.emplace_back(Ctx, CharUnits::fromQuantity(*Data.Size), in computeLayout()
169 Layout.Items.emplace_back(*Data.Kind, Data.E, Size, Data.Flags); in computeLayout()
172 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, Data.E, Size, in computeLayout()
181 ASTContext &Ctx, const CallExpr *E, OSLogBufferLayout &Layout) { in computeOSLogBufferLayout() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp45 const MCAsmLayout &Layout, const MCFragment *Fragment,
153 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation() argument
159 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment); in recordRelocation()
232 Layout.getSymbolOffset(*B) == in recordRelocation()
233 Layout.getFragmentOffset(Fragment) + Fixup.getOffset()) { in recordRelocation()
285 Value += (!A->getFragment() ? 0 : Writer->getSymbolAddress(*A, Layout)) - in recordRelocation()
287 *A_Base, Layout)); in recordRelocation()
290 *B_Base, Layout)); in recordRelocation()
346 Layout.getSymbolOffset(*Symbol) - Layout.getSymbolOffset(*Base); in recordRelocation()
359 Value += Writer->getSymbolAddress(*Symbol, Layout); in recordRelocation()
[all …]

1234567