X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbepeephole.h;h=cb7dd0b773fb05df2993d1487a21f672148263a9;hb=1894b7dd99b524c25c8fa18c33c250ea2cde2e36;hp=fdbe3990290a8370f07d30c3fc3ad62be2a4f593;hpb=e9e2900d59c6a9cc93c1387547235af434d7b92b;p=libfirm diff --git a/ir/be/bepeephole.h b/ir/be/bepeephole.h index fdbe39902..cb7dd0b77 100644 --- a/ir/be/bepeephole.h +++ b/ir/be/bepeephole.h @@ -63,6 +63,14 @@ void be_peephole_before_exchange(const ir_node *old_node, ir_node *new_node); */ void be_peephole_after_exchange(ir_node *new_node); +/** + * Tries to optimize a beIncSp node with it's previous IncSP node. + * Must be run from a be_peephole_opt() context. + * + * @param node a be_IncSP node + */ +void be_peephole_IncSP_IncSP(ir_node *node); + /** * Do peephole optimisations. It traverses the schedule of all blocks in * backward direction. The register_values variable indicates which (live)