|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ssa.SsaSymTab
The symbol table of SSA variables.
| Field Summary | |
static java.lang.String |
DUMMY_FUNC
|
(package private) int |
nPhyRegs
|
(package private) EnumRegVars |
rn
|
| Constructor Summary | |
(package private) |
SsaSymTab(SsaEnvironment e,
Function f)
Constructor Create a new symbol table in the SSA form. |
| Method Summary | |
(package private) int |
compare(Symbol s1,
Symbol s2)
Compare the specified two symbols. |
(package private) Symbol |
currentAddressSymbol(Symbol s)
Get the current symbol of the FRAME or the STATIC node. |
boolean |
isPhyReg(Symbol s)
|
(package private) Symbol |
newAddressSymbol(Symbol s)
Get a new symbol of the FRAME node or the STATIC node. |
(package private) Symbol |
newGlobalSymbol(java.lang.String name)
|
(package private) Symbol |
newSsaSymbol(java.lang.String name,
int type)
Get a new symbol of the SSA variable. |
(package private) Symbol |
newSsaSymbol(Symbol s)
Get a new symbol of the SSA variable. |
(package private) Symbol |
newSsaSymbol1(Symbol s)
Called from TranslateToSsa. |
(package private) Symbol |
orgSym(Symbol s)
Get the original symbol of the specified symbol. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
EnumRegVars rn
int nPhyRegs
public static final java.lang.String DUMMY_FUNC
| Constructor Detail |
SsaSymTab(SsaEnvironment e,
Function f)
e - The environment of the SSA modulef - The current function| Method Detail |
int compare(Symbol s1,
Symbol s2)
s1 - The first specified symbols2 - The second specified symbol
Symbol orgSym(Symbol s)
s - The specified symbol
Symbol newAddressSymbol(Symbol s)
s - The old symbol
Symbol currentAddressSymbol(Symbol s)
s - The specified symbol
Symbol newSsaSymbol(Symbol s)
s - The old symbol
Symbol newSsaSymbol1(Symbol s)
s - The old symbol
public boolean isPhyReg(Symbol s)
Symbol newGlobalSymbol(java.lang.String name)
Symbol newSsaSymbol(java.lang.String name,
int type)
name - The base name of the symboltype - The type of the symbol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||