WN Class Reference

#include <wn_core.h>

Collaboration diagram for WN:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WN ()
 WN (const WN &wn)
 WN (const WN *wn)
WNoperator= (const WN &wn)
 ~WN ()

Public Attributes

union {
   struct {
      union {
         WN_OFFSET   load_offset
         WN_OFFSET   lda_offset
         WN_OFFSET   store_offset
         WN_OFFSET   idname_offset
         INT32   num_entries
         TY_IDX   loadx_addr_ty
         INT16   cvtl_bits
         INT32   label_number
         UINT32   call_flag
         UINT32   if_flag
         UINT32   io_flag
         UINT32   asm_flag
         UINT32   asm_operand_num
         UINT32   eq_logical_flag
         struct {
            mUINT16   trip_est
            mUINT16   loop_depth
         }   li
         struct {
            mUINT16   pragma_flags
            mUINT16   pragma_id
         }   pragma
         TY_IDX   io_item_ty
         struct {
            REGION_KIND   region_kind: 4
            mUINT32   region_id:28
         }   region
      }   ua
      union {
         ST_IDX   st_idx
         TY_IDX   ty
         INT32   id
         INTRINSIC   intrinsic
         IOSTATEMENT   iostatement
         IOITEM   ioitem
         UINT32   prefetch_flag
         UINT32   loop_flag
         INT32   last_label
         INITO_IDX   ereg_supp
         UINT32   label_level
      }   ub
   }   uu
   WN_ESIZE   element_size
u1u2
struct {
   OPERATOR   wn_operator: 8
   TYPE_ID   rtype: 5
   mINT16   kid_count:14
   TYPE_ID   desc: 5
   INT32   map_id
common
union {
   struct {
      WN *   dummy1
      TY_IDX   ty
   }   ty_fields
   WN *   kids [2]
   INT64   const_val
   struct {
      UINT32   num_inputs
      UINT32   num_clobbers
   }   asm_fields
   struct {
      WN *   dummy2
      UINT32   label_flag
   }   label_flag_fields
   struct {
      WN *   first
      WN *   last
   }   block
   union {
      INT64   pragma_arg64
      struct {
         INT32   pragma_arg1
         union {
            INT32   pragma_arg2
            struct {
               mUINT32   pragma_asm_opnd_num: 8
               PREG_NUM   pragma_asm_copyout_preg: 24
            }   asm_pragma
         } 
      }   up1
      struct {
         mINT16   pragma_pad1
         mINT8   pragma_distr_type
         mINT8   pragma_index
         INT32   pragma_preg
      }   up2
   }   pragma
u3

Friends

WN_OFFSET WN_load_offset (const WN *)
WN_OFFSETWN_load_offset (WN *)
WN_OFFSET WN_lda_offset (const WN *)
WN_OFFSETWN_lda_offset (WN *)
WN_OFFSET WN_store_offset (const WN *)
WN_OFFSETWN_store_offset (WN *)
WN_OFFSET WN_idname_offset (const WN *)
WN_OFFSETWN_idname_offset (WN *)
WN_OFFSET WN_offset (const WN *)
WN_OFFSETWN_offset (WN *)
INT32 WN_num_entries (const WN *)
INT32WN_num_entries (WN *)
INT16 WN_cvtl_bits (const WN *)
INT16WN_cvtl_bits (WN *)
INT32WN_label_number (WN *)
INT32 WN_label_number (const WN *)
UINT32WN_call_flag (WN *)
UINT32 WN_call_flag (const WN *)
UINT32WN_eq_logical_flag (WN *)
UINT32 WN_eq_logical_flag (const WN *)
UINT32WN_if_flag (WN *)
UINT32 WN_if_flag (const WN *)
UINT32WN_io_flag (WN *)
UINT32 WN_io_flag (const WN *)
UINT32WN_asm_flag (WN *)
UINT32 WN_asm_flag (const WN *)
UINT32WN_asm_num_inputs (WN *)
UINT32 WN_asm_num_inputs (const WN *)
UINT32WN_asm_num_clobbers (WN *)
UINT32 WN_asm_num_clobbers (const WN *)
char * WN_asm_string (const WN *)
char * WN_asm_input_constraint (const WN *)
UINT32 WN_asm_opnd_num (const WN *)
UINT32WN_label_level (WN *)
UINT32 WN_label_level (const WN *)
mUINT16 WN_loop_trip_est (const WN *)
mUINT16WN_loop_trip_est (WN *)
mUINT16 WN_loop_depth (const WN *)
mUINT16WN_loop_depth (WN *)
mUINT16 WN_pragma_flags (const WN *)
mUINT16WN_pragma_flags (WN *)
mUINT16 WN_pragma (const WN *)
mUINT16WN_pragma (WN *)
UINT32 WN_pragma_asm_opnd_num (const WN *)
void WN_set_pragma_asm_opnd_num (WN *, UINT32)
REGION_KIND WN_region_kind (const WN *)
void WN_set_region_kind (WN *, REGION_KIND)
mUINT32 WN_region_id (const WN *)
void WN_set_region_id (WN *, mUINT32)
ST_IDX WN_st_idx (const WN *)
ST_IDXWN_st_idx (WN *)
INTRINSIC WN_intrinsic (const WN *)
INTRINSICWN_intrinsic (WN *)
IOSTATEMENT WN_io_statement (const WN *)
IOSTATEMENTWN_io_statement (WN *)
IOITEM WN_io_item (const WN *)
IOITEMWN_io_item (WN *)
UINT32 WN_prefetch_flag (const WN *)
UINT32WN_prefetch_flag (WN *)
UINT32 WN_loop_flag (const WN *)
UINT32WN_loop_flag (WN *)
INT32 WN_last_label (const WN *)
INT32WN_last_label (WN *)
INITO_IDX WN_ereg_supp (const WN *)
INITO_IDXWN_ereg_supp (WN *)
WN_ESIZE WN_element_size (const WN *)
WN_ESIZEWN_element_size (WN *)
OPERATOR WN_operator (const WN *)
void WN_set_operator (WN *, OPERATOR)
TYPE_ID WN_rtype (const WN *)
void WN_set_rtype (WN *, TYPE_ID)
INT WN_kid_count (const WN *)
void WN_set_kid_count (WN *, UINT)
UINT WN_field_id (const WN *)
void WN_set_field_id (WN *, UINT)
UINT WN_bit_offset (const WN *)
void WN_set_bit_offset (WN *, UINT)
UINT WN_bit_size (const WN *)
void WN_set_bit_size (WN *, UINT)
TYPE_ID WN_desc (const WN *)
void WN_set_desc (WN *, TYPE_ID)
INT32 WN_map_id (const WN *)
INT32WN_map_id (WN *)
TY_IDX WN_ty (const WN *, const int)
TY_IDXWN_ty (WN *, const int)
WNWN_kid (const WN *, const int)
WN *& WN_kid (WN *, const int)
WNWN_kid0 (const WN *)
WN *& WN_kid0 (WN *)
WNWN_kid1 (const WN *)
WN *& WN_kid1 (WN *)
WNWN_kid2 (const WN *)
WN *& WN_kid2 (WN *)
WNWN_kid3 (const WN *)
WN *& WN_kid3 (WN *)
INT64 WN_const_val (const WN *)
INT64WN_const_val (WN *)
UINT32 WN_label_flag (const WN *)
UINT32WN_label_flag (WN *)
WNWN_first (const WN *)
WN *& WN_first (WN *)
WNWN_last (const WN *)
WN *& WN_last (WN *)
INT64 WN_pragma_arg64 (const WN *)
INT64WN_pragma_arg64 (WN *)
INT32 WN_pragma_arg1 (const WN *)
INT32WN_pragma_arg1 (WN *)
INT32 WN_pragma_arg2 (const WN *)
INT32WN_pragma_arg2 (WN *)
mINT8 WN_pragma_distr_type (const WN *)
mINT8WN_pragma_distr_type (WN *)
mINT8 WN_pragma_index (const WN *)
mINT8WN_pragma_index (WN *)
INT32 WN_pragma_preg (const WN *)
INT32WN_pragma_preg (WN *)
char * WN_pragma_asm_constraint (const WN *)
PREG_NUM WN_pragma_asm_copyout_preg (const WN *)
void WN_set_pragma_asm_copyout_preg (WN *, PREG_NUM)
OPCODE WN_opcode (const WN *)
void WN_set_opcode (WN *, OPCODE)
TY_IDX WN_ty (const WN *)
void WN_set_ty (WN *, TY_IDX)
TY_IDX WN_load_addr_ty (const WN *)
void WN_set_load_addr_ty (WN *, TY_IDX)
void WN_Copy_u1u2 (WN *, const WN *)
void WN_Copy_u3 (WN *, const WN *)

Detailed Description

Definition at line 405 of file wn_core.h.


Constructor & Destructor Documentation

WN::WN (  )  [inline]

Definition at line 510 of file wn_core.h.

WN::WN ( const WN wn  )  [inline]

Definition at line 511 of file wn_core.h.

WN::WN ( const WN wn  )  [inline]

Definition at line 512 of file wn_core.h.

WN::~WN (  )  [inline]

Definition at line 514 of file wn_core.h.


Member Function Documentation

WN& WN::operator= ( const WN wn  )  [inline]

Definition at line 513 of file wn_core.h.


Friends And Related Function Documentation

UINT32 WN_asm_flag ( const WN  )  [friend]
UINT32& WN_asm_flag ( WN  )  [friend]
char* WN_asm_input_constraint ( const WN  )  [friend]
UINT32 WN_asm_num_clobbers ( const WN  )  [friend]
UINT32& WN_asm_num_clobbers ( WN  )  [friend]
UINT32 WN_asm_num_inputs ( const WN  )  [friend]
UINT32& WN_asm_num_inputs ( WN  )  [friend]
UINT32 WN_asm_opnd_num ( const WN  )  [friend]
char* WN_asm_string ( const WN  )  [friend]
UINT WN_bit_offset ( const WN  )  [friend]
UINT WN_bit_size ( const WN  )  [friend]
UINT32 WN_call_flag ( const WN  )  [friend]
UINT32& WN_call_flag ( WN  )  [friend]
INT64& WN_const_val ( WN  )  [friend]
INT64 WN_const_val ( const WN  )  [friend]
void WN_Copy_u1u2 ( WN ,
const WN  
) [friend]
void WN_Copy_u3 ( WN ,
const WN  
) [friend]
INT16& WN_cvtl_bits ( WN  )  [friend]
INT16 WN_cvtl_bits ( const WN  )  [friend]
TYPE_ID WN_desc ( const WN  )  [friend]
WN_ESIZE& WN_element_size ( WN  )  [friend]
WN_ESIZE WN_element_size ( const WN  )  [friend]
UINT32 WN_eq_logical_flag ( const WN  )  [friend]
UINT32& WN_eq_logical_flag ( WN  )  [friend]
INITO_IDX& WN_ereg_supp ( WN  )  [friend]
INITO_IDX WN_ereg_supp ( const WN  )  [friend]
UINT WN_field_id ( const WN  )  [friend]
WN*& WN_first ( WN  )  [friend]
WN* WN_first ( const WN  )  [friend]
WN_OFFSET& WN_idname_offset ( WN  )  [friend]
WN_OFFSET WN_idname_offset ( const WN  )  [friend]
UINT32 WN_if_flag ( const WN  )  [friend]
UINT32& WN_if_flag ( WN  )  [friend]
INTRINSIC& WN_intrinsic ( WN  )  [friend]
INTRINSIC WN_intrinsic ( const WN  )  [friend]
UINT32 WN_io_flag ( const WN  )  [friend]
UINT32& WN_io_flag ( WN  )  [friend]
IOITEM& WN_io_item ( WN  )  [friend]
IOITEM WN_io_item ( const WN  )  [friend]
IOSTATEMENT& WN_io_statement ( WN  )  [friend]
IOSTATEMENT WN_io_statement ( const WN  )  [friend]
WN*& WN_kid ( WN ,
const   int 
) [friend]
WN* WN_kid ( const WN ,
const   int 
) [friend]
WN*& WN_kid0 ( WN  )  [friend]
WN* WN_kid0 ( const WN  )  [friend]
WN*& WN_kid1 ( WN  )  [friend]
WN* WN_kid1 ( const WN  )  [friend]
WN*& WN_kid2 ( WN  )  [friend]
WN* WN_kid2 ( const WN  )  [friend]
WN*& WN_kid3 ( WN  )  [friend]
WN* WN_kid3 ( const WN  )  [friend]
INT WN_kid_count ( const WN  )  [friend]
UINT32& WN_label_flag ( WN  )  [friend]
UINT32 WN_label_flag ( const WN  )  [friend]
UINT32 WN_label_level ( const WN  )  [friend]
UINT32& WN_label_level ( WN  )  [friend]
INT32 WN_label_number ( const WN  )  [friend]
INT32& WN_label_number ( WN  )  [friend]
WN*& WN_last ( WN  )  [friend]
WN* WN_last ( const WN  )  [friend]
INT32& WN_last_label ( WN  )  [friend]
INT32 WN_last_label ( const WN  )  [friend]
WN_OFFSET& WN_lda_offset ( WN  )  [friend]
WN_OFFSET WN_lda_offset ( const WN  )  [friend]
TY_IDX WN_load_addr_ty ( const WN  )  [friend]
WN_OFFSET& WN_load_offset ( WN  )  [friend]
WN_OFFSET WN_load_offset ( const WN  )  [friend]
mUINT16& WN_loop_depth ( WN  )  [friend]
mUINT16 WN_loop_depth ( const WN  )  [friend]
UINT32& WN_loop_flag ( WN  )  [friend]
UINT32 WN_loop_flag ( const WN  )  [friend]
mUINT16& WN_loop_trip_est ( WN  )  [friend]
mUINT16 WN_loop_trip_est ( const WN  )  [friend]
INT32& WN_map_id ( WN  )  [friend]
INT32 WN_map_id ( const WN  )  [friend]
INT32& WN_num_entries ( WN  )  [friend]
INT32 WN_num_entries ( const WN  )  [friend]
WN_OFFSET& WN_offset ( WN  )  [friend]
WN_OFFSET WN_offset ( const WN  )  [friend]
OPCODE WN_opcode ( const WN  )  [friend]
OPERATOR WN_operator ( const WN  )  [friend]
mUINT16& WN_pragma ( WN  )  [friend]
mUINT16 WN_pragma ( const WN  )  [friend]
INT32& WN_pragma_arg1 ( WN  )  [friend]
INT32 WN_pragma_arg1 ( const WN  )  [friend]
INT32& WN_pragma_arg2 ( WN  )  [friend]
INT32 WN_pragma_arg2 ( const WN  )  [friend]
INT64& WN_pragma_arg64 ( WN  )  [friend]
INT64 WN_pragma_arg64 ( const WN  )  [friend]
char* WN_pragma_asm_constraint ( const WN  )  [friend]
PREG_NUM WN_pragma_asm_copyout_preg ( const WN  )  [friend]
UINT32 WN_pragma_asm_opnd_num ( const WN  )  [friend]
mINT8& WN_pragma_distr_type ( WN  )  [friend]
mINT8 WN_pragma_distr_type ( const WN  )  [friend]
mUINT16& WN_pragma_flags ( WN  )  [friend]
mUINT16 WN_pragma_flags ( const WN  )  [friend]
mINT8& WN_pragma_index ( WN  )  [friend]
mINT8 WN_pragma_index ( const WN  )  [friend]
INT32& WN_pragma_preg ( WN  )  [friend]
INT32 WN_pragma_preg ( const WN  )  [friend]
UINT32& WN_prefetch_flag ( WN  )  [friend]
UINT32 WN_prefetch_flag ( const WN  )  [friend]
mUINT32 WN_region_id ( const WN  )  [friend]
REGION_KIND WN_region_kind ( const WN  )  [friend]
TYPE_ID WN_rtype ( const WN  )  [friend]
void WN_set_bit_offset ( WN ,
UINT   
) [friend]
void WN_set_bit_size ( WN ,
UINT   
) [friend]
void WN_set_desc ( WN ,
TYPE_ID   
) [friend]
void WN_set_field_id ( WN ,
UINT   
) [friend]
void WN_set_kid_count ( WN ,
UINT   
) [friend]
void WN_set_load_addr_ty ( WN ,
TY_IDX   
) [friend]
void WN_set_opcode ( WN ,
OPCODE   
) [friend]
void WN_set_operator ( WN ,
OPERATOR   
) [friend]
void WN_set_pragma_asm_copyout_preg ( WN ,
PREG_NUM   
) [friend]
void WN_set_pragma_asm_opnd_num ( WN ,
UINT32   
) [friend]
void WN_set_region_id ( WN ,
mUINT32   
) [friend]
void WN_set_region_kind ( WN ,
REGION_KIND   
) [friend]
void WN_set_rtype ( WN ,
TYPE_ID   
) [friend]
void WN_set_ty ( WN ,
TY_IDX   
) [friend]
ST_IDX& WN_st_idx ( WN  )  [friend]
ST_IDX WN_st_idx ( const WN  )  [friend]
WN_OFFSET& WN_store_offset ( WN  )  [friend]
WN_OFFSET WN_store_offset ( const WN  )  [friend]
TY_IDX WN_ty ( const WN  )  [friend]
TY_IDX& WN_ty ( WN ,
const   int 
) [friend]
TY_IDX WN_ty ( const WN ,
const   int 
) [friend]

Member Data Documentation

struct { ... } WN::asm_fields

Definition at line 421 of file wn_core.h.

Definition at line 422 of file wn_core.h.

struct { ... } ::@99 WN::asm_pragma
struct { ... } WN::block

Referenced by WN_first(), and WN_last().

Definition at line 418 of file wn_core.h.

struct { ... } WN::common

Definition at line 473 of file wn_core.h.

Referenced by WN_const_val().

Definition at line 416 of file wn_core.h.

Definition at line 469 of file wn_core.h.

Definition at line 479 of file wn_core.h.

Definition at line 453 of file wn_core.h.

Referenced by WN_element_size().

Definition at line 423 of file wn_core.h.

Definition at line 449 of file wn_core.h.

Definition at line 483 of file wn_core.h.

Referenced by LowerUPC_Init_Consistency().

Definition at line 442 of file wn_core.h.

Definition at line 413 of file wn_core.h.

Definition at line 419 of file wn_core.h.

Definition at line 443 of file wn_core.h.

Definition at line 420 of file wn_core.h.

Definition at line 432 of file wn_core.h.

Definition at line 445 of file wn_core.h.

Definition at line 444 of file wn_core.h.

WN* WN::kids[2]

Definition at line 472 of file wn_core.h.

Referenced by WN_kid(), WN_kid0(), WN_kid1(), WN_kid2(), and WN_kid3().

Definition at line 480 of file wn_core.h.

struct { ... } WN::label_flag_fields

Referenced by WN_label_flag().

Definition at line 450 of file wn_core.h.

Definition at line 417 of file wn_core.h.

Definition at line 484 of file wn_core.h.

Definition at line 448 of file wn_core.h.

Definition at line 411 of file wn_core.h.

struct { ... } WN::li

Definition at line 410 of file wn_core.h.

Definition at line 415 of file wn_core.h.

Definition at line 426 of file wn_core.h.

Definition at line 447 of file wn_core.h.

Definition at line 464 of file wn_core.h.

Referenced by WN_map_id().

Definition at line 476 of file wn_core.h.

Definition at line 414 of file wn_core.h.

Definition at line 475 of file wn_core.h.

union { ... } WN::pragma
struct { ... } WN::pragma

Definition at line 490 of file wn_core.h.

Definition at line 492 of file wn_core.h.

Definition at line 488 of file wn_core.h.

Definition at line 495 of file wn_core.h.

Definition at line 494 of file wn_core.h.

Definition at line 501 of file wn_core.h.

Definition at line 429 of file wn_core.h.

Definition at line 430 of file wn_core.h.

Definition at line 502 of file wn_core.h.

Definition at line 500 of file wn_core.h.

Definition at line 503 of file wn_core.h.

Definition at line 446 of file wn_core.h.

struct { ... } WN::region

Definition at line 435 of file wn_core.h.

Definition at line 434 of file wn_core.h.

Definition at line 439 of file wn_core.h.

Definition at line 412 of file wn_core.h.

Definition at line 425 of file wn_core.h.

Definition at line 440 of file wn_core.h.

Referenced by Array_TY_OK(), DRA_Encode_Parameter(), and New_DRA().

struct { ... } WN::ty_fields
union { ... } WN::u1u2
union { ... } WN::u3
union { ... } ::@85 WN::ua
union { ... } ::@86 WN::ub
struct { ... } ::@95 WN::up1
struct { ... } ::@96 WN::up2
struct { ... } WN::uu

Definition at line 460 of file wn_core.h.

Referenced by WN_opcode(), WN_operator(), WN_set_opcode(), and WN_set_operator().


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

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