osprey/kg++fe/tree_symtab.cxx File Reference

#include <values.h>
#include "defs.h"
#include "errors.h"
#include "gnu_config.h"
#include "gnu/flags.h"
#include "gnu/system.h"
#include "gnu/tree.h"
#include "cp-tree.h"
#include "symtab.h"
#include "strtab.h"
#include "wn.h"
#include "wfe_expr.h"
#include "wfe_decl.h"
#include "wfe_misc.h"
#include "wfe_dst.h"
#include "ir_reader.h"
#include "tree_symtab.h"
#include "tree_cmp.h"
#include <ext/hash_map>

Include dependency graph for tree_symtab.cxx:

Go to the source code of this file.

Data Types

type  void_ptr_hash

Functions/Subroutines

void Push_Deferred_Function (tree)
static char * Get_Name (tree node)
static void dump_field (tree field)
tree next_real_or_virtual_field (tree type_tree, tree field)
static void Do_Base_Types (tree type_tree)
size_t Roundup (size_t offset, int alignment)
size_t Type_Size_Without_Vbases (tree type_tree)
bool is_empty_base_class (tree type_tree)
TY_IDX Create_TY_For_Tree (tree type_tree, TY_IDX idx)
STCreate_ST_For_Tree (tree decl_node)
TY_IDXTYPE_TY_IDX (tree t)
ST *& DECL_ST (tree t)
SYMTAB_IDXDECL_SYMTAB_IDX (tree t)
LABEL_IDXDECL_LABEL_IDX (tree t)
ST *& TREE_STRING_ST (tree t)
BOOLDECL_LABEL_DEFINED (tree t)
INT32DECL_FIELD_ID (tree t)
INT32TYPE_FIELD_IDS_USED (tree t)
INT32SCOPE_NUMBER (tree t)
treeLABEL_SCOPE (tree t)
DST_INFO_IDXDECL_DST_IDX (tree t)
DST_INFO_IDXDECL_DST_SPECIFICATION_IDX (tree t)
DST_INFO_IDXDECL_DST_FIELD_IDX (tree t)
DST_INFO_IDXTYPE_DST_IDX (tree t)
DST_INFO_IDXDECL_DST_ABSTRACT_ROOT_IDX (tree t)
LABEL_IDXHANDLER_LABEL (tree t)

Variables

INT pstatic_as_global
FILEtree_dump_file
hash_map< tree, TY_IDX, ptrhash > ty_idx_map
hash_map< tree, ST *, ptrhash > st_map
hash_map< tree, SYMTAB_IDX,
ptrhash > 
symtab_idx_map
hash_map< tree, LABEL_IDX,
ptrhash > 
label_idx_map
hash_map< tree, ST *, ptrhash > string_st_map
hash_map< tree, BOOL, ptrhash > bool_map
hash_map< tree, INT32, ptrhash > field_id_map
hash_map< tree, INT32, ptrhash > type_field_ids_used_map
hash_map< tree, INT32, ptrhash > scope_number_map
hash_map< tree, tree, ptrhash > label_scope_map
hash_map< tree, DST_INFO_IDX,
ptrhash > 
decl_idx_map
hash_map< tree, DST_INFO_IDX,
ptrhash > 
decl_field_idx_map
hash_map< tree, DST_INFO_IDX,
ptrhash > 
decl_specification_idx_map
hash_map< tree, DST_INFO_IDX,
ptrhash > 
type_idx_map
hash_map< tree, LABEL_IDX,
ptrhash > 
handler_label_map
hash_map< tree, DST_INFO_IDX,
ptrhash > 
abstract_root_map


Function Documentation

ST* Create_ST_For_Tree ( tree  decl_node  ) 

Definition at line 1232 of file tree_symtab.cxx.

Referenced by duplicate_decls(), Get_ST(), remap_block(), WFE_Alloca_ST(), and WGEN_Alloca_ST().

TY_IDX Create_TY_For_Tree ( tree  type_tree,
TY_IDX  idx 
)

Definition at line 369 of file tree_symtab.cxx.

Referenced by Create_ST_For_Tree(), and Get_TY().

DST_INFO_IDX& DECL_DST_ABSTRACT_ROOT_IDX ( tree  t  ) 

Definition at line 2071 of file tree_symtab.cxx.

References abstract_root_map, and DST_INVALID_IDX.

Referenced by DST_Create_Subprogram(), and DST_enter_param_vars().

DST_INFO_IDX& DECL_DST_FIELD_IDX ( tree  t  ) 

DST_INFO_IDX& DECL_DST_IDX ( tree  t  ) 

DST_INFO_IDX& DECL_DST_SPECIFICATION_IDX ( tree  t  ) 

INT32& DECL_FIELD_ID ( tree  t  ) 

BOOL& DECL_LABEL_DEFINED ( tree  t  ) 

Definition at line 1992 of file tree_symtab.cxx.

References bool_map.

Referenced by WFE_Expand_Label(), WFE_Get_LABEL(), WGEN_Expand_Label(), and WGEN_Get_LABEL().

LABEL_IDX& DECL_LABEL_IDX ( tree  t  ) 

Definition at line 1990 of file tree_symtab.cxx.

References label_idx_map.

Referenced by WFE_Get_LABEL(), WGEN_Expand_Case(), and WGEN_Get_LABEL().

ST*& DECL_ST ( tree  t  ) 

Definition at line 1978 of file tree_symtab.cxx.

References DECL_ASSEMBLER_NAME, DECL_CONTEXT, DECL_NAME, and TREE_CODE.

SYMTAB_IDX& DECL_SYMTAB_IDX ( tree  t  ) 

static void Do_Base_Types ( tree  type_tree  )  [static]

static void dump_field ( tree  field  )  [static]

Definition at line 268 of file tree_symtab.cxx.

References DECL_FIELD_ID(), DECL_NAME, Get_Name(), and printf().

static char* Get_Name ( tree  node  )  [static]

LABEL_IDX& HANDLER_LABEL ( tree  t  ) 

bool is_empty_base_class ( tree  type_tree  ) 

tree& LABEL_SCOPE ( tree  t  ) 

Definition at line 1999 of file tree_symtab.cxx.

References label_scope_map.

Referenced by Mark_Scopes_And_Labels(), WFE_Expand_Goto(), and WGEN_Expand_Goto().

tree next_real_or_virtual_field ( tree  type_tree,
tree  field 
)

void Push_Deferred_Function ( tree   ) 

size_t Roundup ( size_t  offset,
int  alignment 
)

Definition at line 332 of file tree_symtab.cxx.

INT32& SCOPE_NUMBER ( tree  t  ) 

Definition at line 1995 of file tree_symtab.cxx.

References scope_number_map.

Referenced by Mark_Scopes_And_Labels(), and WFE_Expand_Goto().

ST*& TREE_STRING_ST ( tree  t  ) 

DST_INFO_IDX& TYPE_DST_IDX ( tree  t  ) 

INT32& TYPE_FIELD_IDS_USED ( tree  t  ) 

size_t Type_Size_Without_Vbases ( tree  type_tree  ) 

TY_IDX& TYPE_TY_IDX ( tree  t  ) 


Variable Documentation

hash_map<tree, DST_INFO_IDX,ptrhash> abstract_root_map [static]

Definition at line 1826 of file tree_symtab.cxx.

Referenced by DECL_DST_ABSTRACT_ROOT_IDX().

hash_map<tree, BOOL, ptrhash> bool_map [static]

Definition at line 1816 of file tree_symtab.cxx.

Referenced by DECL_LABEL_DEFINED().

hash_map<tree, DST_INFO_IDX,ptrhash> decl_field_idx_map [static]

Definition at line 1822 of file tree_symtab.cxx.

Referenced by DECL_DST_FIELD_IDX().

hash_map<tree, DST_INFO_IDX,ptrhash> decl_idx_map [static]

Definition at line 1821 of file tree_symtab.cxx.

Referenced by DECL_DST_FIELD_IDX(), and DECL_DST_IDX().

hash_map<tree, DST_INFO_IDX,ptrhash> decl_specification_idx_map [static]

Definition at line 1823 of file tree_symtab.cxx.

Referenced by DECL_DST_SPECIFICATION_IDX().

hash_map<tree, INT32, ptrhash> field_id_map [static]

Definition at line 1817 of file tree_symtab.cxx.

Referenced by DECL_FIELD_ID().

hash_map<tree, LABEL_IDX, ptrhash> handler_label_map [static]

Definition at line 1825 of file tree_symtab.cxx.

Referenced by HANDLER_LABEL().

hash_map<tree, LABEL_IDX, ptrhash> label_idx_map [static]

Definition at line 1814 of file tree_symtab.cxx.

Referenced by DECL_LABEL_IDX().

hash_map<tree, tree, ptrhash> label_scope_map [static]

Definition at line 1820 of file tree_symtab.cxx.

Referenced by LABEL_SCOPE().

Definition at line 56 of file main.c.

Referenced by Create_ST_For_Tree(), Process_Cc1_Command_Line(), set_DECL_ST(), and WGEN_Init().

hash_map<tree, INT32, ptrhash> scope_number_map [static]

Definition at line 1819 of file tree_symtab.cxx.

Referenced by SCOPE_NUMBER().

hash_map<tree, ST*, ptrhash> st_map [static]

Definition at line 1812 of file tree_symtab.cxx.

hash_map<tree, ST*, ptrhash> string_st_map [static]

Definition at line 1815 of file tree_symtab.cxx.

Referenced by TREE_STRING_ST().

hash_map<tree, SYMTAB_IDX, ptrhash> symtab_idx_map [static]

Definition at line 1813 of file tree_symtab.cxx.

Referenced by DECL_SYMTAB_IDX().

hash_map<tree, TY_IDX, ptrhash> ty_idx_map [static]

Definition at line 1811 of file tree_symtab.cxx.

Referenced by TYPE_TY_IDX().

hash_map<tree, INT32, ptrhash> type_field_ids_used_map [static]

Definition at line 1818 of file tree_symtab.cxx.

Referenced by TYPE_FIELD_IDS_USED().

hash_map<tree, DST_INFO_IDX,ptrhash> type_idx_map [static]

Definition at line 1824 of file tree_symtab.cxx.

Referenced by TYPE_DST_IDX().


Generated on Wed Apr 8 15:48:37 2009 for Open64 by  doxygen 1.5.6