harpoon.IR.LowQuad
Class Code
java.lang.Object
harpoon.ClassFile.HCode<Quad>
harpoon.IR.Quads.Code
harpoon.IR.LowQuad.Code
- All Implemented Interfaces:
- Graph<Quad,Edge>, Serializable
- Direct Known Subclasses:
- LowQuadNoSSA, LowQuadSSA, LowQuadSSI
public abstract class Code
- extends Code
LowQuad.Code
is an abstract superclass of codeviews
using the components in IR.LowQuad
. It implements
shared methods for the various codeviews using LowQuad
s.
- Version:
- $Id: Code.java,v 1.3 2003/03/10 22:19:13 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
Methods inherited from class harpoon.IR.Quads.Code |
clone, cloneHelper, elementArrayFactory, getAllocationInformation, getElements, getElementsI, getLeafElements, getMethod, getName, getRootElement, nodes, notifyReplace, print, selectAllocations, selectCALLs, selectQuads, setAllocationInformation |
Code
protected Code(HMethod parent,
Quad quads)
newQF
protected QuadFactory newQF(HMethod parent)
- Make the quad factory.
- Overrides:
newQF
in class Code
getDerivation
public Derivation<Quad> getDerivation()
- Return a
Derivation
object for this
LowQuad.Code
.
- Overrides:
getDerivation
in class Code
- Returns:
null
, always.
setDerivation
protected void setDerivation(Derivation<Quad> deriv)
- Allow subclasses to initialize the
Derivation
for
this LowQuad.Code
.
cloneHelper
protected HCodeAndMaps<Quad> cloneHelper(Code _this,
Code qc)
- Description copied from class:
Code
- Helper for clone
- Overrides:
cloneHelper
in class Code