#include <anl_func_entry.h>

Public Member Functions | |
| ANL_FUNC_ENTRY (WN *pu, MEM_POOL *pool, W2CF_TRANSLATOR *w2cf, WN_MAP id_map, COUNTER *next_id) | |
| ~ANL_FUNC_ENTRY () | |
| W2CF_TRANSLATOR * | Pu_Translator () |
| WN * | Pu_Tree () |
| COUNTER * | Next_Construct_Id () |
| DIR_ENTRIES * | Dir_Entries () |
| void | Get_Pragma_Srcpos_Range (WN *apragma, ANL_SRCPOS *min, ANL_SRCPOS *max) |
| void | Set_Construct_Id (WN *construct, INT64 id) |
| void | Emit_Nested_Original_Constructs (ANL_CBUF *cbuf, WN *from_stmt, WN *to_stmt) |
| void | Emit_Dir_Entries (ANL_CBUF *cbuf, INT64 for_construct_id, INT32 for_construct_level, BOOL(*do_emit)(ANL_PRAGMA_ATTRIBUTE *dir, INT32construct_level)) |
| void | Emit_Original_Construct (ANL_FILE_MNGR *outp_file) |
Private Member Functions | |
| void | _Push_Construct_Level (ANL_CBUF *cbuf) |
| void | _Pop_Construct_Level () |
Private Attributes | |
| INT32 | _construct_level |
| WN * | _pu |
| MEM_POOL * | _pool |
| W2CF_TRANSLATOR * | _w2cf |
| WN_MAP | _id_map |
| COUNTER * | _next_id |
| DIR_ENTRIES | _dir_entries |
Definition at line 60 of file anl_func_entry.h.
| ANL_FUNC_ENTRY::ANL_FUNC_ENTRY | ( | WN * | pu, | |
| MEM_POOL * | pool, | |||
| W2CF_TRANSLATOR * | w2cf, | |||
| WN_MAP | id_map, | |||
| COUNTER * | next_id | |||
| ) | [inline] |
Definition at line 79 of file anl_func_entry.h.
| ANL_FUNC_ENTRY::~ANL_FUNC_ENTRY | ( | ) |
Definition at line 103 of file anl_func_entry.cxx.
References _dir_entries, _pool, CXX_DELETE, and INT.
| void ANL_FUNC_ENTRY::_Pop_Construct_Level | ( | ) | [private] |
Definition at line 94 of file anl_func_entry.cxx.
References _construct_level.
Referenced by Emit_Nested_Original_Constructs().
| void ANL_FUNC_ENTRY::_Push_Construct_Level | ( | ANL_CBUF * | cbuf | ) | [private] |
Definition at line 85 of file anl_func_entry.cxx.
References _construct_level, and ANL_CBUF::Write_Char().
Referenced by Emit_Nested_Original_Constructs().

| DIR_ENTRIES* ANL_FUNC_ENTRY::Dir_Entries | ( | ) | [inline] |
Definition at line 101 of file anl_func_entry.h.
References _dir_entries.
| void ANL_FUNC_ENTRY::Emit_Dir_Entries | ( | ANL_CBUF * | cbuf, | |
| INT64 | for_construct_id, | |||
| INT32 | for_construct_level, | |||
| BOOL(*)(ANL_PRAGMA_ATTRIBUTE *dir, INT32construct_level) | do_emit | |||
| ) |
Definition at line 342 of file anl_func_entry.cxx.
References _dir_entries, _pool, CXX_DELETE, INT, and ANL_PRAGMA_ATTRIBUTE::Write().

| void ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs | ( | ANL_CBUF * | cbuf, | |
| WN * | from_stmt, | |||
| WN * | to_stmt | |||
| ) |
Definition at line 204 of file anl_func_entry.cxx.
References _construct_level, _dir_entries, _pool, _Pop_Construct_Level(), _Push_Construct_Level(), Anl_Owhile, CXX_DELETE, CXX_NEW, ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute(), ANL_PRAGMA_CONSTRUCT::Is_ProMpf_Pragma_Construct(), ANL_REGION_CONSTRUCT::Is_ProMpf_Region_Construct(), ANL_LOOP_CONSTRUCT::Next_Stmt(), ANL_REGION_CONSTRUCT::Next_Stmt(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), ANL_PRAGMA_CONSTRUCT::Next_Stmt(), NULL, OPR_BLOCK, OPR_DO_LOOP, OPR_DO_WHILE, OPR_IF, OPR_PRAGMA, OPR_REGION, OPR_WHILE_DO, OPR_XPRAGMA, WN_first(), WN_kid1(), WN_kid2(), WN_last(), WN_next(), WN_operator(), WN_region_body, ANL_LOOP_CONSTRUCT::Write(), ANL_REGION_CONSTRUCT::Write(), and ANL_PRAGMA_CONSTRUCT::Write().
Referenced by Emit_Original_Construct(), ANL_PRAGMA_CONSTRUCT::Write(), and ANL_LOOP_CONSTRUCT::Write().

| void ANL_FUNC_ENTRY::Emit_Original_Construct | ( | ANL_FILE_MNGR * | outp_file | ) |
Definition at line 363 of file anl_func_entry.cxx.
References _dir_entries, _next_id, _pool, _pu, _w2cf, Adjust_Srcpos_Range(), ANL_CBUF::Chars(), CXX_DELETE, Emit_Nested_Original_Constructs(), ANL_VARLIST::Insert_Var_Refs(), INT, W2CF_TRANSLATOR::Original_Symname_To_String(), COUNTER::Post_Incr(), ANL_CBUF::Reset(), Set_Construct_Id(), ANL_CBUF::Size(), St_Table, WN_entry_name, WN_first(), WN_func_body, WN_last(), ANL_PRAGMA_ATTRIBUTE::Write(), ANL_VARLIST::Write(), ANL_SRCPOS::Write(), ANL_CBUF::Write_Char(), ANL_CBUF::Write_Int(), ANL_FILE_MNGR::Write_String(), and ANL_CBUF::Write_String().
Referenced by Anl_Static_Analysis().

| void ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range | ( | WN * | apragma, | |
| ANL_SRCPOS * | min, | |||
| ANL_SRCPOS * | max | |||
| ) |
Definition at line 111 of file anl_func_entry.cxx.
References _w2cf, CLASS_PREG, W2CF_TRANSLATOR::Is_A_Pragma_Clause(), ANL_SRCPOS::Linenum(), next, NULL, OPR_PRAGMA, OPR_STID, OPR_XPRAGMA, ST_class(), WN_next(), WN_operator(), WN_pragma(), WN_pragma_compiler_generated, WN_PRAGMA_COPYIN, WN_PRAGMA_CRI_CNCALL, WN_PRAGMA_DISTRIBUTE, WN_PRAGMA_DISTRIBUTE_RESHAPE, WN_PRAGMA_DYNAMIC, WN_pragma_index(), WN_PRAGMA_IVDEP, WN_PRAGMA_KAP_ASSERT_CONCURRENT_CALL, WN_PRAGMA_KAP_ASSERT_DO, WN_PRAGMA_KAP_ASSERT_DOPREFER, WN_PRAGMA_KAP_ASSERT_PERMUTATION, WN_PRAGMA_KAP_CONCURRENTIZE, WN_PRAGMA_KAP_NOCONCURRENTIZE, WN_PRAGMA_NUMTHREADS, WN_PRAGMA_PAGE_PLACE, WN_PRAGMA_PREFETCH_REF, WN_PRAGMA_REDISTRIBUTE, and WN_st().
Referenced by ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), and ANL_PRAGMA_ATTRIBUTE::Write().

| COUNTER* ANL_FUNC_ENTRY::Next_Construct_Id | ( | ) | [inline] |
Definition at line 100 of file anl_func_entry.h.
References _next_id.
Referenced by ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT(), and ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT().
| W2CF_TRANSLATOR* ANL_FUNC_ENTRY::Pu_Translator | ( | ) | [inline] |
Definition at line 98 of file anl_func_entry.h.
References _w2cf.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_LOOP_CONSTRUCT::_Write_Loop_Header(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_VARLIST::Insert_Var_Refs(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), ANL_VAR::Write(), ANL_PRAGMA_CONSTRUCT::Write(), and ANL_LOOP_CONSTRUCT::Write().
| WN* ANL_FUNC_ENTRY::Pu_Tree | ( | ) | [inline] |
Definition at line 99 of file anl_func_entry.h.
References _pu.
Definition at line 194 of file anl_func_entry.cxx.
References _id_map, ANL_DIAGNOSTICS::Error(), INT32_MAX, and WN_MAP32_Set.
Referenced by ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT(), ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT(), and Emit_Original_Construct().

INT32 ANL_FUNC_ENTRY::_construct_level [private] |
Definition at line 64 of file anl_func_entry.h.
Referenced by _Pop_Construct_Level(), _Push_Construct_Level(), and Emit_Nested_Original_Constructs().
DIR_ENTRIES ANL_FUNC_ENTRY::_dir_entries [private] |
Definition at line 70 of file anl_func_entry.h.
Referenced by Dir_Entries(), Emit_Dir_Entries(), Emit_Nested_Original_Constructs(), Emit_Original_Construct(), and ~ANL_FUNC_ENTRY().
WN_MAP ANL_FUNC_ENTRY::_id_map [private] |
Definition at line 68 of file anl_func_entry.h.
Referenced by Set_Construct_Id().
COUNTER* ANL_FUNC_ENTRY::_next_id [private] |
Definition at line 69 of file anl_func_entry.h.
Referenced by Emit_Original_Construct(), and Next_Construct_Id().
MEM_POOL* ANL_FUNC_ENTRY::_pool [private] |
Definition at line 66 of file anl_func_entry.h.
Referenced by Emit_Dir_Entries(), Emit_Nested_Original_Constructs(), Emit_Original_Construct(), and ~ANL_FUNC_ENTRY().
WN* ANL_FUNC_ENTRY::_pu [private] |
Definition at line 65 of file anl_func_entry.h.
Referenced by Emit_Original_Construct(), and Pu_Tree().
W2CF_TRANSLATOR* ANL_FUNC_ENTRY::_w2cf [private] |
Definition at line 67 of file anl_func_entry.h.
Referenced by Emit_Original_Construct(), Get_Pragma_Srcpos_Range(), and Pu_Translator().
1.6.1