#include "bypass_gen.h"#include <map>#include <list>

Go to the source code of this file.
| typedef struct bypass_care_fu BYPASS_CARE_FU |
| void Bypass_Generator | ( | void * | pknobs, | |
| GEN_MODE | mode, | |||
| MACHINE_TYPE | type | |||
| ) |
Definition at line 588 of file bypass_gen.cxx.
References c_file, Close_Module_Files(), Emit_Header(), Emit_Tailer(), first_in_pre_case, first_in_suc_case, fprintf(), index(), Init_Module_Files(), last_in_suc_case, MCK_TYPE, NULL, Print_All_Bypass(), Print_FU_Class(), and Print_OddLatency().
Referenced by Generate_MM().
| char* Chop_fu | ( | char * | funame | ) | [inline] |
Definition at line 83 of file bypass_gen.cxx.
References NULL, and strlen().
Referenced by Print_Bypass_Pre_Case(), Print_Bypass_Suc_Case(), Print_FU_Class(), and Print_OddLatency().
Definition at line 275 of file bypass_gen.cxx.
References SUC_FU_BYPASS::bypass_val, care_fu_bypasslist, count, SUC_FU_BYPASS::eun_id, first_in_suc_case, fprintf(), free(), PAPAIR_T::iValue, KAPI_fuCount(), KAPI_IntraClusterBypassList(), KAPI_srcOppName(), last_in_suc_case, malloc, NULL, oddfunc_pair, bypass_care_fu::pre_fu, Print_Bypass_Pre_Case(), print_bypass_struct(), Print_Bypass_Suc_Case(), strcmp(), SUC_FU_BYPASS::suc_fu, bypass_care_fu::succ_bypass, SUC_FU_BYPASS::use_eunit, SUC_FU_BYPASS::use_opns, and PAPAIR_T::utSrc.
Referenced by Bypass_Generator().
Definition at line 529 of file bypass_gen.cxx.
References SUC_FU_BYPASS::bypass_val, care_fu_bypasslist, cf_iter, count, first_in_pre_case, fprintf(), free(), last_in_suc_case, Print_Bypass_Pre_Case(), print_bypass_struct(), Print_Bypass_Suc_Case(), SUC_FU_BYPASS::use_eunit, and SUC_FU_BYPASS::use_opns.
Definition at line 179 of file bypass_gen.cxx.
References Chop_fu(), first_in_pre_case, fprintf(), Is_True, KAPI_fu2fuName(), and NULL.
Referenced by Print_All_Bypass(), and Print_Bypass_Care_FU().
| void print_bypass_struct | ( | void * | pknobs, | |
| FILE * | c_file, | |||
| SUC_FU_BYPASS * | bypass, | |||
| BOOL | fu_adjust = false | |||
| ) |
Definition at line 210 of file bypass_gen.cxx.
References SUC_FU_BYPASS::bypass_val, SUC_FU_BYPASS::eun_id, fprintf(), kapi_utI, kapi_utM, last_in_suc_case, Print_Bypass_Suc_Case(), SUC_FU_BYPASS::suc_fu, SUC_FU_BYPASS::use_eunit, SUC_FU_BYPASS::use_opns, x1, and x2.
Referenced by Print_All_Bypass(), and Print_Bypass_Care_FU().
Definition at line 195 of file bypass_gen.cxx.
References Chop_fu(), first_in_suc_case, fprintf(), Is_True, KAPI_fu2fuName(), and NULL.
Referenced by Print_All_Bypass(), Print_Bypass_Care_FU(), and print_bypass_struct().
Definition at line 458 of file bypass_gen.cxx.
References BOOL, Chop_fu(), count, Dot2Line(), EKAPI_Op2Fu(), EKAPI_OpCount(), EKAPI_OpName4id(), fprintf(), free(), i, KAPI_fu2fuName(), KAPI_fuCount(), op_count, op_name, strcmp(), and strcpy.
Referenced by Bypass_Generator().
Definition at line 87 of file bypass_gen.cxx.
References BOOL, Chop_fu(), count, EKAPI_OddLatencyList(), EKAPI_RegInfo4Name(), find(), fprintf(), func_name, i, KAPI_fu2fuName(), KAPI_fuCount(), Line2Dot(), malloc, NULL, oddfunc_pair, ODD_LATENCY::oddlatency, sprintf(), strcmp(), and strstr().
Referenced by Bypass_Generator().
std::list< BYPASS_CARE_FU > care_fu_bypasslist [static] |
Definition at line 69 of file bypass_gen.cxx.
Referenced by Print_All_Bypass(), and Print_Bypass_Care_FU().
std::list< BYPASS_CARE_FU >::iterator cf_iter [static] |
SUC_FU_BYPASS cur_state [static] |
Definition at line 67 of file bypass_gen.cxx.
BOOL first_in_pre_case = true [static] |
Definition at line 63 of file bypass_gen.cxx.
Referenced by Bypass_Generator(), Print_Bypass_Care_FU(), and Print_Bypass_Pre_Case().
BOOL first_in_suc_case = true [static] |
Definition at line 64 of file bypass_gen.cxx.
Referenced by Bypass_Generator(), Print_All_Bypass(), and Print_Bypass_Suc_Case().
BOOL last_in_suc_case = false [static] |
Definition at line 65 of file bypass_gen.cxx.
Referenced by Bypass_Generator(), Print_All_Bypass(), Print_Bypass_Care_FU(), and print_bypass_struct().
std::map<int, char*> oddfunc_pair [static] |
Definition at line 68 of file bypass_gen.cxx.
Referenced by Print_All_Bypass(), and Print_OddLatency().
1.5.6