Home
last modified time | relevance | path

Searched refs:MCSection (Results 1 – 25 of 184) sorted by relevance

12345678

/external/llvm/include/llvm/MC/
DMCObjectFileInfo.h22 class MCSection; variable
54 MCSection *TextSection;
57 MCSection *DataSection;
60 MCSection *BSSSection;
66 MCSection *ReadOnlySection;
69 MCSection *StaticCtorSection;
72 MCSection *StaticDtorSection;
76 MCSection *LSDASection;
81 MCSection *CompactUnwindSection;
85 MCSection *DwarfAbbrevSection;
[all …]
DMCSection.h30 class MCSection; variable
48 class MCSection {
68 MCSection(const MCSection &) = delete;
69 void operator=(const MCSection &) = delete;
104 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
107 ~MCSection();
116 return const_cast<MCSection *>(this)->getBeginSymbol();
151 MCSection::FragmentListType &getFragmentList() { return Fragments; }
152 const MCSection::FragmentListType &getFragmentList() const {
153 return const_cast<MCSection *>(this)->getFragmentList();
[all …]
DMCFragment.h21 class MCSection; variable
25 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
64 MCSection *Parent;
83 uint8_t BundlePadding, MCSection *Parent = nullptr);
101 MCSection *getParent() const { return Parent; }
102 void setParent(MCSection *Value) { Parent = Value; }
137 explicit MCDummyFragment(MCSection *Sec)
148 MCSection *Sec)
175 MCSection *Sec)
196 MCSection *Sec)
[all …]
DMCAsmLayout.h19 class MCSection; variable
33 llvm::SmallVector<MCSection *, 16> SectionOrder;
38 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
66 llvm::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; } in getSectionOrder()
67 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder()
85 uint64_t getSectionAddressSize(const MCSection *Sec) const;
89 uint64_t getSectionFileSize(const MCSection *Sec) const;
DMCStreamer.h35 class MCSection; variable
46 typedef std::pair<MCSection *, const MCExpr *> MCSectionSubPair;
297 MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; } in getCurrentSectionOnly()
316 virtual void ChangeSection(MCSection *, const MCExpr *);
355 virtual void SwitchSection(MCSection *Section,
361 void SwitchSectionNoChange(MCSection *Section,
373 MCSymbol *endSection(MCSection *Section);
509 virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
519 virtual void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
764 MCSection *getAssociatedPDataSection(const MCSection *TextSec);
[all …]
DConstantPools.h25 class MCSection; variable
78 typedef MapVector<MCSection *, ConstantPool> ConstantPoolMapTy;
88 ConstantPool *getConstantPool(MCSection *Section);
89 ConstantPool &getOrCreateConstantPool(MCSection *Section);
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCObjectFileInfo.h23 class MCSection; variable
53 const MCSection *TextSection;
57 const MCSection *DataSection;
60 const MCSection *BSSSection;
66 const MCSection *ReadOnlySection;
70 const MCSection *StaticCtorSection;
74 const MCSection *StaticDtorSection;
78 const MCSection *LSDASection;
83 const MCSection *CompactUnwindSection;
87 const MCSection *DwarfAbbrevSection;
[all …]
DMCSection.h29 class MCSection {
38 MCSection(const MCSection&); // DO NOT IMPLEMENT
39 void operator=(const MCSection&); // DO NOT IMPLEMENT
41 MCSection(SectionVariant V, SectionKind K) : Variant(V), Kind(K) {} in MCSection() function
45 virtual ~MCSection();
70 static bool classof(const MCSection *) { return true; } in classof() argument
DMCStreamer.h32 class MCSection; variable
71 SmallVector<std::pair<const MCSection *,
72 const MCSection *>, 4> SectionStack;
162 const MCSection *getCurrentSection() const { in getCurrentSection()
170 const MCSection *getPreviousSection() const { in getPreviousSection()
180 virtual void ChangeSection(const MCSection *) = 0;
196 const MCSection *oldSection = SectionStack.pop_back_val().first; in PopSection()
197 const MCSection *curSection = SectionStack.back().first; in PopSection()
208 void SwitchSection(const MCSection *Section) { in SwitchSection()
210 const MCSection *curSection = SectionStack.back().first; in SwitchSection()
[all …]
DMCSymbol.h21 class MCSection; variable
36 static const MCSection *AbsolutePseudoSection;
45 const MCSection *Section;
110 const MCSection &getSection() const { in getSection()
116 void setSection(const MCSection &S) { Section = &S; } in setSection()
DMCContext.h24 class MCSection; variable
108 DenseMap<const MCSection *, MCLineSection *> MCLineSections;
111 std::vector<const MCSection *> MCLineSectionOrder;
192 const MCSection *getCOFFSection(StringRef Section, unsigned Characteristics,
195 const MCSection *getCOFFSection(StringRef Section, unsigned Characteristics, in getCOFFSection()
222 const DenseMap<const MCSection *, MCLineSection *>
226 const std::vector<const MCSection *> &getMCLineSectionOrder() const { in getMCLineSectionOrder()
229 void addMCLineSection(const MCSection *Sec, MCLineSection *Line) { in addMCLineSection()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText()); in Initialize()
51 DataSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getData()); in Initialize()
52 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS()); in Initialize()
54 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly()); in Initialize()
57 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
67 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
[all …]
/external/llvm/lib/MC/
DMCSection.cpp22 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin) in MCSection() function in MCSection
26 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) { in getEndSymbol()
32 bool MCSection::hasEnded() const { return End && End->isInSection(); } in hasEnded()
34 MCSection::~MCSection() { in ~MCSection()
37 void MCSection::setBundleLockState(BundleLockStateType NewState) { in setBundleLockState()
56 MCSection::iterator
57 MCSection::getSubsectionInsertionPoint(unsigned Subsection) { in getSubsectionInsertionPoint()
89 LLVM_DUMP_METHOD void MCSection::dump() { in dump()
103 MCSection::iterator MCSection::begin() { return Fragments.begin(); } in begin()
105 MCSection::iterator MCSection::end() { return Fragments.end(); } in end()
[all …]
DConstantPools.cpp50 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
59 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
63 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
74 MCSection *Section = CPI.first; in emitAll()
82 MCSection *Section = Streamer.getCurrentSection().first; in emitForCurrentSection()
91 MCSection *Section = Streamer.getCurrentSection().first; in addEntry()
DMCELFStreamer.cpp130 MCSection *Section) { in setSectionAlignmentForBundling()
136 void MCELFStreamer::ChangeSection(MCSection *Section, in ChangeSection()
138 MCSection *CurSection = getCurrentSectionOnly(); in ChangeSection()
308 MCSection &Section = *getAssembler().getContext().getELFSection( in EmitCommonSymbol()
372 MCSection *Comment = getAssembler().getContext().getELFSection( in EmitIdent()
501 MCSection &Sec = *getCurrentSectionOnly(); in EmitInstToData()
527 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in EmitInstToData()
569 MCSection &Sec = *getCurrentSectionOnly(); in EmitBundleLock()
585 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd in EmitBundleLock()
586 : MCSection::BundleLocked); in EmitBundleLock()
[all …]
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h26 class MCSection; variable
52 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
56 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
60 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
64 MCSection *getSectionForJumpTable(const Function &F, Mangler &Mang,
84 MCSection *getStaticCtorSection(unsigned Priority,
86 MCSection *getStaticDtorSection(unsigned Priority,
106 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
110 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
114 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
[all …]
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h20 MCSection *BSSSectionLarge;
21 MCSection *DataSectionLarge;
22 MCSection *ReadOnlySectionLarge;
23 MCSection *DataRelROSectionLarge;
28 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
32 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h27 class MCSection; variable
45 virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
48 virtual const MCSection *
52 virtual const MCSection *
76 virtual const MCSection *
80 virtual const MCSection *
84 virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
111 virtual const MCSection *
115 virtual const MCSection *
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h28 class MCSection; variable
72 virtual MCSection *getSectionForConstant(const DataLayout &DL,
85 MCSection *SectionForGlobal(const GlobalValue *GV, SectionKind Kind,
91 MCSection *SectionForGlobal(const GlobalValue *GV, Mangler &Mang, in SectionForGlobal()
100 virtual MCSection *getSectionForJumpTable(const Function &F, Mangler &Mang,
109 virtual MCSection *
114 virtual const MCSection *getSpecialCasedSectionGlobals(const GlobalValue *GV, in getSpecialCasedSectionGlobals()
143 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection()
148 virtual MCSection *getStaticDtorSection(unsigned Priority, in getStaticDtorSection()
188 virtual MCSection *SelectSectionForGlobal(const GlobalValue *GV,
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLoweringObjectFile.h28 class MCSection; variable
67 virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
77 const MCSection *SectionForGlobal(const GlobalValue *GV,
84 const MCSection *SectionForGlobal(const GlobalValue *GV, in SectionForGlobal()
95 virtual const MCSection *
101 virtual const MCSection *
126 virtual const MCSection *
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h22 class MCSection; variable
36 MCSection *getHSATextSection(MCContext &Ctx);
38 MCSection *getHSADataGlobalAgentSection(MCContext &Ctx);
40 MCSection *getHSADataGlobalProgramSection(MCContext &Ctx);
42 MCSection *getHSARodataReadonlyAgentSection(MCContext &Ctx);
/external/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallBSSSection;
33 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
40 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallBSSSection;
34 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
42 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFStreamer.cpp68 virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
70 virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
151 const MCSection *Section = MCStreamer::getContext().getCOFFSection( in AddCommonSymbol()
193 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitAssignment()
237 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitSymbolAttribute()
264 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in BeginCOFFSymbolDef()
303 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitCommonSymbol()
311 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitLocalCommonSymbol()
316 void WinCOFFStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol, in EmitZerofill()
321 void WinCOFFStreamer::EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, in EmitTBSSSymbol()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp60 MCSection *StrOffsetSection, in writeStringsAndOffsets()
201 const DWARFUnitIndex &TUIndex, MCSection *OutputTypes, StringRef Types, in addAllTypesFromDWP()
231 MCSection *OutputTypes, in addAllTypes()
275 writeIndex(MCStreamer &Out, MCSection *Section, in writeIndex()
384 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections, in handleSection() argument
385 const MCSection *StrSection, const MCSection *StrOffsetSection, in handleSection()
386 const MCSection *TypesSection, const MCSection *CUIndexSection, in handleSection()
387 const MCSection *TUIndexSection, const SectionRef &Section, MCStreamer &Out, in handleSection()
437 MCSection *OutSection = SectionPair->second.first; in handleSection()
467 MCSection *const StrSection = MCOFI.getDwarfStrDWOSection(); in write()
[all …]

12345678