|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.backend.QNode
org.multijava.util.backend.QVoid
org.multijava.util.backend.QJump
This class represents the origin of a quadruple
| Constructor Summary | |
QJump(QOrigin origin)
|
|
| Method Summary | |
void |
generate(CodeSequence seq)
Generates instructions for this quadruple |
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. |
QOrigin[] |
getOrigins()
returns the parameters of this instruction |
QQuadruple |
getStore()
Returns this node a a jump |
QSwitch |
getSwitch()
Returns this node a a jump |
BasicBlock |
getTarget()
Returns the target of this jump |
int |
getType()
The type of this instruction |
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. |
void |
setOrigin(QOrigin origin,
int i)
Sets the parameters of this instruction |
String |
toString()
Human readable form |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public QJump(QOrigin origin)
| Method Detail |
public boolean isJump()
isJump in class QNodepublic QJump getJump()
getJump in class QNodepublic BasicBlock getTarget()
public String toString()
toString in class Objectpublic int getType()
public InstructionHandle getInstruction()
getInstruction in class QNodepublic QTemporary getDef()
public QTemporary[] getUses()
public QOrigin[] getOrigins()
public void setOrigin(QOrigin origin,
int i)
public void generate(CodeSequence seq)
seq - The code sequence of instructionpublic boolean isSwitch()
public QSwitch getSwitch()
public boolean isStore()
public QQuadruple getStore()
public boolean hasSideEffect()
public QTemporary[] getLivein()
public void setLivein(QTemporary[] livein)
public QTemporary[] getLiveout()
public void setLiveout(QTemporary[] liveout)
public boolean isLive(QTemporary temp)
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||