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

Go to the source code of this file.

Classes

struct  FLD_det

Defines

#define IS_ALTENTRY_TEMP(s)
#define SET_ARRAY_NAME_MAP(a, m)   WN_MAP_Set(array_name_map,(a),(void *) (m))
#define GET_ARRAY_NAME_MAP(a)   ((char *) WN_MAP_Get(array_name_map,(a)))

Enumerations

enum  p_flag { p_RETURN_PARENT, p_RETURN_SECTION }

Functions

void cwh_addr_init_target (void)
WNcwh_addr_load_ST (ST *st, OFFSET_64 off, TY_IDX ty)
WNcwh_addr_load_WN (WN *wn, OFFSET_64 off, TY_IDX ty)
WNcwh_addr_address_ST (ST *st, OFFSET_64 off=0, TY_IDX ty=0)
void cwh_addr_store_ST (ST *st, OFFSET_64 off, TY_IDX ty, WN *rhs)
void cwh_addr_pstore_ST (ST *st, OFFSET_64 off, TY_IDX ty, WN *rhs)
WNcwh_addr_stid (ST *st, OFFSET_64 off, TY_IDX ty, WN *rhs)
WNcwh_addr_ldid (ST *st, OFFSET_64 off, TY_IDX ty)
WNcwh_addr_istore (WN *wn, OFFSET_64 off, TY_IDX ty, WN *rhs)
WNcwh_addr_pstore (WN *wn, OFFSET_64 off, TY_IDX ty, WN *rhs)
WNcwh_addr_mload (WN *wt, OFFSET_64 off, TY_IDX ty, WN *sz)
WNcwh_addr_mstore (WN *ad, OFFSET_64 off, TY_IDX ty, WN *rhs)
void cwh_addr_store_WN (WN *lhs, OFFSET_64 off, TY_IDX ty, WN *rhs)
void cwh_addr_pstore_WN (WN *lhs, OFFSET_64 off, TY_IDX ty, WN *rhs)
BOOL cwh_addr_is_array (WN *wn)
BOOL cwh_addr_is_section (WN *wn)
WNcwh_addr_find_address (WN *wn)
WNcwh_addr_temp_section (WN *ad, TY_IDX ty)
WNcwh_addr_extent (WN *lb, WN *ub, WN *str)
WNcwh_addr_ubound_from_triplet (WN *triplet)
STcwh_addr_WN_ST (WN *wn)
void cwh_addr_nonc_util (WN **a, WN **b)
WNcwh_addr_find_section (WN *awn, enum p_flag flag)
WNcwh_addr_mk_ldid (ST *st, OFFSET_64 off, TYPE_ID bt, TY_IDX ty)
BOOL cwh_addr_f90_pointer_reference (WN *addr)
FLD_det cwh_addr_offset (void)
WNaddr_gen_iload_for_strctfld (WN *)

Variables

OPCODE opc_lda
OPCODE opc_call
OPCODE opc_array
OPCODE opc_section
OPCODE opc_triplet
OPCODE opc_src_triplet
OPCODE opc_pint
OPCODE opc_sint
TYPE_ID cwh_addr_char_len_typeid
TYPE_ID cwh_bound_int_typeid
TYPE_ID cwh_doloop_typeid
WN_MAP array_name_map

Define Documentation

#define GET_ARRAY_NAME_MAP (   a)    ((char *) WN_MAP_Get(array_name_map,(a)))

Definition at line 113 of file cwh_addr.h.

Referenced by cwh_addr_insert_bounds_check(), fei_nseq_subscr(), and fei_seq_subscr().

#define SET_ARRAY_NAME_MAP (   a,
 
)    WN_MAP_Set(array_name_map,(a),(void *) (m))

Definition at line 112 of file cwh_addr.h.

Referenced by fei_dv_deref(), fei_nseq_subscr(), and fei_seq_subscr().


Enumeration Type Documentation

enum p_flag
Enumerator:
p_RETURN_PARENT 
p_RETURN_SECTION 

Definition at line 57 of file cwh_addr.h.


Function Documentation

Definition at line 3144 of file cwh_addr.cxx.

References Load_Opcode, TY_mtype(), WN_CreateIload(), and WN_ty().

Referenced by cwh_expr_binop(), and fei_store().

Here is the call graph for this function:

WN* cwh_addr_extent ( WN lb,
WN ub,
WN str 
)

Definition at line 2359 of file cwh_addr.cxx.

References cwh_expr_bincalc(), OPR_ADD, OPR_DIV, OPR_SUB, and WN_COPY_Tree().

Referenced by cwh_addr_triplet(), cwh_types_size_WN(), fei_descriptor(), fei_doloop(), and fei_redistribute().

Here is the call graph for this function:

Definition at line 2484 of file cwh_addr.cxx.

References opc_array, and WN_opcode().

Referenced by cwh_expr_operand(), fei_addr(), fei_nseq_subscr(), and fei_seq_subscr().

Here is the call graph for this function:

Definition at line 2489 of file cwh_addr.cxx.

References opc_section, and WN_opcode().

Referenced by cwh_expr_operand().

Here is the call graph for this function:

WN* cwh_addr_mk_ldid ( ST st,
OFFSET_64  off,
TYPE_ID  bt,
TY_IDX  ty 
)

Definition at line 1226 of file cwh_addr.cxx.

References cwh_addr_use_mstid_mldid(), KIND_STRUCT, Ldid_Opcode, MTYPE_byte_size, MTYPE_To_TY, Set_TY_IDX_index(), TY_IDX_index(), TY_kind(), TY_size(), wn, and WN_CreateLdid().

Referenced by cwh_addr_ldid(), and cwh_stmt_return_scalar().

Here is the call graph for this function:

void cwh_addr_nonc_util ( WN **  a,
WN **  b 
)

Definition at line 2754 of file cwh_addr.cxx.

References cwh_addr_find_section(), cwh_addr_nonc_recast(), DevAssert, NULL, p_RETURN_PARENT, p_RETURN_SECTION, return(), wn, WN_kid0(), WN_kid1(), and WN_kid_count().

Referenced by fei_non_conform_store().

Here is the call graph for this function:

void cwh_addr_pstore_WN ( WN lhs,
OFFSET_64  off,
TY_IDX  ty,
WN rhs 
)

Definition at line 2388 of file cwh_addr.cxx.

References cwh_bound_int_typeid, cwh_expr_bincalc(), OPR_ADD, OPR_MPY, OPR_SUB, WN_COPY_Tree(), WN_Intconst(), WN_kid0(), WN_kid1(), and WN_kid2().

Referenced by cwh_addr_do_bounds_check().

Here is the call graph for this function:


Variable Documentation

Definition at line 281 of file cwh_addr.i.

Referenced by PDGCS_do_proc(), and PDGCS_new_proc().

Definition at line 46 of file cwh_addr.i.

Referenced by cwh_addr_init_target(), and fei_doloop().

Definition at line 36 of file cwh_addr.i.

Referenced by cwh_addr_init_target(), and cwh_inline_allocate().

Definition at line 42 of file cwh_addr.i.

Referenced by cwh_addr_init_target().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines