+ * Exports all types, all ir graphs, and the constant graph.
+ */
+FIRM_API void ir_export(const char *filename);
+
+/**
+ * same as ir_export but writes to a FILE*
+ */
+FIRM_API void ir_export_file(FILE *output, const char *outputname);
+
+/**
+ * Write the given ir graph to a stream in a textual format
+ *
+ * @param irg the ir graph
+ * @param output output stream the irg is written to
+ * @param outputname a name for the output stream (used for error messages)
+ *