|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--harpoon.ClassFile.HCode | +--harpoon.IR.Quads.Code | +--harpoon.IR.LowQuad.Code | +--harpoon.IR.LowQuad.LowQuadSSI
The LowQuadSSI
codeview exposes a lowquad based
representation in SSI form.
Nested Class Summary |
Nested classes inherited from class harpoon.ClassFile.HCode |
HCode.PrintCallback |
Field Summary | |
static String |
codename
The name of this code view. |
Fields inherited from class harpoon.IR.Quads.Code |
ai, parent, qf, quads |
Constructor Summary | |
protected |
LowQuadSSI(HMethod method,
Quad quads)
Create a new code object given a quadruple representation of the method instructions. |
|
LowQuadSSI(LowQuadNoSSA code)
Creates a LowQuadSSI object from a
LowQuadNoSSA object. |
Method Summary | |
HCodeAndMaps |
clone(HMethod newMethod)
Clone this code representation. |
static HCodeFactory |
codeFactory()
Return a code factory for LowQuadSSI , using the default
code factory for harpoon.IR.Quads.QuadSSI |
static HCodeFactory |
codeFactory(HCodeFactory hcf)
Return a code factory for LowQuadSSI , given a
code factory for QuadSSI . |
String |
getName()
Return the name of this code view. |
Methods inherited from class harpoon.IR.LowQuad.Code |
cloneHelper, getDerivation, newQF, setDerivation |
Methods inherited from class harpoon.IR.Quads.Code |
cloneHelper, elementArrayFactory, getAllocationInformation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, print, setAllocationInformation |
Methods inherited from class harpoon.ClassFile.HCode |
clone, elementIndexer, getElementsE, getElementsL, print, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String codename
Constructor Detail |
public LowQuadSSI(LowQuadNoSSA code)
LowQuadSSI
object from a
LowQuadNoSSA
object.
protected LowQuadSSI(HMethod method, Quad quads)
Method Detail |
public HCodeAndMaps clone(HMethod newMethod)
WARNING: does not preserve derivation or allocation info.
clone
in class Code
public String getName()
getName
in class Code
"low-quad-ssi"
public static HCodeFactory codeFactory(HCodeFactory hcf)
LowQuadSSI
, given a
code factory for QuadSSI
.
hcf
is a code factory for
QuadSSI
or LowQuadNoSSA
, then
creates and returns a code factory for LowQuadSSI
.
Else passes hcf
to
QuadSSI.codeFactory()
, and reattempts to
create a code factory for LowQuadSSI
from the
code factory returned by QuadSSI
.
QuadSSI.codeFactory(HCodeFactory)
public static HCodeFactory codeFactory()
LowQuadSSI
, using the default
code factory for harpoon.IR.Quads.QuadSSI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |