llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Member Functions | Static Public Attributes | List of all members
RISCVAnnotPrinter Class Referencefinal

#include <emitter/riscv/riscvannot_printer.h>

Inheritance diagram for RISCVAnnotPrinter:
Inheritance graph
[legend]
Collaboration diagram for RISCVAnnotPrinter:
Collaboration graph
[legend]

Public Member Functions

 RISCVAnnotPrinter (llvm::MCContext *ctx, llvm::MCStreamer *os, const llvm::MCObjectFileInfo *objInfo, const llvm::DataLayout &layout, const ISelMapping &mapping, bool shared)
 Initialises the pass which prints data sections.
 
 ~RISCVAnnotPrinter ()
 Cleanup.
 
llvm::StringRef getPassName () const override
 Hardcoded name.
 
- Public Member Functions inherited from AnnotPrinter
 AnnotPrinter (char &ID, llvm::MCContext *ctx, llvm::MCStreamer *os, const llvm::MCObjectFileInfo *objInfo, const llvm::DataLayout &layout, const ISelMapping &mapping, bool shared)
 Initialises the pass which prints data sections.
 

Static Public Attributes

static char ID
 

Additional Inherited Members

- Protected Member Functions inherited from AnnotPrinter
virtual int64_t GetFrameOffset (const llvm::MachineInstr &MI) const
 Return the offset to apply to a label.
 
- Protected Attributes inherited from AnnotPrinter
const ISelMappingmapping_
 Instruction selector pass containing info for annotations.
 
llvm::MCContext * ctx_
 LLVM context.
 
llvm::MCStreamer * os_
 Streamer to emit output to.
 
const llvm::MCObjectFileInfo * objInfo_
 Object-file specific information.
 
const llvm::DataLayout layout_
 Data layout.
 
std::vector< FrameInfo > frames_
 List of frames to emit information for.
 
std::vector< RootInfo > roots_
 List of root frames.
 
std::unordered_map< DebugKey, DebugInfos, DebugKeyHash > debug_
 Mapping of debug objects.
 
std::unordered_map< std::pair< std::string, std::string >, DefinitionInfo > defs_
 Mapping from definitions to labels.
 
std::unordered_map< std::string, llvm::MCSymbol * > files_
 Mapping from file names to labels.
 
bool shared_
 Flag to indicate whether a shared library is emitted.
 

Detailed Description

Annotation emitter pass.


The documentation for this class was generated from the following files: