Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define ALIGN_Dims 0 |
Definition at line 341 of file cwh_types.i.
#define align_index | ( | x | ) | (al_off[x>>3]) |
Definition at line 38 of file cwh_types.i.
Referenced by cwh_types_mk_basic_TY(), and cwh_types_mk_logical_TY().
#define ALIGN_Namelist 11 |
Definition at line 352 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_TY().
#define ALIGN_Nlentry 5 |
Definition at line 346 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY(), and cwh_types_mk_namelist_TY().
#define alignment_to_align | ( | x | ) | (al_off[x]) |
Definition at line 40 of file cwh_types.i.
Referenced by cwh_types_mk_logical_TY(), and cwh_types_mk_misaligned_TY().
#define ALIGNS 5 |
Definition at line 37 of file cwh_types.i.
#define basic_index | ( | x | ) | (x) |
Definition at line 39 of file cwh_types.i.
Referenced by cwh_types_mk_basic_TY(), and cwh_types_mk_logical_TY().
#define DOPENM_LEN 6 |
Definition at line 272 of file cwh_types.i.
Referenced by cwh_types_is_dope().
#define GET_HOST_SYMTAB ((SYMTAB_level(Current_Symtab) == 1) ? Current_Symtab : SYMTAB_parent(Current_Symtab)) |
Definition at line 376 of file cwh_types.i.
#define IS_SHARED_DOPE_BASE | ( | ty | ) | (TY_kind(ty) == KIND_SCALAR && !TY_is_character(ty)) |
Definition at line 279 of file cwh_types.i.
Referenced by cwh_types_shared_dope().
#define LOGICAL_OFFSET | ( | bt | ) | (MTYPE_LAST + (bt - MTYPE_I1 + 1)) |
Definition at line 282 of file cwh_types.i.
Referenced by cwh_types_shared_dope().
#define MAX_ALIGN 16 |
Definition at line 153 of file cwh_types.i.
Referenced by cwh_types_mk_equiv_TY().
#define MTYPE_MemorySize | ( | x | ) | (MTYPE_size_min(x) >> 3) |
Definition at line 332 of file cwh_types.i.
#define NL_Name_Length 36 |
Definition at line 329 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY(), and cwh_types_mk_namelist_TY().
#define NUM_DOPE_TYPES MTYPE_LAST + 1 + NUM_LOGICAL_DOPE_TYPES |
Definition at line 281 of file cwh_types.i.
Referenced by cwh_types_shared_dope().
#define NUM_LOGICAL_DOPE_TYPES 4 |
Definition at line 280 of file cwh_types.i.
#define OFFSET_Dims_baseoff 3 |
Definition at line 344 of file cwh_types.i.
#define OFFSET_Dims_ndims 1 |
Definition at line 342 of file cwh_types.i.
#define OFFSET_Dims_nels 2 |
Definition at line 343 of file cwh_types.i.
#define OFFSET_Dims_span 4 |
Definition at line 345 of file cwh_types.i.
#define OFFSET_Namelist_nlname 12 |
Definition at line 353 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_TY().
#define OFFSET_Namelist_nlvnames 13 |
Definition at line 354 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_TY().
#define OFFSET_Nlentry_dimp 9 |
Definition at line 350 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY().
#define OFFSET_Nlentry_type 8 |
Definition at line 349 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY().
#define OFFSET_Nlentry_varaddr 7 |
Definition at line 348 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY().
#define OFFSET_Nlentry_varname 6 |
Definition at line 347 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY().
#define SIZE_Nlentry 10 |
Definition at line 351 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY().
#define STK_SIZE_CHANGE 100; |
Definition at line 322 of file cwh_types.i.
static TY_IDX cwh_types_dim_struct_TY | ( | void | ) | [static] |
static TY_IDX cwh_types_dim_TY | ( | INT32 | num_dims | ) | [static] |
static void cwh_types_fill_type | ( | INT32 | flag_bits, |
TYPE * | t, | ||
TY_IDX | ty | ||
) | [static] |
static FLD_HANDLE cwh_types_fld_util | ( | char * | name_string, |
TY_IDX | fld_ty, | ||
OFFSET_64 | offset, | ||
BOOL | global | ||
) | [static] |
static ST* cwh_types_formal_util | ( | TY_IDX | ty | ) | [static] |
static BOOL cwh_types_in_dtype | ( | void | ) | [static] |
static ST* cwh_types_make_bounds_ST | ( | void | ) | [static] |
static TY_IDX cwh_types_mk_array_TY | ( | ARB_HANDLE | bounds, |
INT16 | n, | ||
TY_IDX | base, | ||
INT64 | size | ||
) | [static] |
static TY_IDX cwh_types_mk_basic_TY | ( | BASIC_TYPE | , |
INTPTR | size, | ||
mUINT16 | alignment | ||
) | [static] |
static TY_IDX cwh_types_mk_dope_invariant_TY | ( | void | ) | [static] |
static TY_IDX cwh_types_mk_misaligned_TY | ( | TY_IDX | ty, |
mUINT16 | alignment | ||
) | [static] |
static TY_IDX cwh_types_mk_namelist_item_TY | ( | void | ) | [static] |
static TY_IDX cwh_types_mk_struct | ( | INT64 | size, |
INT32 | align, | ||
FLD_HANDLE | list, | ||
char * | name | ||
) | [static] |
static TY_IDX cwh_types_mk_unique_pointer_TY | ( | TY_IDX | ty, |
BOOL | host | ||
) | [static] |
static TY_IDX cwh_types_new_TY | ( | BOOL | global, |
INT32 | align | ||
) | [static] |
static dtype_t cwh_types_pop_dtype | ( | void | ) | [static] |
static void cwh_types_push_dtype | ( | dtype_t | d | ) | [static] |
static TY_IDX cwh_types_shared_dope | ( | FLD_HANDLE | list, |
int | ndims, | ||
BOOL | is_ptr | ||
) | [static] |
{0, 0, 1, 0, 2, 0,0,0, 3, 0,0,0,0,0,0,0, 4 }
Definition at line 43 of file cwh_types.i.
{ ".align1", ".align2", ".align4", ".align8", }
Definition at line 54 of file cwh_types.i.
Referenced by cwh_types_mk_logical_TY(), and cwh_types_mk_misaligned_TY().
TY_IDX basic_logical_ty[NUM_LOG_KINDS][ALIGNS] [static] |
Definition at line 64 of file cwh_types.i.
Referenced by cwh_types_mk_logical_TY().
const STRING bound_name[BOUND_NM] [static] |
{ "lb", "ext", "str_m", }
Definition at line 257 of file cwh_types.i.
Referenced by cwh_types_dim_struct_TY().
INT32 co_top_decl_bounds = ANULL [static] |
Definition at line 169 of file cwh_types.i.
Referenced by cwh_types_mk_array_TY(), fei_co_array_dimen(), fei_descriptor(), and fei_init_global_vars().
ARB_HANDLE decl_bounds [static] |
Definition at line 167 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
union { ... } decl_cyclic_val[MAX_ARY_DIMS] [static] |
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
Definition at line 195 of file cwh_types.i.
Referenced by cwh_stab_distrib_pragmas(), fei_array_dimen(), fei_co_array_dimen(), fei_descriptor(), and fei_object().
WN_PRAGMA_ID decl_distributed_pragma_id [static] |
Definition at line 193 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
DISTRIBUTE_TYPE decl_distribution[MAX_ARY_DIMS] [static] |
Definition at line 187 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
WN* decl_onto[MAX_ARY_DIMS] [static] |
Definition at line 192 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
BOOL distribute_onto [static] |
Definition at line 194 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
const int dope_bofst[DOPE_NM] [static] |
{ 0,0,0,1,2,4,5,29,0,0,0 }
Definition at line 220 of file cwh_types.i.
Referenced by cwh_types_get_dope_info(), and cwh_types_mk_dope_invariant_TY().
Definition at line 291 of file cwh_types.i.
Referenced by cwh_types_dim_struct_TY(), cwh_types_init_target(), fei_get_dv_extent(), fei_get_dv_str_mult(), fei_set_dv_extent(), and fei_set_dv_str_mult().
Definition at line 290 of file cwh_types.i.
Referenced by cwh_dope_initialize(), cwh_dope_read_bound(), cwh_dope_store_bound(), and cwh_types_dim_struct_TY().
const int dope_bsize[DOPE_NM] [static] |
{ 0,0,1,1,2,1,56,3,64,0,0 }
Definition at line 224 of file cwh_types.i.
Referenced by cwh_types_get_dope_info(), and cwh_types_mk_dope_invariant_TY().
TYPE_ID* dope_btype [static] |
Definition at line 228 of file cwh_types.i.
Referenced by cwh_types_dope_TY(), cwh_types_get_dope_info(), cwh_types_init_target(), and cwh_types_mk_dope_invariant_TY().
TYPE_ID dope_btype_32[DOPE_NM] [static] |
TYPE_ID dope_btype_64[DOPE_NM] [static] |
Definition at line 292 of file cwh_types.i.
Referenced by cwh_dope_read_bound(), cwh_dope_store_bound(), and cwh_types_init_target().
const char* const dope_invariant_str = ".flds." [static] |
Definition at line 271 of file cwh_types.i.
Referenced by cwh_types_mk_dope_invariant_TY().
{ "base", "el_len", "assoc", "ptr_alloc", "p_or_a", "a_contig", "unused_1", "num_dims", "type_code", "orig_base", "orig_size", }
Definition at line 206 of file cwh_types.i.
Referenced by cwh_types_dope_TY(), and cwh_types_mk_dope_invariant_TY().
INT* dope_offset [static] |
Definition at line 229 of file cwh_types.i.
Referenced by cwh_types_dope_dims_FLD(), cwh_types_dope_rank(), cwh_types_dope_TY(), cwh_types_get_dope_info(), cwh_types_init_target(), and cwh_types_mk_dope_invariant_TY().
int dope_offset_32[DOPE_NM] [static] |
{ ADDR_OFFSET,4,8,8,8,8,8,12,16,24,28 }
Definition at line 253 of file cwh_types.i.
Referenced by cwh_types_init_target().
int dope_offset_64[DOPE_NM] [static] |
{ ADDR_OFFSET,8,16,16,16,16,16,20,24,32,40 }
Definition at line 240 of file cwh_types.i.
Referenced by cwh_types_init_target().
Definition at line 270 of file cwh_types.i.
Referenced by cwh_types_is_dope(), and cwh_types_shared_dope().
Definition at line 293 of file cwh_types.i.
Referenced by cwh_types_dope_TY(), cwh_types_init_target(), cwh_types_mk_dope_invariant_TY(), and cwh_types_shared_dope().
Definition at line 319 of file cwh_types.i.
Referenced by cwh_types_pop_dtype(), and cwh_types_push_dtype().
INT32 dtype_stk_size = 0 [static] |
Definition at line 318 of file cwh_types.i.
Referenced by cwh_types_push_dtype().
Definition at line 320 of file cwh_types.i.
Referenced by cwh_types_in_dtype(), cwh_types_pop_dtype(), and cwh_types_push_dtype().
BOOL in_hosted_dtype = FALSE [static] |
Definition at line 386 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), fei_descriptor(), fei_dope_vector(), fei_member(), fei_next_type_idx(), and fei_user_type().
INT64 last_bitsize [static] |
Definition at line 172 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
TY_IDX Last_TY_Created = 0 [static] |
Definition at line 381 of file cwh_types.i.
Referenced by cwh_types_new_TY(), and cwh_types_unique_TY().
Definition at line 299 of file cwh_types.i.
Referenced by cwh_addr_do_bounds_check(), cwh_intrin_ieee_intrin_helper(), cwh_types_init_target(), fei_isfinite(), fei_isnan(), fei_isunordered(), fei_omp_test_lock(), and fei_present().
Definition at line 61 of file cwh_types.i.
Referenced by cwh_types_mk_logical_TY().
const TYPE_ID Mtypes[ALIGNS][Vector_Mask+1] [static] |
Definition at line 66 of file cwh_types.i.
Referenced by cwh_types_mk_basic_TY(), and cwh_types_mk_logical_TY().
INT NL_Table_Index [static] |
Definition at line 356 of file cwh_types.i.
Referenced by cwh_types_init_target(), cwh_types_mk_namelist_item_TY(), and cwh_types_mk_namelist_TY().
{ 4, 8, 0, 0, 4, 8, 8, 16, 12, 24, 4, 8, 0, 0, 36, 40, 40, 48, 44, 56, 48, 64, 4, 8, 0, 0, 36, 40 }
Definition at line 358 of file cwh_types.i.
Referenced by cwh_types_mk_namelist_item_TY(), and cwh_types_mk_namelist_TY().
INT32 top_of_decl_bounds = ANULL [static] |
Definition at line 168 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), fei_descriptor(), and fei_init_global_vars().
Definition at line 171 of file cwh_types.i.
Referenced by fei_array_dimen(), fei_co_array_dimen(), and fei_descriptor().
TY_IDX unaligned_type[MTYPE_LAST+1][ALIGNS] [static] |
Definition at line 63 of file cwh_types.i.
Referenced by cwh_types_mk_misaligned_TY().
Definition at line 190 of file cwh_types.i.
Definition at line 189 of file cwh_types.i.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), Accumulate_Expr_PUinfo(), Append_Distribution(), cwh_addr_address_ST(), cwh_addr_array(), cwh_addr_array1(), cwh_addr_find_section(), cwh_addr_iload(), cwh_addr_istore(), cwh_addr_lda(), cwh_addr_ldid(), cwh_addr_load_ST(), cwh_addr_load_WN(), cwh_addr_mk_ldid(), cwh_addr_mload(), cwh_addr_mstore(), cwh_addr_nonc_recast(), cwh_addr_nonc_util(), cwh_addr_pstid(), cwh_addr_pstore(), cwh_addr_pstore_ST(), cwh_addr_pstore_WN(), cwh_addr_src_triplet(), cwh_addr_stid(), cwh_addr_store_ST(), cwh_addr_store_WN(), cwh_addr_triplet(), cwh_auxst_pragma(), cwh_block_add_to_enclosing_regions(), cwh_block_dump(), cwh_block_new_and_current(), cwh_block_new_and_decl(), cwh_block_set_region_pragmas(), cwh_ceiling_floor(), cwh_char_intrin(), cwh_convert_to_ty(), cwh_directive_pop_and_nowait(), cwh_do_tranformational(), cwh_dope_from_expression(), cwh_dope_read_bound(), cwh_dope_store_bound(), cwh_expr_address(), cwh_expr_binop(), cwh_expr_binop_shift(), cwh_expr_compare(), cwh_expr_compare_bitwise(), cwh_expr_compare_char(), cwh_expr_compare_logical(), cwh_expr_extract_arrayexp(), cwh_expr_operand(), cwh_expr_restore_arrayexp(), cwh_expr_unop(), cwh_funny_fp_intrinsic(), cwh_intrin_build(), cwh_intrin_call(), cwh_intrin_get_return_value(), cwh_intrin_ieee_intrin_call_helper(), cwh_intrin_ieee_intrin_helper(), cwh_intrin_null_parm(), cwh_intrin_op(), cwh_intrin_popcnt_leadz_helper(), cwh_intrin_sync_intrin(), cwh_intrin_wrap_char_parm(), cwh_intrin_wrap_ref_parm(), cwh_io_analyse_io_statement(), cwh_io_char_ioitem(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dopes(), cwh_io_cvt_tos_label_to_wn(), cwh_io_ioitem(), cwh_io_no_desc(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_io_str_ioitem(), cwh_mp_region(), cwh_preg_temp_save(), cwh_reorder(), cwh_stab_add_pragma(), cwh_stab_const(), cwh_stab_distrib_pragmas(), cwh_stk_get_num_inquire_items(), cwh_stk_is_byte_STR(), cwh_stk_pop_iostmt(), cwh_stmt_add_pragma(), cwh_stmt_add_xpragma(), cwh_stmt_append_truebr(), cwh_stmt_assigned_goto(), cwh_stmt_call_helper(), cwh_stmt_computed_goto(), cwh_stmt_falsebr(), cwh_stmt_goto(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), cwh_stmt_truebr(), cwh_types_array_temp_TY(), cwh_types_bound_WN(), cwh_types_mk_basic_TY(), cwh_types_mk_namelist_item_TY(), cwh_types_mk_namelist_TY(), cwh_types_size_WN(), do_simple(), Does_Stmt_Store_From_Preg(), Does_Stmt_Store_Into_Preg(), F90_wrap_cvtl(), fei_abs(), fei_addr(), fei_addr_con(), fei_alloc(), fei_allocate(), fei_arg_addr(), fei_arith_con(), fei_arith_goto(), fei_array_construct(), fei_array_dimen(), fei_barrier(), fei_barrier_open_mp(), fei_bneg(), fei_brtrue(), fei_close(), fei_co_array_dimen(), fei_concat(), fei_constant(), fei_copy_in(), fei_copyin_bound(), fei_cot(), fei_count(), fei_critical_open_mp(), fei_criticalsection(), fei_descriptor(), fei_dot_product(), fei_dot_product_logical(), fei_dv_deref(), fei_end_ioblock(), fei_endcritical_open_mp(), fei_endcriticalsection(), fei_enddo(), fei_endguard(), fei_endordered_open_mp(), fei_entry_pt(), fei_exponent(), fei_exponentiate(), fei_fcd(), fei_field_dot(), fei_fission(), fei_formatted_read(), fei_formatted_write(), fei_fuse(), fei_gen_func_entry(), fei_get_dv_hdr_fld(), fei_guard(), fei_imag(), fei_implied_do(), fei_inquire(), fei_interface(), fei_IO_list(), fei_iolength(), fei_iotype(), fei_label_addr(), fei_label_def_named(), fei_length(), fei_leqv(), fei_lneg(), fei_logb(), fei_lxor(), fei_malloc(), fei_matmul(), fei_multiply_high(), fei_namelist(), fei_namelist_read(), fei_namelist_write(), fei_near(), fei_new_select(), fei_new_select_case(), fei_noio_implied_do(), fei_nullify(), fei_omp_set_lock(), fei_omp_test_lock(), fei_omp_unset_lock(), fei_open(), fei_ordered_open_mp(), fei_pdo(), fei_poppar(), fei_prefetch_ref(), fei_present(), fei_pstore(), fei_push_arith_con(), fei_push_pattern_con(), fei_ranf(), fei_ranset(), fei_redistribute(), fei_return(), fei_round(), fei_rtc(), fei_scale(), fei_set_dv_hdr_fld(), fei_set_exponent(), fei_smt_parameter(), fei_start_ioblock(), fei_stop(), fei_store(), fei_subscr_src_triplet(), fei_subscr_triplet(), fei_task_endloop(), fei_task_var(), fei_trunc(), fei_unformatted_read(), fei_unformatted_write(), fei_unit(), fei_use(), fei_where(), Find_Insertion_Point(), find_stmt(), fix_tree(), Get_parent(), Get_Preamble_End(), ANL_VARLIST::Insert_Var_Refs(), IPA_WN_Delete(), ir_b2a_process_PUs(), ir_b_write_tree(), ir_sel(), Is_Grandparent_Region(), Max_Arg_Area_Bytes(), Node_Count(), Callback::Node_Select(), PDGCS_do_proc(), Rewrite_Structs_In_MPRegion(), BE_PREG::Set_home_location(), simple_intrinsic(), simple_intrinsic_nt(), Spill_And_Take_Address(), ST2F_func_header(), Strip_TAS(), True_Bound(), TY2F_Append_Array_Bnd_Ph(), WN2C_pragma(), WN2C_Skip_Pragma_Stmt(), WN2C_translate(), WN2F_Initiate_OneInt(), WN2F_Initiate_ZeroInt(), WN2F_io(), WN2F_Is_Address_Preg(), WN2F_pragma(), WN2F_pragma_list_end(), WN2F_pragma_list_nowait(), WN2F_Skip_Pragma_Stmt(), WN2F_translate(), WN_CopyNode(), WN_Create(), WN_Create_Generic(), WN_CreateAffirm(), WN_CreateAgoto(), WN_CreateAlloca(), WN_CreateAltentry(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), WN_CreateAssert(), WN_CreateBarrier(), WN_CreateBlock(), WN_CreateCasegoto(), WN_CreateComma(), WN_CreateComment(), WN_CreateCompgoto(), WN_CreateConst(), WN_CreateCvtl(), WN_CreateDealloca(), WN_CreateDO(), WN_CreateDoWhile(), WN_CreateEntry(), WN_CreateEval(), WN_CreateExcScopeBegin(), WN_CreateExcScopeEnd(), WN_CreateExp0(), WN_CreateExp1(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateFalsebr(), WN_CreateGoto(), WN_CreateGotoOuterBlock(), WN_CreateIdname(), WN_CreateIf(), WN_CreateIlda(), WN_CreateIload(), WN_CreateIloadx(), WN_CreateIntconst(), WN_CreateIo(), WN_CreateIoItem0(), WN_CreateIoItem1(), WN_CreateIoItem2(), WN_CreateIoItem3(), WN_CreateIoItemN(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateLabel(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLdma(), WN_CreateLoopInfo(), WN_CreateMload(), WN_CreateMstore(), WN_CreateParm(), WN_CreatePragma(), WN_CreatePrefetch(), WN_CreatePrefetchx(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateRcomma(), WN_CreateRegion(), WN_CreateRegionExit(), WN_CreateReturn(), WN_CreateReturn_Val(), WN_CreateStid(), WN_CreateSwitch(), WN_CreateTrap(), WN_CreateTruebr(), WN_CreateWhileDo(), WN_CreateXgoto(), WN_CreateXpragma(), WN_Float_Type_Conversion(), WN_get_tree(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Int_Type_Conversion(), WN_LdaLabel(), WN_Rename_Duplicate_Labels(), WN_SimpCreateCvtl(), WN_SimpCreateDeposit(), WN_SimpCreateExp1(), WN_SimpCreateExp2(), WN_SimpCreateExp3(), WN_SimpCreateExtract(), WN_Verifier::WN_traverse_tree(), WN_Tree_Has_Duplicate_Labels(), WN_Type_Conversion(), WN_Verifier::WN_Verifier(), WN_WALK_SCFIter(), WN_WALK_StmtIter(), and WN_WALK_TreeIter().