harpoon.Analysis.SizeOpt
Class MostlyZeroFinder
java.lang.Object
harpoon.Analysis.Transformation.MethodMutator<Quad>
harpoon.Analysis.SizeOpt.MostlyZeroFinder
- All Implemented Interfaces:
- Serializable
public class MostlyZeroFinder
- extends MethodMutator<Quad>
The MostlyZeroFinder
will add counters to find fields
which are mostly zero (or mostly 1, 2, etc).
- Version:
- $Id: MostlyZeroFinder.java,v 1.10 2004/07/02 00:08:47 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MostlyZeroFinder
public MostlyZeroFinder(HCodeFactory parent,
ClassHierarchy ch,
Frame frame)
- Creates a
MostlyZeroFinder
using the given
code factory, class hierarchy, and frame.
mutateHCode
protected HCode<Quad> mutateHCode(HCodeAndMaps<Quad> input)
- Description copied from class:
MethodMutator
- Override this method to effect transformations on split
methods.
- Overrides:
mutateHCode
in class MethodMutator<Quad>