|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.backend.QNode
This class represent an abstract node.
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 a jump. |
QTemporary[] |
getLivein()
Returns the livein temporary. |
QTemporary[] |
getLiveout()
Returns the liveout temporary. |
abstract QOrigin[] |
getOrigins()
Returns the origins of this instruction. |
QQuadruple |
getStore()
Returns this a store. |
QSwitch |
getSwitch()
Returns this a switch. |
abstract QTemporary[] |
getUses()
Returns the used temporaries. |
boolean |
hasSideEffect()
Returns whether this node has side effects. |
boolean |
isJump()
isJump. |
boolean |
isLive(QTemporary temp)
Is a temporary live at a certain point. |
boolean |
isStore()
isStore. |
boolean |
isSwitch()
isSwitch. |
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 origins of this instruction. |
Methods inherited from class java.lang.Object |
|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |