#include <anl_varlist.h>

Public Member Functions | |
| ANL_VARLIST (MEM_POOL *pool, ANL_FUNC_ENTRY *func_entry) | |
| ~ANL_VARLIST () | |
| ANL_VAR * | Find (ST *st) |
| ANL_VAR * | Find_or_Insert (ST *st) |
| void | Insert_Var_Refs (WN *subtree) |
| void | Write (ANL_CBUF *cbuf, INT64 construct_id) |
Private Member Functions | |
| mUINT32 | _Binary_Search (INT32 id, mUINT32 from, mUINT32 till) |
| UINT32 | _Get_Io_Item_Lda_Access_Status (WN *io_item) |
| UINT32 | _Get_Lda_Access_Status (WN *lda) |
Private Attributes | |
| ARRAY_SET< ANL_VAR * > | _vlist |
| ANL_FUNC_ENTRY * | _func_entry |
| MEM_POOL * | _pool |
Definition at line 114 of file anl_varlist.h.
| ANL_VARLIST::ANL_VARLIST | ( | MEM_POOL * | pool, | |
| ANL_FUNC_ENTRY * | func_entry | |||
| ) | [inline] |
Definition at line 132 of file anl_varlist.h.
| ANL_VARLIST::~ANL_VARLIST | ( | ) | [inline] |
Definition at line 138 of file anl_varlist.h.
References _pool, _vlist, CXX_DELETE, and INT.
Definition at line 115 of file anl_varlist.cxx.
References _vlist.
Referenced by Find(), and Find_or_Insert().
Definition at line 147 of file anl_varlist.cxx.
References ANL_VAR_READ, ANL_VAR_WRITTEN, IOL_ARRAY, IOL_CHAR, IOL_CHAR_ARRAY, IOL_DOPE, IOL_EXPR, IOL_IMPLIED_DO, IOL_IMPLIED_DO_1TRIP, IOL_LOGICAL, IOL_RECORD, IOL_VAR, IOS_ACCEPT, IOS_DECODE, IOS_ENCODE, IOS_PRINT, IOS_READ, IOS_REWRITE, IOS_TYPE, IOS_WRITE, OPR_IO, WN_io_item(), WN_io_statement(), and WN_operator().
Referenced by _Get_Lda_Access_Status().

Definition at line 214 of file anl_varlist.cxx.
References _Get_Io_Item_Lda_Access_Status(), ANL_VAR_READ, ANL_VAR_WRITTEN, OPR_ADD, OPR_ARRAY, OPR_ILOAD, OPR_IO_ITEM, OPR_ISTORE, OPR_MLOAD, OPR_MSTORE, OPR_PARM, OPR_SUB, OPR_XPRAGMA, WN_kid0(), WN_kid1(), WN_operator(), WN_Parm_In, WN_Parm_Out, WN_pragma(), and WN_PRAGMA_CRITICAL_SECTION_BEGIN.
Referenced by Insert_Var_Refs().

Definition at line 367 of file anl_varlist.cxx.
References _Binary_Search(), _vlist, idx, NULL, and ST_st_idx().

Definition at line 384 of file anl_varlist.cxx.
References _Binary_Search(), _pool, _vlist, CXX_NEW, ANL_DIAGNOSTICS::Error(), idx, and ST_st_idx().
Referenced by Insert_Var_Refs().

| void ANL_VARLIST::Insert_Var_Refs | ( | WN * | subtree | ) |
Definition at line 424 of file anl_varlist.cxx.
References _func_entry, _Get_Lda_Access_Status(), _pool, ANL_IS_REF_PARM_ADDR, ANL_VAR_READ, ANL_VAR_WRITTEN, ANL_CBUF::Chars(), FALSE, Find_or_Insert(), NULL, OPR_LDA, OPR_LDID, OPR_PRAGMA, OPR_STID, ANL_FUNC_ENTRY::Pu_Translator(), ANL_VAR::Set_Name_Alias(), ANL_VAR::Set_Read(), ANL_VAR::Set_Written(), St_Belongs_In_Varlist(), ST_pt_to_unique_mem(), TRUE, wn, WN_ITER_wn, WN_kid0(), WN_operator(), WN_pragma(), WN_PRAGMA_COPYIN, WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LOCAL, WN_PRAGMA_SHARED, WN_st(), WN_WALK_TreeIter(), and WN_WALK_TreeNext().
Referenced by ANL_FUNC_ENTRY::Emit_Original_Construct(), ANL_REGION_CONSTRUCT::Write(), ANL_PRAGMA_CONSTRUCT::Write(), and ANL_LOOP_CONSTRUCT::Write().

Definition at line 543 of file anl_varlist.cxx.
References _func_entry, _pool, _vlist, ANL_CBUF::Chars(), FALSE, INT, ANL_VAR::Is_Read(), ANL_VAR::Is_Written(), ANL_CBUF::Reset(), ANL_VAR::Reset_References(), ANL_CBUF::Size(), TRUE, ANL_VAR::Write(), ANL_CBUF::Write_Char(), ANL_CBUF::Write_Int(), and ANL_CBUF::Write_String().
Referenced by ANL_FUNC_ENTRY::Emit_Original_Construct(), ANL_REGION_CONSTRUCT::Write(), ANL_PRAGMA_CONSTRUCT::Write(), and ANL_LOOP_CONSTRUCT::Write().

ANL_FUNC_ENTRY* ANL_VARLIST::_func_entry [private] |
Definition at line 119 of file anl_varlist.h.
Referenced by Insert_Var_Refs(), and Write().
MEM_POOL* ANL_VARLIST::_pool [private] |
Definition at line 120 of file anl_varlist.h.
Referenced by Find_or_Insert(), Insert_Var_Refs(), Write(), and ~ANL_VARLIST().
ARRAY_SET<ANL_VAR*> ANL_VARLIST::_vlist [private] |
Definition at line 118 of file anl_varlist.h.
Referenced by _Binary_Search(), Find(), Find_or_Insert(), Write(), and ~ANL_VARLIST().
1.6.1