Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

CompleteLiveness.C File Reference

#include "CompleteLiveness.H"

Go to the source code of this file.

Compounds

struct  UseDefOprd

Functions

void SetUsesAndDefs_Op (legoOp *op)
int Redefine (legoOprd *def, legoOp *UseOp)
UseDefOprdAttachOprdInfo (struct UseDefOprd *Live, legoOprd *oprd)
UseDefOprdGetLiveOut (legoOp *LastOp, legoOp *StartOp, legoProc *Proc)
UseDefOprdAttachLiveOut (struct UseDefOprd *Live, struct UseDefOprd *oprd)
void SetLiveOut_AllOps (struct UseDefOprd *LiveOut, legoOp *LastOp)
void SetLiveInformation ()
void PrintLiveNess ()
legoHash< int, iavector *,
legoHash_lt_int > * 
CompleteLiveNess (legoProc *Proc)

Variables

legoHash< int, iavector *,
legoHash_lt_int > * 
LiveNess
legoHash< int, struct UseDefOprd *,
legoHash_lt_int > * 
Use
legoHash< int, struct UseDefOprd *,
legoHash_lt_int > * 
Def
legoHash< int, struct UseDefOprd *,
legoHash_lt_int > * 
L_Out
int MaxGregNum = 0
int MaxFregNum = 0
int MaxPregNum = 0
int MaxBregNum = 0


Function Documentation

struct UseDefOprd* AttachLiveOut struct UseDefOprd Live,
struct UseDefOprd oprd
[static]
 

Definition at line 299 of file CompleteLiveness.C.

References AttachLiveOut(), UseDefOprd::next, UseDefOprd::OprdFileType, and UseDefOprd::OprdRegNum.

Referenced by AttachLiveOut(), and SetLiveOut_AllOps().

struct UseDefOprd* AttachOprdInfo struct UseDefOprd Live,
legoOprd oprd
[static]
 

Definition at line 168 of file CompleteLiveness.C.

References AttachOprdInfo(), UseDefOprd::next, UseDefOprd::OprdFileType, and UseDefOprd::OprdRegNum.

Referenced by AttachOprdInfo(), and GetLiveOut().

legoHash<int, iavector *, legoHash_lt_int>* CompleteLiveNess legoProc Proc  ) 
 

Definition at line 492 of file CompleteLiveness.C.

References Def, FindMaxRegNum(), FT_BTR, FT_FPR, FT_GPR, FT_PR, legoPSet< void * >::GetCount(), legoRegion::GetEntryOpsPtr(), legoRegion::GetExitOpsPtr(), legoPSet< void * >::GetItem(), GetLiveOut(), legoProc::GetProcName(), L_Out, LiveNess, LiveVariables(), MaxBregNum, MaxFregNum, MaxGregNum, MaxPregNum, UseDefOprd::next, UseDefOprd::OprdFileType, UseDefOprd::OprdRegNum, printf(), SetLiveInformation(), SetLiveOut_AllOps(), SetUsesAndDefs_Op(), and Use.

struct UseDefOprd* GetLiveOut legoOp LastOp,
legoOp StartOp,
legoProc Proc
[static]
 

Definition at line 205 of file CompleteLiveness.C.

References AttachOprdInfo(), exit(), FindControlEdge(), FindLiveAttribute(), fprintf(), FT_GPR, GetLiveOut(), i, OT_REG, legoOprd::SetOprdFileType(), legoOprd::SetOprdRegNum(), and legoOprd::SetOprdType().

Referenced by CompleteLiveNess(), and GetLiveOut().

void PrintLiveNess  )  [static]
 

Definition at line 460 of file CompleteLiveness.C.

References iavector::GetBregSize(), iavector::GetFregSize(), iavector::GetGregSize(), iavector::GetPregSize(), i, LiveNess, printf(), iavector::ReadBreg(), iavector::ReadFreg(), iavector::ReadGreg(), and iavector::ReadPreg().

int Redefine legoOprd def,
legoOp UseOp
[static]
 

Definition at line 137 of file CompleteLiveness.C.

References legoOp::GetDestOprdPtr(), legoOp::GetNextLink(), legoOprd::GetNextOprdPtr(), legoOprd::GetOprdFileType(), legoOprd::GetOprdRegNum(), and legoOprd::GetOprdType().

void SetLiveInformation  )  [static]
 

Definition at line 391 of file CompleteLiveness.C.

References FT_BTR, FT_FPR, FT_GPR, FT_PR, L_Out, LiveNess, MaxBregNum, MaxFregNum, MaxGregNum, MaxPregNum, UseDefOprd::next, UseDefOprd::OprdFileType, UseDefOprd::OprdRegNum, iavector::SetBreg(), iavector::SetFreg(), iavector::SetGreg(), and iavector::SetPreg().

Referenced by CompleteLiveNess().

void SetLiveOut_AllOps struct UseDefOprd LiveOut,
legoOp LastOp
[static]
 

Definition at line 336 of file CompleteLiveness.C.

References AttachLiveOut(), Def, exit(), fprintf(), legoOp::GetOpId(), legoOp::GetPrevLink(), L_Out, UseDefOprd::next, UseDefOprd::OprdFileType, UseDefOprd::OprdRegNum, and Use.

Referenced by CompleteLiveNess().

void SetUsesAndDefs_Op legoOp op  )  [static]
 

Definition at line 23 of file CompleteLiveness.C.

References Def, FT_PR, legoOp::GetDestOprdPtr(), legoOprd::GetNextOprdPtr(), legoOp::GetOpId(), legoOprd::GetOprdFileType(), legoOprd::GetOprdRegNum(), legoOprd::GetOprdType(), legoOp::GetPredOprdPtr(), legoOp::GetSrcOprdPtr(), UseDefOprd::next, UseDefOprd::OprdFileType, UseDefOprd::OprdRegNum, OT_REG, and Use.

Referenced by CompleteLiveNess().


Variable Documentation

legoHash<int, struct UseDefOprd *, legoHash_lt_int>* Def [static]
 

Definition at line 14 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), SetLiveOut_AllOps(), and SetUsesAndDefs_Op().

legoHash<int, struct UseDefOprd *, legoHash_lt_int>* L_Out [static]
 

Definition at line 15 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), SetLiveInformation(), and SetLiveOut_AllOps().

legoHash<int, iavector *, legoHash_lt_int>* LiveNess
 

Definition at line 11 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), PrintLiveNess(), and SetLiveInformation().

int MaxBregNum = 0 [static]
 

Definition at line 20 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), and SetLiveInformation().

int MaxFregNum = 0 [static]
 

Definition at line 18 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), and SetLiveInformation().

int MaxGregNum = 0 [static]
 

Definition at line 17 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), and SetLiveInformation().

int MaxPregNum = 0 [static]
 

Definition at line 19 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), and SetLiveInformation().

legoHash<int, struct UseDefOprd *, legoHash_lt_int>* Use [static]
 

Definition at line 13 of file CompleteLiveness.C.

Referenced by CompleteLiveNess(), SetLiveOut_AllOps(), and SetUsesAndDefs_Op().


Generated on Mon Jul 21 20:29:39 2003 for TINKER LEGO DOC by doxygen 1.3.2