#include <tree-pass.h>
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Create a copy of this pass.
Passes that can have multiple instances must provide their own
implementation of this, to ensure that any sharing of state between
this instance and the copy is "wired up" correctly.
The default implementation prints an error message and aborts.
Most passes are single-instance (within their context) and thus don't
need to implement cloning, but passes that support multiple instances
*must* provide their own implementation of the clone method.
Handle this by providing a default implemenation, but make it a fatal
error to call it.
Referenced by add_pass_instance(), execute_fold_all_builtins(), and gate_copyrename().
unsigned int opt_pass::execute |
( |
| ) |
|
|
virtualinherited |
This is the code to run. If has_execute is false, then there should
be sub-passes otherwise this pass does nothing.
The return value contains TODOs to execute in addition to those in
TODO_flags_finish.
Referenced by execute_fold_all_builtins(), gate_check_data_deps(), gate_copyrename(), gate_tree_loop_vectorize(), gate_tree_ssa_loop_ivopts(), make_pass_graphite(), mark_operand_necessary(), replace_profitable_candidates(), rewrite_blocks(), rtl_loop_done(), rtl_loop_init(), tree_ssa_loop_bounds(), and tree_ssa_loop_done().
Field Documentation
bool pass_data::has_execute |
|
inherited |
If true, this pass has its own implementation of the opt_pass::execute
method.
If true, this pass has its own implementation of the opt_pass::gate
method.
const char* pass_data::name |
|
inherited |
Next in the list of passes to run, independent of gate predicate.
Referenced by add_pass_instance().
unsigned int pass_data::optinfo_flags |
|
inherited |
The -fopt-info optimization group flags as defined in dumpfile.h.
unsigned int pass_data::properties_destroyed |
|
inherited |
unsigned int pass_data::properties_provided |
|
inherited |
unsigned int pass_data::properties_required |
|
inherited |
Sets of properties input and output from this pass.
int opt_pass::static_pass_number |
|
inherited |
unsigned int pass_data::todo_flags_finish |
|
inherited |
unsigned int pass_data::todo_flags_start |
|
inherited |
The timevar id associated with this pass.
??? Ideally would be dynamically assigned.
Referenced by ipa_write_summaries().
The documentation for this class was generated from the following file: