public class FindStructuredBlockEndNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) com.ibm.wala.ssa.SSACFG |
cfg |
(package private) com.ibm.wala.ssa.ISSABasicBlock |
maxLimit |
(package private) com.ibm.wala.ssa.ISSABasicBlock |
minConvergingNode |
(package private) com.ibm.wala.ssa.ISSABasicBlock |
minLimit |
(package private) java.util.PriorityQueue<com.ibm.wala.ssa.ISSABasicBlock> |
remaining |
static StaticRegionException |
staticRegionException |
Constructor and Description |
---|
FindStructuredBlockEndNode(com.ibm.wala.ssa.SSACFG cfg,
com.ibm.wala.ssa.ISSABasicBlock initial,
com.ibm.wala.ssa.ISSABasicBlock maxLimit) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkRanges(com.ibm.wala.ssa.ISSABasicBlock parent,
com.ibm.wala.ssa.ISSABasicBlock b) |
(package private) void |
findCommonSuccessor(com.ibm.wala.ssa.ISSABasicBlock b)
This attempts to walk all successors of a block to try to find the end block node.
|
com.ibm.wala.ssa.ISSABasicBlock |
findMinConvergingNode()
Finds the end block of a region.
|
boolean |
predIsReturn(com.ibm.wala.ssa.ISSABasicBlock terminus) |
java.util.PriorityQueue<com.ibm.wala.ssa.ISSABasicBlock> remaining
com.ibm.wala.ssa.ISSABasicBlock minConvergingNode
com.ibm.wala.ssa.ISSABasicBlock maxLimit
com.ibm.wala.ssa.ISSABasicBlock minLimit
com.ibm.wala.ssa.SSACFG cfg
public static StaticRegionException staticRegionException
public FindStructuredBlockEndNode(com.ibm.wala.ssa.SSACFG cfg, com.ibm.wala.ssa.ISSABasicBlock initial, com.ibm.wala.ssa.ISSABasicBlock maxLimit)
void checkRanges(com.ibm.wala.ssa.ISSABasicBlock parent, com.ibm.wala.ssa.ISSABasicBlock b) throws StaticRegionException
StaticRegionException
void findCommonSuccessor(com.ibm.wala.ssa.ISSABasicBlock b) throws StaticRegionException
b
- The block which we need to find the common successor for all its successors.StaticRegionException
- An exception that indicates that something has went wrong during computation.public com.ibm.wala.ssa.ISSABasicBlock findMinConvergingNode() throws StaticRegionException
StaticRegionException
- An exception that indicates that something has went wrong during computation.public boolean predIsReturn(com.ibm.wala.ssa.ISSABasicBlock terminus)