diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-05 11:45:30 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-05 11:47:33 -0700 |
commit | bdd9b1f3ffa2a195d983816adfeca20480256119 (patch) | |
tree | 09cfda2b66313b75f58c37d4d45c5f4404c14421 /ir_optimization.h | |
parent | 6255a1f4c6425aa311c90e9dc7fca41c34e8dc2b (diff) |
Move optimization pass prototypes to a single header.
Diffstat (limited to 'ir_optimization.h')
-rw-r--r-- | ir_optimization.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ir_optimization.h b/ir_optimization.h index 22ce75e10f..d9e30ce08c 100644 --- a/ir_optimization.h +++ b/ir_optimization.h @@ -28,4 +28,10 @@ * Prototypes for optimization passes to be called by the compiler and drivers. */ +bool do_constant_folding(exec_list *instructions); +bool do_copy_propagation(exec_list *instructions); +bool do_dead_code(exec_list *instructions); bool do_dead_code_local(exec_list *instructions); +bool do_dead_code_unlinked(exec_list *instructions); +bool do_function_inlining(exec_list *instructions); +bool do_if_simplification(exec_list *instructions); |