Go to the source code of this file.
Defines | |
| #define | Is_Trace(Cond, Parmlist) ((void) 1) |
| * Sort of bizarre, including from common/com to common/util, but it | |
| #define | Is_Trace_cmd(Cond, Cmd) ((void) 1) |
| #define | TKIND_INFO -1 |
| #define | TKIND_DEBUG -2 |
| #define | TKIND_IR -3 |
| #define | TKIND_SYMTAB -4 |
| #define | TKIND_TN -5 |
| #define | TKIND_BB -6 |
| #define | TKIND_XPHASE -7 |
| #define | TKIND_CTRL -8 |
| #define | TKIND_ALLOC -9 |
| #define | TKIND_MIN -10 |
| #define | TINFO_TIME 1 |
| #define | TINFO_CTIME 2 |
| #define | TINFO_STATS 8 |
| #define | TINFO_SOURCE 32 |
| #define | TINFO_TFLAGS 64 |
| #define | TINFO_PREFIXDUMP 128 |
| #define | TP_MIN 1 |
| #define | TP_PTRACE1 1 |
| #define | TP_PTRACE2 2 |
| #define | TP_MISC 3 |
| #define | TP_SEMANTICS 8 |
| #define | TP_IRB 10 |
| #define | TP_IR_READ 11 |
| #define | TP_WHIRL2FC 12 |
| #define | TP_WHIRLSIMP 13 |
| #define | TP_REGION 14 |
| #define | TP_ORI 15 |
| #define | TP_FEEDBACK 16 |
| #define | TP_INLINE 17 |
| #define | TP_IPL 18 |
| #define | TP_IPA 19 |
| #define | TP_IPO 20 |
| #define | TP_IPM 21 |
| #define | TP_ALIAS 24 |
| #define | TP_WOPT1 25 |
| #define | TP_WOPT2 26 |
| #define | TP_WOPT3 27 |
| #define | TP_GLOBOPT TP_WOPT1 |
| #define | TP_VECDD 30 |
| #define | TP_LNOPT 31 |
| #define | TP_LNOPT2 32 |
| #define | TP_LNOPT3 33 |
| #define | TP_VHO_LOWER 36 |
| #define | TP_LOWER 37 |
| #define | TP_LOWER90 38 |
| #define | TP_DATALAYOUT 39 |
| #define | TP_CG 40 |
| #define | TP_CGEXP 41 |
| #define | TP_LOCALIZE 42 |
| #define | TP_FIND_GLOB 43 |
| #define | TP_EBO 44 |
| #define | TP_CGPREP 45 |
| #define | TP_FLOWOPT 47 |
| #define | TP_GCM 48 |
| #define | TP_CGLOOP 49 |
| #define | TP_SWPIPE 50 |
| #define | TP_SRA 51 |
| #define | TP_SCHED 52 |
| #define | TP_GRA 53 |
| #define | TP_ALLOC 54 |
| #define | TP_PSGCM 55 |
| #define | TP_EMIT 56 |
| #define | TP_HBF 57 |
| #define | TP_PQS 58 |
| #define | TP_THR 59 |
| #define | TP_TEMP 60 |
| #define | TP_A_REGION 61 |
| #define | TP_A_GSCHED 62 |
| #define | TP_A_LSCHED 63 |
| #define | TP_IPISR 64 |
| #define | TP_LAST 64 |
| #define | TP_COUNT 65 |
| #define | TP_PTRACE1_ALL 0x001 |
| #define | TP_PTRACE1_INL 0x002 |
| #define | TP_PTRACE1_IPA 0x004 |
| #define | TP_PTRACE1_LNO 0x008 |
| #define | TP_PTRACE1_OPT 0x010 |
| #define | TP_PTRACE1_CG 0x020 |
| #define | TP_PTRACE1_IPALNO 0x040 |
| #define | TP_PTRACE1_IPA_CPROP 0x080 |
| #define | TP_PTRACE1_CALLINFO 0x100 |
| #define | TP_PTRACE1_PARALLEL 0x200 |
| #define | TP_PTRACE1_NOHDR 0x400 |
| #define | TFile Get_Trace_File_Desc() |
Functions/Subroutines | |
| INT32 | Get_Trace_Phase_Number (char **cp, char *arg) |
| void | List_Phase_Numbers (void) |
| void | Set_Trace (INT func, INT arg) |
| void | Set_Trace_Pu (char *name) |
| void | Set_Trace_Pu_Number (INT number) |
| void | Set_Current_PU_For_Trace (char *name, INT number) |
| void | Set_Trace_Region_Number (INT number) |
| void | Set_Current_Region_For_Trace (INT number) |
| BOOL | Get_Trace (INT func, INT arg) |
| BOOL | Get_BB_Trace (INT bb_id) |
| BOOL | Stop_Execution (INT phase) |
| FILE * | Get_Trace_File_Desc (void) |
| void | Set_Trace_File (char *filename) |
| void | Set_Trace_File_internal (FILE *) |
| void | Nest_Indent (FILE *file) |
| INT | Get_Current_Phase_Number (void) |
| void | Set_Current_Phase_Number (INT) |
Variables | |
| char * | SBar |
| char * | DBar |
| char * | Sharps |
| #define Is_Trace | ( | Cond, | |||
| Parmlist | ) | ((void) 1) |
Definition at line 1453 of file errors.cxx.
Definition at line 522 of file tracing.c.
References BOOL, Current_PU_Name, Current_PU_Number, Current_Region_Number, FALSE, i, INT16, NULL, PU_Cnt, PU_Enable, PU_NCnt, PU_Num_Enable, REGION_NCnt, Region_Num_Enable, result, strcmp(), TA_Phase, TC_Enable, TD_Mask, TI_Mask, TI_Phase, TKIND_ALLOC, TKIND_BB, TKIND_CTRL, TKIND_DEBUG, TKIND_INFO, TKIND_IR, TKIND_SYMTAB, TKIND_TN, TKIND_XPHASE, TN_Phase, TP_Mask, and TS_Phase.
Definition at line 340 of file dipa_phase_ctrl.cxx.
References DIPA_Phase_Manager::Get_Trace_File_Desc().
| INT32 Get_Trace_Phase_Number | ( | char ** | cp, | |
| char * | arg | |||
| ) |
Definition at line 239 of file tracing.c.
References EC_Trace_Phase, ErrMsg(), Get_Numeric_Flag(), PD_id, PD_num, strncasecmp(), TP_COUNT, TP_LAST, and TP_MIN.
Referenced by Process_Trace_Option().
Definition at line 273 of file tracing.c.
References fprintf(), Get_Trace_File(), PD_id, PD_name, PD_num, TP_COUNT, and TP_Mask.
Referenced by Process_Command_Line(), and Process_IPA_Options().
Definition at line 405 of file tracing.c.
References Current_PU_Name, Current_PU_Number, RID_CREATE_NEW_ID, and Set_Current_Region_For_Trace().
Referenced by Preprocess_PU().
Definition at line 414 of file tracing.c.
References Current_Region_Number.
Referenced by Do_WOPT_and_CG_with_Regions(), and Set_Current_PU_For_Trace().
Definition at line 308 of file tracing.c.
References BB_Cnt, BB_COUNT, Check_Range(), CTRL_COUNT, EC_Trace_BBs, EC_Trace_Control, EC_Trace_Func, EC_Trace_Phase, ErrMsg(), TA_Phase, TB_Enable, TC_Enable, TD_Mask, TI_Mask, TI_Phase, TKIND_ALLOC, TKIND_BB, TKIND_CTRL, TKIND_DEBUG, TKIND_INFO, TKIND_IR, TKIND_MIN, TKIND_SYMTAB, TKIND_TN, TKIND_XPHASE, TN_Phase, TP_LAST, TP_Mask, TP_MIN, TRUE, TS_Phase, and Xstop_Phase.
Referenced by main(), Process_Command_Line(), Process_IPA_Options(), and Process_Trace_Option().
| void Set_Trace_File | ( | char * | filename | ) |
Definition at line 632 of file tracing.c.
References EC_Trace_Open, ErrMsg(), errno, FALSE, fclose(), fopen, Non_stdout_TFile, NULL, Set_Error_Trace(), TFile_internal, TFile_Name, and TRUE.
Referenced by Cleanup_Files(), exec_smake(), Prepare_Source(), Process_Command_Line(), and Process_IPA_Options().
Definition at line 662 of file tracing.c.
References TFile_internal.
Referenced by dp::dump_bb(), dump_bb(), dump_INITO_idx(), dump_INITV_idx(), dp::dump_op(), dump_op(), SCHEDULER::Dump_OP_Verbose_Info(), dump_ops(), dp::dump_scc(), GRA_LIVE_fdump_liveness(), Initialize_Access_Vals(), PDGCS_initialize(), Print_INITVs(), and SCHED_Dump_IR().
| void Set_Trace_Pu | ( | char * | name | ) |
Definition at line 429 of file tracing.c.
References EC_Trace_PUs, ErrMsg(), PU_Cnt, PU_COUNT, and PU_Enable.
Referenced by Process_Trace_Option().
Definition at line 441 of file tracing.c.
References EC_Trace_PUs, ErrMsg(), PU_COUNT, PU_NCnt, and PU_Num_Enable.
Referenced by Process_Trace_Option().
Definition at line 461 of file tracing.c.
References EC_Trace_REGIONs, ErrMsg(), REGION_COUNT, REGION_NCnt, and Region_Num_Enable.
Referenced by Process_Trace_Option().
1.5.6