switches_util.h File Reference
Go to the source code of this file.
Function Documentation
| int switch_value |
( |
char const * |
switch_name |
) |
|
|
|
|
< int getopt(int argc, char **argv, char *optstring);
Definition at line 69 of file switches_util.cc.
References ProtoDatabase< S, T >::find_ref(), switches, and IntElem::value().
Referenced by _is_expr_evenly_divisible(), _iterate_to_fixed_point_phase(), _make_nonlocals_modified_at_calls(), _read_simplify_opts(), _update_succ_edges(), build_CD(), build_pidom(), ProgramUnit::burst_header(), cleanup_program(), collect_ar_statistics(), convert_case(), StmtList::create_directives(), define_switch(), do_wide_output(), Dominator_S(), expr_type(), Directive::generate_csrd_privaterefs_directive(), Directive::generate_csrd_readonlyrefs_directive(), Directive::generate_csrd_sharedrefs_directive(), Directive::generate_omp_directive(), Directive::generate_omp_do_directive(), InlineObject::inline_expand(), is_evenly_divisible(), main(), MakeGSA(), output_size(), Program::print(), print_stmt_list(), propagate_constants_pu(), propagate_outermost_DOs(), RangeComparator::RangeComparator(), Program::read(), restructure(), substitute_parameters_pu(), translate_special_name(), wide_space(), CommonBlockDict::write(), Program::write(), SymbolAccess::write(), and SymbolAccessRef::write(). |
| int parse_switches |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
char const * |
version, |
|
|
char ** |
intrin_file_name |
|
) |
|
|
| int read_switch_file |
( |
const char * |
file_name |
) |
|
|
| void dump_switches |
( |
ostream & |
o |
) |
|
|
|
|
o << " " << form("%16s", (const char *)*id) << form("%3d", val->value());
Definition at line 262 of file switches_util.cc.
References ProtoDatabase< S, T >::find_ref(), TypedBaseMap< S, T >::first_ref(), id(), TypedBaseMap< S, T >::successor_ref(), switches, and IntElem::value().
Referenced by Program::print(), and Program::write(). |
| void set_subst_field_print |
( |
|
) |
|
|
| void define_switch |
( |
char const * |
switch_name, |
|
|
int |
switch_value |
|
) |
|
|
| void adjust_switch_value |
( |
char const * |
switch_name, |
|
|
int |
new_value |
|
) |
|
|
|