|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Util.LightBasicBlocks.SCCLBBFactory
public class SCCLBBFactory
SCCLBBFactory
computes the topologically sorted component
graph of the light basic blocks containing the code of a method.
Constructor Summary | |
---|---|
SCCLBBFactory(LBBConverter lbbconv)
Creates a SCCLBBFactory . |
Method Summary | |
---|---|
jpaul.Graphs.TopSortedCompDiGraph<LightBasicBlock> |
computeSCCLBB(HMethod hm)
Generates the code of the method hm using the
HCodeFactory passed to the constructor of
this object, cut it into pieces (i.e. |
LBBConverter |
getLBBConverter()
Returns the underlying LBBConverter . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCCLBBFactory(LBBConverter lbbconv)
SCCLBBFactory
.
Method Detail |
---|
public LBBConverter getLBBConverter()
LBBConverter
. This is the
same as the one passed to the constructor of this
object.
public jpaul.Graphs.TopSortedCompDiGraph<LightBasicBlock> computeSCCLBB(HMethod hm)
hm
using the
HCodeFactory
passed to the constructor of
this
object, cut it into pieces (i.e.
LightBasicBlock
s), build the strongly connected componnets
of LightBasicBlock
s and sort them topologically.
Returns the sorted graph.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |