SUMMARY_STMT Module Reference

#include <ipl_summary.h>

Collaboration diagram for SUMMARY_STMT:

Collaboration graph
[legend]

Public Member Functions

BOOL Is_expr () const
BOOL Is_var () const
BOOL Is_call () const
BOOL Is_cond () const
BOOL Is_array_ref () const
BOOL Is_stid () const
void Set_expr_index (INT32 idx)
INT32 Get_expr_index () const
void Set_var_index (INT32 idx)
INT32 Get_var_index () const
void Set_call_index (INT32 idx)
INT32 Get_call_index () const
void Set_cond_index (INT32 idx)
INT32 Get_cond_index () const
void Set_array_ref_wn (WN *w)
WNGet_array_ref_wn () const
void Set_array_ref_map_id (mINT32 map_id)
INT32 Get_array_ref_map_id () const
void Set_stid_index (INT32 idx)
INT32 Get_stid_index () const
void Set_ref_count (UINT8 count)
UINT8 Get_ref_count () const
void Set_write_count (UINT8 count)
UINT8 Get_write_count () const
void Set_addr_taken_count (UINT8 count)
UINT8 Get_addr_taken_count () const
void Init ()
void Print (FILE *f) const
void Print_array (FILE *f, INT32 size) const
void WB_Print (FILE *fp, INT stmt_index, const char *name, const char *func_name)
BOOL Is_expr () const
BOOL Is_var () const
BOOL Is_call () const
BOOL Is_cond () const
BOOL Is_array_ref () const
BOOL Is_stid () const
void Set_expr_index (INT32 idx)
INT32 Get_expr_index () const
void Set_var_index (INT32 idx)
INT32 Get_var_index () const
void Set_call_index (INT32 idx)
INT32 Get_call_index () const
void Set_cond_index (INT32 idx)
INT32 Get_cond_index () const
void Set_array_ref_wn (WN *w)
WNGet_array_ref_wn () const
void Set_array_ref_map_id (mINT32 map_id)
INT32 Get_array_ref_map_id () const
void Set_stid_index (INT32 idx)
INT32 Get_stid_index () const
void Set_ref_count (UINT8 count)
UINT8 Get_ref_count () const
void Set_write_count (UINT8 count)
UINT8 Get_write_count () const
void Set_addr_taken_count (UINT8 count)
UINT8 Get_addr_taken_count () const
void Init ()
void Print (FILE *f) const
void Print_array (FILE *f, INT32 size) const
void WB_Print (FILE *fp, INT stmt_index, const char *name, const char *func_name)

Private Types

enum  {
  STMT_EXPR = 1, STMT_VAR = 2, STMT_CALL = 3, STMT_CD = 4,
  STMT_ARRAY_REF = 6, STMT_STID = 7
}
enum  {
  STMT_EXPR = 1, STMT_VAR = 2, STMT_CALL = 3, STMT_CD = 4,
  STMT_ARRAY_REF = 6, STMT_STID = 7
}

Private Attributes

union {
   mINT32   _node_index
   WN *   _wn
   mINT32   _map_id
u1
enum SUMMARY_STMT:: { ... }  _stmt_type
mUINT8 _ref_count
mUINT8 _write_count
mUINT8 _addr_taken_count
union {
   mINT32   _node_index
   WN *   _wn
   mINT32   _map_id
u1
enum SUMMARY_STMT:: { ... }  _stmt_type

Detailed Description

Definition at line 1791 of file ipl_summary.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
STMT_EXPR 
STMT_VAR 
STMT_CALL 
STMT_CD 
STMT_ARRAY_REF 
STMT_STID 

Definition at line 1803 of file ipl_summary.h.

anonymous enum [private]

Enumerator:
STMT_EXPR 
STMT_VAR 
STMT_CALL 
STMT_CD 
STMT_ARRAY_REF 
STMT_STID 

Definition at line 1791 of file ipl_summary.h.


Member Function/Subroutine Documentation

BOOL SUMMARY_STMT::Is_expr (  )  const [inline]

Definition at line 1821 of file ipl_summary.h.

References _stmt_type, and STMT_EXPR.

Referenced by WB_Print().

BOOL SUMMARY_STMT::Is_var (  )  const [inline]

Definition at line 1822 of file ipl_summary.h.

References _stmt_type, and STMT_VAR.

Referenced by WB_BROWSER::Summary_Stmt(), CG_BROWSER::Summary_Stmt(), and WB_Print().

BOOL SUMMARY_STMT::Is_call (  )  const [inline]

Definition at line 1823 of file ipl_summary.h.

References _stmt_type, and STMT_CALL.

Referenced by Propagate_global_vals(), and WB_Print().

BOOL SUMMARY_STMT::Is_cond (  )  const [inline]

BOOL SUMMARY_STMT::Is_array_ref (  )  const [inline]

Definition at line 1825 of file ipl_summary.h.

References _stmt_type, and STMT_ARRAY_REF.

Referenced by SUMMARIZE< program >::Copy_summary_ctrl_dep(), and WB_Print().

BOOL SUMMARY_STMT::Is_stid (  )  const [inline]

Definition at line 1826 of file ipl_summary.h.

References _stmt_type, and STMT_STID.

Referenced by Collect_stids_in_unstructured_cflow(), Propagate_global_vals(), and WB_Print().

void SUMMARY_STMT::Set_expr_index ( INT32  idx  )  [inline]

Definition at line 1828 of file ipl_summary.h.

References _stmt_type, STMT_EXPR, and u1.

Referenced by SUMMARIZE< program >::Process_control_dependence().

INT32 SUMMARY_STMT::Get_expr_index (  )  const [inline]

Definition at line 1833 of file ipl_summary.h.

References _stmt_type, STMT_EXPR, and u1.

Referenced by Print(), and WB_Print().

void SUMMARY_STMT::Set_var_index ( INT32  idx  )  [inline]

Definition at line 1837 of file ipl_summary.h.

References _stmt_type, STMT_VAR, and u1.

Referenced by SUMMARIZE< program >::Process_control_dependence().

INT32 SUMMARY_STMT::Get_var_index (  )  const [inline]

Definition at line 1842 of file ipl_summary.h.

References _stmt_type, STMT_VAR, and u1.

Referenced by Print(), WB_BROWSER::Summary_Stmt(), CG_BROWSER::Summary_Stmt(), and WB_Print().

void SUMMARY_STMT::Set_call_index ( INT32  idx  )  [inline]

Definition at line 1846 of file ipl_summary.h.

References _stmt_type, STMT_CALL, and u1.

Referenced by SUMMARIZE< program >::Process_control_dependence().

INT32 SUMMARY_STMT::Get_call_index (  )  const [inline]

Definition at line 1851 of file ipl_summary.h.

References _stmt_type, STMT_CALL, and u1.

Referenced by Delete_stmts(), Print(), Propagate_global_vals(), and WB_Print().

void SUMMARY_STMT::Set_cond_index ( INT32  idx  )  [inline]

INT32 SUMMARY_STMT::Get_cond_index (  )  const [inline]

void SUMMARY_STMT::Set_array_ref_wn ( WN w  )  [inline]

Definition at line 1864 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

WN* SUMMARY_STMT::Get_array_ref_wn (  )  const [inline]

Definition at line 1868 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

Referenced by SUMMARIZE< program >::Copy_summary_ctrl_dep().

void SUMMARY_STMT::Set_array_ref_map_id ( mINT32  map_id  )  [inline]

Definition at line 1872 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

Referenced by SUMMARIZE< program >::Copy_summary_ctrl_dep().

INT32 SUMMARY_STMT::Get_array_ref_map_id (  )  const [inline]

Definition at line 1876 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

Referenced by Print(), and WB_Print().

void SUMMARY_STMT::Set_stid_index ( INT32  idx  )  [inline]

Definition at line 1880 of file ipl_summary.h.

References _stmt_type, STMT_STID, and u1.

Referenced by SUMMARIZE< program >::Process_control_dependence().

INT32 SUMMARY_STMT::Get_stid_index (  )  const [inline]

Definition at line 1885 of file ipl_summary.h.

References _stmt_type, STMT_STID, and u1.

Referenced by Collect_stids_in_unstructured_cflow(), Print(), Propagate_global_vals(), and WB_Print().

void SUMMARY_STMT::Set_ref_count ( UINT8  count  )  [inline]

Definition at line 1889 of file ipl_summary.h.

References _ref_count.

UINT8 SUMMARY_STMT::Get_ref_count (  )  const [inline]

Definition at line 1890 of file ipl_summary.h.

References _ref_count.

Referenced by WB_Print().

void SUMMARY_STMT::Set_write_count ( UINT8  count  )  [inline]

Definition at line 1892 of file ipl_summary.h.

References _write_count.

UINT8 SUMMARY_STMT::Get_write_count (  )  const [inline]

Definition at line 1893 of file ipl_summary.h.

References _write_count.

Referenced by WB_Print().

void SUMMARY_STMT::Set_addr_taken_count ( UINT8  count  )  [inline]

Definition at line 1895 of file ipl_summary.h.

References _addr_taken_count.

UINT8 SUMMARY_STMT::Get_addr_taken_count (  )  const [inline]

Definition at line 1896 of file ipl_summary.h.

References _addr_taken_count.

Referenced by WB_Print().

void SUMMARY_STMT::Init ( void   )  [inline]

Definition at line 1900 of file ipl_summary.h.

References bzero().

void SUMMARY_STMT::Print ( FILE f  )  const

void SUMMARY_STMT::Print_array ( FILE f,
INT32  size 
) const

void SUMMARY_STMT::WB_Print ( FILE fp,
INT  stmt_index,
const char *  name,
const char *  func_name 
)

BOOL SUMMARY_STMT::Is_expr (  )  const [inline]

Definition at line 1809 of file ipl_summary.h.

References _stmt_type, and STMT_EXPR.

BOOL SUMMARY_STMT::Is_var (  )  const [inline]

Definition at line 1810 of file ipl_summary.h.

References _stmt_type, and STMT_VAR.

BOOL SUMMARY_STMT::Is_call (  )  const [inline]

Definition at line 1811 of file ipl_summary.h.

References _stmt_type, and STMT_CALL.

BOOL SUMMARY_STMT::Is_cond (  )  const [inline]

Definition at line 1812 of file ipl_summary.h.

References _stmt_type, and STMT_CD.

BOOL SUMMARY_STMT::Is_array_ref (  )  const [inline]

Definition at line 1813 of file ipl_summary.h.

References _stmt_type, and STMT_ARRAY_REF.

BOOL SUMMARY_STMT::Is_stid (  )  const [inline]

Definition at line 1814 of file ipl_summary.h.

References _stmt_type, and STMT_STID.

void SUMMARY_STMT::Set_expr_index ( INT32  idx  )  [inline]

Definition at line 1816 of file ipl_summary.h.

References _stmt_type, STMT_EXPR, and u1.

INT32 SUMMARY_STMT::Get_expr_index (  )  const [inline]

Definition at line 1821 of file ipl_summary.h.

References _stmt_type, STMT_EXPR, and u1.

void SUMMARY_STMT::Set_var_index ( INT32  idx  )  [inline]

Definition at line 1825 of file ipl_summary.h.

References _stmt_type, STMT_VAR, and u1.

INT32 SUMMARY_STMT::Get_var_index (  )  const [inline]

Definition at line 1830 of file ipl_summary.h.

References _stmt_type, STMT_VAR, and u1.

void SUMMARY_STMT::Set_call_index ( INT32  idx  )  [inline]

Definition at line 1834 of file ipl_summary.h.

References _stmt_type, STMT_CALL, and u1.

INT32 SUMMARY_STMT::Get_call_index (  )  const [inline]

Definition at line 1839 of file ipl_summary.h.

References _stmt_type, STMT_CALL, and u1.

void SUMMARY_STMT::Set_cond_index ( INT32  idx  )  [inline]

Definition at line 1843 of file ipl_summary.h.

References _stmt_type, STMT_CD, and u1.

INT32 SUMMARY_STMT::Get_cond_index (  )  const [inline]

Definition at line 1848 of file ipl_summary.h.

References _stmt_type, STMT_CD, and u1.

void SUMMARY_STMT::Set_array_ref_wn ( WN w  )  [inline]

Definition at line 1852 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

WN* SUMMARY_STMT::Get_array_ref_wn (  )  const [inline]

Definition at line 1856 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

void SUMMARY_STMT::Set_array_ref_map_id ( mINT32  map_id  )  [inline]

Definition at line 1860 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

INT32 SUMMARY_STMT::Get_array_ref_map_id (  )  const [inline]

Definition at line 1864 of file ipl_summary.h.

References _stmt_type, STMT_ARRAY_REF, and u1.

void SUMMARY_STMT::Set_stid_index ( INT32  idx  )  [inline]

Definition at line 1868 of file ipl_summary.h.

References _stmt_type, STMT_STID, and u1.

INT32 SUMMARY_STMT::Get_stid_index (  )  const [inline]

Definition at line 1873 of file ipl_summary.h.

References _stmt_type, STMT_STID, and u1.

void SUMMARY_STMT::Set_ref_count ( UINT8  count  )  [inline]

Definition at line 1877 of file ipl_summary.h.

References _ref_count.

UINT8 SUMMARY_STMT::Get_ref_count (  )  const [inline]

Definition at line 1878 of file ipl_summary.h.

References _ref_count.

void SUMMARY_STMT::Set_write_count ( UINT8  count  )  [inline]

Definition at line 1880 of file ipl_summary.h.

References _write_count.

UINT8 SUMMARY_STMT::Get_write_count (  )  const [inline]

Definition at line 1881 of file ipl_summary.h.

References _write_count.

void SUMMARY_STMT::Set_addr_taken_count ( UINT8  count  )  [inline]

Definition at line 1883 of file ipl_summary.h.

References _addr_taken_count.

UINT8 SUMMARY_STMT::Get_addr_taken_count (  )  const [inline]

Definition at line 1884 of file ipl_summary.h.

References _addr_taken_count.

void SUMMARY_STMT::Init ( void   )  [inline]

Definition at line 1888 of file ipl_summary.h.

References BZERO.

void SUMMARY_STMT::Print ( FILE f  )  const

void SUMMARY_STMT::Print_array ( FILE f,
INT32  size 
) const

void SUMMARY_STMT::WB_Print ( FILE fp,
INT  stmt_index,
const char *  name,
const char *  func_name 
)


Field Documentation

Definition at line 1796 of file ipl_summary.h.

Definition at line 1799 of file ipl_summary.h.

Definition at line 1800 of file ipl_summary.h.

union { ... } SUMMARY_STMT::u1 [private]

enum { ... } SUMMARY_STMT::_stmt_type [private]

Definition at line 1813 of file ipl_summary.h.

Referenced by Get_ref_count(), and Set_ref_count().

Definition at line 1814 of file ipl_summary.h.

Referenced by Get_write_count(), and Set_write_count().

Definition at line 1815 of file ipl_summary.h.

Referenced by Get_addr_taken_count(), and Set_addr_taken_count().

union { ... } SUMMARY_STMT::u1 [private]

enum { ... } SUMMARY_STMT::_stmt_type [private]


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

Generated on Wed Apr 8 17:09:43 2009 for Open64 by  doxygen 1.5.6