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

Go to the source code of this file.

Classes

struct  nested_do

Enumerations

enum  site { block_ca, block_pu }
enum  pu_pragma_placement_t { pu_pragma_placement_first, pu_pragma_placement_last }

Functions

void cwh_stmt_init_pu (ST *st, INT32 lineno)
WNcwh_stmt_end_pu (void)
void cwh_stmt_init_file (BOOL is_mp)
void cwh_stmt_character_icall (INTRINSIC intrinsic)
WNcwh_stmt_add_arrayexp (WN *wn)
WNcwh_stmt_call_helper (INT32 numargs, TY_IDX ty, INT32 inline_state, INT64 flags)
WNcwh_stmt_return_scalar (ST *st, WN *rv, TY_IDX rty, BOOL write)
void cwh_stmt_add_pragma (WN_PRAGMA_ID wn_pragma_id, BOOL is_omp=FALSE, ST *st=(ST_IDX) NULL, INT32 arg1=0, INT32 arg2=0)
void cwh_stmt_add_xpragma (WN_PRAGMA_ID wn_pragma_id, BOOL is_omp=FALSE, WN *expr=NULL)
void cwh_stmt_postprocess_pu (void)
BOOL cwh_stmt_add_to_preamble (WN *wn, enum site block, enum pu_pragma_placement_t placement=pu_pragma_placement_first)

Variables

USRCPOS current_srcpos
struct nested_do nested_do_descriptor
WNtop_of_loop_additions
BOOL fe_invoke_inliner
BOOL still_in_preamble

Enumeration Type Documentation

Enumerator:
pu_pragma_placement_first 
pu_pragma_placement_last 

Definition at line 82 of file cwh_stmt.h.

enum site
Enumerator:
block_ca 
block_pu 

Definition at line 77 of file cwh_stmt.h.


Function Documentation

WN* cwh_stmt_call_helper ( INT32  numargs,
TY_IDX  ty,
INT32  inline_state,
INT64  flags 
)

Definition at line 852 of file cwh_stmt.cxx.

References ADDR_item, arg_association_info, block, CHECK_CONTIG_FLAG, CLASS_FUNC, COPY_IN, COPY_IN_COPY_OUT, COPY_IN_MAKE_DV, cwh_addr_load_ST(), cwh_block_append(), cwh_block_exchange_current(), cwh_block_new_and_current(), cwh_expr_address(), cwh_expr_operand(), cwh_intrin_wrap_char_parm(), cwh_intrin_wrap_ref_parm(), cwh_intrin_wrap_value_parm(), cwh_make_typed_opcode(), cwh_stk_count_STRs(), cwh_stk_get_class(), cwh_stk_get_TY(), cwh_stk_pop_ADDR(), cwh_stk_pop_DEREF(), cwh_stk_pop_ST(), cwh_stk_pop_STR(), cwh_stk_pop_WN(), cwh_stk_push(), cwh_stk_push_STR(), cwh_stk_push_typed(), cwh_stmt_return_scalar(), cwh_stmt_sgi_mp_flag, cwh_types_is_character(), cwh_types_WN_TY(), DEREF_item, DevAssert, F90_Wrap_ARREXP(), f_T_PASSED, Fail_FmtAssertion(), FALSE, FE_Call_Never_Return, fe_invoke_inliner, FEI_CALL_DOES_NOT_RETURN, FLD_item, free(), Get_Return_Info(), Get_Return_Mtypes(), KIND_ARRAY, KIND_FUNCTION, KIND_POINTER, len, MAKE_DV, MAKE_NEW_DV, MTYPE_V, NULL, OPC_U4INTCONST, OPR_ARRAYEXP, OPR_CALL, OPR_COMMA, OPR_ICALL, OPR_LDA, OPR_PAREN, OPR_PARM, PASS_ADDRESS, PASS_ADDRESS_FROM_DV, PASS_DV, PASS_DV_COPY, PASS_SECTION_ADDRESS, RETURN_INFO_count(), RETURN_INFO_mtype(), SCLASS_FORMAL, ST_auxst_has_rslt_tmp, ST_auxst_is_elemental, ST_class(), ST_item, ST_item_whole_array, ST_name(), ST_sclass(), ST_st_idx(), ST_type(), STR_item, STRUCT_BY_VALUE, test_flag, TRUE, TY_etype(), WN::ty_fields, TY_kind(), TY_mtype(), TY_pointed(), TY_ret_type(), TY_size(), WN::u3, Use_Simulated, WHIRL_Return_Info_On, WHIRL_Return_Val_On, wn, WN_COPY_Tree(), WN_Create(), WN_CreateBarrier(), WN_CreateComma(), WN_CreateIntconst(), WN_item, WN_item_whole_array, WN_kid(), WN_kid0(), WN_Set_Call_Default_Flags, WN_Set_Call_Dont_Inline, WN_Set_Call_Fortran_Pointer_Rule, WN_Set_Call_Inline, WN_Set_Call_Never_Return, WN_Set_Parm_Check_Contig_Flag, WN_Set_Parm_Copy_In, WN_Set_Parm_Copy_In_Copy_out, WN_Set_Parm_Copy_In_Make_Dv, WN_Set_Parm_Make_Dv, WN_Set_Parm_Make_New_Dv, WN_Set_Parm_Pass_Address, WN_Set_Parm_Pass_Address_From_Dv, WN_Set_Parm_Pass_Dv, WN_Set_Parm_Pass_Dv_Copy, WN_Set_Parm_Pass_Section_Address, WN_set_ty(), WN_st(), WN_st_idx(), and WNOPR.

Referenced by fei_call(), fei_length(), fei_omp_set_lock(), fei_omp_test_lock(), fei_omp_unset_lock(), fei_ranget(), fei_ranset(), fei_rtc(), and fei_unit().

void cwh_stmt_character_icall ( INTRINSIC  intrinsic)

Definition at line 3240 of file cwh_stmt.cxx.

References cwh_expr_address(), cwh_expr_operand(), cwh_intrin_call(), cwh_stk_pop_STR(), F90_Wrap_ARREXP(), f_NONE, FALSE, MTYPE_V, NULL, TRUE, and WN_COPY_Tree().

Referenced by cwh_stmt_character_store(), do_char_intrin_nt(), and fei_adjustr().

Here is the call graph for this function:

WN* cwh_stmt_end_pu ( void  )

Definition at line 4236 of file cwh_stmt.cxx.

References NULL, WN_pragma_ca, WN_pragma_pu, and WN_tree.

Referenced by PDGCS_do_proc().

void cwh_stmt_init_file ( BOOL  is_mp)

Definition at line 4154 of file cwh_stmt.cxx.

References cwh_addr_init_target(), and cwh_stmt_sgi_mp_flag.

Referenced by PDGCS_initialize().

Here is the call graph for this function:

void cwh_stmt_postprocess_pu ( void  )

Definition at line 4253 of file cwh_stmt.cxx.

References cwh_stmt_conformance_checks(), DEBUG_Conform_Check, and WN_tree.

Referenced by PDGCS_do_proc().

Here is the call graph for this function:


Variable Documentation

Definition at line 55 of file cwh_stmt.i.

Referenced by cwh_stmt_call_helper().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines