- stack alignment is now power of two
[libfirm] / ir / be / bepeephole.h
index 496634d..cb7dd0b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -63,12 +63,20 @@ 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)
  * values are stored in which register.
  * The generic op handler is called for each node if it exists. That's where
- * backedn specific optimisations should be performed based on the
+ * backend specific optimisations should be performed based on the
  * register-liveness information.
  */
 void be_peephole_opt(be_irg_t *birg);