libFirm 1.20
|
Flags to control optimizations. More...
Go to the source code of this file.
Typedefs | |
typedef unsigned | optimization_state_t |
A container type to load/restore all optimizations. | |
Enumerations | |
enum | firm_verification_t { FIRM_VERIFICATION_OFF = 0, FIRM_VERIFICATION_ON = 1, FIRM_VERIFICATION_REPORT = 2, FIRM_VERIFICATION_ERROR_ONLY = 3 } |
Possible verification modes. More... | |
Functions | |
void | set_optimize (int value) |
This function enables/disables optimizations globally. | |
int | get_optimize (void) |
Returns global optimizations flag. | |
void | set_opt_constant_folding (int value) |
Enables/Disables constant folding optimization. | |
void | set_opt_algebraic_simplification (int value) |
Enables/Disables algebraic simplifications. | |
void | set_opt_cse (int value) |
Enables/Disables common subexpression elimination. | |
int | get_opt_cse (void) |
Returns constant folding optimization setting. | |
void | set_opt_global_cse (int value) |
Enables/Disables global constant subexpression elimination. | |
void | set_opt_suppress_downcast_optimization (int value) |
Restricts the behavior of cast optimization. | |
int | get_opt_suppress_downcast_optimization (void) |
Returns suppred_downcast flag. | |
void | set_opt_global_null_ptr_elimination (int value) |
Enable/Disable Global Null Pointer Test Elimination. | |
void | set_opt_auto_create_sync (int value) |
Enable/Disable Automatic construction of Sync nodes during Firm construction. | |
void | set_opt_alias_analysis (int value) |
Enable/Disable Alias analysis. | |
void | set_opt_closed_world (int value) |
Enable/Disable closed world assumption. | |
void | save_optimization_state (optimization_state_t *state) |
Save the current optimization state. | |
void | restore_optimization_state (const optimization_state_t *state) |
Restore the current optimization state. | |
void | all_optimizations_off (void) |
Switches ALL optimizations off. | |
void | do_node_verification (firm_verification_t mode) |
Select verification of IR nodes and types. |
Flags to control optimizations.
Definition in file irflag.h.