Fixed a type and a small bug
[libfirm] / ir / be / ia32 / ia32_optimize.h
index 7ea85c1..4ab5434 100644 (file)
@@ -1,6 +1,18 @@
 #ifndef _IA32_OPTIMIZE_H_
 #define _IA32_OPTIMIZE_H_
 
+/**
+ * Transforms a Firm Const into an ia32 Const and places it
+ * in the Block where it's used.
+ * This function is called by a walker.
+ */
 void ia32_place_consts(ir_node *irn, void *env);
 
+/**
+ * Checks for address mode patterns and performs the
+ * necessary transformations.
+ * This function is called by a walker.
+ */
+void ia32_optimize_am(ir_node *irn, void *env);
+
 #endif /* _IA32_OPTIMIZE_H_ */