local_optimize() now kills unrteachable code if dominance info is available.
[libfirm] / ir / ir / irprintf.h
index f31833f..22934dd 100644 (file)
@@ -50,6 +50,9 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit,
 
 /**
  * A string formatting routine for ir objects.
+ *
+ * @param fmt  The format string.
+ *
  * This function rudimentary implements a kind of printf(3) for ir
  * nodes. Following conversion specifiers. No length, special or field
  * width specifiers are accepted.
@@ -73,6 +76,8 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit,
  * - @%B The block node number of the nodes block.
  * - @%b A bitset.
  * - @%= A pnc value
+ * - @%G A debug info (if available)
+ * - @%P A compound graph path
  *
  * Each of these can be prepend by a '+' which means, that the given
  * pointer is a collection of items specified by the format. In this
@@ -105,8 +110,6 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit,
  *
  *   ir_printf("A set of xyz\'s: %*C\n", it_pset, xyzs, xyz_dump);
  * @endcode
- *
- * @param fmt The format string.
  */
 void ir_printf(const char *fmt, ...);
 
@@ -141,7 +144,7 @@ void ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args);
 void ir_obst_vprintf(struct obstack *obst, const char *fmt, va_list args);
 
 #ifdef WITH_LIBCORE
-#include <libcore/xprintf.h>
+#include <libcore/lc_printf.h>
 #endif /* WITH_LIBCORE */
 
 #endif /* _IRPRINTF_H */