PROJECTED_REGION Class Reference

#include <ipa_section.h>

Collaboration diagram for PROJECTED_REGION:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PROJECTED_REGION (ACCESS_ARRAY *ar, MEM_POOL *mem_pool, LOOPINFO *loop, BOOL in_ipl=TRUE, IPA_LNO_READ_FILE *IPA_LNO_File=NULL)
 PROJECTED_REGION (PROJECTED_REGION *p)
 PROJECTED_REGION (mINT16 type, mUINT8 depth, mUINT8 num_dim, MEM_POOL *mem_pool)
void Set_Mem_Pool (MEM_POOL *mem_pool)
MEM_POOLMem_Pool ()
void Set_callsite_id (INT16 id)
INT16 Get_callsite_id () const
void Set_actual_id (INT16 id)
INT16 Get_actual_id () const
void Set_id (INT32 i)
INT32 Get_id () const
void Set_type (mINT16 type)
mINT16 Get_type () const
void Set_num_dims (mUINT8 num_dims)
mUINT8 Get_num_dims () const
void Set_depth (mUINT8 depth)
mUINT8 Get_depth () const
mINT32 Get_projected_kernel_id () const
void Set_projected_kernel_id (mINT32 id)
PROJECTED_KERNELGet_projected_kernel () const
void Set_projected_kernel (PROJECTED_KERNEL *p)
BOOL Is_unprojected_region () const
void Set_unprojected ()
void Reset_is_unprojected ()
BOOL Is_messy_region () const
void Set_messy_region ()
void Reset_messy_region ()
BOOL Is_may_kill () const
void Set_is_may_kill ()
BOOL Is_may_use () const
void Set_is_may_use ()
BOOL Is_passed () const
void Set_is_passed ()
BOOL Is_formal () const
void Set_is_formal ()
void Set_projected_node (PROJECTED_NODE *node)
PROJECTED_NODEGet_projected_node (INT i)
BOOL Has_Messy_Bounds ()
BOOL Has_Important_Messy_Bounds ()
void Set_Messy_If_Local_Symbol ()
void Copy_projected_node (PROJECTED_NODE *node)
void Copy_write (PROJECTED_REGION *p_in)
void Set_projected_array (PROJECTED_ARRAY *region)
PROJECTED_ARRAYGet_projected_array () const
INT Compare (PROJECTED_REGION *b)
LINEX_ARRAYMap_to_linex_array ()
void Project (INT depth, LOOPINFO *l)
PROJECTED_REGIONUnion (PROJECTED_REGION &b, const LOOPINFO &l)
BOOL May_Union (PROJECTED_REGION &b, BOOL trace)
void Set_region (SYSTEM_OF_EQUATIONS *soe, LOOP_SYMBOL_ARRAY *syms, INT stride[], INT pivot_row, INT pos, INT loop_step, INT projected_axle)
BOOL Equivalent (PROJECTED_REGION *p)
BOOL Constant_bounds (mUINT8 num_dims)
void Print (FILE *fp=stderr)
void Print_file (FILE *fp=stderr)
void IPA_LNO_Print (FILE *fp=stderr, IPA_LNO_READ_FILE *IPA_LNO_File=NULL)
void IPA_LNO_Print_File (FILE *fp=stderr, INT pr_index=-1)
void WB_Print (FILE *fp, INT proj_region_index)
void Simplify ()
void LNO_Simplify (IPA_LNO_READ_FILE *IPA_LNO_File, WN *wn_call)
void Fill_Out ()
BOOL Matching_Segment_Stride (PROJECTED_REGION *pr)

Private Attributes

union {
   PROJECTED_ARRAY *   _region
   mINT32   _id
u1
mINT16 _type
mUINT8 _num_dims
mUINT8 _depth
union {
   mINT32   _projected_kernel
   PROJECTED_KERNEL *   _p
   struct {
      mINT16   _callsite_id
      mINT16   _actual_id
   }   u22
u2
MEM_POOL_mem_pool


Detailed Description

Definition at line 769 of file ipa_section.h.


Constructor & Destructor Documentation

PROJECTED_REGION::PROJECTED_REGION ( ACCESS_ARRAY *  ar,
MEM_POOL mem_pool,
LOOPINFO loop,
BOOL  in_ipl = TRUE,
IPA_LNO_READ_FILE IPA_LNO_File = NULL 
)

PROJECTED_REGION::PROJECTED_REGION ( PROJECTED_REGION p  ) 

PROJECTED_REGION::PROJECTED_REGION ( mINT16  type,
mUINT8  depth,
mUINT8  num_dim,
MEM_POOL mem_pool 
)

Definition at line 645 of file ipa_section_main.cxx.

References CXX_NEW, u1, and u2.


Member Function Documentation

INT PROJECTED_REGION::Compare ( PROJECTED_REGION b  ) 

BOOL PROJECTED_REGION::Constant_bounds ( mUINT8  num_dims  ) 

Definition at line 1000 of file ipa_section_main.cxx.

References _num_dims, FALSE, Get_projected_node(), PROJECTED_NODE::Get_upper_linex(), LINEX::Is_const(), and TRUE.

Referenced by RESHAPE::Constant_Type_Reshape().

Here is the call graph for this function:

void PROJECTED_REGION::Copy_projected_node ( PROJECTED_NODE node  ) 

Definition at line 275 of file ipa_section_main.cxx.

References PROJECTED_NODE::Copy(), Get_projected_array(), and Get_projected_node().

Referenced by PROJECTED_REGION().

Here is the call graph for this function:

void PROJECTED_REGION::Copy_write ( PROJECTED_REGION p_in  ) 

BOOL PROJECTED_REGION::Equivalent ( PROJECTED_REGION p  ) 

Definition at line 716 of file ipa_section_main.cxx.

References PROJECTED_NODE::Equivalent(), FALSE, Get_num_dims(), Get_projected_node(), Is_messy_region(), Is_True, and TRUE.

Here is the call graph for this function:

void PROJECTED_REGION::Fill_Out (  ) 

Definition at line 1161 of file ipa_section_main.cxx.

References PROJECTED_NODE::Fill_Out(), Get_num_dims(), Get_projected_node(), Is_messy_region(), and Reset_is_unprojected().

Here is the call graph for this function:

INT16 PROJECTED_REGION::Get_actual_id (  )  const [inline]

Definition at line 825 of file ipa_section.h.

References u2.

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

INT16 PROJECTED_REGION::Get_callsite_id (  )  const [inline]

Definition at line 822 of file ipa_section.h.

References u2.

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

mUINT8 PROJECTED_REGION::Get_depth (  )  const [inline]

INT32 PROJECTED_REGION::Get_id (  )  const [inline]

Definition at line 828 of file ipa_section.h.

References u1.

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

mUINT8 PROJECTED_REGION::Get_num_dims (  )  const [inline]

PROJECTED_ARRAY* PROJECTED_REGION::Get_projected_array (  )  const [inline]

PROJECTED_KERNEL* PROJECTED_REGION::Get_projected_kernel (  )  const [inline]

Definition at line 842 of file ipa_section.h.

References u2.

Referenced by Print(), Project(), and PROJECTED_REGION().

mINT32 PROJECTED_REGION::Get_projected_kernel_id (  )  const [inline]

Definition at line 839 of file ipa_section.h.

References u2.

PROJECTED_NODE* PROJECTED_REGION::Get_projected_node ( INT  i  )  [inline]

mINT16 PROJECTED_REGION::Get_type (  )  const [inline]

Definition at line 831 of file ipa_section.h.

References _type.

Referenced by Compare(), Copy_write(), and PROJECTED_REGION().

BOOL PROJECTED_REGION::Has_Important_Messy_Bounds (  ) 

Definition at line 1151 of file ipa_section_main.cxx.

References FALSE, Get_num_dims(), Get_projected_node(), PROJECTED_NODE::Has_a_messy_bound(), and TRUE.

Referenced by RESHAPE::Reshape_Callee_To_Caller().

Here is the call graph for this function:

BOOL PROJECTED_REGION::Has_Messy_Bounds (  ) 

Definition at line 1141 of file ipa_section_main.cxx.

References FALSE, Get_num_dims(), Get_projected_node(), PROJECTED_NODE::Has_a_messy_bound(), and TRUE.

Referenced by RESHAPE::Reshape_Callee_To_Caller().

Here is the call graph for this function:

void PROJECTED_REGION::IPA_LNO_Print ( FILE *  fp = stderr,
IPA_LNO_READ_FILE IPA_LNO_File = NULL 
)

void PROJECTED_REGION::IPA_LNO_Print_File ( FILE *  fp = stderr,
INT  pr_index = -1 
)

BOOL PROJECTED_REGION::Is_formal (  )  const [inline]

Definition at line 865 of file ipa_section.h.

References _type, and IS_FORMAL.

Referenced by IPA_LNO_Print_File(), and WB_Print().

BOOL PROJECTED_REGION::Is_may_kill (  )  const [inline]

Definition at line 856 of file ipa_section.h.

References _type, and IS_MAY_KILL.

Referenced by IPA_LNO_Print_File(), and WB_Print().

BOOL PROJECTED_REGION::Is_may_use (  )  const [inline]

Definition at line 859 of file ipa_section.h.

References _type, and IS_MAY_USE.

Referenced by IPA_LNO_Print_File(), and WB_Print().

BOOL PROJECTED_REGION::Is_messy_region (  )  const [inline]

BOOL PROJECTED_REGION::Is_passed (  )  const [inline]

Definition at line 862 of file ipa_section.h.

References _type, and IS_PASSED.

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

BOOL PROJECTED_REGION::Is_unprojected_region (  )  const [inline]

void PROJECTED_REGION::LNO_Simplify ( IPA_LNO_READ_FILE IPA_LNO_File,
WN wn_call 
)

LINEX_ARRAY * PROJECTED_REGION::Map_to_linex_array (  ) 

BOOL PROJECTED_REGION::Matching_Segment_Stride ( PROJECTED_REGION pr  ) 

Definition at line 1187 of file ipa_section_main.cxx.

References FALSE, Get_num_dims(), Get_projected_node(), Is_messy_region(), PROJECTED_NODE::Matching_Segment_Stride(), NULL, and TRUE.

Here is the call graph for this function:

BOOL PROJECTED_REGION::May_Union ( PROJECTED_REGION b,
BOOL  trace 
)

MEM_POOL* PROJECTED_REGION::Mem_Pool (  )  [inline]

void PROJECTED_REGION::Print ( FILE *  fp = stderr  ) 

void PROJECTED_REGION::Print_file ( FILE *  fp = stderr  ) 

Definition at line 264 of file ipa_section_print.cxx.

References Get_actual_id(), Get_callsite_id(), Get_depth(), Get_id(), Get_num_dims(), Is_messy_region(), Is_passed(), and Is_unprojected_region().

Here is the call graph for this function:

void PROJECTED_REGION::Project ( INT  depth,
LOOPINFO l 
)

void PROJECTED_REGION::Reset_is_unprojected (  )  [inline]

Definition at line 849 of file ipa_section.h.

References _type, and UNPROJECTED_REGION.

Referenced by Fill_Out(), and Projected_Region_From_St().

void PROJECTED_REGION::Reset_messy_region (  )  [inline]

Definition at line 854 of file ipa_section.h.

References _type, and MESSY_REGION.

void PROJECTED_REGION::Set_actual_id ( INT16  id  )  [inline]

Definition at line 824 of file ipa_section.h.

References u2.

Referenced by CFG_NODE_INFO::Add_array_param(), and Copy_write().

void PROJECTED_REGION::Set_callsite_id ( INT16  id  )  [inline]

Definition at line 821 of file ipa_section.h.

References u2.

Referenced by CFG_NODE_INFO::Add_array_param(), and Copy_write().

void PROJECTED_REGION::Set_depth ( mUINT8  depth  )  [inline]

Definition at line 836 of file ipa_section.h.

References _depth.

Referenced by Copy_write(), and PROJECTED_REGION().

void PROJECTED_REGION::Set_id ( INT32  i  )  [inline]

Definition at line 827 of file ipa_section.h.

References u1.

void PROJECTED_REGION::Set_is_formal (  )  [inline]

Definition at line 866 of file ipa_section.h.

References _type, and IS_FORMAL.

Referenced by CFG_NODE_INFO::Add_formal_array(), and Projected_Region_From_St().

void PROJECTED_REGION::Set_is_may_kill (  )  [inline]

Definition at line 857 of file ipa_section.h.

References _type, and IS_MAY_KILL.

Referenced by CFG_NODE_INFO::Add_may_def_array().

void PROJECTED_REGION::Set_is_may_use (  )  [inline]

Definition at line 860 of file ipa_section.h.

References _type, and IS_MAY_USE.

Referenced by CFG_NODE_INFO::Add_may_use_array().

void PROJECTED_REGION::Set_is_passed (  )  [inline]

Definition at line 863 of file ipa_section.h.

References _type, and IS_PASSED.

Referenced by CFG_NODE_INFO::Add_array_param().

void PROJECTED_REGION::Set_Mem_Pool ( MEM_POOL mem_pool  )  [inline]

Definition at line 818 of file ipa_section.h.

References _mem_pool.

Referenced by PROJECTED_REGION().

void PROJECTED_REGION::Set_Messy_If_Local_Symbol (  ) 

void PROJECTED_REGION::Set_messy_region (  )  [inline]

Definition at line 852 of file ipa_section.h.

References _type, and MESSY_REGION.

Referenced by May_Union(), Project(), and Set_region().

void PROJECTED_REGION::Set_num_dims ( mUINT8  num_dims  )  [inline]

Definition at line 833 of file ipa_section.h.

References _num_dims.

Referenced by Copy_write(), and PROJECTED_REGION().

void PROJECTED_REGION::Set_projected_array ( PROJECTED_ARRAY region  )  [inline]

Definition at line 880 of file ipa_section.h.

References u1.

Referenced by PROJECTED_REGION(), and Set_region().

void PROJECTED_REGION::Set_projected_kernel ( PROJECTED_KERNEL p  )  [inline]

Definition at line 843 of file ipa_section.h.

References u2.

Referenced by PROJECTED_REGION().

void PROJECTED_REGION::Set_projected_kernel_id ( mINT32  id  )  [inline]

Definition at line 840 of file ipa_section.h.

References u2.

void PROJECTED_REGION::Set_projected_node ( PROJECTED_NODE node  )  [inline]

Definition at line 868 of file ipa_section.h.

References u1.

void PROJECTED_REGION::Set_region ( SYSTEM_OF_EQUATIONS *  soe,
LOOP_SYMBOL_ARRAY syms,
INT  stride[],
INT  pivot_row,
INT  pos,
INT  loop_step,
INT  projected_axle 
)

void PROJECTED_REGION::Set_type ( mINT16  type  )  [inline]

Definition at line 830 of file ipa_section.h.

References _type.

Referenced by Copy_write(), PROJECTED_REGION(), and Set_region().

void PROJECTED_REGION::Set_unprojected (  )  [inline]

Definition at line 847 of file ipa_section.h.

References _type, and UNPROJECTED_REGION.

Referenced by PROJECTED_REGION().

void PROJECTED_REGION::Simplify (  ) 

Definition at line 1131 of file ipa_section_main.cxx.

References Get_num_dims(), Get_projected_node(), Is_messy_region(), and PROJECTED_NODE::Simplify().

Here is the call graph for this function:

PROJECTED_REGION* PROJECTED_REGION::Union ( PROJECTED_REGION b,
const LOOPINFO l 
)

void PROJECTED_REGION::WB_Print ( FILE *  fp,
INT  proj_region_index 
)


Member Data Documentation

Definition at line 796 of file ipa_section.h.

Definition at line 795 of file ipa_section.h.

Definition at line 787 of file ipa_section.h.

Referenced by Get_depth(), and Set_depth().

Definition at line 782 of file ipa_section.h.

Definition at line 800 of file ipa_section.h.

Referenced by Mem_Pool(), and Set_Mem_Pool().

Definition at line 786 of file ipa_section.h.

Referenced by Constant_bounds(), Get_num_dims(), and Set_num_dims().

Definition at line 793 of file ipa_section.h.

Definition at line 792 of file ipa_section.h.

Definition at line 781 of file ipa_section.h.

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

union { ... } PROJECTED_REGION::u2 [private]

struct { ... } PROJECTED_REGION::u22


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

Generated on Fri Jul 24 05:19:45 2009 for OpenADFortTk (extended to Open64) by  doxygen 1.5.7.1