at.dms.backend
Class QOperator

java.lang.Object
  |
  +--at.dms.backend.QOperator
All Implemented Interfaces:
QOrigin

class QOperator
extends java.lang.Object
implements QOrigin

???


Constructor Summary
QOperator(InstructionHandle operator, QOrigin[] operands)
           
 
Method Summary
 QOrigin duplicate()
          Duplicate this node: not implemented.
 void generate(CodeSequence seq)
          Generates instructions for this quadruple.
 InstructionHandle getInstruction()
          Returns the primitive instruction.
 QOrigin[] getOrigins()
          Returns the parameters of this instruction.
 int getType()
          The type of this instruction.
 QTemporary[] getUses()
          Returns the used temporaries.
 void setOrigin(QOrigin origin, int i)
          Sets the parameters of this instruction.
 java.lang.String toString()
          Human readable form.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QOperator

public QOperator(InstructionHandle operator,
                 QOrigin[] operands)
Method Detail

toString

public java.lang.String toString()
Human readable form.
Overrides:
toString in class java.lang.Object

getType

public int getType()
The type of this instruction.
Specified by:
getType in interface QOrigin

getInstruction

public InstructionHandle getInstruction()
Returns the primitive instruction.
Specified by:
getInstruction in interface QOrigin

duplicate

public QOrigin duplicate()
Duplicate this node: not implemented.
Specified by:
duplicate in interface QOrigin

getUses

public QTemporary[] getUses()
Returns the used temporaries.
Specified by:
getUses in interface QOrigin

getOrigins

public QOrigin[] getOrigins()
Returns the parameters of this instruction.
Specified by:
getOrigins in interface QOrigin

setOrigin

public void setOrigin(QOrigin origin,
                      int i)
Sets the parameters of this instruction.
Specified by:
setOrigin in interface QOrigin

generate

public void generate(CodeSequence seq)
Generates instructions for this quadruple.
Specified by:
generate in interface QOrigin
Parameters:
seq - The code sequence of instruction.