| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | ELFObjectWriter.cpp | 83 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 D | MCSectionELF.cpp | 23 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 D | MCContext.cpp | 582 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 D | MCELFStreamer.cpp | 69 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 D | MCObjectFileInfo.cpp | 1129 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 D | MCContext.h | 58 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 D | MCELFObjectWriter.h | 150 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 D | MCSectionELF.h | 27 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 D | HexagonTargetObjectFile.h | 42 MCSectionELF *SmallDataSection; 43 MCSectionELF *SmallBSSSection;
|
| H A D | HexagonAsmPrinter.cpp | 202 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 D | BPFELFObjectWriter.cpp | 58 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in getRelocType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsOptionRecord.cpp | 35 MCSectionELF *Sec = in EmitMipsOptionRecord() 53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
|
| H A D | MipsTargetStreamer.cpp | 968 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 D | R600AsmPrinter.cpp | 112 MCSectionELF *ConfigSection = in runOnMachineFunction() 121 MCSectionELF *CommentSection = in runOnMachineFunction()
|
| H A D | AMDGPUAsmPrinter.cpp | 503 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 D | AArch64ELFStreamer.cpp | 526 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 D | AArch64TargetStreamer.cpp | 88 MCSectionELF *Nt = Context.getELFSection(".note.gnu.property", ELF::SHT_NOTE, in emitNoteSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
| H A D | XtensaTargetStreamer.cpp | 88 auto *CS = static_cast<MCSectionELF *>(OutStreamer.getCurrentSectionOnly()); in emitLiteral()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 644 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 D | ARMELFStreamer.cpp | 1143 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 D | AArch64TargetObjectFile.cpp | 39 auto *Text = cast<MCSectionELF>(TextSection); in Initialize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRAsmPrinter.cpp | 263 auto *Section = cast<MCSectionELF>(TLOF.SectionForGlobal(&GO, TM)); in doFinalization()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1157 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 D | TargetLoweringObjectFileImpl.cpp | 841 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 D | MipsAsmPrinter.cpp | 1044 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
|