joeq.Compiler.Quad
Class PointerExplorer

java.lang.Object
  extended by joeq.Compiler.Quad.PointerExplorer

public class PointerExplorer
extends java.lang.Object

Version:
$Id: PointerExplorer.java,v 1.31 2004/09/22 22:17:26 joewhaley Exp $
Author:
John Whaley

Nested Class Summary
static class PointerExplorer.InlineSet
           
static class PointerExplorer.Specialization
           
static class PointerExplorer.SpecializationParameter
           
 
Field Summary
static AndersenPointerAnalysis apa
           
static java.util.Map callGraph
           
static java.io.BufferedReader in
           
static java.util.List inlineCommands
           
static java.util.Map methodToCallSites
           
static java.util.Set rootSet
           
static java.util.Set selectedCallSites
           
static java.util.Map toInline
           
 
Constructor Summary
PointerExplorer()
           
 
Method Summary
static void buildCloneCache(java.util.HashMap to_clone)
           
static void doInlining()
           
static void doInlining(java.util.Set inline)
           
static jq_Method getMethod()
           
static jq_Method getMethod(jq_Class klass, java.lang.String name)
           
static jq_Method getMethod(java.util.Set set)
           
static jq_Method getMethod(java.lang.String[] args, int start)
           
static void main(java.lang.String[] args)
           
static void recalculateInliningCompleteness()
           
static java.util.Set[] reorderInlineSites(java.util.Map toInline)
           
static void selectCallSites(java.lang.String desc, java.util.Iterator i, java.util.Iterator i2)
           
static java.util.SortedSet sortByNumberOfTargets(java.util.Map callGraph)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

public static final java.io.BufferedReader in

apa

public static AndersenPointerAnalysis apa

callGraph

public static java.util.Map callGraph

rootSet

public static java.util.Set rootSet

selectedCallSites

public static java.util.Set selectedCallSites

methodToCallSites

public static java.util.Map methodToCallSites

toInline

public static java.util.Map toInline

inlineCommands

public static java.util.List inlineCommands
Constructor Detail

PointerExplorer

public PointerExplorer()
Method Detail

getMethod

public static jq_Method getMethod(java.util.Set set)
                           throws java.io.IOException
Throws:
java.io.IOException

getMethod

public static jq_Method getMethod()
                           throws java.io.IOException
Throws:
java.io.IOException

getMethod

public static jq_Method getMethod(java.lang.String[] args,
                                  int start)
                           throws java.io.IOException
Throws:
java.io.IOException

getMethod

public static jq_Method getMethod(jq_Class klass,
                                  java.lang.String name)
                           throws java.io.IOException
Throws:
java.io.IOException

sortByNumberOfTargets

public static java.util.SortedSet sortByNumberOfTargets(java.util.Map callGraph)

selectCallSites

public static void selectCallSites(java.lang.String desc,
                                   java.util.Iterator i,
                                   java.util.Iterator i2)
                            throws java.io.IOException
Throws:
java.io.IOException

recalculateInliningCompleteness

public static void recalculateInliningCompleteness()

doInlining

public static void doInlining(java.util.Set inline)

reorderInlineSites

public static java.util.Set[] reorderInlineSites(java.util.Map toInline)

doInlining

public static void doInlining()

buildCloneCache

public static void buildCloneCache(java.util.HashMap to_clone)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException