Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CProc Class Reference

#include <nodes.h>

Inheritance diagram for CProc:

Inheritance graph
[legend]
List of all members.

Detailed Description

Procedure class.


Public Member Functions

 CProc (char *name)
 ~CProc ()
void Gen_Jitter_Plot (char *filename)
void Gen_Segment_Plot (char *filename)
void Gen_Graph (char *filename)
void Pad_Jitter (bool pad_host, bool pad_guest)
void Set_Size (void)
bool Get_BranchesStale (void)
 are branch target strings stale and need to be recomputed?

bool Get_STAStale (void)
 are timing estimates stale and need to be recomputed?

bool Get_DFAStale (void)
 is data flow information stale and needs to be recomputed?

bool Get_LabelsStale (void)
 are labels stale and need to be recomputed?

void Set_BranchesStale (bool val)
void Set_STAStale (bool val)
void Set_DFAStale (bool val)
void Set_LabelsStale (bool val)
void Set_Integrating (bool val)
bool Get_Integrating ()
CRegAccessGet_Regs (int which)
void Create_Var_File ()
CVarGet_Vars (int which)
int Count_Vars (int which)
void Print_Interference_Matrix (int which)
void Label_Procedure (void)
void Find_Segments (long max_jitter)
CSegmentListGet_Segments ()
void Set_Nodes (CCDGNodeList *n)
CCDGNodeListGet_Nodes ()
CLoopGet_Next_Loop (CLoop *prev_loop, int h_or_g)
void Set_NumInstrs (int n)
int Get_NumInstrs ()
void Do_STA (bool include_guest=TRUE)
void Set_BestCaseAdjust (long t)
void Add_To_BestCaseAdjust (long t)
long Get_BestCaseAdjust ()
void QND_Save_Callee_Saved_Regs ()
void QND_Restore_Callee_Saved_Regs ()
void Set_FrameSize (int s)
int Get_FrameSize (void)
THREAD_TYPE Get_ThreadType ()
PROC_TYPE Get_ProcedureType ()
void Set_ThreadType (THREAD_TYPE type)
void Set_ProcedureType (PROC_TYPE type)
void Find_Interference (int which)
void Reallocate_Regs_AVR_QND ()
void Reallocate_Regs_Alpha_QND ()
void Color_Registers ()
void Output_Code (ostream &stream)
void Output_Code (char *fname)
void Pad_Blocking_Loops_To_CoCallPeriod (long cocall_period, bool look_for_unique_loop, char *loop_name_passed)

Private Attributes

CSegmentListSegments
 List of all segments of code with acceptable timing jitter.

CCDGNodeListNodes
 List of all nodes in the procedure in parse order, used for CFG/CDG formation.

int NumInstrs
 Number of instructions.

CVar HostVars
 Host and Guest Variables.

CVar GuestVars
 Host and Guest Variables.

CRegAccess HostRegs
 Host and guest registers used and defined.

CRegAccess GuestRegs
 Host and guest registers used and defined.

long BestCaseAdjust
 Don't recall.

int FrameSize
 Size of activation record / frame.

THREAD_TYPE ThreadType
 THREAD_UNKNOWN, THREAD_PRIMARY, THREAD_SECONDARY.

PROC_TYPE ProcedureType
 PROC_UNKNOWN, PROC_BIT_LEVEL, PROC_MSG_LEVEL.

bool BranchesStale
 branch target strings are stale and need to be recomputed

bool STAStale
 timing estimates are stale and need to be recomputed

bool DFAStale
 data flow information is stale and need to be recomputed

bool LabelsStale
 labels are stale and need to be recomputed

bool Integrating
 Currently integrating?


Constructor & Destructor Documentation

CProc::CProc char *  name  ) 
 

CProc::~CProc  ) 
 


Member Function Documentation

void CProc::Add_To_BestCaseAdjust long  t  )  [inline]
 

void CProc::Color_Registers  ) 
 

int CProc::Count_Vars int  which  ) 
 

void CProc::Create_Var_File  ) 
 

void CProc::Do_STA bool  include_guest = TRUE  ) 
 

void CProc::Find_Interference int  which  ) 
 

void CProc::Find_Segments long  max_jitter  ) 
 

void CProc::Gen_Graph char *  filename  ) 
 

void CProc::Gen_Jitter_Plot char *  filename  ) 
 

void CProc::Gen_Segment_Plot char *  filename  ) 
 

long CProc::Get_BestCaseAdjust  )  [inline]
 

bool CProc::Get_BranchesStale void   ) 
 

are branch target strings stale and need to be recomputed?

bool CProc::Get_DFAStale void   ) 
 

is data flow information stale and needs to be recomputed?

int CProc::Get_FrameSize void   )  [inline]
 

bool CProc::Get_Integrating  ) 
 

bool CProc::Get_LabelsStale void   ) 
 

are labels stale and need to be recomputed?

CLoop * CProc::Get_Next_Loop CLoop prev_loop,
int  h_or_g
 

CCDGNodeList* CProc::Get_Nodes  )  [inline]
 

int CProc::Get_NumInstrs  )  [inline]
 

Reimplemented from CCDGNode.

PROC_TYPE CProc::Get_ProcedureType  )  [inline]
 

CRegAccess* CProc::Get_Regs int  which  )  [inline]
 

CSegmentList* CProc::Get_Segments  )  [inline]
 

bool CProc::Get_STAStale void   ) 
 

are timing estimates stale and need to be recomputed?

THREAD_TYPE CProc::Get_ThreadType  )  [inline]
 

CVar* CProc::Get_Vars int  which  )  [inline]
 

void CProc::Label_Procedure void   ) 
 

void CProc::Output_Code char *  fname  ) 
 

void CProc::Output_Code ostream &  stream  ) 
 

Reimplemented from CCDGNode.

void CProc::Pad_Blocking_Loops_To_CoCallPeriod long  cocall_period,
bool  look_for_unique_loop,
char *  loop_name_passed
 

void CProc::Pad_Jitter bool  pad_host,
bool  pad_guest
 

void CProc::Print_Interference_Matrix int  which  ) 
 

void CProc::QND_Restore_Callee_Saved_Regs  ) 
 

void CProc::QND_Save_Callee_Saved_Regs  ) 
 

void CProc::Reallocate_Regs_Alpha_QND  ) 
 

void CProc::Reallocate_Regs_AVR_QND  ) 
 

void CProc::Set_BestCaseAdjust long  t  )  [inline]
 

void CProc::Set_BranchesStale bool  val  ) 
 

void CProc::Set_DFAStale bool  val  ) 
 

void CProc::Set_FrameSize int  s  )  [inline]
 

void CProc::Set_Integrating bool  val  ) 
 

void CProc::Set_LabelsStale bool  val  ) 
 

void CProc::Set_Nodes CCDGNodeList n  )  [inline]
 

void CProc::Set_NumInstrs int  n  )  [inline]
 

void CProc::Set_ProcedureType PROC_TYPE  type  )  [inline]
 

void CProc::Set_Size void   )  [virtual]
 

Reimplemented from CCDGNode.

void CProc::Set_STAStale bool  val  ) 
 

void CProc::Set_ThreadType THREAD_TYPE  type  )  [inline]
 


Member Data Documentation

long CProc::BestCaseAdjust [private]
 

Don't recall.

bool CProc::BranchesStale [private]
 

branch target strings are stale and need to be recomputed

bool CProc::DFAStale [private]
 

data flow information is stale and need to be recomputed

int CProc::FrameSize [private]
 

Size of activation record / frame.

CRegAccess CProc::GuestRegs [private]
 

Host and guest registers used and defined.

CVar CProc::GuestVars [private]
 

Host and Guest Variables.

CRegAccess CProc::HostRegs [private]
 

Host and guest registers used and defined.

CVar CProc::HostVars [private]
 

Host and Guest Variables.

bool CProc::Integrating [private]
 

Currently integrating?

bool CProc::LabelsStale [private]
 

labels are stale and need to be recomputed

CCDGNodeList* CProc::Nodes [private]
 

List of all nodes in the procedure in parse order, used for CFG/CDG formation.

int CProc::NumInstrs [private]
 

Number of instructions.

PROC_TYPE CProc::ProcedureType [private]
 

PROC_UNKNOWN, PROC_BIT_LEVEL, PROC_MSG_LEVEL.

CSegmentList* CProc::Segments [private]
 

List of all segments of code with acceptable timing jitter.

bool CProc::STAStale [private]
 

timing estimates are stale and need to be recomputed

THREAD_TYPE CProc::ThreadType [private]
 

THREAD_UNKNOWN, THREAD_PRIMARY, THREAD_SECONDARY.


The documentation for this class was generated from the following files:
Generated on Sat May 8 14:09:00 2004 for Thrint by doxygen 1.3.6