* @author Sebastian Hack
* @date 29.11.2004
*/
-
-#ifndef _IRPRINTF_H
-#define _IRPRINTF_H
+#ifndef _FIRM_IR_IRPRINTF_H_
+#define _FIRM_IR_IRPRINTF_H_
#include "firm_config.h"
/**
* 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.
* - @%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
*
* 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, ...);
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 */
+#endif /* _FIRM_IR_IRPRINTF_H_ */