GRA_LOOP Module Reference

#include <gra_loop.h>

Collaboration diagram for GRA_LOOP:

Collaboration graph
[legend]

Public Member Functions

 GRA_LOOP (void)
 ~GRA_LOOP (void)
REGISTER_SET Registers_Used (ISA_REGISTER_CLASS rc)
GRA_LOOPParent (void)
GRA_LOOPOutermost (void)
GRA_LOOPNext_Loop (void)
INT Nest_Level (void)
BBLoop_Head (void)
void Make_Register_Used (ISA_REGISTER_CLASS rc, REGISTER reg, BOOL reclaim=FALSE)

Private Member Functions

void Registers_Used_Init (ISA_REGISTER_CLASS rc)
void Parent_Set (GRA_LOOP *p)
void Outermost_Set (GRA_LOOP *p)
void Next_Loop_Set (GRA_LOOP *p)
void Nest_Level_Set (INT i)
void Loop_Head_Set (BB *b)
GRA_LOOPMake_Loop_Nest (GRA_LOOP *outermost, GRA_LOOP *parent)

Private Attributes

REGISTER_SET registers_used [ISA_REGISTER_CLASS_MAX+1]
GRA_LOOPparent
GRA_LOOPoutermost
GRA_LOOPnext_loop
INT nest_level
BBloop_head

Friends

class GRA_LOOP_MGR

Detailed Description

Definition at line 50 of file gra_loop.h.


Constructor & Destructor Documentation

GRA_LOOP::GRA_LOOP ( void   )  [inline]

Definition at line 78 of file gra_loop.h.

GRA_LOOP::~GRA_LOOP ( void   )  [inline]

Definition at line 79 of file gra_loop.h.


Member Function/Subroutine Documentation

void GRA_LOOP::Registers_Used_Init ( ISA_REGISTER_CLASS  rc  )  [inline, private]

Definition at line 63 of file gra_loop.h.

References REGISTER_SET_EMPTY_SET, and registers_used.

void GRA_LOOP::Parent_Set ( GRA_LOOP p  )  [inline, private]

Definition at line 65 of file gra_loop.h.

References parent.

Referenced by Make_Loop_Nest().

void GRA_LOOP::Outermost_Set ( GRA_LOOP p  )  [inline, private]

Definition at line 66 of file gra_loop.h.

References outermost.

Referenced by Make_Loop_Nest().

void GRA_LOOP::Next_Loop_Set ( GRA_LOOP p  )  [inline, private]

Definition at line 67 of file gra_loop.h.

References next_loop.

Referenced by GRA_LOOP_MGR::Find_Loops().

void GRA_LOOP::Nest_Level_Set ( INT  i  )  [inline, private]

Definition at line 68 of file gra_loop.h.

References nest_level.

Referenced by GRA_LOOP_MGR::Create().

void GRA_LOOP::Loop_Head_Set ( BB b  )  [inline, private]

Definition at line 69 of file gra_loop.h.

References loop_head.

Referenced by GRA_LOOP_MGR::Create().

GRA_LOOP * GRA_LOOP::Make_Loop_Nest ( GRA_LOOP outermost,
GRA_LOOP parent 
) [private]

REGISTER_SET GRA_LOOP::Registers_Used ( ISA_REGISTER_CLASS  rc  )  [inline]

Definition at line 82 of file gra_loop.h.

References registers_used.

Referenced by Avoid_Unit_Spill().

GRA_LOOP* GRA_LOOP::Parent ( void   )  [inline]

Definition at line 83 of file gra_loop.h.

References parent.

Referenced by Avoid_Unit_Spill().

GRA_LOOP* GRA_LOOP::Outermost ( void   )  [inline]

Definition at line 84 of file gra_loop.h.

References outermost.

Referenced by Avoid_Unit_Spill().

GRA_LOOP* GRA_LOOP::Next_Loop ( void   )  [inline]

Definition at line 85 of file gra_loop.h.

References next_loop.

Referenced by Make_Loop_Nest().

INT GRA_LOOP::Nest_Level ( void   )  [inline]

Definition at line 86 of file gra_loop.h.

References nest_level.

Referenced by Make_Loop_Nest().

BB* GRA_LOOP::Loop_Head ( void   )  [inline]

Definition at line 87 of file gra_loop.h.

References loop_head.

Referenced by Avoid_Unit_Spill().

void GRA_LOOP::Make_Register_Used ( ISA_REGISTER_CLASS  rc,
REGISTER  reg,
BOOL  reclaim = FALSE 
)

Definition at line 63 of file gra_loop.cxx.

References li, NULL, parent, REGISTER_SET_Union1(), and registers_used.


Friends And Related Function Documentation

friend class GRA_LOOP_MGR [friend]

Definition at line 51 of file gra_loop.h.


Field Documentation

REGISTER_SET GRA_LOOP::registers_used[ISA_REGISTER_CLASS_MAX+1] [private]

Definition at line 52 of file gra_loop.h.

Referenced by Make_Register_Used(), Registers_Used(), and Registers_Used_Init().

Definition at line 54 of file gra_loop.h.

Referenced by Make_Register_Used(), Parent(), and Parent_Set().

Definition at line 55 of file gra_loop.h.

Referenced by Outermost(), and Outermost_Set().

Definition at line 56 of file gra_loop.h.

Referenced by Next_Loop(), and Next_Loop_Set().

Definition at line 57 of file gra_loop.h.

Referenced by Nest_Level(), and Nest_Level_Set().

BB* GRA_LOOP::loop_head [private]

Definition at line 58 of file gra_loop.h.

Referenced by Loop_Head(), and Loop_Head_Set().


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

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