Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cwh_stab.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  al

Defines

#define cast_to_SCLASS(x)   ((ST_SCLASS) (INT)(x))
#define cast_to_LIST(x)   ((LIST *) (void *)(x))
#define IS_FORMAL(s)
#define IS_COMMON(s)
#define IS_AUTO_OR_FORMAL(s)

Typedefs

typedef struct al STB_pkt

Enumerations

enum  is_form {
  is_UNDEF = 0, is_ST, is_WN, is_CONST,
  is_SCLASS, is_PCONST, is_SCONST, is_LIST
}

Functions

STB_pktcwh_stab_packet (void *thing, enum is_form fm)
STB_pktcwh_stab_packet_typed (void *thing, enum is_form fm, TY_IDX ty)
STcwh_stab_seen_derived_type_or_imported_var (ST *c, char *name)
WNcwh_stab_const (ST *st)
void cwh_stab_end_procs (void)
void cwh_stab_add_pragma (ST *st, WN_PRAGMA_ACCESSED_FLAGS flag)
void cwh_stab_set_symtab (ST *st)
STcwh_stab_const_ST (WN *wn)
STcwh_stab_address_temp_ST (char *name, TY_IDX ty, BOOL uniq)
STcwh_stab_temp_ST (TY_IDX ty, char *name)
WNcwh_load_distribute_temp (void)
STcwh_stab_main_ST (void)
TY_IDX cwh_stab_altentry_TY (ST *st, BOOL expr)
void New_Auxst (SYMTAB_IDX level, ST_IDX idx)
STF90_New_ST (SYMTAB_IDX level)
void cwh_stab_init_auxst_tab_size (void)
void cwh_stab_set_tylist_for_entries (ST *st)
LABELF90_New_LABEL (SYMTAB_IDX scope, LABEL_IDX &label_idx)
void cwh_stab_emit_commons_and_equivalences (SYMTAB_IDX level)
STcwh_stab_mk_fn_0args (char *name, ST_EXPORT eclass, SYMTAB_IDX level, TY_IDX rty)

Variables

STProcedure_ST
STAltaddress_ST
PREG_det preg_for_distribute
BOOL cwh_stab_pu_has_globals
INT32 cwh_assign_label_id

Define Documentation

#define cast_to_LIST (   x)    ((LIST *) (void *)(x))

Definition at line 82 of file cwh_stab.h.

#define cast_to_SCLASS (   x)    ((ST_SCLASS) (INT)(x))

Definition at line 81 of file cwh_stab.h.

Referenced by fei_object().

#define IS_AUTO_OR_FORMAL (   s)
Value:

Definition at line 95 of file cwh_stab.h.

Referenced by fei_object().

#define IS_COMMON (   s)
Value:

Definition at line 91 of file cwh_stab.h.

Referenced by cwh_types_mk_element(), and fei_object().

#define IS_FORMAL (   s)
Value:

Definition at line 87 of file cwh_stab.h.


Typedef Documentation

typedef struct al STB_pkt

Enumeration Type Documentation

enum is_form
Enumerator:
is_UNDEF 
is_ST 
is_WN 
is_CONST 
is_SCLASS 
is_PCONST 
is_SCONST 
is_LIST 

Definition at line 63 of file cwh_stab.h.


Function Documentation

Definition at line 3164 of file cwh_stab.cxx.

References Be_Type_Tbl, cwh_auxst_clear(), Gen_Temp_Symbol(), MTYPE_I4, NULL, OPC_I4I4LDID, st_for_distribute_temp, TY_name(), and WN_CreateLdid().

Referenced by cwh_stab_distrib_pragmas(), and fei_redistribute().

Here is the call graph for this function:

void cwh_stab_add_pragma ( ST st,
WN_PRAGMA_ACCESSED_FLAGS  flag 
)

Definition at line 2046 of file cwh_stab.cxx.

References block, block_ca, cwh_auxst_pragma(), cwh_stmt_add_to_preamble(), NULL, wn, WN_CreatePragma(), WN_DELETE_Tree(), WN_PRAGMA_ACCESSED_ID, and WN_pragma_arg2().

Referenced by cwh_addr_access_flags().

Here is the call graph for this function:

WN* cwh_stab_const ( ST st)

Definition at line 1963 of file cwh_stab.cxx.

References Const_Opcode, ST_type(), TY_mtype(), wn, and WN_CreateConst().

Referenced by fei_constant().

Here is the call graph for this function:

ST* cwh_stab_const_ST ( WN wn)

Definition at line 1936 of file cwh_stab.cxx.

References Be_Type_Tbl, DevAssert, Enter_tcon(), Host_To_Targ(), New_Const_Sym(), OPR_CONST, OPR_INTCONST, WN_const_val(), WN_st(), WNOPR, and WNRTY.

Referenced by fei_smt_parameter().

Here is the call graph for this function:

ST* cwh_stab_main_ST ( void  )

Definition at line 2326 of file cwh_stab.cxx.

References Main_ST.

ST* cwh_stab_mk_fn_0args ( char *  name,
ST_EXPORT  eclass,
SYMTAB_IDX  level,
TY_IDX  rty 
)
STB_pkt* cwh_stab_packet ( void *  thing,
enum is_form  fm 
)
STB_pkt* cwh_stab_packet_typed ( void *  thing,
enum is_form  fm,
TY_IDX  ty 
)

Definition at line 2097 of file cwh_stab.cxx.

References al::form, al::item, al::next, STB_list, and al::ty.

Referenced by cwh_stab_packet(), and fei_constant().

ST* cwh_stab_seen_derived_type_or_imported_var ( ST c,
char *  name 
)

Definition at line 3435 of file cwh_stab.cxx.

References cwh_auxst_next_element(), I_element, l_TYMDLIST, NULL, ST_base(), ST_name(), and ST_pu().

Referenced by fei_gen_st_for_type(), fei_imported_type(), and fei_object().

Here is the call graph for this function:

void cwh_stab_set_symtab ( ST st)

Definition at line 1922 of file cwh_stab.cxx.

References Current_scope, and PU_lexical_level().

Referenced by PDGCS_new_proc().

Here is the call graph for this function:

Definition at line 3252 of file cwh_stab.cxx.

References cwh_auxst_next_element(), cwh_auxst_set_tylist(), I_element, l_ALTENTRY, and NULL.

Referenced by fei_proc_body().

Here is the call graph for this function:

ST* cwh_stab_temp_ST ( TY_IDX  ty,
char *  name 
)

Definition at line 2020 of file cwh_stab.cxx.

References cwh_auxst_clear(), cwh_expr_temp_set_pragma(), and Gen_Temp_Symbol().

Referenced by cwh_intrin_sync_intrin(), cwh_types_make_bounds_ST(), and fei_new_select().

Here is the call graph for this function:

LABEL& F90_New_LABEL ( SYMTAB_IDX  scope,
LABEL_IDX label_idx 
)
ST* F90_New_ST ( SYMTAB_IDX  level)
void New_Auxst ( SYMTAB_IDX  level,
ST_IDX  idx 
)

Variable Documentation

Definition at line 104 of file cwh_pdgcs.cxx.

Referenced by fei_label_addr(), and PDGCS_new_proc().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines