reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/MC/MCAsmBackend.h
   24 class MCAsmLayout;
include/llvm/MC/MCAssembler.h
   36 class MCAsmLayout;
include/llvm/MC/MCCodePadder.h
   19 class MCAsmLayout;
include/llvm/MC/MCExpr.h
   19 class MCAsmLayout;
include/llvm/MC/MCLinkerOptimizationHint.h
   29 class MCAsmLayout;
include/llvm/MC/MCObjectWriter.h
   23 class MCAsmLayout;

References

include/llvm/MC/MCAsmBackend.h
  101                                              const MCAsmLayout &Layout,
  139                                             const MCAsmLayout &Layout,
  145                                     const MCAsmLayout &Layout) const = 0;
  172                             MCAsmLayout &Layout) const {}
  220   bool relaxFragment(MCPaddingFragment *PF, MCAsmLayout &Layout);
include/llvm/MC/MCAssembler.h
  172   bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup,
  179                             const MCAsmLayout &Layout) const;
  183                                const MCAsmLayout &Layout) const;
  187   bool layoutOnce(MCAsmLayout &Layout);
  191   bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
  193   bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
  195   bool relaxPaddingFragment(MCAsmLayout &Layout, MCPaddingFragment &PF);
  197   bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
  199   bool relaxDwarfLineAddr(MCAsmLayout &Layout, MCDwarfLineAddrFragment &DF);
  200   bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
  202   bool relaxCVInlineLineTable(MCAsmLayout &Layout,
  204   bool relaxCVDefRange(MCAsmLayout &Layout, MCCVDefRangeFragment &DF);
  207   void finishLayout(MCAsmLayout &Layout);
  210   handleFixup(const MCAsmLayout &Layout, MCFragment &F, const MCFixup &Fixup);
  230   uint64_t computeFragmentSize(const MCAsmLayout &Layout,
  245                         const MCAsmLayout &Layout) const;
  307   void layout(MCAsmLayout &Layout);
include/llvm/MC/MCCodePadder.h
   62   uint64_t getMaxWindowSize(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
  121   bool relaxFragment(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
  155                                         const MCAsmLayout &Layout);
  165                                MCAsmLayout &Layout) const;
  167                                    uint64_t Offset, MCAsmLayout &Layout) const;
include/llvm/MC/MCCodeView.h
  193   void encodeInlineLineTable(MCAsmLayout &Layout,
  201   void encodeDefRange(MCAsmLayout &Layout, MCCVDefRangeFragment &F);
include/llvm/MC/MCExpr.h
   50                           const MCAsmLayout *Layout,
   57                                  const MCAsmLayout *Layout,
   90   bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
   95   bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
   97   bool evaluateKnownAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
  106   bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout,
  114   bool evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const;
  597                                          const MCAsmLayout *Layout,
include/llvm/MC/MCLinkerOptimizationHint.h
  112                  const MCAsmLayout &Layout) const;
  128   void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const;
  133                        const MCAsmLayout &Layout) const;
  161                        const MCAsmLayout &Layout) const {
  171   void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const {
include/llvm/MC/MCMachObjectWriter.h
   73                                 const MCAsmLayout &Layout,
  152   uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
  155                               const MCAsmLayout &Layout) const;
  157   uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
  187   void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
  201   void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
  234                                  const MCAsmLayout &Layout,
  239   void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
  243   void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
  256                                const MCAsmLayout &Layout);
  259                                 const MCAsmLayout &Layout) override;
  271   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
include/llvm/MC/MCObjectWriter.h
   60                                         const MCAsmLayout &Layout) = 0;
   68   virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
  108   virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
lib/MC/ELFObjectWriter.cpp
  112   static uint64_t SymbolValue(const MCSymbol &Sym, const MCAsmLayout &Layout);
  113   static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
  185                    ELFSymbolData &MSD, const MCAsmLayout &Layout);
  199   void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
  211   void writeSectionHeader(const MCAsmLayout &Layout,
  216                         const MCAsmLayout &Layout);
  225   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
  270   void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
  275                                 const MCAsmLayout &Layout) override;
  295   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override {
  328   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override {
  466                                 const MCAsmLayout &Layout) {
  529                             ELFSymbolData &MSD, const MCAsmLayout &Layout) {
  592 bool ELFWriter::isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
  631     MCAssembler &Asm, const MCAsmLayout &Layout,
  867                                  const MCAsmLayout &Layout) {
 1062     const MCAsmLayout &Layout, const SectionIndexMapTy &SectionIndexMap,
 1092 uint64_t ELFWriter::writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) {
 1277                                                const MCAsmLayout &Layout) {
 1443                                        const MCAsmLayout &Layout,
lib/MC/MCAssembler.cpp
  199 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout,
  287 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout,
  498                           const MCAsmLayout &Layout, const MCFragment &F) {
  667                                    const MCAsmLayout &Layout) const {
  722 MCAssembler::handleFixup(const MCAsmLayout &Layout, MCFragment &F,
  758 void MCAssembler::layout(MCAsmLayout &Layout) {
  865   MCAsmLayout Layout(*this);
  874                                        const MCAsmLayout &Layout) const {
  889                                           const MCAsmLayout &Layout) const {
  904 bool MCAssembler::relaxInstruction(MCAsmLayout &Layout,
  938 bool MCAssembler::relaxPaddingFragment(MCAsmLayout &Layout,
  952 bool MCAssembler::relaxLEB(MCAsmLayout &Layout, MCLEBFragment &LF) {
  972 bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout,
 1013 bool MCAssembler::relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
 1043 bool MCAssembler::relaxCVInlineLineTable(MCAsmLayout &Layout,
 1050 bool MCAssembler::relaxCVDefRange(MCAsmLayout &Layout,
 1057 bool MCAssembler::layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec) {
 1109 bool MCAssembler::layoutOnce(MCAsmLayout &Layout) {
 1122 void MCAssembler::finishLayout(MCAsmLayout &Layout) {
lib/MC/MCCodePadder.cpp
  184                                         MCAsmLayout &Layout) {
  208                                  MCAsmLayout &Layout) {
  268                                                     const MCAsmLayout &Layout) {
  278                                          MCAsmLayout &Layout) const {
  288                                              MCAsmLayout &Layout) const {
lib/MC/MCCodeView.cpp
  444 static unsigned computeLabelDiff(MCAsmLayout &Layout, const MCSymbol *Begin,
  461 void CodeViewContext::encodeInlineLineTable(MCAsmLayout &Layout,
  608 void CodeViewContext::encodeDefRange(MCAsmLayout &Layout,
lib/MC/MCExpr.cpp
  464                                 const MCAsmLayout &Layout) const {
  469                                 const MCAsmLayout &Layout,
  485                                    const MCAsmLayout &Layout) const {
  491                                 const MCAsmLayout *Layout,
  512     const MCAssembler *Asm, const MCAsmLayout *Layout,
  615 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout,
  670                                    const MCAsmLayout *Layout,
  677 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const {
  697                                        const MCAsmLayout *Layout,
lib/MC/MCFragment.cpp
   84 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S,
   96 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S,
lib/MC/MCLinkerOptimizationHint.cpp
   29                                const MCAsmLayout &Layout) const {
   37                           const MCAsmLayout &Layout) const {
   43                                      const MCAsmLayout &Layout) const {
lib/MC/MachObjectWriter.cpp
   82                                               const MCAsmLayout &Layout) const {
   88                                             const MCAsmLayout &Layout) const {
  121                                           const MCAsmLayout &Layout) const {
  214 void MachObjectWriter::writeSection(const MCAsmLayout &Layout,
  339                                   const MCAsmLayout &Layout) {
  463                                         const MCAsmLayout &Layout,
  643                                                const MCAsmLayout &Layout) {
  658                                                 const MCAsmLayout &Layout) {
  755                                        const MCAsmLayout &Layout) {
lib/MC/WasmObjectWriter.cpp
  296   void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
  301                                 const MCAsmLayout &Layout) override;
  303   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
  319   void writeCodeSection(const MCAssembler &Asm, const MCAsmLayout &Layout,
  330                           const MCAssembler &Asm, const MCAsmLayout &Layout);
  410                                                 const MCAsmLayout &Layout) {
  426                                         const MCAsmLayout &Layout,
  823                                         const MCAsmLayout &Layout,
 1015                                           const MCAsmLayout &Layout) {
 1106                                        const MCAsmLayout &Layout) {
lib/MC/WinCOFFObjectWriter.cpp
  174                     const MCAsmLayout &Layout);
  188   uint32_t writeSectionContents(MCAssembler &Asm, const MCAsmLayout &Layout,
  190   void writeSection(MCAssembler &Asm, const MCAsmLayout &Layout,
  196                                 const MCAsmLayout &Layout) override;
  203   void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
  209   void assignFileOffsets(MCAssembler &Asm, const MCAsmLayout &Layout);
  216   uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
  327                                const MCAsmLayout &Layout) {
  357                                        const MCAsmLayout &Layout) {
  594                                                    const MCAsmLayout &Layout,
  613                                        const MCAsmLayout &Layout,
  662                                                    const MCAsmLayout &Layout) {
  697                                            const MCAsmLayout &Layout,
  893                                             const MCAsmLayout &Layout) {
  953                                           const MCAsmLayout &Layout) {
lib/MC/XCOFFObjectWriter.cpp
  175   void executePostLayoutBinding(MCAssembler &, const MCAsmLayout &) override;
  177   void recordRelocation(MCAssembler &, const MCAsmLayout &, const MCFragment *,
  180   uint64_t writeObject(MCAssembler &, const MCAsmLayout &) override;
  191   void writeSections(const MCAssembler &Asm, const MCAsmLayout &Layout);
  192   void writeSymbolTable(const MCAsmLayout &Layout);
  202   void assignAddressesAndIndices(const MCAsmLayout &);
  266                                                  const MCAsmLayout &Layout) {
  318 void XCOFFObjectWriter::recordRelocation(MCAssembler &, const MCAsmLayout &,
  325                                       const MCAsmLayout &Layout) {
  353                                         const MCAsmLayout &Layout) {
  516 void XCOFFObjectWriter::writeSymbolTable(const MCAsmLayout &Layout) {
  546 void XCOFFObjectWriter::assignAddressesAndIndices(const MCAsmLayout &Layout) {
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
   44                         const MCAsmLayout &Layout, const MCFragment *Fragment,
  152     MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout,
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  315                                          const MCAsmLayout &Layout) const {
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
   67                             const MCAsmLayout &Layout) const override;
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
   32                                     const MCAsmLayout &Layout,
   41                                         const MCAsmLayout &Layout,
   56                         const MCAsmLayout &Layout, const MCFragment *Fragment,
  142                                  const MCAsmLayout &Layout,
  255                                                     const MCAsmLayout &Layout,
  377                                            const MCAsmLayout &Layout,
lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
   72                                           const MCAsmLayout *Layout,
lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
   58   bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout,
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  571                                     const MCAsmLayout &Layout,
  647                             const MCAsmLayout &Layout) const override {
  707                     MCAsmLayout &Layout) const override {
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
   71                             const MCAsmLayout &Layout) const override {
lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
  134                                       const MCAsmLayout *Layout,
lib/Target/Mips/MCTargetDesc/MipsMCExpr.h
   70   bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout,
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
   99                                      const MCAsmLayout *Layout,
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
   83                                  const MCAsmLayout *Layout,
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
   28                                  const MCAsmLayout &Layout,
   34                            const MCAsmLayout &Layout,
   43                         const MCAsmLayout &Layout, const MCFragment *Fragment,
  175 static uint32_t getFixupOffset(const MCAsmLayout &Layout,
  191     MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
  301     MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
   65                                      const MCAsmLayout &Layout,
   81                             const MCAsmLayout &Layout) const override {
   88                                     const MCAsmLayout &Layout,
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
   91 bool RISCVMCExpr::evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout,
  150                                             const MCAsmLayout *Layout,
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h
   49   bool evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout,
   71   bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout,
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
   29                                  const MCAsmLayout &Layout,
   37                             const MCAsmLayout &Layout,
   45                               const MCAsmLayout &Layout,
   51                               const MCAsmLayout &Layout,
   60                         const MCAsmLayout &Layout, const MCFragment *Fragment,
  103     MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout,
  365                                                     const MCAsmLayout &Layout,
  465                                                const MCAsmLayout &Layout,
  505                                               const MCAsmLayout &Layout,
tools/dsymutil/MachOUtils.cpp
  285                                MCAsmLayout &Layout, MachObjectWriter &Writer) {
  343   MCAsmLayout Layout(MCAsm);