Do not link on every make invocation
[cparser] / driver / firm_opt.h
index 9f3516f..6b5f05f 100644 (file)
@@ -96,11 +96,16 @@ extern ir_entity_ptr rts_entities[rts_max];
 /** Initialize for the Firm-generating back end. */
 void gen_firm_init(void);
 
-/** called, after the Firm generation is completed. */
-void gen_firm_finish(FILE *out, const char *input_filename);
-
-/** early initialization. */
-void firm_early_init(void);
+/** free resources hold by firm-generating back end */
+void gen_firm_finish(void);
+
+/**
+ * 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);
 
 /** process optimization commandline option */
 int firm_option(const char *opt);