libFirm
|
Removal of unreachable methods. More...
Go to the source code of this file.
Functions | |
void | gc_irgs (size_t n_keep, ir_entity *keep_arr[]) |
Removes all methods which are not reachable from "keep_arr". | |
ir_prog_pass_t * | gc_irgs_pass (const char *name) |
Creates an ir_prog pass for gc_irgs(). |
Removal of unreachable methods.
Removal of unreachable methods. The set of unreachable methods is computed by the callgraph.
Definition in file ircgopt.h.
void gc_irgs | ( | size_t | n_keep, |
ir_entity * | keep_arr[] | ||
) |
Removes all methods which are not reachable from "keep_arr".
Frees all interprocedural loop information.
ir_prog_pass_t* gc_irgs_pass | ( | const char * | name | ) |
Creates an ir_prog pass for gc_irgs().
name | the name of this pass or NULL |