|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.backend.QNode
This class represent an abstract node
| Field Summary | |
private QTemporary[] |
livein
|
private QTemporary[] |
liveout
|
| Constructor Summary | |
(package private) |
QNode()
|
| Method Summary | |
abstract void |
generate(CodeSequence seq)
Generates instructions for this quadruple |
abstract QTemporary |
getDef()
Returns the defined temporary. |
InstructionHandle |
getInstruction()
Returns the primitive instruction |
QJump |
getJump()
Returns this node a a jump |
QTemporary[] |
getLivein()
Returns the livein temporary. |
QTemporary[] |
getLiveout()
Returns the liveout temporary. |
abstract QOrigin[] |
getOrigins()
returns the parameters of this instruction |
QQuadruple |
getStore()
Returns this node a a jump |
QSwitch |
getSwitch()
Returns this node a a jump |
abstract QTemporary[] |
getUses()
Returns the used temporaries. |
boolean |
hasSideEffect()
Returns this node a a jump |
boolean |
isJump()
isJump |
boolean |
isLive(QTemporary temp)
Is a temporary live at a certin point |
boolean |
isStore()
isStore |
boolean |
isSwitch()
isJump |
void |
setLivein(QTemporary[] livein)
Sets the livein temporary. |
void |
setLiveout(QTemporary[] liveout)
Sets the liveout temporary. |
abstract void |
setOrigin(QOrigin origin,
int i)
Sets the parameters of this instruction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private QTemporary[] livein
private QTemporary[] liveout
| Constructor Detail |
QNode()
| Method Detail |
public boolean isJump()
public QJump getJump()
public boolean isSwitch()
public QSwitch getSwitch()
public boolean isStore()
public QQuadruple getStore()
public boolean hasSideEffect()
public InstructionHandle getInstruction()
public abstract QOrigin[] getOrigins()
public abstract void setOrigin(QOrigin origin,
int i)
public abstract QTemporary getDef()
public abstract QTemporary[] getUses()
public QTemporary[] getLivein()
public void setLivein(QTemporary[] livein)
public QTemporary[] getLiveout()
public void setLiveout(QTemporary[] liveout)
public boolean isLive(QTemporary temp)
public abstract void generate(CodeSequence seq)
seq - The code sequence of instruction
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||