ANL_PRAGMA_CONSTRUCT Class Reference

#include <anl_pragma_construct.h>

Collaboration diagram for ANL_PRAGMA_CONSTRUCT:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ANL_PRAGMA_CONSTRUCT (WN *pragma_begin, INT32 construct_level, ANL_FUNC_ENTRY *func_entry, MEM_POOL *pool)
WNNext_Stmt ()
void Write (ANL_CBUF *cbuf)

Static Public Member Functions

static BOOL Is_ProMpf_Pragma_Construct (WN *stmt)
static BOOL Is_Valid_Dir (ANL_PRAGMA_ATTRIBUTE *dir, INT32 construct_level)

Private Types

enum  ANL_PRAGMA_KIND {
  ANL_UNKNOWN_PRAGMA, ANL_SECTION_PRAGMA, ANL_BARRIER_PRAGMA, ANL_ORDERED_PRAGMA,
  ANL_ATOMIC_PRAGMA, ANL_CRITICAL_SECTION_PRAGMA
}

Private Member Functions

BOOL _End_Is_Part_Of_Construct (BOOL for_id)
void _Find_Pragma_End_Stmt ()
void _Get_Max_Construct_Srcpos (ANL_SRCPOS *max)
void _Write_Pragma_Directives (ANL_CBUF *cbuf)

Private Attributes

INT64 _id
ANL_PRAGMA_KIND _pragma_kind
WN_pragma_begin
WN_pragma_end
BOOL _pr_end_part_of_body
BOOL _is_omp
INT32 _construct_level
ANL_FUNC_ENTRY_func_entry
MEM_POOL_pool

Detailed Description

Definition at line 54 of file anl_pragma_construct.h.


Member Enumeration Documentation

Enumerator:
ANL_UNKNOWN_PRAGMA 
ANL_SECTION_PRAGMA 
ANL_BARRIER_PRAGMA 
ANL_ORDERED_PRAGMA 
ANL_ATOMIC_PRAGMA 
ANL_CRITICAL_SECTION_PRAGMA 

Definition at line 58 of file anl_pragma_construct.h.


Constructor & Destructor Documentation

ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT ( WN pragma_begin,
INT32  construct_level,
ANL_FUNC_ENTRY func_entry,
MEM_POOL pool 
)

Member Function Documentation

BOOL ANL_PRAGMA_CONSTRUCT::_End_Is_Part_Of_Construct ( BOOL  for_id  )  [private]
void ANL_PRAGMA_CONSTRUCT::_Find_Pragma_End_Stmt (  )  [private]
void ANL_PRAGMA_CONSTRUCT::_Get_Max_Construct_Srcpos ( ANL_SRCPOS max  )  [private]

Definition at line 210 of file anl_pragma_construct.cxx.

References _End_Is_Part_Of_Construct(), _pragma_begin, _pragma_end, Adjust_Srcpos_Range(), FALSE, min, and WN_next().

Referenced by _Write_Pragma_Directives(), and Write().

Here is the call graph for this function:

void ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives ( ANL_CBUF cbuf  )  [private]
BOOL ANL_PRAGMA_CONSTRUCT::Is_ProMpf_Pragma_Construct ( WN stmt  )  [static]
BOOL ANL_PRAGMA_CONSTRUCT::Is_Valid_Dir ( ANL_PRAGMA_ATTRIBUTE dir,
INT32  construct_level 
) [static]

Definition at line 80 of file anl_pragma_construct.cxx.

References ANL_PRAGMA_ATTRIBUTE::Is_Pragma_Construct_Attribute().

Referenced by Write().

Here is the call graph for this function:

WN * ANL_PRAGMA_CONSTRUCT::Next_Stmt (  ) 

Definition at line 394 of file anl_pragma_construct.cxx.

References _End_Is_Part_Of_Construct(), _pragma_end, next, TRUE, and WN_next().

Referenced by ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs().

Here is the call graph for this function:

void ANL_PRAGMA_CONSTRUCT::Write ( ANL_CBUF cbuf  ) 

Member Data Documentation

Definition at line 74 of file anl_pragma_construct.h.

Referenced by Write().

Definition at line 75 of file anl_pragma_construct.h.

Referenced by _Write_Pragma_Directives(), ANL_PRAGMA_CONSTRUCT(), and Write().

Definition at line 68 of file anl_pragma_construct.h.

Referenced by _Write_Pragma_Directives(), ANL_PRAGMA_CONSTRUCT(), and Write().

Definition at line 73 of file anl_pragma_construct.h.

Referenced by ANL_PRAGMA_CONSTRUCT(), and Write().

Definition at line 76 of file anl_pragma_construct.h.

Referenced by _Write_Pragma_Directives(), and Write().

Definition at line 72 of file anl_pragma_construct.h.

Referenced by _Find_Pragma_End_Stmt(), and Write().


The documentation for this class was generated from the following files:

Generated on Tue Nov 17 06:37:49 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1