Lines Matching refs:Layout
59 const MCAsmLayout &Layout) const { in getFragmentAddress()
61 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
65 const MCAsmLayout &Layout) const { in getSymbolAddress()
71 if (!S.getVariableValue()->EvaluateAsRelocatable(Target, Layout)) in getSymbolAddress()
85 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress()
86 Target.getSymA()->getSymbol()), Layout); in getSymbolAddress()
88 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress()
89 Target.getSymB()->getSymbol()), Layout); in getSymbolAddress()
94 Layout.getSymbolOffset(SD); in getSymbolAddress()
98 const MCAsmLayout &Layout) const { in getPaddingSize()
99 uint64_t EndAddr = getSectionAddress(SD) + Layout.getSectionAddressSize(SD); in getPaddingSize()
101 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
104 const MCSectionData &NextSD = *Layout.getSectionOrder()[Next]; in getPaddingSize()
183 const MCAsmLayout &Layout, in WriteSection() argument
188 uint64_t SectionSize = Layout.getSectionAddressSize(&SD); in WriteSection()
192 assert(Layout.getSectionFileSize(&SD) == 0 && "Invalid file size!"); in WriteSection()
289 const MCAsmLayout &Layout) { in WriteNlist() argument
320 Address = getSymbolAddress(&Data, Layout); in WriteNlist()
355 const MCAsmLayout &Layout, in RecordRelocation() argument
360 TargetObjectWriter->RecordRelocation(this, Asm, Layout, Fragment, Fixup, in RecordRelocation()
530 const MCAsmLayout &Layout) { in computeSectionAddresses() argument
532 const SmallVectorImpl<MCSectionData*> &Order = Layout.getSectionOrder(); in computeSectionAddresses()
537 StartAddress += Layout.getSectionAddressSize(SD); in computeSectionAddresses()
542 StartAddress += getPaddingSize(SD, Layout); in computeSectionAddresses()
547 const MCAsmLayout &Layout) { in ExecutePostLayoutBinding() argument
548 computeSectionAddresses(Asm, Layout); in ExecutePostLayoutBinding()
631 const MCAsmLayout &Layout) { in WriteObject() argument
661 uint64_t Size = Layout.getSectionAddressSize(&SD); in WriteObject()
662 uint64_t FileSize = Layout.getSectionFileSize(&SD); in WriteObject()
663 FileSize += getPaddingSize(&SD, Layout); in WriteObject()
693 WriteSection(Asm, Layout, *it, SectionStart, RelocTableEnd, NumRelocs); in WriteObject()
734 Asm.WriteSectionData(it, Layout); in WriteObject()
736 uint64_t Pad = getPaddingSize(it, Layout); in WriteObject()
785 WriteNlist(LocalSymbolData[i], Layout); in WriteObject()
787 WriteNlist(ExternalSymbolData[i], Layout); in WriteObject()
789 WriteNlist(UndefinedSymbolData[i], Layout); in WriteObject()