IPAA_NODE_INFO Module Reference

#include <ipaa.h>

Collaboration diagram for IPAA_NODE_INFO:

Collaboration graph
[legend]

Public Member Functions

 IPAA_NODE_INFO (INT32 formal_count)
 IPAA_NODE_INFO (const IPAA_NODE_INFO &node_info)
void Free_Ref_Sets ()
void Print (FILE *, const char *pfx=NULL) const
void Trace (const char *pfx=NULL) const
IPAA_FORMAL_MAP ** Get_fmap () const
void Set_fmap (IPAA_FORMAL_MAP **f)
IPAA_FORMAL_MAPGet_fmap (INT32 i) const
void Set_fmap (INT32 i, IPAA_FORMAL_MAP *f)
INT32 Get_pu_info () const
void Set_pu_info (INT32 cnt)
INT32 Get_seq_id () const
void Set_seq_id (INT32 seq)
INT32 Get_fcount () const
void Set_fcount (INT32 cnt)
INT32 Get_changed_iter () const
void Set_changed_iter (INT32 i)
BOOL Is_initialized () const
void Set_initialized ()
BOOL Has_back_edge () const
void Set_has_back_edge ()
BOOL Depends_on_back_edge () const
void Set_depends_on_back_edge ()
BOOL Has_indirect_edge () const
void Set_has_indirect_edge ()
BOOL Passes_formals_by_value () const
void Set_passes_formals_by_value ()
BOOL Passes_globals_by_reference () const
void Set_passes_globals_by_reference ()
BOOL Has_unknown_call_effects () const
void Set_has_unknown_call_effects ()
BOOL Is_visited () const
void Set_visited ()
BOOL Local_addr_taken_mods () const
void Set_local_addr_taken_mods ()
void Compress (MEM_POOL *pool) const
void New_eref_set (INT32 fsize)
void New_def_set (INT32 fsize)
void New_kill_set (INT32 fsize)
IPAA_OBJECT_REF_SETGet_eref_set () const
IPAA_OBJECT_REF_SETGet_def_set () const
IPAA_OBJECT_REF_SETGet_kill_set () const
void Add_eref_elmt (INT32 g)
void Add_def_elmt (INT32 g)
void Add_kill_elmt (INT32 g)
void Add_formal_dref_elmt (INT32 f)
void Add_formal_iref_elmt (INT32 f)
void Add_formal_dmod_elmt (INT32 f)
void Add_formal_imod_elmt (INT32 f)
void Add_formal_dkill_elmt (INT32 f)
void Add_formal_ikill_elmt (INT32 f)
BOOL Is_eref_elmt (INT32 g) const
BOOL Is_def_elmt (INT32 g) const
BOOL Is_kill_elmt (INT32 g) const
BOOL Is_formal_dref_elmt (INT32 f) const
BOOL Is_formal_iref_elmt (INT32 f) const
BOOL Is_formal_dmod_elmt (INT32 f) const
BOOL Is_formal_imod_elmt (INT32 f) const
BOOL Is_formal_dkill_elmt (INT32 f) const
BOOL Is_formal_ikill_elmt (INT32 f) const
BOOL Is_actual_in_map (INT32 f, UINT32 glob) const

Private Types

enum  FLAG_MASK {
  INITIALIZED = 0x01, BACK_EDGE = 0x02, DEPENDS_ON_BACK_EDGE = 0x04, INDIRECT_EDGE = 0x08,
  PASS_FORMALS_BYVAL = 0x10, PASS_GLOBALS_BYREF = 0x20, UNKNOWN_CALL_EFFECTS = 0x40, VISITED = 0x80,
  LOCAL_ADDR_TAKEN_MOD = 0x100, FULL_MASK = 0x1ff
}

Private Attributes

IPAA_OBJECT_REF_SET_eref
IPAA_OBJECT_REF_SET_def
IPAA_OBJECT_REF_SET_kill
IPAA_FORMAL_MAP ** _fmap
mINT32 _pu_info
mINT32 _seq_id
mINT32 _fcount
mINT16 _changed_iter
mINT16 _flags

Detailed Description

Definition at line 255 of file ipaa.h.


Member Enumeration Documentation

enum IPAA_NODE_INFO::FLAG_MASK [private]

Enumerator:
INITIALIZED 
BACK_EDGE 
DEPENDS_ON_BACK_EDGE 
INDIRECT_EDGE 
PASS_FORMALS_BYVAL 
PASS_GLOBALS_BYREF 
UNKNOWN_CALL_EFFECTS 
VISITED 
LOCAL_ADDR_TAKEN_MOD 
FULL_MASK 

Definition at line 269 of file ipaa.h.


Constructor & Destructor Documentation

IPAA_NODE_INFO::IPAA_NODE_INFO ( INT32  formal_count  )  [inline]

Definition at line 285 of file ipaa.h.

References _fcount, and BZERO.

Referenced by Force_IPAA_Info().

IPAA_NODE_INFO::IPAA_NODE_INFO ( const IPAA_NODE_INFO node_info  )  [inline]

Definition at line 294 of file ipaa.h.

References _def, _eref, _kill, CXX_NEW, and Malloc_Mem_Pool.


Member Function/Subroutine Documentation

void IPAA_NODE_INFO::Free_Ref_Sets (  )  [inline]

Definition at line 316 of file ipaa.h.

References _def, _eref, _kill, CXX_DELETE, and Malloc_Mem_Pool.

Referenced by free_pu_cg_resources().

void IPAA_NODE_INFO::Print ( FILE f,
const char *  pfx = NULL 
) const

void IPAA_NODE_INFO::Trace ( const char *  pfx = NULL  )  const

Definition at line 611 of file ipaa.cxx.

References Print(), and TFile.

IPAA_FORMAL_MAP** IPAA_NODE_INFO::Get_fmap (  )  const [inline]

Definition at line 327 of file ipaa.h.

References _fmap.

Referenced by Force_Map(), IPAA_DF_SOLVER::Map_actual(), and Print().

void IPAA_NODE_INFO::Set_fmap ( IPAA_FORMAL_MAP **  f  )  [inline]

Definition at line 328 of file ipaa.h.

References _fmap.

Referenced by Force_Map().

IPAA_FORMAL_MAP* IPAA_NODE_INFO::Get_fmap ( INT32  i  )  const [inline]

Definition at line 329 of file ipaa.h.

References _fmap, and NULL.

void IPAA_NODE_INFO::Set_fmap ( INT32  i,
IPAA_FORMAL_MAP f 
) [inline]

Definition at line 332 of file ipaa.h.

References _fmap.

INT32 IPAA_NODE_INFO::Get_pu_info ( void   )  const [inline]

Definition at line 333 of file ipaa.h.

References _pu_info.

void IPAA_NODE_INFO::Set_pu_info ( INT32  cnt  )  [inline]

Definition at line 334 of file ipaa.h.

References _pu_info.

INT32 IPAA_NODE_INFO::Get_seq_id (  )  const [inline]

Definition at line 335 of file ipaa.h.

References _seq_id.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

void IPAA_NODE_INFO::Set_seq_id ( INT32  seq  )  [inline]

Definition at line 336 of file ipaa.h.

References _seq_id.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

INT32 IPAA_NODE_INFO::Get_fcount (  )  const [inline]

void IPAA_NODE_INFO::Set_fcount ( INT32  cnt  )  [inline]

Definition at line 338 of file ipaa.h.

References _fcount.

INT32 IPAA_NODE_INFO::Get_changed_iter (  )  const [inline]

Definition at line 339 of file ipaa.h.

References _changed_iter.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_n(), and IPAA_DF_SOLVER::Meet_formals_iter_n().

void IPAA_NODE_INFO::Set_changed_iter ( INT32  i  )  [inline]

BOOL IPAA_NODE_INFO::Is_initialized (  )  const [inline]

Definition at line 343 of file ipaa.h.

References _flags, and INITIALIZED.

Referenced by IPAA_DF_SOLVER::Accumulate_ref_info(), and IPAA_STEP::Initialize_Ref_Info().

void IPAA_NODE_INFO::Set_initialized (  )  [inline]

Definition at line 344 of file ipaa.h.

References _flags, and INITIALIZED.

Referenced by IPAA_STEP::Initialize_Ref_Info().

BOOL IPAA_NODE_INFO::Has_back_edge (  )  const [inline]

Definition at line 345 of file ipaa.h.

References _flags, and BACK_EDGE.

Referenced by Print().

void IPAA_NODE_INFO::Set_has_back_edge (  )  [inline]

Definition at line 346 of file ipaa.h.

References _flags, and BACK_EDGE.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

BOOL IPAA_NODE_INFO::Depends_on_back_edge (  )  const [inline]

void IPAA_NODE_INFO::Set_depends_on_back_edge (  )  [inline]

Definition at line 350 of file ipaa.h.

References _flags, and DEPENDS_ON_BACK_EDGE.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

BOOL IPAA_NODE_INFO::Has_indirect_edge (  )  const [inline]

Definition at line 351 of file ipaa.h.

References _flags, and INDIRECT_EDGE.

Referenced by Print().

void IPAA_NODE_INFO::Set_has_indirect_edge (  )  [inline]

Definition at line 352 of file ipaa.h.

References _flags, and INDIRECT_EDGE.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

BOOL IPAA_NODE_INFO::Passes_formals_by_value (  )  const [inline]

Definition at line 353 of file ipaa.h.

References _flags, and PASS_FORMALS_BYVAL.

Referenced by IPAA_DF_SOLVER::Map_actuals(), IPAA_DF_SOLVER::Meet_direct_iter_1(), and Print().

void IPAA_NODE_INFO::Set_passes_formals_by_value (  )  [inline]

Definition at line 356 of file ipaa.h.

References _flags, and PASS_FORMALS_BYVAL.

Referenced by IPAA_DF_SOLVER::Map_formal_attributes().

BOOL IPAA_NODE_INFO::Passes_globals_by_reference (  )  const [inline]

Definition at line 357 of file ipaa.h.

References _flags, and PASS_GLOBALS_BYREF.

Referenced by Print().

void IPAA_NODE_INFO::Set_passes_globals_by_reference (  )  [inline]

Definition at line 360 of file ipaa.h.

References _flags, and PASS_GLOBALS_BYREF.

Referenced by IPAA_DF_SOLVER::Map_formal_attributes().

BOOL IPAA_NODE_INFO::Has_unknown_call_effects (  )  const [inline]

Definition at line 361 of file ipaa.h.

References _flags, and UNKNOWN_CALL_EFFECTS.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1(), and Print().

void IPAA_NODE_INFO::Set_has_unknown_call_effects (  )  [inline]

Definition at line 364 of file ipaa.h.

References _flags, and UNKNOWN_CALL_EFFECTS.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

BOOL IPAA_NODE_INFO::Is_visited (  )  const [inline]

Definition at line 365 of file ipaa.h.

References _flags, and VISITED.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

void IPAA_NODE_INFO::Set_visited ( void   )  [inline]

Definition at line 366 of file ipaa.h.

References _flags, and VISITED.

Referenced by IPAA_DF_SOLVER::Meet_direct_iter_1().

BOOL IPAA_NODE_INFO::Local_addr_taken_mods (  )  const [inline]

Definition at line 367 of file ipaa.h.

References _flags, and LOCAL_ADDR_TAKEN_MOD.

void IPAA_NODE_INFO::Set_local_addr_taken_mods (  )  [inline]

Definition at line 370 of file ipaa.h.

References _flags, and LOCAL_ADDR_TAKEN_MOD.

void IPAA_NODE_INFO::Compress ( MEM_POOL pool  )  const

void IPAA_NODE_INFO::New_eref_set ( INT32  fsize  ) 

Definition at line 619 of file ipaa.cxx.

References _eref, CXX_NEW, and Malloc_Mem_Pool.

Referenced by IPAA_STEP::IPAA_STEP().

void IPAA_NODE_INFO::New_def_set ( INT32  fsize  ) 

Definition at line 627 of file ipaa.cxx.

References _def, CXX_NEW, and Malloc_Mem_Pool.

Referenced by IPAA_STEP::IPAA_STEP().

void IPAA_NODE_INFO::New_kill_set ( INT32  fsize  ) 

Definition at line 635 of file ipaa.cxx.

References _kill, CXX_NEW, and Malloc_Mem_Pool.

Referenced by IPAA_STEP::IPAA_STEP().

IPAA_OBJECT_REF_SET* IPAA_NODE_INFO::Get_eref_set (  )  const [inline]

IPAA_OBJECT_REF_SET* IPAA_NODE_INFO::Get_def_set (  )  const [inline]

IPAA_OBJECT_REF_SET* IPAA_NODE_INFO::Get_kill_set (  )  const [inline]

void IPAA_NODE_INFO::Add_eref_elmt ( INT32  g  )  [inline]

void IPAA_NODE_INFO::Add_def_elmt ( INT32  g  )  [inline]

void IPAA_NODE_INFO::Add_kill_elmt ( INT32  g  )  [inline]

Definition at line 388 of file ipaa.h.

References IPAA_OBJECT_REF_SET::Add_elmt(), and Get_kill_set().

void IPAA_NODE_INFO::Add_formal_dref_elmt ( INT32  f  )  [inline]

void IPAA_NODE_INFO::Add_formal_iref_elmt ( INT32  f  )  [inline]

void IPAA_NODE_INFO::Add_formal_dmod_elmt ( INT32  f  )  [inline]

void IPAA_NODE_INFO::Add_formal_imod_elmt ( INT32  f  )  [inline]

void IPAA_NODE_INFO::Add_formal_dkill_elmt ( INT32  f  )  [inline]

Definition at line 399 of file ipaa.h.

References IPAA_OBJECT_REF_SET::Add_direct_formal_elmt(), and Get_kill_set().

void IPAA_NODE_INFO::Add_formal_ikill_elmt ( INT32  f  )  [inline]

Definition at line 401 of file ipaa.h.

References IPAA_OBJECT_REF_SET::Add_indirect_formal_elmt(), and Get_kill_set().

BOOL IPAA_NODE_INFO::Is_eref_elmt ( INT32  g  )  const [inline]

BOOL IPAA_NODE_INFO::Is_def_elmt ( INT32  g  )  const [inline]

BOOL IPAA_NODE_INFO::Is_kill_elmt ( INT32  g  )  const [inline]

Definition at line 409 of file ipaa.h.

References Get_kill_set(), and IPAA_OBJECT_REF_SET::Is_elmt().

Referenced by Check_Passed_Global().

BOOL IPAA_NODE_INFO::Is_formal_dref_elmt ( INT32  f  )  const [inline]

BOOL IPAA_NODE_INFO::Is_formal_iref_elmt ( INT32  f  )  const [inline]

BOOL IPAA_NODE_INFO::Is_formal_dmod_elmt ( INT32  f  )  const [inline]

BOOL IPAA_NODE_INFO::Is_formal_imod_elmt ( INT32  f  )  const [inline]

BOOL IPAA_NODE_INFO::Is_formal_dkill_elmt ( INT32  f  )  const [inline]

Definition at line 421 of file ipaa.h.

References Get_kill_set(), and IPAA_OBJECT_REF_SET::Is_direct_formal_elmt().

BOOL IPAA_NODE_INFO::Is_formal_ikill_elmt ( INT32  f  )  const [inline]

Definition at line 423 of file ipaa.h.

References Get_kill_set(), and IPAA_OBJECT_REF_SET::Is_indirect_formal_elmt().

BOOL IPAA_NODE_INFO::Is_actual_in_map ( INT32  f,
UINT32  glob 
) const


Field Documentation

Definition at line 258 of file ipaa.h.

Referenced by Free_Ref_Sets(), Get_eref_set(), IPAA_NODE_INFO(), New_eref_set(), and Print().

Definition at line 259 of file ipaa.h.

Referenced by Free_Ref_Sets(), Get_def_set(), IPAA_NODE_INFO(), New_def_set(), and Print().

Definition at line 260 of file ipaa.h.

Referenced by Free_Ref_Sets(), Get_kill_set(), IPAA_NODE_INFO(), New_kill_set(), and Print().

Definition at line 261 of file ipaa.h.

Referenced by Get_fmap(), Print(), and Set_fmap().

Definition at line 262 of file ipaa.h.

Referenced by Get_pu_info(), Print(), and Set_pu_info().

Definition at line 263 of file ipaa.h.

Referenced by Get_seq_id(), and Set_seq_id().

Definition at line 264 of file ipaa.h.

Referenced by Get_fcount(), IPAA_NODE_INFO(), Print(), and Set_fcount().

Definition at line 265 of file ipaa.h.

Referenced by Get_changed_iter(), Print(), and Set_changed_iter().


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

Generated on Wed Apr 8 16:49:28 2009 for Open64 by  doxygen 1.5.6