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

#include <core/pass_manager.h>

Public Member Functions

 PassManager (const PassConfig &config, const Target *target, const std::string &saveBefore, bool verbose, bool time, bool verify)
 
template<typename T , typename... Args>
void Add (const Args &... args)
 Add an analysis into the pipeline.
 
template<typename... Ts>
void Group ()
 Adds a group of passes to the pipeline.
 
void Add (Pass *pass)
 Adds a pass to the pipeline.
 
void Run (Prog &prog)
 Runs the pipeline.
 
template<typename T >
T * getAnalysis ()
 Returns an available analysis.
 
const PassConfigGetConfig () const
 Returns a reference to the configuration.
 
const TargetGetTarget () const
 Returns a reference to the target.
 

Detailed Description

Pass manager, scheduling passes.


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