renamed all type * to ir_type *
[libfirm] / ir / ir / irprog.h
index ae431fa..ba8903f 100644 (file)
@@ -37,6 +37,7 @@
 
 # include "irnode.h"
 # include "type.h"
+# include "irgraph.h"
 
 
 /**
@@ -150,6 +151,12 @@ type *get_irp_type(int pos);
 /** Overwrites the type at position pos with another type. */
 void  set_irp_type(int pos, type *typ);
 
+/** Returns the number of all modes in the irp. */
+int   get_irp_n_modes(void);
+
+/** Returns the mode at position pos in the irp. */
+ir_mode *get_irp_mode(int pos);
+
 /**  Return the graph for global constants.
  *
  *   Returns an irgraph that only contains constant expressions for