All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.IR.QuadSSA.ALENGTH
java.lang.Object
|
+----harpoon.IR.QuadSSA.Quad
|
+----harpoon.IR.QuadSSA.ALENGTH
- public class ALENGTH
- extends Quad
ALENGTH
represents an array length query.
- Version:
- $Id: ALENGTH.java,v 1.9 1998/10/11 02:37:56 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- ANEW, AGET, ASET
-
dst
- The Temp in which to store the array length.
-
objectref
- The array reference to query.
-
ALENGTH(HCodeElement, Temp, Temp)
- Creates a
ALENGTH
.
-
def()
- Returns the Temp defined by this Quad.
-
renameDefs(TempMap)
- Rename all defined variables in this Quad according to a mapping.
-
renameUses(TempMap)
- Rename all used variables in this Quad according to a mapping.
-
toString()
- Returns a human-readable representation of this quad.
-
use()
- Returns the Temp used by this Quad.
-
visit(QuadVisitor)
- Accept a visitor.
dst
public Temp dst
- The Temp in which to store the array length.
objectref
public Temp objectref
- The array reference to query.
ALENGTH
public ALENGTH(HCodeElement source,
Temp dst,
Temp objectref)
- Creates a
ALENGTH
.
def
public Temp[] def()
- Returns the Temp defined by this Quad.
- Returns:
- the
dst
field.
- Overrides:
- def in class Quad
use
public Temp[] use()
- Returns the Temp used by this Quad.
- Returns:
- the
objectref
field.
- Overrides:
- use in class Quad
renameUses
public void renameUses(TempMap tm)
- Rename all used variables in this Quad according to a mapping.
- Overrides:
- renameUses in class Quad
renameDefs
public void renameDefs(TempMap tm)
- Rename all defined variables in this Quad according to a mapping.
- Overrides:
- renameDefs in class Quad
visit
public void visit(QuadVisitor v)
- Accept a visitor.
- Overrides:
- visit in class Quad
toString
public String toString()
- Returns a human-readable representation of this quad.
- Overrides:
- toString in class Quad
All Packages Class Hierarchy This Package Previous Next Index