coins.simd
Class BoundanalysisUwForLir

java.lang.Object
  extended bycoins.simd.BoundanalysisUwForLir

public class BoundanalysisUwForLir
extends java.lang.Object

Class for the upward bound analysis.


Constructor Summary
(package private) BoundanalysisUwForLir(Function f)
           
 
Method Summary
 void boundanalysisUw(LirNode ins)
          Constructs an upward bound analyser.
 IntBound eval(LirNode ins, java.util.Hashtable tbl)
          Calculates a bound of each node.
 IntBound get(LirNode e)
          Retrieves a corresponding bound value for a node.
 void put(LirNode e, IntBound b)
          Stores a bound value for a node.
 void show()
          Prints out a bound value of each node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundanalysisUwForLir

BoundanalysisUwForLir(Function f)
Method Detail

boundanalysisUw

public void boundanalysisUw(LirNode ins)
Constructs an upward bound analyser.

Parameters:
ins - LirNode

eval

public IntBound eval(LirNode ins,
                     java.util.Hashtable tbl)
Calculates a bound of each node.

Parameters:
ins - LirNode
tbl - Hashtable

show

public void show()
Prints out a bound value of each node.


get

public IntBound get(LirNode e)
Retrieves a corresponding bound value for a node.

Parameters:
e - LirNode

put

public void put(LirNode e,
                IntBound b)
Stores a bound value for a node.

Parameters:
e - LirNode
b - IntBound