|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.backend.DominanceFrontier
public class DominanceFrontier
This class computes and manages dominance frontiers for a graph.
$Id: DominanceFrontier.java,v 1.2 2005-03-24 13:56:45 burrill Exp $
Copyright 2008 by the
Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
Constructor Summary | |
---|---|
DominanceFrontier(Node begin,
Domination dom)
|
Method Summary | |
---|---|
static int |
computed()
Return the number of times the dominance frontier was computed. |
static int |
created()
Return the number of instances of this class that were created. |
java.util.Iterator<Node> |
getDominanceFrontier(Node bb)
Return an iteration of all of the nodes on the dominance frontier of a PFG node. |
boolean |
inDominanceFrontier(Node b1,
Node b2)
Return true if b2 is in b1's dominance frontier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DominanceFrontier(Node begin, Domination dom)
begin
- is the root node of the PFG (or end node for post-dominators)dom
- is the (post) dominance relation shipMethod Detail |
---|
public static int created()
public static int computed()
public java.util.Iterator<Node> getDominanceFrontier(Node bb)
bb
- the node for which the dominance frontier is requested.public boolean inDominanceFrontier(Node b1, Node b2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |