-/** called, after the Firm generation is completed. */
-void gen_firm_finish(FILE *out, const char *input_filename, int firm_const_exists);
+/**
+ * Transform, optimize and generate code
+ *
+ * @param out a file handle for the output, may be NULL
+ * @param input_filename the name of the (main) source file
+ */
+void generate_code(FILE *out, const char *input_filename);