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

Go to the source code of this file.

Defines

#define BIG_OFFSET(off)   (off > 0xffffffffLL)
#define HOST_ASSOCIATED(st)
#define BY_VALUE(t)
#define GET_ARRSECTION_RANK(a)   ((WN_kid_count(a)-1)/2) ;
#define FOREACH_AXIS(i, nk)   for(i = 1 ; i <= nk/2 ; i++)
#define SZ_OFF(rk)   0
#define SUB_OFF(rk)   (rk/2)
#define POINTER_TY   (Be_Type_Tbl(Pointer_Mtype))

Functions

static WNcwh_addr_add_bound (WN *ar, WN *sz, WN *sub)
static WNcwh_addr_array (OPCODE op, WN *ad, TY_IDX ty)
static WNcwh_addr_array1 (OPCODE op, WN *ad, TY_IDX ty, INT32 kidsnum)
static WNcwh_addr_triplet (WN *lb, WN *ub, WN *str)
static WNcwh_addr_src_triplet (WN *lb, WN *ub, WN *str)
static WNcwh_addr_zero_based (WN *sub, WN *lb)
static WNcwh_addr_do_bounds_check (WN *sb, WN *lb, WN *ex)
static void cwh_addr_insert_bounds_check (WN *assertion, WN *ar)
static BOOL cwh_addr_is_triplet (WN *wn)
static WNcwh_addr_iload (WN *wn, OFFSET_64 off, TY_IDX ty)
static WNcwh_addr_lda (ST *st, OFFSET_64 off, TY_IDX ty)
static WNcwh_addr_adjust_array (WN *wn, TY_IDX ty)
static WNcwh_addr_nonc_recast (WN *wt, WN *wa)
static void cwh_addr_access_flags (ST *, INT fg)
static BOOL cwh_addr_f90_pointer_reference_ls (WN *ls)
static W_node cwh_addr_substr_util (OFFSET_64 off, TY_IDX dty)

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
OPCODE Ldid_Opcode [MTYPE_LAST+1]
OPCODE Stid_Opcode [MTYPE_LAST+1]
OPCODE PStid_Opcode [MTYPE_LAST+1]
OPCODE Load_Opcode [MTYPE_LAST+1]
OPCODE Store_Opcode [MTYPE_LAST+1]
OPCODE PStore_Opcode [MTYPE_LAST+1]
static BOOL may_be_noncontig
static BOOL check_bounds_this_access
WN_MAP array_name_map

Define Documentation

#define BIG_OFFSET (   off)    (off > 0xffffffffLL)
#define BY_VALUE (   t)
Value:

Definition at line 242 of file cwh_addr.i.

Referenced by cwh_addr_load_ST(), cwh_addr_pstore_ST(), and cwh_addr_store_ST().

#define FOREACH_AXIS (   i,
  nk 
)    for(i = 1 ; i <= nk/2 ; i++)
#define GET_ARRSECTION_RANK (   a)    ((WN_kid_count(a)-1)/2) ;

Definition at line 247 of file cwh_addr.i.

#define HOST_ASSOCIATED (   st)
Value:
((ST_level(st) < CURRENT_SYMTAB) &&   \
                             (ST_class(st) == CLASS_VAR)     &&   \
                             (ST_has_nested_ref(st)))

Definition at line 236 of file cwh_addr.i.

Referenced by cwh_addr_access_flags().

Definition at line 283 of file cwh_addr.i.

#define SUB_OFF (   rk)    (rk/2)
#define SZ_OFF (   rk)    0

Function Documentation

static void cwh_addr_access_flags ( ST ,
INT  fg 
) [static]
static WN* cwh_addr_add_bound ( WN ar,
WN sz,
WN sub 
) [static]
static WN* cwh_addr_adjust_array ( WN wn,
TY_IDX  ty 
) [static]
static WN* cwh_addr_array ( OPCODE  op,
WN ad,
TY_IDX  ty 
) [static]
static WN* cwh_addr_array1 ( OPCODE  op,
WN ad,
TY_IDX  ty,
INT32  kidsnum 
) [static]
static WN* cwh_addr_do_bounds_check ( WN sb,
WN lb,
WN ex 
) [static]
static BOOL cwh_addr_f90_pointer_reference_ls ( WN ls) [static]
static WN* cwh_addr_iload ( WN wn,
OFFSET_64  off,
TY_IDX  ty 
) [static]
static void cwh_addr_insert_bounds_check ( WN assertion,
WN ar 
) [static]
static BOOL cwh_addr_is_triplet ( WN wn) [static]
static WN* cwh_addr_lda ( ST st,
OFFSET_64  off,
TY_IDX  ty 
) [static]
static WN* cwh_addr_nonc_recast ( WN wt,
WN wa 
) [static]
static WN* cwh_addr_src_triplet ( WN lb,
WN ub,
WN str 
) [static]
static W_node cwh_addr_substr_util ( OFFSET_64  off,
TY_IDX  dty 
) [static]
static WN* cwh_addr_triplet ( WN lb,
WN ub,
WN str 
) [static]
static WN* cwh_addr_zero_based ( WN sub,
WN lb 
) [static]

Variable Documentation

Definition at line 281 of file cwh_addr.i.

Referenced by PDGCS_do_proc(), and PDGCS_new_proc().

Definition at line 229 of file cwh_addr.i.

Referenced by cwh_addr_do_bounds_check(), and fei_subscr_size().

Definition at line 46 of file cwh_addr.i.

Referenced by cwh_addr_init_target(), and fei_doloop().

Definition at line 224 of file cwh_addr.i.

Referenced by cwh_addr_fixup_nseq(), and fei_nseq_subscr().

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