Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
pu_info.cxx File Reference
#include <elf.h>
#include <string.h>
#include "cxx_memory.h"
#include "defs.h"
#include "symtab.h"
#include "pu_info.h"
Include dependency graph for pu_info.cxx:

Go to the source code of this file.

Classes

struct  SAVED_SCOPE

Functions

void PU_Info_init (PU_Info *pu)
static INT number_PU_Infos (PU_Info *pu_tree, INT num_PUs)
INT Sizeof_PU_Infos (PU_Info *pu_tree)
static char * write_PU_fields (PU_Info *pu_tree, char *addr, INT32 *p_num_PUs)
static char * write_PU_subsect_info (PU_Info *pu_tree, INT32 k, char *addr)
INT Write_PU_Infos (PU_Info *pu_tree, char *base)
PU_InfoRead_PU_Infos (char *base, INT32 size, INT32 *p_num_PUs)
void Save_Local_Symtab (SYMTAB_IDX level, PU_Info *pu)
void Restore_Local_Symtab (PU_Info *pu)
void fdump_PU_Info_state (FILE *f, PU_Info *pu_info)
void dump_PU_Info_state (PU_Info *pu_info)

Variables

PU_InfoCurrent_PU_Info = NULL
static char * PU_Info_subsect_name [WT_SUBSECTIONS]

Function Documentation

void dump_PU_Info_state ( PU_Info pu_info)

Definition at line 479 of file pu_info.cxx.

References fdump_PU_Info_state().

Here is the call graph for this function:

void fdump_PU_Info_state ( FILE *  f,
PU_Info pu_info 
)

Definition at line 446 of file pu_info.cxx.

References fprintf(), PU_Info_state, PU_Info_subsect_name, Subsect_Exists, Subsect_InMem, Subsect_Missing, Subsect_Written, WT_PROC_SYM, and WT_SUBSECTIONS.

Referenced by dump_PU_Info_state().

Here is the call graph for this function:

INT number_PU_Infos ( PU_Info pu_tree,
INT  num_PUs 
) [static]

Definition at line 114 of file pu_info.cxx.

References PU_Info_child, PU_Info_maptab, and PU_Info_next.

Referenced by Sizeof_PU_Infos().

PU_Info* Read_PU_Infos ( char *  base,
INT32  size,
INT32 p_num_PUs 
)
void Restore_Local_Symtab ( PU_Info pu)

Definition at line 412 of file pu_info.cxx.

References Current_scope, FmtAssert, SAVED_SCOPE::Get_Scope(), PU_Info_proc_sym, PU_Info_state, PU_Info_symtab_ptr, PU_lexical_level(), Scope_tab, St_Table, Subsect_InMem, and WT_SYMTAB.

Referenced by DRA_Add_Clone(), and Preprocess_PU().

Here is the call graph for this function:

INT Sizeof_PU_Infos ( PU_Info pu_tree)

Definition at line 89 of file pu_info.cxx.

References number_PU_Infos(), and WT_SUBSECTIONS.

Referenced by ir_size(), and WN_write_PU_Infos().

Here is the call graph for this function:

char * write_PU_fields ( PU_Info pu_tree,
char *  addr,
INT32 p_num_PUs 
) [static]
INT Write_PU_Infos ( PU_Info pu_tree,
char *  base 
)

Definition at line 144 of file pu_info.cxx.

References PU_HEADER_VERSION, write_PU_fields(), write_PU_subsect_info(), and WT_SUBSECTIONS.

Referenced by WN_write_PU_Infos().

Here is the call graph for this function:

char * write_PU_subsect_info ( PU_Info pu_tree,
INT32  k,
char *  addr 
) [static]

Variable Documentation

Initial value:
 {
  "WT_SYMTAB",
  "WT_TREE",
  "WT_DEPGRAPH",
  "WT_PREFETCH",
  "WT_REGIONS",
  "WT_FEEDBACK",
  "WT_FREQ",
  "WT_AC_INTERNAL",
  "WT_ALIAS_CLASS"
}

Definition at line 434 of file pu_info.cxx.

Referenced by fdump_PU_Info_state().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines