#include "defs.h"#include "controls.h"#include "config.h"#include "erglob.h"#include "glob.h"#include "tracing.h"#include "targ_ctrl.h"

Go to the source code of this file.
Data Types | |
| type | str_list |
| type | CONTROL_INFO |
| type | o_gr_exp |
| type | CONTROL_GROUP_INFO |
| type | CTRL_VAL_SET |
Defines | |
| #define | FOR_ALL_CONTROLS(i) for (i=CONTROL_FIRST; i<CONTROL_LAST; i++) |
| #define | STRLIST_item(x) (x)->item |
| #define | CI_HAS_AA_VAL 0x0001 |
| #define | CI_HAS_ONCE_VAL 0x0002 |
| #define | CI_USER_SPECIFIED_IMPL 0x0004 |
| #define | CI_USER_SPECIFIED_EXPL 0x0008 |
| #define | CI_USER_SPECIFIED (CI_USER_SPECIFIED_IMPL|CI_USER_SPECIFIED_EXPL) |
| #define | CI_NAMELIST_TYPE 0x0010 |
| #define | CI_CAN_CHANGE 0x0020 |
| #define | CI_SCOPE 0x0f00 |
| #define | CI_SCOPE_LINE 0x0100 |
| #define | CI_SCOPE_LOOP 0x0200 |
| #define | CI_SCOPE_ROUTINE 0x0300 |
| #define | CI_SCOPE_FILE 0x0400 |
| #define | CI_SCOPE_COMPILATION 0x0500 |
| #define | CI_HAS_CHANGED 0x1000 |
| #define | IS_INT_TYPED(ci) |
| #define | IS_NLIST_TYPED(ci) |
| #define | CI_int(ci, f) (IS_INT_TYPED(ci))->f |
| #define | CI_nlist(ci, f) ((STR_LIST*)(IS_NLIST_TYPED(ci))->f) |
| #define | Set_CI_int(ci, f, v) (IS_INT_TYPED(ci))->f=(v) |
| #define | Set_CI_nlist(ci, f, v) (IS_NLIST_TYPED(ci)->f)=((INTPS)(v)) |
| #define | CI_can_change(ci) ((ci)->flags & CI_CAN_CHANGE) |
| #define | CI_scope(ci) ((ci)->flags & CI_SCOPE) |
| #define | CI_has_changed(ci) ((ci)->flags & CI_HAS_CHANGED) |
| #define | Set_CI_has_changed(ci) ((ci)->flags |= CI_HAS_CHANGED) |
| #define | CI_has_AA_val(ci) ((ci)->flags & CI_HAS_AA_VAL) |
| #define | Set_CI_has_AA_val(ci) ((ci)->flags |= CI_HAS_AA_VAL) |
| #define | Reset_CI_has_AA_val(ci) ((ci)->flags &= ~CI_HAS_AA_VAL) |
| #define | CI_has_once_val(ci) ((ci)->flags & CI_HAS_ONCE_VAL) |
| #define | Set_CI_has_once_val(ci) ((ci)->flags |= CI_HAS_ONCE_VAL) |
| #define | Reset_CI_has_once_val(ci) ((ci)->flags &= ~CI_HAS_ONCE_VAL) |
| #define | CI_user_specified(ci) ((ci)->flags & CI_USER_SPECIFIED) |
| #define | Set_CI_user_specified(ci) ((ci)->flags |= CI_USER_SPECIFIED) |
| #define | Reset_CI_user_specified(ci) ((ci)->flags &= ~CI_USER_SPECIFIED) |
| #define | CI_user_specified_impl(ci) ((ci)->flags & CI_USER_SPECIFIED_IMPL) |
| #define | Set_CI_user_specified_impl(ci) ((ci)->flags |= CI_USER_SPECIFIED_IMPL) |
| #define | Reset_CI_user_specified_impl(ci) ((ci)->flags &= ~CI_USER_SPECIFIED_IMPL) |
| #define | CI_user_specified_expl(ci) ((ci)->flags & CI_USER_SPECIFIED_EXPL) |
| #define | Set_CI_user_specified_expl(ci) ((ci)->flags |= CI_USER_SPECIFIED_EXPL) |
| #define | Reset_CI_user_specified_expl(ci) ((ci)->flags &= ~CI_USER_SPECIFIED_EXPL) |
| #define | CI_is_int_type(ci) (((ci)->flags & CI_NAMELIST_TYPE) == 0) |
| #define | CI_is_nlist_type(ci) ((ci)->flags & CI_NAMELIST_TYPE) |
| #define | Report_Error if (Diag_Controls) ErrMsg |
| #define | N CI_NAMELIST_TYPE |
| #define | MI 0x7fffffff |
| #define | H CI_CAN_CHANGE |
| #define | P CI_SCOPE_LOOP |
| #define | L CI_SCOPE_LINE |
| #define | R CI_SCOPE_ROUTINE |
| #define | F CI_SCOPE_FILE |
| #define | C CI_SCOPE_COMPILATION |
| #define | CGI_IS_INT_TYPE 0x0001 |
| #define | CGI_is_int_type(c) ((c)->flags & CGI_IS_INT_TYPE != 0) |
| #define | IS_ID_CHAR(c) |
| #define | ERRORS_FOUND 1 |
| #define | NO_ERRORS_FOUND 0 |
| #define | CI_name(a) ((a)->name) |
| #define | debugging FALSE |
| #define | dprintf if (debugging) printf |
| #define | CI_allowed_vals(a) CI_nlist(a,min_val) |
Typedefs | |
| typedef struct str_list | STR_LIST |
| typedef struct o_gr_exp | O_GR_EXP |
Functions/Subroutines | |
| static STR_LIST * | make_nlist (char *name, STR_LIST *next) |
| static INT | store_ctrl (char *, STR_LIST *, INT) |
| static BOOL | is_nlist_typed (char *name) |
| INT | Process_Control_Opt (const char *save_a, INT flags) |
| static BOOL | same_name_lists (STR_LIST *a, STR_LIST *b) |
| static void | push_cur_val (CONTROL_INFO *a) |
| void | Init_Controls_Tbl (void) |
| static void | save_ctrl_val_set (CTRL_VAL_SET *s) |
| static void | restore_ctrl_val_set (CTRL_VAL_SET *r) |
| void | Save_Routine_Top_Ctrls (void) |
| void | Restore_Routine_Top_Ctrls (void) |
| void | Restore_Cmd_Line_Ctrls (void) |
| void | Apply_Controls (void) |
| void | Apply_Routine_Scope_Controls (void) |
| INT32 | Get_Int_Ctrl_Val (CONTROL a) |
| const char * | Get_Name_Ctrl_Val (CONTROL a) |
| void | Pop_Controls (INT32 level) |
| void | Pop_Once_Line_Controls (void) |
| INT | Process_Pragma (char *x) |
| void | Print_Controls (FILE *fp, const char *tag, BOOL def) |
| void | Fix_g_O (void) |
Variables | |
| const char * | ci_int_type_message = "Control %s expects integer values" |
| const char * | ci_nlist_type_message = "Control %s expects namelist values" |
| static BOOL | Inside_A_Routine = FALSE |
| BOOL | Diag_On_Pragmas = TRUE |
| static BOOL | Diag_Controls = TRUE |
| static STR_LIST | ccv0 = {"cckr", NULL} |
| static STR_LIST | ccv1 = {"xansi", &ccv0} |
| static STR_LIST | ccv2 = {"cplus", &ccv1} |
| static STR_LIST | ccv = {"ansi", &ccv2} |
| static STR_LIST | icv0 = {"signed", NULL} |
| static STR_LIST | icv = {"unsigned",&icv0} |
| static STR_LIST | ocv0 = {"svr4", NULL} |
| static STR_LIST | ocv = {"svr3", &ocv0} |
| CONTROL_INFO | Aflag_Tbl [] |
| static O_GR_EXP | o_group_expansion [] |
| static O_GR_EXP | f_group_expansion [] |
| static CONTROL_GROUP_INFO | Control_Group_Tbl [] |
| CTRL_VAL_SET | routine_top_values |
| CTRL_VAL_SET | cmd_line_values |
| #define C CI_SCOPE_COMPILATION |
Definition at line 221 of file controls.cxx.
Referenced by arc_insn_not_jl(), arc_limm_fixup_adjust(), dsmOneArcInst(), Get_Doacross_Tile_Size(), KEY_SCH::GetLine(), insert_base(), insert_offset(), insert_st_syntax(), md5_process_block(), and process_command().
| #define CGI_IS_INT_TYPE 0x0001 |
Definition at line 347 of file controls.cxx.
| #define CI_can_change | ( | ci | ) | ((ci)->flags & CI_CAN_CHANGE) |
Definition at line 139 of file controls.cxx.
| #define CI_CAN_CHANGE 0x0020 |
Definition at line 117 of file controls.cxx.
| #define CI_has_AA_val | ( | ci | ) | ((ci)->flags & CI_HAS_AA_VAL) |
| #define CI_HAS_AA_VAL 0x0001 |
Definition at line 107 of file controls.cxx.
| #define CI_has_changed | ( | ci | ) | ((ci)->flags & CI_HAS_CHANGED) |
Definition at line 142 of file controls.cxx.
| #define CI_HAS_CHANGED 0x1000 |
Definition at line 124 of file controls.cxx.
| #define CI_has_once_val | ( | ci | ) | ((ci)->flags & CI_HAS_ONCE_VAL) |
| #define CI_HAS_ONCE_VAL 0x0002 |
Definition at line 108 of file controls.cxx.
| #define CI_is_int_type | ( | ci | ) | (((ci)->flags & CI_NAMELIST_TYPE) == 0) |
Definition at line 165 of file controls.cxx.
Referenced by Init_Controls_Tbl(), and Print_Controls().
| #define CI_is_nlist_type | ( | ci | ) | ((ci)->flags & CI_NAMELIST_TYPE) |
| #define CI_NAMELIST_TYPE 0x0010 |
Definition at line 115 of file controls.cxx.
Referenced by Get_Int_Ctrl_Val(), and Get_Name_Ctrl_Val().
Definition at line 135 of file controls.cxx.
Referenced by Get_Name_Ctrl_Val(), Print_Controls(), and store_ctrl().
| #define CI_scope | ( | ci | ) | ((ci)->flags & CI_SCOPE) |
| #define CI_SCOPE 0x0f00 |
Definition at line 118 of file controls.cxx.
| #define CI_SCOPE_COMPILATION 0x0500 |
Definition at line 123 of file controls.cxx.
| #define CI_SCOPE_FILE 0x0400 |
| #define CI_SCOPE_LINE 0x0100 |
| #define CI_SCOPE_LOOP 0x0200 |
| #define CI_SCOPE_ROUTINE 0x0300 |
| #define CI_user_specified | ( | ci | ) | ((ci)->flags & CI_USER_SPECIFIED) |
| #define CI_USER_SPECIFIED (CI_USER_SPECIFIED_IMPL|CI_USER_SPECIFIED_EXPL) |
Definition at line 114 of file controls.cxx.
| #define CI_user_specified_expl | ( | ci | ) | ((ci)->flags & CI_USER_SPECIFIED_EXPL) |
| #define CI_USER_SPECIFIED_EXPL 0x0008 |
Definition at line 112 of file controls.cxx.
| #define CI_user_specified_impl | ( | ci | ) | ((ci)->flags & CI_USER_SPECIFIED_IMPL) |
Definition at line 157 of file controls.cxx.
| #define CI_USER_SPECIFIED_IMPL 0x0004 |
Definition at line 110 of file controls.cxx.
| #define debugging FALSE |
| #define dprintf if (debugging) printf |
| #define ERRORS_FOUND 1 |
| #define F CI_SCOPE_FILE |
Definition at line 220 of file controls.cxx.
Referenced by __cdiv(), __csqrt(), __dmod(), __log10f(), __log1p(), __log1pf(), __logf(), __racosd(), __rasind(), __ratand(), __ratn2d(), __rcosd(), __rmod(), __rnint(), __rsign(), __rsind(), __rtand(), _type_f(), Add_Goto(), Change_Succ(), Change_Succ_Prob(), check_defines(), Clone_Blocks(), Collapse_Empty_Goto(), Collapse_Same_Logif(), Compute_Miss_Bytes(), Convert_Goto_To_If(), Convert_Goto_To_Return(), Convert_If_To_Goto(), e_d(), f_define(), h_nint(), i_define(), i_nint(), Insert_Compensate_BB(), l_nint(), m32c_all_frame_related(), m32c_emit_prologue(), m32c_pushm_popm(), main(), KEY_SCH::Peeling_For_Unknown_Trip(), print_freg(), print_insn_pdp11(), print_operand(), print_reg(), print_signed_octal(), Prob_OK(), Prob_sum_ok(), r_abs(), r_sign(), rd_ed(), Target_Logif_BB(), Target_Simple_Fall_Through_BB(), Update_CFG(), and w_ed().
Definition at line 83 of file controls.cxx.
| #define H CI_CAN_CHANGE |
Definition at line 216 of file controls.cxx.
Referenced by _type_f(), lambda_compute_step_signs(), lambda_loopnest_transform(), ne_d(), PF_UGS::PF_UGS(), rd_ned(), and w_ned().
| #define IS_ID_CHAR | ( | c | ) |
| #define IS_INT_TYPED | ( | ci | ) |
Value:
(Is_True(((ci)->flags&CI_NAMELIST_TYPE)==0,\ (ci_int_type_message, ci->name)),(ci))
Definition at line 129 of file controls.cxx.
| #define IS_NLIST_TYPED | ( | ci | ) |
Value:
(Is_True(((ci)->flags&CI_NAMELIST_TYPE),\ (ci_nlist_type_message, ci->name)),(ci))
Definition at line 131 of file controls.cxx.
| #define L CI_SCOPE_LINE |
Definition at line 218 of file controls.cxx.
Referenced by $DFI(), $EFI(), __attribute__(), __cosh(), __coshf(), __cqdiv(), __cqsqrt(), __dcis(), __drem(), __expf(), __f77_f_back_com(), __fixdfsi(), __fixunssfsi(), __floatsidf(), __floatunsidf(), __fmod(), __leb128_decode(), __leb128_encode(), __libm_dcis(), __log(), __log10(), __log10f(), __logf(), __pow(), __powf(), __q_acosd(), __q_asind(), __q_atand(), __q_cosd(), __q_sind(), __q_tand(), __qatan2d(), __rcis(), __s_rsfi_com(), __sincos(), __sinh(), __sinhf(), __tanh(), __tanhf(), _bfd_vms_slurp_gsd(), RGN_CFLOW_MGR::_compute_node_level(), _elf_csum(), _FWF(), _type_f(), _U_Qfneg(), _unit_trunc(), _Unwind_Find_Entry(), add_fdes(), adjust_insn_length(), alpha_expand_epilogue(), alpha_expand_prologue(), alpha_fold_builtin(), alpha_sa_mask(), alpha_start_function(), aout_adobe_callback(), arc_save_restore(), bset_h(), bset_l(), btest_h(), btest_l(), c_dfe(), c_due(), c_le(), c_nle(), c_sfe(), c_sue(), calculate_iteration_count(), check_defines(), Cif_Getfiledir(), cif_machine_characteristics_rec(), cif_summary_rec(), classify_object_over_fdes(), compare_derived_types(), complex_sqrt(), compute_frame_size(), compute_register_save_size(), cprop(), create_format_tmp(), create_go32_stub(), create_runtime_array_constructor(), cvrt_exp_to_pdg(), DEFUN(), determine_slice_size(), disassemble(), e_d(), elf32_checksum(), en_fio(), etir_opr(), expand_epilogue(), expand_prologue(), expandargv(), extract_mbe(), extract_normal(), f77nowreading(), f77nowwriting(), f_clos_com(), f_del_com(), f_end_com(), f_find_com(), f_init(), f_open_com(), f_rew_com(), f_unl_com(), ffecom_init_0(), flatten_function_call(), fstat(), gen_bd_entry(), gen_mix4right(), gen_nop_b(), gen_nop_f(), gen_nop_i(), gen_nop_x(), gen_shift_mix4left(), gen_smuldi3_highpart(), gen_split_301(), gen_split_302(), gen_split_350(), gen_split_352(), gen_umuldi3_highpart(), get_ufd(), ggc_pch_alloc_object(), ggc_pch_read(), gs_read(), hash1(), huge_intrinsic(), init_cif(), init_cmd_line(), Init_Prefetch_Options(), insert_1(), insert_mbe(), insert_normal(), interpret_array_construct_opr(), interpret_implied_do(), interpret_ref(), l_R16(), linear_search_fdes(), lower_io_statement(), m32r_output_function_epilogue(), main(), map_luno(), mips_expand_epilogue(), ntr_const_tbl(), ntr_unshared_const_tbl(), ppcboot_object_p(), put_insn_int_value(), ran_(), rd_ed(), read_sleb128(), read_zip_archive(), recog(), recog_1(), recog_10(), recog_11(), recog_2(), recog_4(), recog_5(), recog_6(), recog_7(), recog_8(), recog_9(), reshape_intrinsic(), s_rsli_com(), s_wsfi64_mp(), s_wsli_com(), save_restore_insns(), shft_l(), shft_ll(), sparc_flat_save_restore(), split_1(), split_2(), srch_ar_file_for_module_tbl(), ST_is_const_initialized_scalar(), stat(), t_runc(), tic30_aout_callback(), tir_opr(), tir_sto(), transfer_intrinsic(), try_constant_tricks(), udivmodsi4(), unwind_dump2ascii(), unwind_dump2elf(), unwind_dump_body_desc(), unwind_dump_header_desc(), unwind_dump_prologue_desc(), unwind_frame(), unwind_get_obj_data(), unwind_info_add_body_header(), unwind_info_add_prologue_gr_header(), unwind_info_add_prologue_header(), unwind_info_finalize(), unwind_info_initialize(), unwind_process_body_desc(), unwind_process_desc(), unwind_process_header_desc(), unwind_process_prologue_desc(), utime(), vms_canonicalize_dynamic_reloc(), vms_canonicalize_dynamic_symtab(), vms_get_dynamic_reloc_upper_bound(), vms_get_reloc_upper_bound(), w_ed(), wait_send_semantics(), y_ungetc(), yyparse(), zone_clear_object_alloc_bit(), and zone_set_object_alloc_bit().
| #define MI 0x7fffffff |
Definition at line 215 of file controls.cxx.
| #define N CI_NAMELIST_TYPE |
Definition at line 214 of file controls.cxx.
Referenced by PF_LG::Add_Group(), PF_LG::Add_Ref(), KEY_SCH::Addr_Generation(), compute_all_dependences(), Compute_Footprint(), compute_predicate_codes(), PF_UGS::ComputePFVec(), construct_transitive_closure(), PF_LG::Distance_LR(), dump_number_seen(), SGI::block< T, N >::empty(), SGI::block< T, N >::end(), Gen_quad_preg(), Get_Doacross_Tile_Size(), RG::Insert(), PF_LG::LR_Compare(), SGI::block< T, N >::max_size(), process_define_predicate(), PF_LG::Ref_In_LG(), SGI::block< T, N >::size(), SGI::block< T, N >::swap(), and PF_LG::Volume().
| #define NO_ERRORS_FOUND 0 |
| #define P CI_SCOPE_LOOP |
Definition at line 217 of file controls.cxx.
Referenced by do_f4f8_mp(), do_fio64_mp(), elim_backward(), elim_create(), elim_unvisited_predecessor(), Get_Doacross_Tile_Size(), LI_OP_INFO_MGR::Init_OP_Level(), and ne_d().
| #define R CI_SCOPE_ROUTINE |
Definition at line 219 of file controls.cxx.
Referenced by __adddf3(), __addsf3(), __addtf3(), __divdf3(), __divsf3(), __divtf3(), __extenddftf2(), __extendsfdf2(), __extendsftf2(), __muldf3(), __mulsf3(), __multf3(), __negdf2(), __negsf2(), __negtf2(), __subdf3(), __subsf3(), __subtf3(), __truncdfsf2(), __trunctfdf2(), __trunctfsf2(), arc_insn_not_jl(), Compute_BR_Prob_From_Hint(), gen_selrk(), and insert_absaddr().
| #define Report_Error if (Diag_Controls) ErrMsg |
Definition at line 194 of file controls.cxx.
Referenced by Apply_Controls(), Process_Control_Opt(), and store_ctrl().
| #define Reset_CI_has_AA_val | ( | ci | ) | ((ci)->flags &= ~CI_HAS_AA_VAL) |
Definition at line 147 of file controls.cxx.
| #define Reset_CI_has_once_val | ( | ci | ) | ((ci)->flags &= ~CI_HAS_ONCE_VAL) |
| #define Reset_CI_user_specified | ( | ci | ) | ((ci)->flags &= ~CI_USER_SPECIFIED) |
Definition at line 155 of file controls.cxx.
| #define Reset_CI_user_specified_expl | ( | ci | ) | ((ci)->flags &= ~CI_USER_SPECIFIED_EXPL) |
Definition at line 163 of file controls.cxx.
| #define Reset_CI_user_specified_impl | ( | ci | ) | ((ci)->flags &= ~CI_USER_SPECIFIED_IMPL) |
Definition at line 159 of file controls.cxx.
| #define Set_CI_has_AA_val | ( | ci | ) | ((ci)->flags |= CI_HAS_AA_VAL) |
| #define Set_CI_has_changed | ( | ci | ) | ((ci)->flags |= CI_HAS_CHANGED) |
| #define Set_CI_has_once_val | ( | ci | ) | ((ci)->flags |= CI_HAS_ONCE_VAL) |
| #define Set_CI_user_specified | ( | ci | ) | ((ci)->flags |= CI_USER_SPECIFIED) |
Definition at line 154 of file controls.cxx.
| #define Set_CI_user_specified_expl | ( | ci | ) | ((ci)->flags |= CI_USER_SPECIFIED_EXPL) |
| #define Set_CI_user_specified_impl | ( | ci | ) | ((ci)->flags |= CI_USER_SPECIFIED_IMPL) |
| #define STRLIST_item | ( | x | ) | (x)->item |
Definition at line 924 of file controls.cxx.
References a, Allow_Word_Aligned_Doubles, CI_user_specified, CONTROL_ALIAS, CONTROL_ALNREF, CONTROL_C, CONTROL_CALLMOD, CONTROL_CASE, CONTROL_CHAR, CONTROL_DEFVOL, CONTROL_DIAG, CONTROL_DLINE, CONTROL_FIRST, CONTROL_LAST, CONTROL_MAP, CONTROL_UNROLL, CONTROL_UNROLLEXACT, CONTROL_INFO::cur_val, Diag_Controls, Diag_On_Pragmas, EC_Unimp_Align, ES_ERROR, FALSE, Get_Int_Ctrl_Val(), i, CONTROL_INFO::index, INT, INT32, Min_Error_Severity, CONTROL_INFO::name, Report_Error, save_ctrl_val_set(), and TRUE.
Definition at line 983 of file controls.cxx.
References CONTROL_FP, CONTROL_G, Get_Int_Ctrl_Val(), Max_Symbolic_Debug_Mode, SDM_GEN_FP, SDM_LINE, SDM_NONE, SDM_SYMBOL, SDM_USE_FP, and Symbolic_Debug_Mode.
Definition at line 1132 of file controls.cxx.
References CONTROL_ALIAS, CONTROL_CALLMOD, CONTROL_CONSTP, CONTROL_COPYP, CONTROL_DOMAIN, CONTROL_FCM, CONTROL_FLOW, CONTROL_MOPT, CONTROL_REG, CONTROL_SCHED, CONTROL_XOPT, Debug_Level, EC_Fix_g_O, ErrMsg(), Opt_Level, and Set_CI_int.
Definition at line 1000 of file controls.cxx.
References CI_int, CI_NAMELIST_TYPE, flags, INT, and Is_True.
Referenced by Apply_Controls(), and Apply_Routine_Scope_Controls().
| const char* Get_Name_Ctrl_Val | ( | CONTROL | a | ) |
Definition at line 1010 of file controls.cxx.
References CI_NAMELIST_TYPE, CI_nlist, flags, INT, Is_True, and STRLIST_item.
Definition at line 796 of file controls.cxx.
References a, BOOL, calloc(), CI_allowed_vals, CI_is_int_type, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, CONTROL_INFO::first_def, fprintf(), Get_Trace(), i, CONTROL_INFO::index, INT, Is_True, str_list::item, CONTROL_INFO::max_val, CONTROL_INFO::min_val, CONTROL_INFO::name, str_list::next, NULL, Print_Controls(), CONTROL_INFO::sec_def, Set_CI_nlist, TFile, TP_MISC, and TRUE.
Referenced by WFE_Init(), and WGEN_Init().
| static BOOL is_nlist_typed | ( | char * | name | ) | [static] |
Definition at line 414 of file controls.cxx.
References a, CGI_is_int_type, CI_is_nlist_type, CONTROL_FIRST, CONTROL_LAST, FALSE, i, INT, CONTROL_GROUP_INFO::name, CONTROL_INFO::name, and strcmp().
Referenced by Process_Control_Opt().
Definition at line 383 of file controls.cxx.
References str_list::item, str_list::next, r, Src_Alloc, strcpy, and strlen().
Referenced by Process_Control_Opt().
Definition at line 1032 of file controls.cxx.
References a, CI_has_once_val, CI_scope, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, i, INT, CONTROL_INFO::prev_val, and Reset_CI_has_once_val.
Referenced by Pop_Once_Line_Controls().
Definition at line 1106 of file controls.cxx.
References a, BOOL, CI_is_int_type, CI_nlist, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, CONTROL_INFO::first_def, fprintf(), i, INT, str_list::item, CONTROL_INFO::name, str_list::next, and s.
Referenced by Init_Controls_Tbl(), Prepare_Source(), Restore_Cmd_Line_Ctrls(), Restore_Routine_Top_Ctrls(), and Save_Routine_Top_Ctrls().
Definition at line 443 of file controls.cxx.
References a, EC_Ctrl_Paren, EC_Ctrl_Syntax, ERRORS_FOUND, INT, IS_ID_CHAR, is_nlist_typed(), make_nlist(), nl, NO_ERRORS_FOUND, NULL, Report_Error, s, Src_Alloc, store_ctrl(), strcpy, strlen(), and strncpy().
Referenced by Process_Pragma(), and store_ctrl().
| INT Process_Pragma | ( | char * | x | ) |
Definition at line 1064 of file controls.cxx.
References flags, HCO_ONCE, HCO_PRAGMA, INT, Process_Control_Opt(), and r.
| static void push_cur_val | ( | CONTROL_INFO * | a | ) | [static] |
Definition at line 575 of file controls.cxx.
References CONTROL_INFO::cur_val, CONTROL_INFO::prev_val, and Set_CI_has_once_val.
Referenced by store_ctrl().
Definition at line 911 of file controls.cxx.
References BOOL, fprintf(), Get_Trace(), Print_Controls(), restore_ctrl_val_set(), TFile, TP_MISC, and TRUE.
Referenced by WFE_File_Init(), and WGEN_File_Init().
| static void restore_ctrl_val_set | ( | CTRL_VAL_SET * | r | ) | [static] |
Definition at line 874 of file controls.cxx.
References CONTROL_FIRST, i, INT, and CTRL_VAL_SET::value.
Referenced by Restore_Cmd_Line_Ctrls(), and Restore_Routine_Top_Ctrls().
Definition at line 897 of file controls.cxx.
References BOOL, FALSE, fprintf(), Get_Trace(), Inside_A_Routine, Print_Controls(), restore_ctrl_val_set(), TFile, TP_MISC, and TRUE.
Definition at line 542 of file controls.cxx.
References BOOL, FALSE, INT16, str_list::item, str_list::next, p, strcmp(), and TRUE.
Referenced by store_ctrl().
| static void save_ctrl_val_set | ( | CTRL_VAL_SET * | s | ) | [static] |
Definition at line 866 of file controls.cxx.
References CONTROL_FIRST, CONTROL_INFO::cur_val, i, INT, and CTRL_VAL_SET::value.
Referenced by Apply_Controls(), and Save_Routine_Top_Ctrls().
Definition at line 883 of file controls.cxx.
References BOOL, fprintf(), Get_Trace(), Inside_A_Routine, Print_Controls(), save_ctrl_val_set(), TFile, TP_MISC, and TRUE.
Definition at line 596 of file controls.cxx.
References a, atoi(), BOOL, CGI_is_int_type, changed, CI_has_AA_val, CI_int, CI_is_nlist_type, CI_name, CI_nlist, CI_scope, CI_SCOPE_FILE, CI_SCOPE_LOOP, CI_SCOPE_ROUTINE, CI_user_specified_expl, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, debugging, dprintf, EC_Change_AA, EC_Ctrl_Integer, EC_Ctrl_Numeric, EC_Ctrl_Range, EC_File_Scope, EC_Group_Mult, EC_Group_Range, EC_Inv_Ctrl_Val, EC_Override, EC_Routine_Scope, EC_Unimp_Actrl, EC_Unimp_Once, EC_Unrec_Group, ERRORS_FOUND, CONTROL_GROUP_INFO::expansion, FALSE, HCO_AAVAL, HCO_IMPLICIT, HCO_ONCE, HCO_PRAGMA, i, Inside_A_Routine, INT, INT32, Is_True, str_list::item, CONTROL_GROUP_INFO::max_val, CONTROL_GROUP_INFO::min_val, CONTROL_GROUP_INFO::name, CONTROL_INFO::name, o_gr_exp::name, str_list::next, nl, NO_ERRORS_FOUND, NULL, o, p, printf(), Process_Control_Opt(), push_cur_val(), Report_Error, same_name_lists(), CONTROL_GROUP_INFO::sec_def, Set_CI_has_AA_val, Set_CI_has_changed, Set_CI_int, Set_CI_nlist, Set_CI_user_specified_expl, Set_CI_user_specified_impl, strcmp(), TRUE, and o_gr_exp::val.
Referenced by Process_Control_Opt().
Definition at line 223 of file controls.cxx.
Definition at line 206 of file controls.cxx.
Referenced by ia64_expand_compare_and_swap(), ia64_expand_fetch_and_op(), and ia64_expand_op_and_fetch().
Definition at line 203 of file controls.cxx.
Definition at line 204 of file controls.cxx.
Definition at line 205 of file controls.cxx.
| const char* ci_int_type_message = "Control %s expects integer values" |
Definition at line 126 of file controls.cxx.
| const char* ci_nlist_type_message = "Control %s expects namelist values" |
Definition at line 127 of file controls.cxx.
Definition at line 863 of file controls.cxx.
CONTROL_GROUP_INFO Control_Group_Tbl[] [static] |
Initial value:
{
{"OPT", CGI_IS_INT_TYPE, 2, 0, 3, o_group_expansion},
{"FORT", 0, 8, 0, 0, f_group_expansion},
{ NULL, 0, 0, 0, 0, 0, }
}
Definition at line 377 of file controls.cxx.
BOOL Diag_Controls = TRUE [static] |
| BOOL Diag_On_Pragmas = TRUE |
O_GR_EXP f_group_expansion[] [static] |
Initial value:
{
{"classic", "fcols=72,ftab=0,fblank=1" },
{"svs72" , "fcols=72,ftab=0,fblank=0" },
{"svs120" , "fcols=120,ftab=0,fblank=1" },
{"normal" , "fcols=72,ftab=1,fblank=0" },
{"vax72" , "fcols=72,ftab=1,fblank=1" },
{"vax132" , "fcols=132,ftab=1,fblank=1" },
{"mips72" , "fcols=72,ftab=2,fblank=0" },
{"unix72" , "fcols=72,ftab=2,fblank=1" },
{"unix" , "fcols=0,ftab=2,fblank=1" }
}
Definition at line 365 of file controls.cxx.
Definition at line 208 of file controls.cxx.
BOOL Inside_A_Routine = FALSE [static] |
Definition at line 172 of file controls.cxx.
Referenced by Restore_Routine_Top_Ctrls(), Save_Routine_Top_Ctrls(), and store_ctrl().
O_GR_EXP o_group_expansion[] [static] |
Initial value:
{
{ "no-opt",
"callmod=0,constp=0,copyp=0,domain=1,flow=0,fcm=0,"
"alias=0,mopt=0,reg=0,sched=0,unroll=0,whole=0" },
{ "local-opt",
"callmod=0,constp=0,copyp=0,domain=1,flow=0,fcm=0,"
"alias=1,mopt=1,reg=0,sched=0,unroll=0,whole=0" },
{ "global-opt",
"callmod=1,constp=2,copyp=2,domain=1,flow=1,fcm=1,"
"alias=3,mopt=3,reg=1,sched=1,unroll=0,whole=0" },
{ "swp-opt",
"callmod=1,constp=2,copyp=2,domain=1,flow=1,fcm=1,"
"alias=3,mopt=3,reg=1,sched=1,unroll=0,whole=0" },
}
Definition at line 350 of file controls.cxx.
Definition at line 212 of file controls.cxx.
Definition at line 211 of file controls.cxx.
Definition at line 856 of file controls.cxx.
1.5.6