mageec
0.1.0
MAchine Guided Energy Efficient Compilation
|
GCC Plugin Interface. More...
#include "gcc-plugin.h"
#include "tree-pass.h"
#include "mageec/mageec.h"
#include "mageec-plugin.h"
Go to the source code of this file.
Functions | |
int | plugin_init (struct plugin_name_args *plugin_info, struct plugin_gcc_version *version) |
Initilizes GCC Plugin by calling mageec_init. More... | |
Variables | |
int | plugin_is_GPL_compatible |
Declared to allow GCC to load. More... | |
std::map< std::string, int > | mageec_config |
MAGEEC Plugin Configuration. More... | |
const char * | mageec_gcc_plugin_name |
Stored GCC Plugin name for future register_callbacks. More... | |
mageec_framework | mageec_inst |
MAGEEC Instance. More... | |
GCC Plugin Interface.
Definition in file gcc-plugin.cpp.
int plugin_init | ( | struct plugin_name_args * | plugin_info, |
struct plugin_gcc_version * | version | ||
) |
Initilizes GCC Plugin by calling mageec_init.
plugin_name_args | GCC plugin information. |
plugin_gcc_version | GCC version information. |
Definition at line 78 of file gcc-plugin.cpp.
std::map<std::string, int> mageec_config |
MAGEEC Plugin Configuration.
Definition at line 45 of file gcc-plugin.cpp.
const char* mageec_gcc_plugin_name |
Stored GCC Plugin name for future register_callbacks.
The plugin base_name for our hooks to use to schedule new passes.
Definition at line 51 of file gcc-plugin.cpp.
mageec_framework mageec_inst |
MAGEEC Instance.
Definition at line 54 of file gcc-plugin.cpp.
int plugin_is_GPL_compatible |
Declared to allow GCC to load.
Definition at line 36 of file gcc-plugin.cpp.