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

LiveVar_nm Class Reference

#include <yula_not_mine_live.h>

List of all members.

Public Member Functions

 LiveVar_nm ()
 ~LiveVar_nm ()
void SetCreateTable (bool c)
bool GetCreateTable (void)
void SetEdgeInfo (legoHash< int, legoOprd *, legoHash_lt_int > *t)
legoHash< int, legoOprd *,
legoHash_lt_int > * 
GetEdgeInfo (void)
void analyze (legoRegion *, legoProc *)
void analyze (legoModule *)
void CollectEdgeInfo (legoProc *)
 LiveVar_nm ()
 ~LiveVar_nm ()
void SetCreateTable (bool c)
bool GetCreateTable (void)
void SetEdgeInfo (legoHash< int, legoOprd *, legoHash_lt_int > *t)
legoHash< int, legoOprd *,
legoHash_lt_int > * 
GetEdgeInfo (void)
void analyze (legoRegion *, legoProc *)
void analyze (legoModule *)
void CollectEdgeInfo (legoProc *)

Private Member Functions

void CreateReadHashKey (int, int, int)
void CreateReadHashKey (int, int, int, int)
void CreateWriteHashKey (int, int, int)
void CreateWriteHashKey (int, int, int, int)
void BB_defs (legoOp *, int)
void BB_uses (legoOp *, int)
void Process (legoRegion *, legoProc *)
void BB_live_out (legoProc *, legoRegion *)
void BB_live_in (legoProc *, legoRegion *)
void deleteedgeinfo (int)
void CreateReadHashKey (int, int, int)
void CreateReadHashKey (int, int, int, int)
void CreateWriteHashKey (int, int, int)
void CreateWriteHashKey (int, int, int, int)
void BB_defs (legoOp *, int)
void BB_uses (legoOp *, int)
void Process (legoRegion *, legoProc *)
void BB_live_out (legoProc *, legoRegion *)
void BB_live_in (legoProc *, legoRegion *)
void deleteedgeinfo (int)

Private Attributes

SetInfoTable Table
bool ChangeBit
int IterCount
char * ReadHashKey
char * ReadHashPart1
char * ReadHashPart2
char * ReadHashPart3
char * WriteHashKey
char * WriteHashPart1
char * WriteHashPart2
char * WriteHashPart3
char * LBHashKey
char * UBHashKey
bool CreateTable
legoHash< int, legoOprd *,
legoHash_lt_int > * 
EdgeInfo
char * ReadHashKey
char * ReadHashPart1
char * ReadHashPart2
char * ReadHashPart3
char * WriteHashKey
char * WriteHashPart1
char * WriteHashPart2
char * WriteHashPart3
char * LBHashKey
char * UBHashKey
legoHash< int, legoOprd *,
legoHash_lt_int > * 
EdgeInfo


Constructor & Destructor Documentation

LiveVar_nm::LiveVar_nm  )  [inline]
 

Definition at line 46 of file include/yula_not_mine_live.h.

References CreateTable, EdgeInfo, and TRUE.

LiveVar_nm::~LiveVar_nm  )  [inline]
 

Definition at line 50 of file include/yula_not_mine_live.h.

References EdgeInfo.

LiveVar_nm::LiveVar_nm  )  [inline]
 

Definition at line 46 of file src/yula_not_mine_live.h.

References CreateTable, EdgeInfo, and TRUE.

LiveVar_nm::~LiveVar_nm  )  [inline]
 

Definition at line 50 of file src/yula_not_mine_live.h.

References EdgeInfo.


Member Function Documentation

void LiveVar_nm::analyze legoModule  ) 
 

void LiveVar_nm::analyze legoRegion ,
legoProc
 

void LiveVar_nm::analyze legoModule  ) 
 

Definition at line 1068 of file yula_not_mine_live.cpp.

References analyze(), derr, legoPSet< void * >::GetCount(), legoPSet< void * >::GetItem(), i, and modulePtr.

void LiveVar_nm::analyze legoRegion ,
legoProc
 

Definition at line 944 of file yula_not_mine_live.cpp.

References BB_defs(), BB_uses(), ChangeBit, CollectEdgeInfo(), CreateTable, derr, EdgeInfo, FALSE, legoPSet< void * >::GetCount(), legoPSet< void * >::GetItem(), legoOp::GetOpId(), legoOp::GetOutListPtr(), legoProc::GetProcName(), legoRegion::GetRegionId(), legoRegion::GetRegionType(), HASH_KEY_SIZE, HASH_PART_SIZE, IS_BLOCK, IterCount, LBHashKey, Process(), ReadHashKey, ReadHashPart1, ReadHashPart2, ReadHashPart3, RT_PROC, SetInfoTable, subblock, Table, TRUE, and UBHashKey.

Referenced by analyze(), and LiveVariables_not_mine().

void LiveVar_nm::BB_defs legoOp ,
int 
[private]
 

void LiveVar_nm::BB_defs legoOp ,
int 
[private]
 

Definition at line 132 of file yula_not_mine_live.cpp.

References BRL, CreateReadHashKey(), CreateWriteHashKey(), SetInfo::Def, derr, FALSE, FindReturnMacro(), legoOp::GetDestOprdPtr(), legoOprd::GetNextOprdPtr(), legoOp::GetOpcode(), legoOp::GetOpId(), legoOprd::GetOprdFileType(), legoOprd::GetOprdRegNum(), legoOprd::GetOprdType(), legoOp::GetOutListPtr(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), legoOp::GetSrcOprdPtr(), legoOprd::GetValid(), SetInfo::LiveIn, SetInfo::LiveOut, SetInfo::Oprd, OT_MACRO, OT_REG, ReadHashKey, RT_BB, subblock, Table, TRUE, SetInfo::Use, and WriteHashKey.

Referenced by analyze().

void LiveVar_nm::BB_live_in legoProc ,
legoRegion
[private]
 

void LiveVar_nm::BB_live_in legoProc ,
legoRegion
[private]
 

Definition at line 827 of file yula_not_mine_live.cpp.

References ChangeBit, derr, FALSE, legoRegion::GetRegionId(), IterCount, LBHashKey, sprintf(), subblock, Table, TRUE, and UBHashKey.

Referenced by Process().

void LiveVar_nm::BB_live_out legoProc ,
legoRegion
[private]
 

void LiveVar_nm::BB_live_out legoProc ,
legoRegion
[private]
 

Definition at line 548 of file yula_not_mine_live.cpp.

References add_to_existing_attr(), create_new_attr(), SetInfo::Def, derr, FALSE, FindControlEdge(), FindLiveAttribute(), legoRegion::GetChildren(), opEdges::GetEdgeId(), legoRegion::GetEntryOpsPtr(), legoRegion::GetExitOpsPtr(), regionList::GetNextListPtr(), legoOp::GetOpId(), opList::GetOpPtr(), legoRegion::GetRegionId(), regionList::GetRegionPtr(), legoRegion::GetRegionType(), HASH_KEY_SIZE, i, IS_BLOCK, IterCount, LBHashKey, LegoNonFatal(), SetInfo::LiveIn, SetInfo::LiveOut, SetInfo::Oprd, ReadHashKey, ReadHashPart1, RT_BB, sprintf(), strcat(), strchr(), strcpy(), subblock, Table, TRUE, UBHashKey, SetInfo::Use, and WriteHashKey.

Referenced by Process().

void LiveVar_nm::BB_uses legoOp ,
int 
[private]
 

void LiveVar_nm::BB_uses legoOp ,
int 
[private]
 

Definition at line 248 of file yula_not_mine_live.cpp.

References BRL, CreateReadHashKey(), CreateWriteHashKey(), SetInfo::Def, derr, FALSE, FindReturnMacro(), legoOp::GetDestOprdPtr(), legoOprd::GetNextOprdPtr(), legoOp::GetOpcode(), legoOp::GetOpId(), legoOprd::GetOprdFileType(), legoOprd::GetOprdRegNum(), legoOprd::GetOprdType(), legoOp::GetOutListPtr(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), legoOp::GetSrcOprdPtr(), legoOprd::GetValid(), SetInfo::LiveIn, SetInfo::LiveOut, SetInfo::Oprd, OT_MACRO, OT_REG, ReadHashKey, RT_BB, subblock, Table, TRUE, SetInfo::Use, and WriteHashKey.

Referenced by analyze().

void LiveVar_nm::CollectEdgeInfo legoProc  ) 
 

void LiveVar_nm::CollectEdgeInfo legoProc  ) 
 

Definition at line 1107 of file yula_not_mine_live.cpp.

References CreateTable, deleteedgeinfo(), EdgeInfo, FindLiveAttribute(), attrs::GetAttrOprdPtr(), legoProc::GetEdgeDictionary(), opEdges::GetEdgeId(), opEdges::GetNextOpEdgePtr(), and legoHash< int, legoOprd *, legoHash_lt_int >::Set().

Referenced by analyze().

void LiveVar_nm::CreateReadHashKey int  ,
int  ,
int  ,
int 
[private]
 

void LiveVar_nm::CreateReadHashKey int  ,
int  ,
int 
[private]
 

void LiveVar_nm::CreateReadHashKey int  ,
int  ,
int  ,
int 
[inline, private]
 

Definition at line 61 of file yula_not_mine_live.cpp.

References ReadHashKey, ReadHashPart1, ReadHashPart2, ReadHashPart3, sprintf(), strcat(), and X.

void LiveVar_nm::CreateReadHashKey int  ,
int  ,
int 
[inline, private]
 

Definition at line 41 of file yula_not_mine_live.cpp.

References ReadHashKey, ReadHashPart1, ReadHashPart2, sprintf(), strcat(), and X.

Referenced by BB_defs(), and BB_uses().

void LiveVar_nm::CreateWriteHashKey int  ,
int  ,
int  ,
int 
[private]
 

void LiveVar_nm::CreateWriteHashKey int  ,
int  ,
int 
[private]
 

void LiveVar_nm::CreateWriteHashKey int  ,
int  ,
int  ,
int 
[inline, private]
 

Definition at line 106 of file yula_not_mine_live.cpp.

References HASH_KEY_SIZE, HASH_PART_SIZE, sprintf(), strcat(), WriteHashKey, WriteHashPart1, WriteHashPart2, WriteHashPart3, and X.

void LiveVar_nm::CreateWriteHashKey int  ,
int  ,
int 
[inline, private]
 

Definition at line 82 of file yula_not_mine_live.cpp.

References HASH_KEY_SIZE, HASH_PART_SIZE, sprintf(), strcat(), WriteHashKey, WriteHashPart1, WriteHashPart2, and X.

Referenced by BB_defs(), and BB_uses().

void LiveVar_nm::deleteedgeinfo int   )  [private]
 

void LiveVar_nm::deleteedgeinfo int   )  [private]
 

Definition at line 1082 of file yula_not_mine_live.cpp.

References legoHash< int, legoOprd *, legoHash_lt_int >::Delete(), legoHash< int, legoOprd *, legoHash_lt_int >::DeleteAll(), and EdgeInfo.

Referenced by CollectEdgeInfo().

bool LiveVar_nm::GetCreateTable void   )  [inline]
 

Definition at line 53 of file src/yula_not_mine_live.h.

References CreateTable.

bool LiveVar_nm::GetCreateTable void   )  [inline]
 

Definition at line 53 of file include/yula_not_mine_live.h.

References CreateTable.

legoHash<int, legoOprd *, legoHash_lt_int>* LiveVar_nm::GetEdgeInfo void   )  [inline]
 

Definition at line 58 of file src/yula_not_mine_live.h.

References EdgeInfo.

legoHash<int, legoOprd *, legoHash_lt_int>* LiveVar_nm::GetEdgeInfo void   )  [inline]
 

Definition at line 58 of file include/yula_not_mine_live.h.

References EdgeInfo.

Referenced by LiveVariables_not_mine().

void LiveVar_nm::Process legoRegion ,
legoProc
[private]
 

void LiveVar_nm::Process legoRegion ,
legoProc
[private]
 

Definition at line 892 of file yula_not_mine_live.cpp.

References BB_live_in(), BB_live_out(), derr, legoPSet< void * >::GetCount(), legoRegion::GetEntryOpsPtr(), legoPSet< void * >::GetItem(), legoOp::GetNextLink(), opList::GetOpPtr(), legoOp::GetOutListPtr(), legoRegion::GetRegionId(), legoRegion::GetRegionType(), i, IS_BLOCK, RT_BB, and subblock.

Referenced by analyze().

void LiveVar_nm::SetCreateTable bool  c  )  [inline]
 

Definition at line 52 of file src/yula_not_mine_live.h.

References c, and CreateTable.

void LiveVar_nm::SetCreateTable bool  c  )  [inline]
 

Definition at line 52 of file include/yula_not_mine_live.h.

References c, and CreateTable.

Referenced by LiveVariables_not_mine().

void LiveVar_nm::SetEdgeInfo legoHash< int, legoOprd *, legoHash_lt_int > *  t  )  [inline]
 

Definition at line 55 of file src/yula_not_mine_live.h.

References EdgeInfo.

void LiveVar_nm::SetEdgeInfo legoHash< int, legoOprd *, legoHash_lt_int > *  t  )  [inline]
 

Definition at line 55 of file include/yula_not_mine_live.h.

References EdgeInfo.

Referenced by LiveVariables_not_mine().


Member Data Documentation

bool LiveVar_nm::ChangeBit [private]
 

Definition at line 15 of file src/yula_not_mine_live.h.

Referenced by analyze(), and BB_live_in().

bool LiveVar_nm::CreateTable [private]
 

Definition at line 41 of file src/yula_not_mine_live.h.

Referenced by analyze(), CollectEdgeInfo(), GetCreateTable(), LiveVar_nm(), and SetCreateTable().

legoHash<int, legoOprd *, legoHash_lt_int>* LiveVar_nm::EdgeInfo [private]
 

Definition at line 42 of file src/yula_not_mine_live.h.

legoHash<int, legoOprd *, legoHash_lt_int>* LiveVar_nm::EdgeInfo [private]
 

Definition at line 42 of file include/yula_not_mine_live.h.

Referenced by analyze(), CollectEdgeInfo(), deleteedgeinfo(), GetEdgeInfo(), LiveVar_nm(), SetEdgeInfo(), and ~LiveVar_nm().

int LiveVar_nm::IterCount [private]
 

Definition at line 17 of file src/yula_not_mine_live.h.

Referenced by analyze(), BB_live_in(), and BB_live_out().

char* LiveVar_nm::LBHashKey [private]
 

Definition at line 27 of file src/yula_not_mine_live.h.

char* LiveVar_nm::LBHashKey [private]
 

Definition at line 27 of file include/yula_not_mine_live.h.

Referenced by analyze(), BB_live_in(), and BB_live_out().

char* LiveVar_nm::ReadHashKey [private]
 

Definition at line 19 of file src/yula_not_mine_live.h.

char* LiveVar_nm::ReadHashKey [private]
 

Definition at line 19 of file include/yula_not_mine_live.h.

Referenced by analyze(), BB_defs(), BB_live_out(), BB_uses(), and CreateReadHashKey().

char* LiveVar_nm::ReadHashPart1 [private]
 

Definition at line 20 of file src/yula_not_mine_live.h.

char* LiveVar_nm::ReadHashPart1 [private]
 

Definition at line 20 of file include/yula_not_mine_live.h.

Referenced by analyze(), BB_live_out(), and CreateReadHashKey().

char* LiveVar_nm::ReadHashPart2 [private]
 

Definition at line 21 of file src/yula_not_mine_live.h.

char* LiveVar_nm::ReadHashPart2 [private]
 

Definition at line 21 of file include/yula_not_mine_live.h.

Referenced by analyze(), and CreateReadHashKey().

char* LiveVar_nm::ReadHashPart3 [private]
 

Definition at line 22 of file src/yula_not_mine_live.h.

char* LiveVar_nm::ReadHashPart3 [private]
 

Definition at line 22 of file include/yula_not_mine_live.h.

Referenced by analyze(), and CreateReadHashKey().

SetInfoTable LiveVar_nm::Table [private]
 

Definition at line 13 of file src/yula_not_mine_live.h.

Referenced by analyze(), BB_defs(), BB_live_in(), BB_live_out(), and BB_uses().

char* LiveVar_nm::UBHashKey [private]
 

Definition at line 28 of file src/yula_not_mine_live.h.

char* LiveVar_nm::UBHashKey [private]
 

Definition at line 28 of file include/yula_not_mine_live.h.

Referenced by analyze(), BB_live_in(), and BB_live_out().

char* LiveVar_nm::WriteHashKey [private]
 

Definition at line 23 of file src/yula_not_mine_live.h.

char* LiveVar_nm::WriteHashKey [private]
 

Definition at line 23 of file include/yula_not_mine_live.h.

Referenced by BB_defs(), BB_live_out(), BB_uses(), and CreateWriteHashKey().

char* LiveVar_nm::WriteHashPart1 [private]
 

Definition at line 24 of file src/yula_not_mine_live.h.

char* LiveVar_nm::WriteHashPart1 [private]
 

Definition at line 24 of file include/yula_not_mine_live.h.

Referenced by CreateWriteHashKey().

char* LiveVar_nm::WriteHashPart2 [private]
 

Definition at line 25 of file src/yula_not_mine_live.h.

char* LiveVar_nm::WriteHashPart2 [private]
 

Definition at line 25 of file include/yula_not_mine_live.h.

Referenced by CreateWriteHashKey().

char* LiveVar_nm::WriteHashPart3 [private]
 

Definition at line 26 of file src/yula_not_mine_live.h.

char* LiveVar_nm::WriteHashPart3 [private]
 

Definition at line 26 of file include/yula_not_mine_live.h.

Referenced by CreateWriteHashKey().


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 20:31:17 2003 for TINKER LEGO DOC by doxygen 1.3.2