Home
last modified time | relevance | path

Searched refs:MCSectionData (Results 1 – 16 of 16) sorted by relevance

/external/llvm/include/llvm/MC/
DMCAsmLayout.h19 class MCSectionData; variable
31 typedef llvm::SmallVectorImpl<MCSectionData*>::const_iterator const_iterator;
32 typedef llvm::SmallVectorImpl<MCSectionData*>::iterator iterator;
38 llvm::SmallVector<MCSectionData*, 16> SectionOrder;
43 mutable DenseMap<const MCSectionData*, MCFragment*> LastValidFragment;
76 llvm::SmallVectorImpl<MCSectionData*> &getSectionOrder() { in getSectionOrder()
79 const llvm::SmallVectorImpl<MCSectionData*> &getSectionOrder() const { in getSectionOrder()
97 uint64_t getSectionAddressSize(const MCSectionData *SD) const;
101 uint64_t getSectionFileSize(const MCSectionData *SD) const;
DMCAssembler.h38 class MCSectionData; variable
71 MCSectionData *Parent;
93 MCFragment(FragmentType _Kind, MCSectionData *_Parent = 0);
102 MCSectionData *getParent() const { return Parent; } in getParent()
103 void setParent(MCSectionData *Value) { Parent = Value; } in setParent()
144 MCEncodedFragment(MCFragment::FragmentType FType, MCSectionData *SD = 0)
182 MCSectionData *SD = 0)
222 MCDataFragment(MCSectionData *SD = 0)
269 MCCompactEncodedInstFragment(MCSectionData *SD = 0)
305 MCRelaxableFragment(const MCInst &_Inst, MCSectionData *SD = 0)
[all …]
DMCMachObjectWriter.h24 class MCSectionData; variable
100 llvm::DenseMap<const MCSectionData*,
102 llvm::DenseMap<const MCSectionData*, unsigned> IndirectSymBase;
137 uint64_t getSectionAddress(const MCSectionData* SD) const { in getSectionAddress()
146 uint64_t getPaddingSize(const MCSectionData *SD,
178 const MCSectionData &SD, uint64_t FileOffset,
215 void addRelocation(const MCSectionData *SD, in addRelocation()
DMCObjectStreamer.h18 class MCSectionData; variable
34 MCSectionData *CurSectionData;
53 MCSectionData *getCurrentSectionData() const { in getCurrentSectionData()
DMCExpr.h22 class MCSectionData; variable
27 typedef DenseMap<const MCSectionData*, uint64_t> SectionAddrMap;
/external/llvm/lib/MC/
DMCAssembler.cpp77 const MCSectionData &SD = *F->getParent(); in isFragmentValid()
92 const MCSectionData &SD = *F->getParent(); in invalidateFragmentsFrom()
97 MCSectionData &SD = *F->getParent(); in ensureValid()
151 uint64_t MCAsmLayout::getSectionAddressSize(const MCSectionData *SD) const { in getSectionAddressSize()
157 uint64_t MCAsmLayout::getSectionFileSize(const MCSectionData *SD) const { in getSectionFileSize()
214 MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent) in MCFragment()
234 MCSectionData::MCSectionData() : Section(0) {} in MCSectionData() function in MCSectionData
236 MCSectionData::MCSectionData(const MCSection &_Section, MCAssembler *A) in MCSectionData() function in MCSectionData
661 void MCAssembler::writeSectionData(const MCSectionData *SD, in writeSectionData()
668 for (MCSectionData::const_iterator it = SD->begin(), in writeSectionData()
[all …]
DMCELFStreamer.cpp112 MCSectionData *CurSection = getCurrentSectionData(); in ChangeSection()
400 MCSectionData *SD = getCurrentSectionData(); in EmitInstToData()
414 if (SD->getBundleLockState() == MCSectionData::BundleLockedAlignToEnd) { in EmitInstToData()
447 MCSectionData *SD = getCurrentSectionData(); in EmitBundleLock()
456 SD->setBundleLockState(AlignToEnd ? MCSectionData::BundleLockedAlignToEnd : in EmitBundleLock()
457 MCSectionData::BundleLocked); in EmitBundleLock()
462 MCSectionData *SD = getCurrentSectionData(); in EmitBundleUnlock()
472 SD->setBundleLockState(MCSectionData::NotBundleLocked); in EmitBundleUnlock()
487 MCSectionData &SectData = getAssembler().getOrCreateSectionData(Section); in FinishImpl()
DELFObjectWriter.cpp51 static bool IsELFMetaDataSection(const MCSectionData &SD);
52 static uint64_t DataSectionSize(const MCSectionData &SD);
54 const MCSectionData &SD);
56 const MCSectionData &SD);
92 llvm::DenseMap<const MCSectionData*,
324 const MCSectionData *SD);
990 const MCSectionData &SD = *it; in CreateRelocationSections()
1022 const MCSectionData &SD = *it; in WriteRelocations()
1029 MCSectionData &RelaSD = Asm.getOrCreateSectionData(*RelaSection); in WriteRelocations()
1057 const MCSectionData *SD) { in WriteRelocationsFragment()
[all …]
DMachObjectWriter.cpp112 uint64_t MachObjectWriter::getPaddingSize(const MCSectionData *SD, in getPaddingSize()
119 const MCSectionData &NextSD = *Layout.getSectionOrder()[Next]; in getPaddingSize()
199 const MCSectionData &SD, in WriteSection()
589 const SmallVectorImpl<MCSectionData*> &Order = Layout.getSectionOrder(); in computeSectionAddresses()
591 const MCSectionData *SD = Order[i]; in computeSectionAddresses()
763 const MCSectionData &SD = *it; in WriteObject()
DMCMachOStreamer.cpp343 MCSectionData &SectData = getAssembler().getOrCreateSectionData(*Section); in EmitZerofill()
418 for (MCSectionData::iterator it2 = it->begin(), in FinishImpl()
DWinCOFFObjectWriter.cpp96 MCSectionData const *MCData;
149 void DefineSection(MCSectionData const &SectionData);
364 void WinCOFFObjectWriter::DefineSection(MCSectionData const &SectionData) { in DefineSection()
641 MCSectionData const *SectionData = Fragment->getParent(); in RecordRelocation()
DMCExpr.cpp379 const MCSectionData &SecA = *AD.getFragment()->getParent(); in AttemptToFoldSymbolOffsetDifference()
380 const MCSectionData &SecB = *BD.getFragment()->getParent(); in AttemptToFoldSymbolOffsetDifference()
DWinCOFFStreamer.cpp160 MCSectionData &SectionData = getAssembler().getOrCreateSectionData(*Section); in AddCommonSymbol()
DMCObjectStreamer.cpp183 MCSectionData *SD = getCurrentSectionData(); in EmitInstruction()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp344 const MCSectionData &SymSD = Asm.getSectionData( in requiresExternRelocation()
435 const MCSectionData &SymSD = Asm.getSectionData( in RecordRelocation()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp556 const MCSectionData &SymSD = Asm.getSectionData( in RecordX86Relocation()