llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RuntimePrinter Class Referenceabstract

#include <emitter/runtime_printer.h>

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

Public Member Functions

 RuntimePrinter (char &ID, const Prog &Prog, const llvm::TargetMachine &tm, llvm::MCContext &ctx, llvm::MCStreamer &os, const llvm::MCObjectFileInfo &objInfo, bool shared)
 Initialises the pass which prints data sections.
 

Protected Member Functions

virtual void EmitCamlCallGc (llvm::Function &F)=0
 Emits caml_call_gc.
 
virtual void EmitCamlCCall (llvm::Function &F)=0
 Emits caml_c_call.
 

Protected Attributes

const Progprog_
 Program to print.
 
const llvm::TargetMachine & tm_
 Reference to the target machine.
 
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.
 
bool shared_
 Flag to indicate whether a shared library or a static library is built.
 

Detailed Description

Pass to print runtime methods to the output object.


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