harpoon.Analysis.LowQuad.Loop
Class MyLowQuadNoSSA

java.lang.Object
  extended by harpoon.ClassFile.HCode<Quad>
      extended by harpoon.IR.Quads.Code
          extended by harpoon.IR.LowQuad.Code
              extended by harpoon.IR.LowQuad.LowQuadNoSSA
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class harpoon.ClassFile.HCode
HCode.PrintCallback<HCE extends HCodeElement>
 
Nested classes/interfaces inherited from interface harpoon.Analysis.Maps.Derivation
Derivation.DList
 
Nested classes/interfaces inherited from interface harpoon.Analysis.Maps.TypeMap
TypeMap.TypeNotKnownException
 
Nested classes/interfaces inherited from interface harpoon.Util.Collections.Graph
Graph.Edge<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>, Graph.Node<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>
 
Field Summary
static String codename
           
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Method Summary
 Derivation.DList derivation(HCodeElement hce, Temp t)
          Map compiler temporaries to their derivations.
 String getName()
          Return the name of this code view.
 HClass typeMap(HCodeElement hce, Temp t)
          Return the type of a given temporary t, as defined at the definition point hce.
 
Methods inherited from class harpoon.IR.LowQuad.LowQuadNoSSA
clone, codeFactory, codeFactory
 
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, nodes, notifyReplace, print, selectAllocations, selectCALLs, selectQuads, setAllocationInformation
 
Methods inherited from class harpoon.ClassFile.HCode
clone, elementIndexer, getElementsL, print, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

codename

public static final String codename
See Also:
Constant Field Values
Method Detail

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, TypeMaps 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"