|
||||||||||
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.LowQuadSSA
The LowQuadSSA
codeview exposes a lowquad based
representation in SSA 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 |
LowQuadSSA(HMethod method,
Quad quads)
Create a new code object given a quadruple representation of the method instructions. |
|
LowQuadSSA(LowQuadSSI code)
Creates a LowQuadSSA object from a
LowQuadSSI object. |
Method Summary | |
HCodeAndMaps |
clone(HMethod newMethod)
Clone this code representation. |
static HCodeFactory |
codeFactory()
Return a code factory for LowQuadSSA , using the default
code factory for LowQuadSSI |
static HCodeFactory |
codeFactory(HCodeFactory hcf)
Return a code factory for LowQuadSSA , given a
code factory for LowQuadSSI . |
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 LowQuadSSA(LowQuadSSI code)
LowQuadSSA
object from a
LowQuadSSI
object.
protected LowQuadSSA(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-ssa"
public static HCodeFactory codeFactory(HCodeFactory hcf)
LowQuadSSA
, given a
code factory for LowQuadSSI
.
hcf
is a code factory for
LowQuadSSI
, then creates and returns a code
factory for LowQuadSSA
. Else passes
hcf
to
LowQuadSSI.codeFactory()
, and reattempts to
create a code factory for LowQuadSSA
from the
code factory returned by LowQuadSSI
.
LowQuadSSI.codeFactory(HCodeFactory)
public static HCodeFactory codeFactory()
LowQuadSSA
, using the default
code factory for LowQuadSSI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |