diff options
Diffstat (limited to 'gcc/flags.h')
-rw-r--r-- | gcc/flags.h | 100 |
1 files changed, 88 insertions, 12 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index 29134834502..894e4ac4a45 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -39,6 +39,13 @@ enum debug_info_type /* Specify which kind of debugging info to generate. */ extern enum debug_info_type write_symbols; +/* APPLE LOCAL begin Symbol Separation */ +extern enum debug_info_type orig_write_symbols; + +/* Nonzero means, try to look for separate symbol repositories. */ +extern int flag_grepository; +/* APPLE LOCAL end Symbol Separation */ + /* Names of debug_info_type, for error messages. */ extern const char *const debug_type_names[]; @@ -210,6 +217,13 @@ extern int flag_branch_probabilities; extern int flag_reorder_blocks; +/* APPLE LOCAL begin hot/cold partitioning */ +/* Nonzero if basic blocks should be partitioned into hot and cold + sections of the .o file, in addition to being reordered. */ + +extern int flag_reorder_blocks_and_partition; +/* APPLE LOCAL end hot/cold partitioning */ + /* Nonzero if functions should be reordered. */ extern int flag_reorder_functions; @@ -239,6 +253,16 @@ extern int flag_print_asm_name; extern int flag_signed_char; +/* APPLE LOCAL coalescing */ +extern int flag_export_coalesced; + +/* APPLE LOCAL begin Pascal strings 2001-07-05 zll */ +/* Nonzero means initial "\p" in string becomes a length byte and + string type becomes _unsigned_ char* . */ + +extern int flag_pascal_strings; +/* APPLE LOCAL end Pascal strings 2001-07-05 zll */ + /* Nonzero means give an enum type only as many bytes as it needs. */ extern int flag_short_enums; @@ -277,18 +301,6 @@ extern int flag_float_store; extern int flag_strength_reduce; -/* Nonzero enables loop unrolling in unroll.c. Only loops for which the - number of iterations can be calculated at compile-time (UNROLL_COMPLETELY, - UNROLL_MODULO) or at run-time (preconditioned to be UNROLL_MODULO) are - unrolled. */ - -extern int flag_old_unroll_loops; - -/* Nonzero enables loop unrolling in unroll.c. All loops are unrolled. - This is generally not a win. */ - -extern int flag_old_unroll_all_loops; - /* Nonzero forces all invariant computations in loops to be moved outside the loop. */ @@ -303,6 +315,12 @@ extern int flag_prefetch_loop_arrays; extern int flag_reduce_all_givs; +/* Nonzero enables loop unrolling. */ +extern int flag_unroll_loops; + +/* Nonzero enables loop unswitching. */ +extern int flag_unswitch_loops; + /* Nonzero for -fcse-follow-jumps: have cse follow jumps to do a more extensive job. */ @@ -378,6 +396,13 @@ extern int flag_rerun_loop_opt; extern int flag_inline_functions; +/* APPLE LOCAL begin -fobey-inline */ +/* Nonzero for -fobey-inline: 'inline' keyword must be obeyed, regardless + of codesize. */ + +extern int flag_obey_inline; +/* APPLE LOCAL end -fobey-inline */ + /* Nonzero for -fkeep-inline-functions: even if we make a function go inline everywhere, keep its definition around for debugging purposes. */ @@ -725,6 +750,24 @@ extern int flag_tree_ccp; /* Enable SSA-DCE on trees. */ extern int flag_tree_dce; +/* Enable SSA-CHREC on trees. */ +extern int flag_scalar_evolutions; + +/* Enable the analysis of all the data dependences. */ +extern int flag_all_data_deps; + +/* Enable linear loop transforms on trees. */ +extern int flag_tree_loop_linear; + +/* Enable the elimination of checks on trees. */ +extern int flag_tree_elim_checks; + +/* Enable data dependence graph. */ +extern int flag_ddg; + +/* Enable loop vectorization on trees */ +extern int flag_tree_vectorize; + /* Enable SSA->normal pass memory location coalescing. */ extern int flag_tree_combine_temps; @@ -826,4 +869,37 @@ extern int flag_abi_version; #define HONOR_SIGN_DEPENDENT_ROUNDING(MODE) \ (MODE_HAS_SIGN_DEPENDENT_ROUNDING (MODE) && flag_rounding_math) +/* APPLE LOCAL begin -fast or -fastf or -fastcp */ +/* Nonzero if we should perform SPEC oriented optimizations for C. */ +extern int flag_fast; +/* Nonzero if we should perform SPEC oriented optimizations for C that is + produced by the NAG Fortan-to-C translator. */ +extern int flag_fastf; +/* Nonzero if we should perform SPEC oriented optimizations for C++. */ +extern int flag_fastcp; +/* APPLE LOCAL end -fast or -fastf -fastcp */ + +/* APPLE LOCAL gdb only used symbols */ +#ifdef DBX_ONLY_USED_SYMBOLS +/* Nonzero if generating debugger info for used symbols only. */ +extern int flag_debug_only_used_symbols; +#endif + +/* APPLE LOCAL BEGIN pch distcc mrs */ +/* True if PCH should omit from the -E output all lines from PCH files + found in PCH files. */ +extern int flag_pch_preprocess; +/* APPLE LOCAL END pch distcc mrs */ + +/* APPLE LOCAL begin loop transpose */ +/* Nonzero if we should perform automatic loop transposition. */ +extern int flag_loop_transpose; +/* APPLE LOCAL end loop transpose */ + +/* APPLE LOCAL begin predictive compilation */ +extern int predictive_compilation; +/* APPLE LOCAL end predictive compilation */ + +extern int disable_typechecking_for_spec_flag; + #endif /* ! GCC_FLAGS_H */ |