All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.HCode | +----harpoon.IR.QuadSSA.Code
QuadSSA.Code
is a code view that exposes the details of
the java classfile bytecodes in a quadruple format. Implementation
details of the stack-based JVM are hidden in favor of a flat consistent
temporary-variable based approach. The generated quadruples adhere
to an SSA form; that is, every variable has exactly one definition,
and PHI
functions are used where control flow merges.
addPhi==false
.
Quad
s
making up this code view.
Quad
s making up
this code view.
HMethod
this codeview
belongs to.
public Code(HMethod parent, Quad quads, boolean addPhi)
addPhi
is true,
adds phi and sigma functions to the PHI
and
SIGMA
quads in the representations.
public Code(HMethod parent, Quad quads)
addPhi==false
.
public HCode clone(HMethod newMethod)
public HMethod getMethod()
HMethod
this codeview
belongs to.
public String getName()
"quad-ssa"
.
public static void register()
public HCodeElement getRootElement()
public HCodeElement[] getLeafElements()
public HCodeElement[] getElements()
Quad
s
making up this code view. The root of the graph
is in element 0 of the array.
public Enumeration getElementsE()
Quad
s making up
this code view. The root of the graph is the first element
enumerated.
All Packages Class Hierarchy This Package Previous Next Index