llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <emitter/riscv/riscvannot_printer.h>
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. | |
![]() | |
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 | |
![]() | |
virtual int64_t | GetFrameOffset (const llvm::MachineInstr &MI) const |
Return the offset to apply to a label. | |
![]() | |
const ISelMapping & | mapping_ |
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. | |
Annotation emitter pass.