SX_INFO Type Reference

#include <sxlist.h>

Collaboration diagram for SX_INFO:

Collaboration graph
[legend]

Public Member Functions

 SX_INFO (MEM_POOL *p)
 SX_INFO (const SX_INFO &pinfo, WN *orig, WN *copy, MEM_POOL *pool)
 SX_INFO (const SX_INFO &pinfo, WN *orig, HASH_TABLE< WN *, WN * > *loop_map, MEM_POOL *pool)
 ~SX_INFO ()
SX_PNODEFind (const SYMBOL &)
const SX_PNODEFind (const SYMBOL &) const
void Enter (WN *wn_def, const SYMBOL &, WN *reduction_carried_by, INT se_not_depth, INT se_depth, INT defining_def_depth, INT lcd_depth, BOOL finalize)
void Remove (SX_PNODE *)
void Print (FILE *) const
INT First_Transformable_Depth (const SX_PNODE **=NULL) const
void Make_Sx_Info (WN *wn_outer, INT nloops, BOOL ignore_illegal=FALSE)
void Update_Reduction_Loop_Stmts (WN *wn_inner)
INT Lcd_Depth ()
BOOL Must_Finalize ()

Data Fields

SX_PLIST Plist

Private Member Functions

void Handle_Use (WN *wn_use, INT depth, HASH_TABLE< WN *, BOOL > *loops)
void Handle_Index_Variable_Def (WN *wn_def, WN *wn_rep_def, INT depth)
BOOL Analyze_Reduction (WN *wn_def, INT outer, STACK< WN * > *equivalence_class, DOLOOP_STACK *dostack, WN **wn_non_red_def_ptr, INT *non_red_depth_ptr, WN **wn_red_loop_stmt_ptr)
void Handle_Other_Def (WN *wn_def, WN *wn_rep_def, INT outer, INT inner, INT depth, DOLOOP_STACK *dostack)
void Handle_Def (WN *wn_def, WN *wn_rep_def, INT outer, INT inner, INT depth, DOLOOP_STACK *dostack)
void Walk (WN *wn, INT outer, INT inner, INT depth, HASH_TABLE< WN *, BOOL > *loops, DOLOOP_STACK *dostack)

Detailed Description

Definition at line 257 of file sxlist.h.


Constructor & Destructor Documentation

SX_INFO::SX_INFO ( MEM_POOL p  )  [inline]

Definition at line 260 of file sxlist.h.

SX_INFO::SX_INFO ( const SX_INFO pinfo,
WN orig,
WN copy,
MEM_POOL pool 
)

SX_INFO::SX_INFO ( const SX_INFO pinfo,
WN orig,
HASH_TABLE< WN *, WN * > *  loop_map,
MEM_POOL pool 
)

SX_INFO::~SX_INFO (  )  [inline]

Definition at line 264 of file sxlist.h.


Member Function/Subroutine Documentation

SX_PNODE * SX_INFO::Find ( const SYMBOL sym  ) 

const SX_PNODE * SX_INFO::Find ( const SYMBOL sym  )  const

Definition at line 311 of file sxlist.cxx.

References CHAIN_ITER::First(), i, CHAIN_ITER::Is_Empty(), n, CHAIN_ITER::Next(), NULL, and Plist.

void SX_INFO::Enter ( WN wn_def,
const SYMBOL sym,
WN reduction_carried_by,
INT  se_not_depth,
INT  se_depth,
INT  defining_def_depth,
INT  lcd_depth,
BOOL  finalize 
)

void SX_INFO::Remove ( SX_PNODE n  ) 

Definition at line 287 of file sxlist.cxx.

References Plist, and CHAIN::Remove().

Referenced by Update_Reduction_Loop_Stmts().

void SX_INFO::Print ( FILE f  )  const

Definition at line 250 of file sxlist.cxx.

References First_Transformable_Depth(), fprintf(), Plist, and SX_PLIST::Print().

Referenced by SNL_NEST_INFO::Print().

INT SX_INFO::First_Transformable_Depth ( const SX_PNODE **  p = NULL  )  const

void SX_INFO::Make_Sx_Info ( WN wn_outer,
INT  nloops,
BOOL  ignore_illegal = FALSE 
)

void SX_INFO::Update_Reduction_Loop_Stmts ( WN wn_inner  ) 

INT SX_INFO::Lcd_Depth (  ) 

INT SX_INFO::Must_Finalize (  ) 

Definition at line 835 of file sxlist.cxx.

References FALSE, CHAIN_ITER::First(), i, CHAIN_ITER::Is_Empty(), n, CHAIN_ITER::Next(), Plist, and TRUE.

Referenced by Do_Automatic_Transformation().

void SX_INFO::Handle_Use ( WN wn_use,
INT  depth,
HASH_TABLE< WN *, BOOL > *  loops 
) [private]

void SX_INFO::Handle_Index_Variable_Def ( WN wn_def,
WN wn_rep_def,
INT  depth 
) [private]

BOOL SX_INFO::Analyze_Reduction ( WN wn_def,
INT  outer,
STACK< WN * > *  equivalence_class,
DOLOOP_STACK dostack,
WN **  wn_non_red_def_ptr,
INT non_red_depth_ptr,
WN **  wn_red_loop_stmt_ptr 
) [private]

void SX_INFO::Handle_Other_Def ( WN wn_def,
WN wn_rep_def,
INT  outer,
INT  inner,
INT  depth,
DOLOOP_STACK dostack 
) [private]

void SX_INFO::Handle_Def ( WN wn_def,
WN wn_rep_def,
INT  outer,
INT  inner,
INT  depth,
DOLOOP_STACK dostack 
) [private]

Definition at line 716 of file sxlist.cxx.

References Handle_Index_Variable_Def(), Handle_Other_Def(), LWN_Get_Parent, OPC_DO_LOOP, and WN_opcode().

Referenced by Walk().

void SX_INFO::Walk ( WN wn,
INT  outer,
INT  inner,
INT  depth,
HASH_TABLE< WN *, BOOL > *  loops,
DOLOOP_STACK dostack 
) [private]


Field Documentation


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

Generated on Wed Apr 8 17:10:01 2009 for Open64 by  doxygen 1.5.6