Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <signal.h>
#include <stdarg.h>
#include <time.h>
#include <string.h>
#include <errno.h>
#include "DaVinci.h"
Go to the source code of this file.
Defines | |
#define | MAX_MENU_LABEL_LEN 100 |
#define | CALLBACK_DEBUG |
#define | FT_DAVINCI FTAG(1 << 0) |
#define | FT_TITLE FTAG(1 << 1) |
#define | FT_SHOW_STATUS FTAG(1 << 2) |
#define | FT_SHOW_MESSAGE FTAG(1 << 3) |
#define | FT_MENU_CREATE FTAG(1 << 4) |
#define | FT_MENU_ACTIVATE FTAG(1 << 5) |
#define | FT_MENU_DEACTIVATE FTAG(1 << 6) |
#define | FT_GRAPH_BEGIN FTAG(1 << 7) |
#define | FT_NODE_BEGIN FTAG(1 << 8) |
#define | FT_OUT_EDGE FTAG(1 << 9) |
#define | FT_NODE_END FTAG(1 << 10) |
#define | FT_GRAPH_END FTAG(1 << 11) |
#define | FT_CHANGE_ATTR FTAG(1 << 12) |
#define | FT_UPDATE_BEGIN FTAG(1 << 13) |
#define | FT_NEW_NODE FTAG(1 << 14) |
#define | FT_NEW_EDGE FTAG(1 << 15) |
#define | FT_UPDATE_END FTAG(1 << 16) |
#define | BASE_SET |
#define | N_EVENT ( sizeof(Event_Tbl) / sizeof(Event_Tbl[0]) ) |
#define | N_MENU_BASIC ( sizeof(Menu_basic) / sizeof(Menu_basic[0]) ) |
Functions | |
bool | Parse_Edge_Id (const char *epfx, EVENT_T *event) |
Variables | |
struct { | |
const char * name | |
EVENT_KIND kind | |
} | Event_Tbl [] |
static MENU_INFO | Menu_basic [] |
#define BASE_SET |
( \ FT_DAVINCI | FT_TITLE | FT_SHOW_STATUS | FT_SHOW_MESSAGE \ | FT_MENU_CREATE | FT_MENU_ACTIVATE | FT_MENU_DEACTIVATE \ | FT_GRAPH_END | FT_CHANGE_ATTR | FT_UPDATE_END \ )
Definition at line 272 of file DaVinci.cxx.
Referenced by DaVinci::Change_Attr(), DaVinci::Graph_Begin(), DaVinci::Menu_Activate(), DaVinci::Menu_Create(), DaVinci::Menu_Deactivate(), DaVinci::Show_Message(), DaVinci::Show_Status(), DaVinci::Title(), and DaVinci::Update_Begin().
#define CALLBACK_DEBUG |
Definition at line 61 of file DaVinci.cxx.
#define FT_CHANGE_ATTR FTAG(1 << 12) |
Definition at line 266 of file DaVinci.cxx.
Referenced by DaVinci::Change_Attr(), and DaVinci::Ft_Str().
#define FT_DAVINCI FTAG(1 << 0) |
Definition at line 254 of file DaVinci.cxx.
Referenced by DaVinci::DaVinci(), DaVinci::Ft_Str(), and DaVinci::Usage_Error().
#define FT_GRAPH_BEGIN FTAG(1 << 7) |
Definition at line 261 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::Graph_Begin(), DaVinci::Graph_End(), and DaVinci::Node_Begin().
#define FT_GRAPH_END FTAG(1 << 11) |
Definition at line 265 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Graph_End().
#define FT_MENU_ACTIVATE FTAG(1 << 5) |
Definition at line 259 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Menu_Activate().
#define FT_MENU_CREATE FTAG(1 << 4) |
Definition at line 258 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Menu_Create().
#define FT_MENU_DEACTIVATE FTAG(1 << 6) |
Definition at line 260 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Menu_Deactivate().
#define FT_NEW_EDGE FTAG(1 << 15) |
Definition at line 269 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::New_Edge(), and DaVinci::Update_End().
#define FT_NEW_NODE FTAG(1 << 14) |
Definition at line 268 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::New_Edge(), DaVinci::New_Node(), and DaVinci::Update_End().
#define FT_NODE_BEGIN FTAG(1 << 8) |
Definition at line 262 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::Node_Begin(), DaVinci::Node_End(), and DaVinci::Out_Edge().
#define FT_NODE_END FTAG(1 << 10) |
Definition at line 264 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::Graph_End(), DaVinci::Node_Begin(), and DaVinci::Node_End().
#define FT_OUT_EDGE FTAG(1 << 9) |
Definition at line 263 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::Node_End(), and DaVinci::Out_Edge().
#define FT_SHOW_MESSAGE FTAG(1 << 3) |
Definition at line 257 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Show_Message().
#define FT_SHOW_STATUS FTAG(1 << 2) |
Definition at line 256 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Show_Status().
#define FT_TITLE FTAG(1 << 1) |
Definition at line 255 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Title().
#define FT_UPDATE_BEGIN FTAG(1 << 13) |
Definition at line 267 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), DaVinci::New_Edge(), DaVinci::New_Node(), DaVinci::Update_Begin(), and DaVinci::Update_End().
#define FT_UPDATE_END FTAG(1 << 16) |
Definition at line 270 of file DaVinci.cxx.
Referenced by DaVinci::Ft_Str(), and DaVinci::Update_End().
#define MAX_MENU_LABEL_LEN 100 |
Definition at line 59 of file DaVinci.cxx.
Referenced by DaVinci::Parse_Menu_Label().
Definition at line 456 of file DaVinci.cxx.
Referenced by DaVinci::Parse_Event().
#define N_MENU_BASIC ( sizeof(Menu_basic) / sizeof(Menu_basic[0]) ) |
Definition at line 771 of file DaVinci.cxx.
Referenced by DaVinci::Event_Loop().
bool Parse_Edge_Id | ( | const char * | epfx, |
EVENT_T * | event | ||
) |
Definition at line 412 of file DaVinci.cxx.
References fprintf(), EVENT_T::sel_edge, and EVENT_T::u.
Referenced by DaVinci::Parse_Event().
struct { ... } Event_Tbl[] [static] |
Referenced by DaVinci::Parse_Event().
Definition at line 447 of file DaVinci.cxx.
Referenced by Close_W2c_Output_File(), Close_W2f_Output_File(), cwh_dst_dope_bounds(), DST_dump(), DST_Init(), ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), fei_new_select(), fei_new_select_case(), INITV_mtype(), INITV_ofst(), INITV_pad(), INITV_repeat(), INITV_Set_int(), INITV_st(), INITV_tc_val(), IPAA_SET::IPAA_SET(), IPAA_SYMBOL_REF::IPAA_SYMBOL_REF(), kind_to_linear_type(), LABEL_Init(), new_block(), Open_W2c_Output_File(), Open_W2f_Output_File(), LABEL::Print(), ST_ATTR::Print(), TY::Print(), print_global_type_f(), print_type_f(), Read_PU_Infos(), save_expr(), Set_INITV_lab(), Set_INITV_lab1(), Set_INITV_ofst(), Set_INITV_st(), Set_INITV_st2(), IPAA_SET::Set_kind(), Set_TY_kind(), TERM::Set_type(), and WN_MAP_Do_Create().
MENU_INFO Menu_basic[] [static] |
{ { "exit_event_loop", "exit_event_loop", true, 0, NULL } }
Definition at line 768 of file DaVinci.cxx.
Definition at line 446 of file DaVinci.cxx.
Referenced by _Cif_binread(), _fcontext(), _INQ(), ABI_Properties_End(), addunit(), Allocate_Object(), AR_NOINTRIN_ERROR(), ar_sim(), asmname(), Begin_ABI(), build_call_graph(), cgt_fini(), Cif_Duplicate(), Cif_Free(), Cif_Putrecord(), command_line(), complete_intrinsic_definition(), convert_const(), copy_sbtree(), create_ipa_internal_name(), create_lib_entry_attr(), Create_Operand_Adjustment(), Create_Operand_Use(), Create_Reg_Property(), cwh_add_to_used_files_table(), cwh_auxst_stem_name(), cwh_dst_basetype(), cwh_dst_mk_const(), cwh_stab_split_ST(), Define_Macro(), DRA_EC_Array_Portion_Parms(), DST_enter_cloned_childs(), Em_Dwarf_Add_File(), Em_Dwarf_Add_Include(), fei_smt_parameter(), Fill_Align_Symbol(), find_ciitem_idx(), finish_cdir_id(), fixed_get_keyword(), free_get_keyword(), gen_call_type_descriptor(), gen_compiler_star(), gen_compiler_tmp(), gen_compiler_upbd(), gen_debug_lbl_stmt(), Gen_File_Table(), gen_forall_derived_type(), gen_internal_lbl(), get_debug_directive(), get_dir_token_from_str(), get_directive(), get_intrinsic_from_name(), get_ioitem_from_name(), get_iostatement_from_name(), get_machine_chars(), get_micro_directive(), get_open_mp_directive(), get_openad_directive(), get_operator_dot(), get_section(), get_sgi_directive(), Hazard_Create(), host_associated_attr_semantics(), init_name_and_stor_tbls(), init_parse_prog_unit(), Instruction_Group(), Unparse_Target_C::Intrinsic_Name(), Unparse_Target_FTN::Intrinsic_Name(), io_ctl_list_semantics(), IVAR::IPA_LNO_Print_File(), IR_Dwarf_Gen_File_Table(), ir_print_filename(), ir_put_st(), is_dollar_directive(), is_par_directive(), is_star_directive(), ISA_Bundle_Type_Create(), ISA_Create_Enum_Class(), ISA_Create_Lit_Range(), ISA_Enum_Opnd_Type_Create(), ISA_Exec_Unit_Type_Create(), ISA_Lit_Opnd_Type_Create(), ISA_Pack_Type_Create(), ISA_Print_Type_Create(), ISA_Property_Create(), ISA_Reg_Opnd_Type_Create(), ISA_Register_Class_Create(), ISA_Register_Subclass_Create(), ISA_Subset_Create(), ISA_Subset_End(), MEM_POOL_Initialize_P(), ANL_FILE_MNGR::Open_Append(), ANL_FILE_MNGR::Open_Create(), ANL_FILE_MNGR::Open_Read(), matches_pu_ty_and_name::operator()(), Assign_Section_Names::operator()(), pad_global_arrays::operator()(), parse_dir_directives(), DaVinci::Parse_Event(), parse_id_directive(), parse_interface_stmt(), parse_io_control_list(), parse_module_stmt(), parse_name_dir(), pr_vertex_name(), IVAR::Print(), print_buffered_messages(), Print_TY_IDX_verbose(), PROC_Property_Create(), Process_Command_Line_Group(), Process_Control_Opt(), put_file_name_in_cn(), put_proc_name(), Report_Delta_Time(), Rewrite_Structs_In_MPRegion(), Set_Current_PU_For_Trace(), Set_ST_ATTR_section_name(), Set_Trace_Pu(), Set_TY_name_idx(), set_up_letter_idx_table(), set_up_token_tables(), ST2C_New_Common_Block(), Stab_Full_Split_Offset(), storage_blk_resolution(), TSI_Name(), TY2C_builtin(), WHIRL2C_make_valid_c_name(), WHIRL2F_make_valid_name(), WN2C_Append_Purple_Funcinfo(), WN2F_Append_Purple_Funcinfo(), WN2F_Append_Purple_Xsym(), WN2F_Expr_initialize(), WN2F_process_pragma(), WN_CreateEntry(), and write_unit().