llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#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 PassConfig & | GetConfig () const |
Returns a reference to the configuration. | |
const Target * | GetTarget () const |
Returns a reference to the target. | |
Pass manager, scheduling passes.