Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
DaVinci.cxx File Reference
#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"
Include dependency graph for DaVinci.cxx:

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 Documentation

#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)
#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)
#define FT_NODE_BEGIN   FTAG(1 << 8)
#define FT_NODE_END   FTAG(1 << 10)
#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)
#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().

#define N_EVENT   ( sizeof(Event_Tbl) / sizeof(Event_Tbl[0]) )

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().


Function Documentation

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().

Here is the call graph for this function:


Variable Documentation

struct { ... } Event_Tbl[] [static]

Referenced by DaVinci::Parse_Event().

MENU_INFO Menu_basic[] [static]
Initial value:
 {
  { "exit_event_loop", "exit_event_loop", true, 0, NULL }
}

Definition at line 768 of file DaVinci.cxx.

const char* name

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().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines