ANL_PRAGMA_ATTRIBUTE Class Reference

#include <anl_pragma_attribute.h>

Collaboration diagram for ANL_PRAGMA_ATTRIBUTE:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ANL_PRAGMA_ATTRIBUTE (WN *apragma, INT32 enclosing_construct_level, ANL_FUNC_ENTRY *func_entry, MEM_POOL *pool)
BOOL Is_Pragma_Construct_Attribute (INT32 construct_level)
BOOL Is_Region_Construct_Attribute (INT32 construct_level)
BOOL Is_Loop_Construct_Attribute (INT32 construct_level)
WNNext_Stmt ()
void Write (ANL_CBUF *cbuf, INT32 id)

Static Public Member Functions

static BOOL Is_ProMpf_Pragma_Attribute (WN *stmt)

Private Types

enum  ANL_PRAGMA_ATTR_KIND {
  ANL_UNKNOWN_ATTR, ANL_PREFETCH_REF_ATTR, ANL_DISTRIBUTE_ATTR, ANL_REDISTRIBUTE_ATTR,
  ANL_DISTRIBUTE_RESHAPE_ATTR, ANL_DYNAMIC_ATTR, ANL_COPYIN_ATTR, ANL_NUMTHREADS_ATTR,
  ANL_PAGE_PLACE_ATTR, ANL_CONCURRENTIZE, ANL_NOCONCURRENTIZE, ANL_ASSERT_PERMUTATION,
  ANL_ASSERT_CONCURRENT_CALL, ANL_ASSERT_DO, ANL_ASSERT_DOPREFER, ANL_IVDEP,
  ANL_FLUSH, ANL_NUM_ATTRS
}

Private Member Functions

BOOL _Is_Assertion ()
void _Write_Distribution (ANL_CBUF *cbuf, WN **next)
void _Write_Pragma_Arguments (ANL_CBUF *cbuf)
void _Write_Pragma (ANL_CBUF *cbuf)

Static Private Member Functions

static void _Append_Arg_Numbers (ANL_CBUF *cbuf, INT32 val1, INT32 val2)

Private Attributes

ANL_PRAGMA_ATTR_KIND _pragma_kind
WN_apragma
ANL_FUNC_ENTRY_func_entry
INT32 _enclosing_construct_level
MEM_POOL_pool

Detailed Description

Definition at line 57 of file anl_pragma_attribute.h.


Member Enumeration Documentation

Enumerator:
ANL_UNKNOWN_ATTR 
ANL_PREFETCH_REF_ATTR 
ANL_DISTRIBUTE_ATTR 
ANL_REDISTRIBUTE_ATTR 
ANL_DISTRIBUTE_RESHAPE_ATTR 
ANL_DYNAMIC_ATTR 
ANL_COPYIN_ATTR 
ANL_NUMTHREADS_ATTR 
ANL_PAGE_PLACE_ATTR 
ANL_CONCURRENTIZE 
ANL_NOCONCURRENTIZE 
ANL_ASSERT_PERMUTATION 
ANL_ASSERT_CONCURRENT_CALL 
ANL_ASSERT_DO 
ANL_ASSERT_DOPREFER 
ANL_IVDEP 
ANL_FLUSH 
ANL_NUM_ATTRS 

Definition at line 61 of file anl_pragma_attribute.h.


Constructor & Destructor Documentation

ANL_PRAGMA_ATTRIBUTE::ANL_PRAGMA_ATTRIBUTE ( WN apragma,
INT32  enclosing_construct_level,
ANL_FUNC_ENTRY func_entry,
MEM_POOL pool 
)

Member Function Documentation

void ANL_PRAGMA_ATTRIBUTE::_Append_Arg_Numbers ( ANL_CBUF cbuf,
INT32  val1,
INT32  val2 
) [static, private]

Definition at line 55 of file anl_pragma_attribute.cxx.

References ANL_CBUF::Write_Char(), ANL_CBUF::Write_Int(), and ANL_CBUF::Write_String().

Referenced by _Write_Distribution().

Here is the call graph for this function:

BOOL ANL_PRAGMA_ATTRIBUTE::_Is_Assertion (  )  [private]
void ANL_PRAGMA_ATTRIBUTE::_Write_Distribution ( ANL_CBUF cbuf,
WN **  next 
) [private]
void ANL_PRAGMA_ATTRIBUTE::_Write_Pragma ( ANL_CBUF cbuf  )  [private]
void ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments ( ANL_CBUF cbuf  )  [private]
BOOL ANL_PRAGMA_ATTRIBUTE::Is_Loop_Construct_Attribute ( INT32  construct_level  ) 
BOOL ANL_PRAGMA_ATTRIBUTE::Is_Pragma_Construct_Attribute ( INT32  construct_level  ) 
BOOL ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute ( WN stmt  )  [static]
BOOL ANL_PRAGMA_ATTRIBUTE::Is_Region_Construct_Attribute ( INT32  construct_level  ) 

Definition at line 474 of file anl_pragma_attribute.cxx.

References Is_Pragma_Construct_Attribute().

Referenced by ANL_REGION_CONSTRUCT::Is_Valid_Dir().

Here is the call graph for this function:

WN * ANL_PRAGMA_ATTRIBUTE::Next_Stmt (  ) 
void ANL_PRAGMA_ATTRIBUTE::Write ( ANL_CBUF cbuf,
INT32  id 
)

Member Data Documentation

Definition at line 87 of file anl_pragma_attribute.h.


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

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