Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
upc_wn_util.h File Reference
#include "wn.h"
#include <stack>
#include "mempool.h"
#include "wn_map.h"
#include "upc_symtab_utils.h"
Include dependency graph for upc_wn_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::stack< WN * > SPTR_OFFSET_TERM_STACK
typedef std::stack
< SPTR_OFFSET_TERM_STACK * > 
SPTR_OFFSET_ACCUMULATION_STACK

Enumerations

enum  SPTR_ACCUMULATION_STATE { ACCUMULATION, ARRAY_ACCUMULATION, NO_ARRAY_ACCUMULATION, NO_ACCUMULATION }

Functions

WNWN_Create_Shared_Load (WN *ld, WN *dest=0, BOOL is_struct=FALSE, WN_OFFSET xtra_offst=0, TY_IDX access_ty=0, BOOL has_off=FALSE, WN *off_wn=0)
WNWN_Create_Shared_Store (WN *st, BOOL src_is_shared=FALSE, WN_OFFSET xtra_offst=0, BOOL has_offt=FALSE, WN *offt=0)
WNWN_Create_Shared_Ptr_Arithmetic (WN *base, WN *disp, OPERATOR opr, int esize=0, int bsize=0, int phaseless=0)
WNWN_Convert_Shared_To_Local (WN *ptr, TY_IDX ty=0, ST *st=0)
WNWN_Create_PtrEq_Test (OPERATOR op, WN *awn0, WN *awn1, TY_IDX idx0, TY_IDX idx1)
WNWN_Create_StoP_Cvt (WN *init_wn, INTRINSIC iop)
WNWN_Create_Shared_Ptr_Diff (WN *op0, WN *op1, TY_IDX t1, TY_IDX t2)
WNWN_SetNull_Sptr (WN *st)
WNStrip_TAS (WN *)
WNSpill_Shared_Load (WN *ld)
void LowerUPC_Init_Consistency ()
WNCombine_Offset_Terms (SPTR_OFFSET_TERM_STACK &stack)
TY_IDX Get_Type_From_ArrayOp (WN *array_wn)

Variables

SPTR_OFFSET_ACCUMULATION_STACK sptr_off_accumulation_stack
SPTR_ACCUMULATION_STATE sptr_accumulation_state
std::stack< CONSISTENCY_classconsistency_stack
MEM_POOL consistency_pool
WN_MAP consistency_map
BOOL Fold_Keep_Shared_Tas

Typedef Documentation

Definition at line 11 of file upc_wn_util.h.


Enumeration Type Documentation

Enumerator:
ACCUMULATION 
ARRAY_ACCUMULATION 
NO_ARRAY_ACCUMULATION 
NO_ACCUMULATION 

Definition at line 15 of file upc_wn_util.h.


Function Documentation

Definition at line 1306 of file upc_wn_util.cxx.

References MTYPE_I4, OPR_ADD, and WN_Binary().

Here is the call graph for this function:

TY_IDX Get_Type_From_ArrayOp ( WN array_wn)

Definition at line 1330 of file upc_wn_util.cxx.

References OPR_ARRAY, OPR_LDA, result, TY_pointed(), WN_array_base, WN_operator(), and WN_ty().

Here is the call graph for this function:

WN* Strip_TAS ( WN )

Definition at line 1299 of file upc_wn_util.cxx.

References OPR_TAS, wn, WN_kid0(), and WN_operator().

Referenced by Spill_And_Take_Address(), WN_Create_Shared_Load(), and WN_Create_Shared_Store().

Here is the call graph for this function:

WN* WN_Create_Shared_Load ( WN ld,
WN dest = 0,
BOOL  is_struct = FALSE,
WN_OFFSET  xtra_offst = 0,
TY_IDX  access_ty = 0,
BOOL  has_off = FALSE,
WN off_wn = 0 
)

Variable Documentation

Definition at line 22 of file upc_wn_util.cxx.

Referenced by LowerUPC_Init_Consistency().

Definition at line 21 of file upc_wn_util.cxx.

Definition at line 15 of file upc_wn_util.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines