X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=driver%2Ffirm_opt.h;h=90938cf9843ac70214b74ca925125e862643b093;hb=9a9a71f0190e6a79bc3712a1adb8c935fe7e48ca;hp=6b5f05fd08d606efadf387239c294e376f344486;hpb=80bccee8d428d09cb812f42be44bb1864a5e476f;p=cparser diff --git a/driver/firm_opt.h b/driver/firm_opt.h index 6b5f05f..90938cf 100644 --- a/driver/firm_opt.h +++ b/driver/firm_opt.h @@ -91,7 +91,7 @@ enum rts_names { rts_max }; -extern ir_entity_ptr rts_entities[rts_max]; +extern ir_entity *rts_entities[rts_max]; /** Initialize for the Firm-generating back end. */ void gen_firm_init(void); @@ -118,4 +118,10 @@ void firm_option_help(print_option_help_func func); * switches) */ void choose_optimization_pack(int level); +/** + * Initialize implicit optimization settings in firm. Frontends should call this + * before starting graph construction + */ +void init_implicit_optimizations(void); + #endif