harpoon.Analysis.LowQuad.Loop
Class MyLowQuadNoSSA
java.lang.Object
harpoon.ClassFile.HCode<Quad>
harpoon.IR.Quads.Code
harpoon.IR.LowQuad.Code
harpoon.IR.LowQuad.LowQuadNoSSA
harpoon.Analysis.LowQuad.Loop.MyLowQuadNoSSA
- All Implemented Interfaces:
- Derivation, TypeMap, Graph<Quad,Edge>, Serializable
public class MyLowQuadNoSSA
- extends LowQuadNoSSA
- implements Derivation
MyLowQuadNoSSA
- Version:
- $Id: MyLowQuadNoSSA.java,v 1.5 2004/02/08 03:19:44 cananian Exp $
- Author:
- Brian Demsky <bdemsky@mit.edu>
- See Also:
- Serialized Form
Methods inherited from class harpoon.IR.Quads.Code |
cloneHelper, elementArrayFactory, getAllocationInformation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, nodes, notifyReplace, print, selectAllocations, selectCALLs, selectQuads, setAllocationInformation |
codename
public static final String codename
- See Also:
- Constant Field Values
derivation
public Derivation.DList derivation(HCodeElement hce,
Temp t)
- Description copied from interface:
Derivation
- Map compiler temporaries to their derivations.
- Specified by:
derivation
in interface Derivation
- Parameters:
hce
- A definition point for t
.t
- The temporary to query.
- Returns:
null
if the temporary has no derivation (is
a base pointer, for example), or the derivation otherwise.
typeMap
public HClass typeMap(HCodeElement hce,
Temp t)
- Description copied from interface:
TypeMap
- Return the type of a given temporary
t
, as defined
at the definition point hce
. Iff the type of the
temporary is not known, or if hce
does not define
t
, throws TypeNotKnownException
. If
the temporary represents a derived pointer, null
should be returned; in which case the Derivation
must return a non-null
value. Obviously,
TypeMap
s for high-level representations without
derived pointers should never return null
. As a
special case, HClass.Void
may be returned in
low-level IRs to indicate an opaque pointer value which does
not correspond to a java object pointer or some
derivation thereof --- for example, a pointer into a method
dispatch table. The only other time HClass.Void
should be returned is for known-null
pointer values.
- Specified by:
typeMap
in interface TypeMap
- Parameters:
hce
- The HCodeElement
defining t
.t
- The temporary to examine.
- Returns:
- the static type of
t
.
getName
public String getName()
- Description copied from class:
LowQuadNoSSA
- Return the name of this code view.
- Overrides:
getName
in class LowQuadNoSSA
- Returns:
- the string
"low-quad-no-ssa"