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

Go to the source code of this file.

Classes

struct  dope_header1
struct  dope_header2
struct  f90_type

Defines

#define t_TY(x)   (x.table_index)
#define DOPE_NM   11
#define DOPE_USED   DOPE_NM-1
#define BOUND_NM   3
#define DIM_SZ   BOUND_NM*DOPE_bound_sz
#define ADDR_OFFSET   0
#define ADDR_TYPEID   Pointer_Mtype
#define IS_TYLIST

Typedefs

typedef struct dope_header1 dope_header1_type
typedef struct dope_header2 dope_header2_type
typedef struct f90_type f90_type_t

Enumerations

enum  ty_bound_enum { LOW, UPPER, STRIDE }

Functions

TY_IDX cwh_types_mk_procedure_TY (TY_IDX ret_typ, INT32 nparms, BOOL global, BOOL host)
TY_IDX cwh_types_scalar_TY (TY_IDX ty)
TY_IDX cwh_types_array_TY (TY_IDX ty)
TY_IDX cwh_types_WN_TY (WN *wn, BOOL addr)
TY_IDX cwh_types_dope_TY (INT32 num_dims, TY_IDX base, BOOL host, BOOL ptr)
TY_IDX cwh_types_ch_parm_TY (WN *ln)
STcwh_types_character_extra (ST *dummy)
BOOL cwh_types_is_character (TY_IDX ty)
BOOL cwh_types_is_logical (TY_IDX ty)
BOOL cwh_types_is_character_function (TY_IDX ty)
TY_IDX cwh_types_mk_common_TY (INT64 size, mUINT16 al)
TY_IDX cwh_types_mk_module_TY (INT64 size, mUINT16 al)
void cwh_types_mk_element (ST *c, ST *st)
TY_IDX cwh_types_mk_namelist_TY (INT32 nitems)
FLD_HANDLE cwh_types_fld_dummy (INT64 off, TY_IDX ty)
void cwh_types_get_dope_info (INT32 crayfield, INT32 *offset, INT32 *rshift, INT64 *mask, TYPE_ID *ty)
INT32 cwh_types_dope_rank (TY_IDX ty)
TY_IDX cwh_types_dope_basic_TY (TY_IDX ty)
WNcwh_types_size_WN (TY_IDX, WN *e_sz)
TY_IDX cwh_types_array_temp_TY (WN *ar, TY_IDX sc)
WNcwh_types_bound_WN (TY_IDX ty, INT16 i, enum ty_bound_enum b)
INT64 cwh_cray_type_from_TY (TY_IDX ty)
INT64 cwh_cray_type_from_MTYPE (TYPE_ID ty)
BOOL cwh_types_is_dope (TY_IDX ty)
FLD_HANDLE cwh_types_dope_dims_FLD (TY_IDX ty)
char * cwh_types_mk_anon_name (char *p)
TY_IDX cwh_types_array_util (INT16 rank, TY_IDX ta, INT32 align, INT64 size, char *name, BOOL alloc_arbs)
void cwh_types_init_target (void)
TY_IDX cwh_types_mk_pointer_TY (TY_IDX ty, BOOL host)
TY_IDX cwh_types_mk_f90_pointer_ty (TY_IDX ty)
TY_IDX cwh_types_mk_logical_TY (INT32 sz, mUINT16 align)
TY_IDX cwh_types_form_misaligned_TY (TY_IDX ty, mUINT16 align)
TY_IDX cwh_types_make_pointer_type (TY_IDX ty, BOOL f90_pointer)
TY_IDX cwh_types_enter_TY (TY_IDX can)
TY_IDX cwh_types_mk_equiv_TY (INT64 size)
TY_IDX cwh_types_mk_character_TY (WN *sz, ST *st, BOOL is_wn)
TY_IDX cwh_types_unique_TY (TY_IDX ty_idx)
void cwh_types_enter_common_element (ST *c, ST *st)
TY_IDX cwh_types_mk_result_temp_TY (void)
void cwh_types_copyin_pragma (ST *st)
bool cwh_types_contains_dope (TY_IDX ty)

Variables

INT32 DOPE_bound_sz
INT32 DOPE_dim_offset
INT32 DOPE_sz
TY_IDX DOPE_bound_ty
WNdecl_distribute_pragmas
TY_IDX logical4_ty

Define Documentation

#define ADDR_OFFSET   0

Definition at line 129 of file cwh_types.h.

Referenced by fei_dv_deref().

#define ADDR_TYPEID   Pointer_Mtype

Definition at line 130 of file cwh_types.h.

#define BOUND_NM   3

Definition at line 127 of file cwh_types.h.

Referenced by cwh_dope_from_expression(), cwh_types_dim_struct_TY(), and fei_dv_def().

#define DOPE_NM   11
#define DOPE_USED   DOPE_NM-1

Definition at line 126 of file cwh_types.h.

Referenced by cwh_dope_from_expression(), and fei_dv_def().

#define IS_TYLIST

Definition at line 132 of file cwh_types.h.


Typedef Documentation

typedef struct f90_type f90_type_t

Enumeration Type Documentation

Enumerator:
LOW 
UPPER 
STRIDE 

Definition at line 55 of file cwh_types.h.


Function Documentation

Definition at line 1714 of file cwh_types.cxx.

References cwh_types_mk_character_TY(), Make_Pointer_Type(), NULL, and TRUE.

Referenced by cwh_intrin_wrap_char_parm().

Here is the call graph for this function:

Definition at line 1804 of file cwh_types.cxx.

References Be_Type_Tbl, cwh_addr_char_len_typeid, cwh_types_formal_util(), cwh_types_is_character(), NULL, Set_ST_is_temp_var(), Set_ST_is_value_parm(), and ST_type().

Referenced by cwh_auxst_add_dummy().

Here is the call graph for this function:

Definition at line 2359 of file cwh_types.cxx.

References cwh_types_contains_dope(), cwh_types_is_dope(), FLD_last_field(), FLD_type(), KIND_STRUCT, Make_fld_iter(), TY_fld(), and TY_kind().

Referenced by cwh_types_contains_dope().

Here is the call graph for this function:

Definition at line 2311 of file cwh_types.cxx.

References FLD_type(), KIND_POINTER, TY_fld(), TY_kind(), TY_pointed(), and Ty_Table.

Referenced by fei_as_ref(), and fei_nseq_subscr().

Here is the call graph for this function:

Definition at line 2329 of file cwh_types.cxx.

References DOPE_NM, dope_offset, FLD_last_field(), FLD_next(), FLD_ofst(), KIND_POINTER, TY_fld(), TY_kind(), TY_pointed(), and Ty_Table.

Here is the call graph for this function:

Definition at line 2277 of file cwh_types.cxx.

References ARB_ubnd_val(), DOPE_NM, dope_offset, FLD_last_field(), FLD_next(), FLD_ofst(), FLD_type(), FLD_HANDLE::Is_Null(), TY_arb(), TY_fld(), and Ty_Table.

Referenced by cwh_inline_allocate(), and fei_as_ref().

Here is the call graph for this function:

void cwh_types_enter_common_element ( ST c,
ST st 
)

Definition at line 2419 of file cwh_types.cxx.

References cwh_types_fld_util(), and FALSE.

Referenced by fei_arg_addr(), and fei_non_conform_store().

Here is the call graph for this function:

void cwh_types_get_dope_info ( INT32  crayfield,
INT32 offset,
INT32 rshift,
INT64 mask,
TYPE_ID ty 
)

Definition at line 2686 of file cwh_types.cxx.

References dope_bofst, dope_bsize, dope_btype, dope_offset, MTYPE_size_best, and size.

Referenced by fei_get_dv_hdr_fld(), and fei_set_dv_hdr_fld().

Definition at line 1775 of file cwh_types.cxx.

References cwh_types_array_TY(), cwh_types_scalar_TY(), FALSE, KIND_FUNCTION, TY_is_character(), TY_kind(), Ty_Table, TY_tylist(), and Tylist_Table.

Here is the call graph for this function:

Definition at line 2255 of file cwh_types.cxx.

References dope_str, DOPENM_LEN, FALSE, KIND_POINTER, TRUE, TY_kind(), TY_name(), and TY_pointed().

Referenced by cwh_types_contains_dope(), and cwh_types_form_misaligned_TY().

Here is the call graph for this function:

Definition at line 1754 of file cwh_types.cxx.

References cwh_types_array_TY(), cwh_types_scalar_TY(), TY_is_logical(), and Ty_Table.

Here is the call graph for this function:

Definition at line 2788 of file cwh_types.cxx.

References bit_to_byte, and cwh_types_mk_struct().

Referenced by cwh_stab_common_ST().

Here is the call graph for this function:

Definition at line 2829 of file cwh_types.cxx.

References bit_to_byte, cwh_types_mk_struct(), and MAX_ALIGN.

Referenced by cwh_stab_altentry_temp(), and fei_seg().

Here is the call graph for this function:

Definition at line 2804 of file cwh_types.cxx.

References bit_to_byte, and cwh_types_mk_struct().

Referenced by cwh_stab_module_ST().

Here is the call graph for this function:

Definition at line 2736 of file cwh_types.cxx.

References Make_Pointer_Type().

Referenced by cwh_stab_formal_ref(), cwh_types_dope_TY(), fei_descriptor(), and fei_object().

Here is the call graph for this function:

Definition at line 3019 of file cwh_types.cxx.

References Be_Type_Tbl, cwh_types_fld_util(), cwh_types_mk_struct(), MTYPE_I8, RESULT_ALIGN, RESULT_SIZE, Set_FLD_last_field(), and TRUE.

Here is the call graph for this function:

WN* cwh_types_size_WN ( TY_IDX  ,
WN e_sz 
)

Definition at line 2591 of file cwh_types.cxx.

References ARB_dimension(), cwh_addr_extent(), cwh_expr_bincalc(), cwh_types_bound_WN(), Is_True, KIND_ARRAY, LOW, MTYPE_I4, OPR_MPY, TY_arb(), TY_kind(), UPPER, wn, and WN_Intconst().

Here is the call graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines