|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Util.LightBasicBlocks.LightBasicBlock.Factory
public static class LightBasicBlock.Factory
Converts the large, set based, basic blocks produced
by a BasicBlock.Factory
into smaller, array based,
light basic blocks.
Constructor Summary | |
---|---|
LightBasicBlock.Factory(BasicBlockFactoryInterf bbfact)
Creates a LighBasicBlock.Factory object. |
Method Summary | |
---|---|
LightBasicBlock[] |
getAllBBs()
Returns all the LightBasicBlock s of the underlying
HCode . |
LightBasicBlock |
getBlock(HCodeElement hce)
Returns the LightBasicBlock the instruction
hce belongs to. |
HCode |
getHCode()
Returns the underlying HCode . |
LightBasicBlock |
getRoot()
Returns the root LightBasicBlock . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LightBasicBlock.Factory(BasicBlockFactoryInterf bbfact)
LighBasicBlock.Factory
object.
It simply converts the large, set based, basic blocks produced
by bbfact
into smaller, array based, light basic
blocks.
Method Detail |
---|
public HCode getHCode()
HCode
. This factory returns
LightBasicBlock
s of the code returned by this
method.
public LightBasicBlock[] getAllBBs()
LightBasicBlock
s of the underlying
HCode
.
public LightBasicBlock getRoot()
LightBasicBlock
.
public LightBasicBlock getBlock(HCodeElement hce)
LightBasicBlock
the instruction
hce
belongs to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |