Public Member Functions | Private Attributes

REGION_ARRAYS Class Reference

#include <ipa_section.h>

Collaboration diagram for REGION_ARRAYS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 REGION_ARRAYS (MEM_POOL *m, mINT32 index)
void Set_type (mUINT8 t)
mUINT8 Get_type () const
void Init (mINT32 index, mINT32 element_size, MEM_POOL *m)
void Copy_write (REGION_ARRAYS *r)
PROJECTED_REGION_INFO_ARRAYGet_projected_region_array () const
void Set_has_bad_alias ()
BOOL Is_bad_alias () const
void Set_is_loop_invariant ()
BOOL Is_loop_invariant () const
void Set_is_use ()
BOOL Is_use () const
void Set_is_def ()
BOOL Is_def () const
void Set_is_passed ()
BOOL Is_passed () const
void Set_is_may_def ()
BOOL Is_may_def () const
void Set_is_may_use ()
BOOL Is_may_use () const
void Set_is_formal ()
BOOL Is_formal () const
mINT32 Get_sym_id () const
void Set_sym_id (INT id)
mINT32 Get_element_size () const
void Set_element_size (mINT32 element_size)
mINT32 Get_idx () const
void Set_idx (mINT32 id)
mINT32 Get_count () const
void Set_count (mINT32 count)
PROJECTED_REGIONGet_Projected_Region (INT i)
void Print (FILE *fp=stderr)
void Print_file (FILE *fp=stderr)
void WB_Print (FILE *fp, INT region_index, char *name, char *func_name)

Private Attributes

mUINT8 _type
mINT32 _sym_index
mINT32 _element_size
union {
   PROJECTED_REGION_INFO_ARRAY *   _regions
   struct {
      mINT32   _idx
      mINT32   _count
   }   u2
u1

Detailed Description

Definition at line 1011 of file ipa_section.h.


Constructor & Destructor Documentation

REGION_ARRAYS::REGION_ARRAYS ( MEM_POOL m,
mINT32  index 
) [inline]

Definition at line 1027 of file ipa_section.h.

References _sym_index, _type, CXX_NEW, and u1.


Member Function Documentation

void REGION_ARRAYS::Copy_write ( REGION_ARRAYS r  ) 

Definition at line 1837 of file ipa_section.cxx.

References Get_element_size(), Get_sym_id(), Get_type(), Set_element_size(), Set_sym_id(), and Set_type().

Here is the call graph for this function:

mINT32 REGION_ARRAYS::Get_count (  )  const [inline]

Definition at line 1081 of file ipa_section.h.

References u1.

Referenced by Print_file(), and WB_Print().

mINT32 REGION_ARRAYS::Get_element_size (  )  const [inline]

Definition at line 1072 of file ipa_section.h.

References _element_size.

Referenced by Copy_write(), Print(), and WB_Print().

mINT32 REGION_ARRAYS::Get_idx (  )  const [inline]

Definition at line 1076 of file ipa_section.h.

References u1.

Referenced by Print_file(), and WB_Print().

PROJECTED_REGION * REGION_ARRAYS::Get_Projected_Region ( INT  i  ) 

Definition at line 1031 of file ipa_section_main.cxx.

References PROJECTED_REGION_INFO::Get_projected_region(), Get_projected_region_array(), Is_True, and DYN_ARRAY< T >::Lastidx().

Here is the call graph for this function:

PROJECTED_REGION_INFO_ARRAY* REGION_ARRAYS::Get_projected_region_array (  )  const [inline]
mINT32 REGION_ARRAYS::Get_sym_id (  )  const [inline]
mUINT8 REGION_ARRAYS::Get_type (  )  const [inline]

Definition at line 1035 of file ipa_section.h.

References _type.

Referenced by Copy_write().

void REGION_ARRAYS::Init ( mINT32  index,
mINT32  element_size,
MEM_POOL m 
)
BOOL REGION_ARRAYS::Is_bad_alias (  )  const [inline]

Definition at line 1045 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_def (  )  const [inline]

Definition at line 1055 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_formal (  )  const [inline]

Definition at line 1067 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_loop_invariant (  )  const [inline]

Definition at line 1049 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_may_def (  )  const [inline]

Definition at line 1061 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_may_use (  )  const [inline]

Definition at line 1064 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_passed (  )  const [inline]

Definition at line 1058 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

BOOL REGION_ARRAYS::Is_use (  )  const [inline]

Definition at line 1052 of file ipa_section.h.

References _type.

Referenced by Print(), Print_file(), and WB_Print().

void REGION_ARRAYS::Print ( FILE *  fp = stderr  ) 
void REGION_ARRAYS::Print_file ( FILE *  fp = stderr  ) 

Definition at line 148 of file ipa_section_print.cxx.

References _element_size, _sym_index, fprintf(), Get_count(), Get_idx(), Is_bad_alias(), Is_def(), Is_formal(), Is_loop_invariant(), Is_may_def(), Is_may_use(), Is_passed(), and Is_use().

Here is the call graph for this function:

void REGION_ARRAYS::Set_count ( mINT32  count  )  [inline]

Definition at line 1082 of file ipa_section.h.

References u1.

void REGION_ARRAYS::Set_element_size ( mINT32  element_size  )  [inline]

Definition at line 1073 of file ipa_section.h.

References _element_size.

Referenced by Copy_write().

void REGION_ARRAYS::Set_has_bad_alias (  )  [inline]

Definition at line 1044 of file ipa_section.h.

References _type.

void REGION_ARRAYS::Set_idx ( mINT32  id  )  [inline]

Definition at line 1077 of file ipa_section.h.

References u1.

void REGION_ARRAYS::Set_is_def (  )  [inline]

Definition at line 1054 of file ipa_section.h.

References _type.

Referenced by CFG_NODE_INFO::Add_def_array(), and CFG_NODE_INFO::Add_may_def_array().

void REGION_ARRAYS::Set_is_formal (  )  [inline]

Definition at line 1066 of file ipa_section.h.

References _type.

Referenced by CFG_NODE_INFO::Add_formal_array().

void REGION_ARRAYS::Set_is_loop_invariant (  )  [inline]

Definition at line 1047 of file ipa_section.h.

References _type.

void REGION_ARRAYS::Set_is_may_def (  )  [inline]

Definition at line 1060 of file ipa_section.h.

References _type.

void REGION_ARRAYS::Set_is_may_use (  )  [inline]

Definition at line 1063 of file ipa_section.h.

References _type.

void REGION_ARRAYS::Set_is_passed (  )  [inline]

Definition at line 1057 of file ipa_section.h.

References _type.

Referenced by CFG_NODE_INFO::Add_array_param().

void REGION_ARRAYS::Set_is_use (  )  [inline]

Definition at line 1051 of file ipa_section.h.

References _type.

Referenced by CFG_NODE_INFO::Add_may_use_array(), and CFG_NODE_INFO::Add_use_array().

void REGION_ARRAYS::Set_sym_id ( INT  id  )  [inline]

Definition at line 1070 of file ipa_section.h.

References _sym_index.

Referenced by Copy_write().

void REGION_ARRAYS::Set_type ( mUINT8  t  )  [inline]

Definition at line 1034 of file ipa_section.h.

References _type.

Referenced by Copy_write().

void REGION_ARRAYS::WB_Print ( FILE *  fp,
INT  region_index,
char *  name,
char *  func_name 
)

Member Data Documentation

Definition at line 1022 of file ipa_section.h.

Definition at line 1016 of file ipa_section.h.

Referenced by Get_element_size(), Init(), Print_file(), and Set_element_size().

Definition at line 1021 of file ipa_section.h.

Definition at line 1019 of file ipa_section.h.

Definition at line 1015 of file ipa_section.h.

Referenced by Get_sym_id(), Init(), Print_file(), REGION_ARRAYS(), and Set_sym_id().

union { ... } REGION_ARRAYS::u1 [private]
struct { ... } REGION_ARRAYS::u2

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