X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=driver%2Ffirm_cmdline.h;h=ca676e3ca7e2ccc5012e81c7666193b189e6237f;hb=31d4b094b88c607818eb46f0a5905f3472c89a06;hp=79e54a42274b1b6ec54a3cc7d1afc990afb7a128;hpb=31b78ca8ffddd0f74a9fa9fb18e001fd8651be5a;p=cparser diff --git a/driver/firm_cmdline.h b/driver/firm_cmdline.h index 79e54a4..ca676e3 100644 --- a/driver/firm_cmdline.h +++ b/driver/firm_cmdline.h @@ -14,7 +14,8 @@ enum an_os_support { OS_SUPPORT_LINUX, /**< create code for Linux OS */ - OS_SUPPORT_MINGW /**< create code for MinGW WIN32 */ + OS_SUPPORT_MINGW, /**< create code for MinGW WIN32 */ + OS_SUPPORT_MACHO /**< create code for MacOS Mach-O */ } an_os_support; enum a_debug_mode { @@ -31,8 +32,8 @@ struct a_firm_opt { a_byte reassoc; /**< enable reassociation */ a_byte cse; /**< enable common-subexpression elimination */ a_byte control_flow; /**< enable control flow optimizations */ - a_byte code_place; /**< enable global common-subexpression elimination - and code placement */ + a_byte combo; /**< enable combined CCE, UCE and GVN */ + a_byte gcse; /**< enable global common-subexpression elimination */ a_byte gvn_pre; /**< enable global common-subexpression elimination and partial redundancy elimination */ a_byte cond_eval; /**< enable condition evaluation */ @@ -53,13 +54,12 @@ struct a_firm_opt { a_byte precise_exc; /**< use precise exception context */ a_byte use_DivMod; /**< use DivMod nodes */ a_byte remove_unused; /**< remove unused functions */ - a_byte jmp_tbls; /**< create jump table for switch */ a_byte cloning; /**< enable procedure cloning */ a_byte auto_sync; /**< automatically create Sync nodes */ a_byte alias_analysis; /**< enable Alias Analysis */ a_byte strict_alias; /**< enable strict Alias Analysis (using type based AA) */ a_byte no_alias; /**< no aliasing possible. */ - a_byte luffig; /**< enable fluffy load/store optimization */ + a_byte sync; /**< use Syncs to remove unnecessary memory dependencies */ a_byte deconv; /**< enable conv node optimization */ a_byte cc_opt; /**< optimize calling conventions */ a_byte bool_opt; /**< perform bool simplification */ @@ -77,6 +77,8 @@ struct a_firm_opt { char *ycomp_host; /**< The host, yComp is running on */ int ycomp_port; /**< The port, yComp is listening on */ int clone_threshold; /**< The threshold value for procedure cloning. */ + unsigned inline_maxsize; /**< Maximum function size for inlining. */ + unsigned inline_threshold;/**< Inlining benefice threshold. */ a_byte vrfy_edges; /**< verify edges */ a_byte grs_simd_opt; a_byte grs_create_pattern;