cwh_dope.cxx File Reference

#include "defs.h"
#include "glob.h"
#include "symtab.h"
#include "strtab.h"
#include "errors.h"
#include "config_targ.h"
#include "wn.h"
#include "wn_util.h"
#include "f90_utils.h"
#include "i_cvrt.h"
#include "cwh_defines.h"
#include "cwh_stk.h"
#include "cwh_stmt.h"
#include "cwh_types.h"
#include "cwh_expr.h"
#include "cwh_addr.h"
Include dependency graph for cwh_dope.cxx:

Go to the source code of this file.

Defines

#define opc_dim   OPC_I8INTCONST

Functions

static void cwh_dope_store_bound (INT32 offset, INT32 dim)
static void cwh_dope_read_bound (INT32 offset, INT32 dim)
static void cwh_dope_initialize (ST *st, WN *wa, TY_IDX ty, WN *dp[DOPE_USED], WN **bd, INT16 num_bnds)
static void cwh_dope_store (ST *st, WN *wa, OFFSET_64 off, TY_IDX ty, WN *rhs)
void fei_dv_def (INT32 num_dims)
void fei_get_dv_low_bnd (INT32 dim, INT32 expand)
void fei_get_dv_extent (INT32 dim, INT32 expand)
void fei_get_dv_str_mult (INT32 dim, INT32 expand)
void fei_set_dv_low_bnd (INT32 dim)
void fei_set_dv_extent (INT32 dim)
void fei_set_dv_str_mult (INT32 dim)
void fei_dv_deref (TYPE result)
void fei_get_dv_hdr_fld (INT32 field)
void fei_set_dv_hdr_fld (INT32 field)
static void arrsection_to_array (WN *addr)
void fei_dv_ptr_asg (void)
static INT64 cwh_dope_get_dope_fudge_factor (TY_IDX ty)
WNcwh_dope_from_expression (WN *expr, WN *array, WN *char_len, TY_IDX tarray, WN *craytype_wn)

Variables

static char * source_file = __FILE__

Define Documentation

#define opc_dim   OPC_I8INTCONST

Definition at line 85 of file cwh_dope.cxx.


Function Documentation

static void arrsection_to_array ( WN addr  )  [static]
WN* cwh_dope_from_expression ( WN expr,
WN array,
WN char_len,
TY_IDX  tarray,
WN craytype_wn 
)
static INT64 cwh_dope_get_dope_fudge_factor ( TY_IDX  ty  )  [static]

Definition at line 640 of file cwh_dope.cxx.

References DevAssert, KIND_ARRAY, KIND_SCALAR, KIND_STRUCT, MTYPE_byte_size, TY_etype(), TY_is_character(), TY_is_packed(), TY_kind(), TY_mtype(), and Ty_Table.

Referenced by cwh_dope_from_expression().

Here is the call graph for this function:

static void cwh_dope_initialize ( ST st,
WN wa,
TY_IDX  ty,
WN dp[DOPE_USED],
WN **  bd,
INT16  num_bnds 
) [static]
static void cwh_dope_read_bound ( INT32  offset,
INT32  dim 
) [static]
static void cwh_dope_store ( ST st,
WN wa,
OFFSET_64  off,
TY_IDX  ty,
WN rhs 
) [static]

Definition at line 1028 of file cwh_dope.cxx.

References cwh_addr_store_ST(), cwh_addr_store_WN(), F90_Wrap_ARREXP(), NULL, and WN_COPY_Tree().

Referenced by cwh_dope_initialize().

Here is the call graph for this function:

static void cwh_dope_store_bound ( INT32  offset,
INT32  dim 
) [static]
void fei_dv_def ( INT32  num_dims  ) 
void fei_dv_deref ( TYPE  result  ) 
void fei_dv_ptr_asg ( void   ) 

Definition at line 527 of file cwh_dope.cxx.

References arrsection_to_array(), cwh_expr_address(), cwh_stk_push(), f_T_SAVED, fei_set_dv_hdr_fld(), and WN_item.

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

void fei_get_dv_extent ( INT32  dim,
INT32  expand 
)

Definition at line 177 of file cwh_dope.cxx.

References cwh_dope_read_bound(), and DOPE_bound_sz.

Referenced by cvrt_exp_to_pdg(), cwh_inline_allocate(), and fei_as_ref().

Here is the call graph for this function:

void fei_get_dv_hdr_fld ( INT32  field  ) 
void fei_get_dv_low_bnd ( INT32  dim,
INT32  expand 
)

Definition at line 163 of file cwh_dope.cxx.

References cwh_dope_read_bound().

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

void fei_get_dv_str_mult ( INT32  dim,
INT32  expand 
)

Definition at line 191 of file cwh_dope.cxx.

References cwh_dope_read_bound(), and DOPE_bound_sz.

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

void fei_set_dv_extent ( INT32  dim  ) 

Definition at line 219 of file cwh_dope.cxx.

References cwh_dope_store_bound(), and DOPE_bound_sz.

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

void fei_set_dv_hdr_fld ( INT32  field  ) 
void fei_set_dv_low_bnd ( INT32  dim  ) 

Definition at line 205 of file cwh_dope.cxx.

References cwh_dope_store_bound().

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

void fei_set_dv_str_mult ( INT32  dim  ) 

Definition at line 233 of file cwh_dope.cxx.

References cwh_dope_store_bound(), and DOPE_bound_sz.

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:


Variable Documentation

char* source_file = __FILE__ [static]

Definition at line 52 of file cwh_dope.cxx.


Generated on Tue Nov 17 06:29:30 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1