Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
main.cc File Reference#include "c_breeze.h"
#include "print_walker.h"
#include "ref_clone_changer.h"
#include "scope_walker.h"
#include "id_lookup_walker.h"
#include "goto_label_walker.h"
#include "cfg.h"
#include "bits.h"
#include "live.h"
#include "dead.h"
#include "localcopyprop.h"
#include "gc_walker.h"
#include "lir_gen_walker.h"
#include "lir_flow_walker.h"
#include "briggs_reg_alloc.h"
#include "dummy_reg_alloc.h"
#include "asm_gen_walker.h"
#include "dismantle.h"
#include "tree_checker.h"
#include "inliner.h"
#include <unistd.h>
Go to the source code of this file.
|
Compounds |
class | asmGenWalkerPhase |
class | CfgPhase |
| phase for the -cfg flag (implies -dismantle) More...
|
class | DeadPhase |
| perform dead code elimination More...
|
class | DismantleChangerPhase |
| phase for the -dismantle flag. More...
|
class | DismantleControlChangerPhase |
| phase for the -dismantle-control flag. More...
|
class | lirFlowWalkerPhase |
class | lirGenWalkerPhase |
class | ListPhase |
| list all phases More...
|
class | output_c_phase |
| Output C code phase. More...
|
class | print_ast_phase |
| print ast phase More...
|
class | regAllocPhase |
class | TreeCheckerPhase |
| checks that the AST is indeed a tree. More...
|
Functions |
str_list * | process_flags (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables |
Phases | Print_AST ("ast", new print_ast_phase()) |
Phases | Output_C ("c-code", new output_c_phase()) |
Phases | dismantle_control_phase ("dismantle-control", new DismantleControlChangerPhase()) |
Phases | dismantle_phase ("dismantle", new DismantleChangerPhase()) |
Phases | make_cfg_phase ("cfg", new CfgPhase()) |
Phases | lir_gen_walker_phase ("lir", new lirGenWalkerPhase()) |
Phases | lir_flow_walker_phase ("lir_flow_walker", new lirFlowWalkerPhase()) |
Phases | reg_alloc_phase ("reg_alloc", new regAllocPhase()) |
Phases | asm_gen_phase ("asm", new asmGenWalkerPhase()) |
Phases | deadPhase ("dead", new DeadPhase()) |
Phases | listPhase ("listphases", new ListPhase(),"This phase lists currently registered phases.") |
Phases | treeCheckerPhase ("check-ast", new TreeCheckerPhase(),"This phase checks that the AST is indeed a tree.") |
Phases | fiPhase ("fi", new fi()) |
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
|
|
str_list* process_flags |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
|
|
|
Definition at line 359 of file main.cc.
References CBZ::ansi_preproc, CBZ::ANSIOnly, CBZ::ArchInfo, CBZ::default_preproc, CBZ::FormatReadably, CBZ::gcc_preproc, CBZ::GCCisms, arch_info::load_arch_info(), CBZ::NoRegAlloc, CBZ::output_suffix, Phases::phase_flag(), CBZ::preproc, CBZ::Preprocess, CBZ::Program, CBZ::ShowPreprocess, str_list, str_list_p, and CBZ::WarningLevel.
Referenced by main(). |
Variable Documentation
Phases listPhase("listphases", new ListPhase(), "This phase lists currently registered phases.")
|
|
Phases treeCheckerPhase("check-ast", new TreeCheckerPhase(), "This phase checks that the AST is indeed a tree.")
|
|
|