joeq.Compiler.Quad
Class Operator.Move

java.lang.Object
  extended by joeq.Compiler.Quad.Operator
      extended by joeq.Compiler.Quad.Operator.Move
Direct Known Subclasses:
Operator.Move.MOVE_A, Operator.Move.MOVE_D, Operator.Move.MOVE_F, Operator.Move.MOVE_I, Operator.Move.MOVE_L, Operator.Move.MOVE_P
Enclosing class:
Operator

public abstract static class Operator.Move
extends Operator


Nested Class Summary
static class Operator.Move.MOVE_A
           
static class Operator.Move.MOVE_D
           
static class Operator.Move.MOVE_F
           
static class Operator.Move.MOVE_I
           
static class Operator.Move.MOVE_L
           
static class Operator.Move.MOVE_P
           
 
Nested classes/interfaces inherited from class joeq.Compiler.Quad.Operator
Operator.ALength, Operator.ALoad, Operator.AStore, Operator.Binary, Operator.BoundsCheck, Operator.Branch, Operator.CheckCast, Operator.Getfield, Operator.Getstatic, Operator.Goto, Operator.InstanceOf, Operator.IntIfCmp, Operator.Invoke, Operator.Jsr, Operator.LookupSwitch, Operator.MemLoad, Operator.MemStore, Operator.Monitor, Operator.Move, Operator.New, Operator.NewArray, Operator.NullCheck, Operator.Phi, Operator.Putfield, Operator.Putstatic, Operator.Ret, Operator.Return, Operator.Special, Operator.StoreCheck, Operator.TableSwitch, Operator.Unary, Operator.ZeroCheck
 
Field Summary
 
Fields inherited from class joeq.Compiler.Quad.Operator
_delegate, anyexception, arithexception, arrayboundsexception, arraystoreexception, classcastexceptions, illegalmonitorstateexception, negativesizeexception, noexceptions, noregisters, nullptrexception, resolutionexceptions
 
Constructor Summary
Operator.Move()
           
 
Method Summary
 void accept(Quad q, QuadVisitor qv)
           
static Quad create(int id, Operator.Move operator, Operand.RegisterOperand dst, Operand src)
           
static Quad create(int id, RegisterFactory.Register r1, RegisterFactory.Register r2, jq_Type t)
           
 UnmodifiableList.RegisterOperand getDefinedRegisters(Quad q)
           
static Operand.RegisterOperand getDest(Quad q)
           
static Operator.Move getMoveOp(jq_Type type)
           
static Operand getSrc(Quad q)
           
 UnmodifiableList.RegisterOperand getUsedRegisters(Quad q)
           
 boolean hasSideEffects()
           
static void setDest(Quad q, Operand.RegisterOperand o)
           
static void setSrc(Quad q, Operand o)
           
 
Methods inherited from class joeq.Compiler.Quad.Operator
getReg1_check, getReg1, getReg12, getReg123, getReg1234, getReg124, getReg2, getReg23, getReg234, getReg24, getReg3, getThrownExceptions, interpret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operator.Move

public Operator.Move()
Method Detail

create

public static Quad create(int id,
                          Operator.Move operator,
                          Operand.RegisterOperand dst,
                          Operand src)

create

public static Quad create(int id,
                          RegisterFactory.Register r1,
                          RegisterFactory.Register r2,
                          jq_Type t)

getMoveOp

public static Operator.Move getMoveOp(jq_Type type)

getDest

public static Operand.RegisterOperand getDest(Quad q)

getSrc

public static Operand getSrc(Quad q)

setDest

public static void setDest(Quad q,
                           Operand.RegisterOperand o)

setSrc

public static void setSrc(Quad q,
                          Operand o)

hasSideEffects

public boolean hasSideEffects()
Specified by:
hasSideEffects in class Operator

getDefinedRegisters

public UnmodifiableList.RegisterOperand getDefinedRegisters(Quad q)
Overrides:
getDefinedRegisters in class Operator

getUsedRegisters

public UnmodifiableList.RegisterOperand getUsedRegisters(Quad q)
Overrides:
getUsedRegisters in class Operator

accept

public void accept(Quad q,
                   QuadVisitor qv)
Overrides:
accept in class Operator


Copyright © 2001-2008 John Whaley. All Rights Reserved.