Home
last modified time | relevance | path

Searched refs:MCSectionELF (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp83 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
148 std::vector<MCSectionELF *> SectionTable;
149 unsigned addToSectionTable(MCSectionELF *Sec);
197 MCSectionELF *createRelocationSection(MCContext &Ctx,
198 const MCSectionELF &Sec);
209 void writeRelocations(const MCSectionELF &Sec);
213 uint64_t Size, const MCSectionELF &Section);
224 unsigned ELFWriter::addToSectionTable(MCSectionELF *Sec) { in addToSectionTable()
506 MCSectionELF *SymtabSection = in computeSymbolTable()
560 const MCSectionELF &Section = in computeSymbolTable()
[all …]
H A DMCSectionELF.cpp23 bool MCSectionELF::shouldOmitSectionDirective(StringRef Name, in shouldOmitSectionDirective()
54 void MCSectionELF::printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in printSwitchToSection()
213 bool MCSectionELF::useCodeAlign() const { in useCodeAlign()
217 StringRef MCSectionELF::getVirtualSectionKind() const { return "SHT_NOBITS"; } in getVirtualSectionKind()
H A DMCContext.cpp582 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl()
592 auto *Ret = new (ELFAllocator.Allocate()) MCSectionELF( in createELFSectionImpl()
600 MCSectionELF *
603 const MCSectionELF *RelInfoSection) { in createELFRelSection()
613 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection()
621 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
634 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
645 std::pair<StringMap<MCSectionELF *>::iterator, bool> EntryNewPair; in getELFSection()
677 MCSectionELF *Result = in getELFSection()
688 MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group, in createELFGroupSection()
H A DMCELFStreamer.cpp69 const MCSectionELF &Section = in emitLabel()
70 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabel()
80 const MCSectionELF &Section = in emitLabelAtPos()
81 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabelAtPos()
103 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in changeSection()
H A DMCObjectFileInfo.cpp1129 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getStackSizesSection()
1147 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getBBAddrMapSection()
1167 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getKCFITrapSection()
1186 const auto &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getPseudoProbeSection()
1212 auto *S = static_cast<MCSectionELF *>(PseudoProbeDescSection); in getPseudoProbeDescSection()
1239 const auto &ElfSec = static_cast<const MCSectionELF &>(*TextSec); in getPCSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h58 class MCSectionELF; variable
145 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator;
318 StringMap<MCSectionELF *> ELFUniquingMap;
351 MCSectionELF *createELFSectionImpl(StringRef Section, unsigned Type,
558 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
563 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
569 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
576 LLVM_ABI MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
582 LLVM_ABI MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
592 LLVM_ABI MCSectionELF *getELFNamedSection(const Twine &Prefix,
[all …]
H A DMCELFObjectWriter.h150 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations;
184 bool usesRela(const MCTargetOptions *TO, const MCSectionELF &Sec) const;
189 bool checkRelocation(SMLoc Loc, const MCSectionELF *From,
190 const MCSectionELF *To);
H A DMCSectionELF.h27 class MCSectionELF final : public MCSection {
57 MCSectionELF(StringRef Name, unsigned type, unsigned flags, in MCSectionELF() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h42 MCSectionELF *SmallDataSection;
43 MCSectionELF *SmallBSSSection;
H A DHexagonAsmPrinter.cpp202 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
230 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp58 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp35 MCSectionELF *Sec = in EmitMipsOptionRecord()
53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
H A DMipsTargetStreamer.cpp968 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in finish()
1116 MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS, 0); in emitDirectiveEnd()
1389 MCSectionELF *Sec = Context.getELFSection( in emitMipsAbiFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600AsmPrinter.cpp112 MCSectionELF *ConfigSection = in runOnMachineFunction()
121 MCSectionELF *CommentSection = in runOnMachineFunction()
H A DAMDGPUAsmPrinter.cpp503 MCSectionELF *MaxGPRSection = in doFinalization()
667 MCSectionELF *ConfigSection = in runOnMachineFunction()
729 MCSectionELF *CommentSection = in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.cpp526 return cast<MCSectionELF>(Sec).getFlags() & ELF::SHF_AARCH64_PURECODE; in finish()
529 static_cast<MCSectionELF *>(Ctx.getObjectFileInfo()->getTextSection()); in finish()
543 MCSectionELF *MemtagSec = nullptr; in finish()
H A DAArch64TargetStreamer.cpp88 MCSectionELF *Nt = Context.getELFSection(".note.gnu.property", ELF::SHT_NOTE, in emitNoteSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaTargetStreamer.cpp88 auto *CS = static_cast<MCSectionELF *>(OutStreamer.getCurrentSectionOnly()); in emitLiteral()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp644 if (const MCSectionELF *Section = in parseSectionArguments()
645 cast_or_null<MCSectionELF>(getStreamer().getCurrentSectionOnly())) in parseSectionArguments()
653 MCSectionELF *Section = in parseSectionArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp1143 return cast<MCSectionELF>(Sec).getFlags() & ELF::SHF_ARM_PURECODE; in finish()
1146 static_cast<MCSectionELF *>(Ctx.getObjectFileInfo()->getTextSection()); in finish()
1173 const MCSectionELF &FnSection = in SwitchToEHSection()
1174 static_cast<const MCSectionELF &>(Fn.getSection()); in SwitchToEHSection()
1187 MCSectionELF *EHSection = getContext().getELFSection( in SwitchToEHSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp39 auto *Text = cast<MCSectionELF>(TextSection); in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp263 auto *Section = cast<MCSectionELF>(TLOF.SectionForGlobal(&GO, TM)); in doFinalization()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1157 MCSectionELF *Sec = Ctx.getELFSection(".BTF", ELF::SHT_PROGBITS, 0); in emitBTFSection()
1197 MCSectionELF *Sec = Ctx.getELFSection(".BTF.ext", ELF::SHT_PROGBITS, 0); in emitBTFExtSection()
1350 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in beginFunctionImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp841 MCSectionELF *Section = Ctx.getELFSection( in selectExplicitSectionGlobal()
876 static MCSectionELF *selectELFSectionForGlobal( in selectELFSectionForGlobal()
929 MCSectionELF *Section = selectELFSectionForGlobal( in selectELFSectionForGlobal()
999 const auto *LSDA = cast<MCSectionELF>(LSDASection); in getSectionForLSDA()
1141 static MCSectionELF *getStaticStructorSection(MCContext &Ctx, bool UseInitArray, in getStaticStructorSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1044 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()

12