public abstract class AbstractBlockBase<T extends AbstractBlockBase<T>> extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
align |
protected int |
domDepth |
private List<T> |
dominated |
private T |
dominator |
private int |
domNumber |
protected int |
id |
private int |
linearScanNumber |
private int |
maxChildDomNumber |
protected List<T> |
predecessors |
protected List<T> |
successors |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBlockBase() |
Modifier and Type | Method and Description |
---|---|
List<T> |
getDominated() |
T |
getDominator() |
abstract T |
getDominator(int distance) |
int |
getDominatorDepth() |
int |
getDominatorNumber() |
int |
getId() |
int |
getLinearScanNumber() |
abstract Loop<T> |
getLoop() |
abstract int |
getLoopDepth() |
int |
getMaxChildDominatorNumber() |
abstract T |
getPostdominator() |
int |
getPredecessorCount() |
List<T> |
getPredecessors() |
int |
getSuccessorCount() |
List<T> |
getSuccessors() |
boolean |
isAligned() |
abstract boolean |
isExceptionEntry() |
abstract boolean |
isLoopEnd() |
abstract boolean |
isLoopHeader() |
abstract double |
probability() |
void |
setAlign(boolean align) |
void |
setDominated(List<T> blocks) |
void |
setDominator(T dominator) |
void |
setDominatorNumbers(int domNumber,
int maxChildDomNumber) |
void |
setId(int id) |
void |
setLinearScanNumber(int linearScanNumber) |
void |
setPredecessors(List<T> predecessors) |
void |
setSuccessors(List<T> successors) |
String |
toString() |
protected int id
protected int domDepth
protected List<T extends AbstractBlockBase<T>> predecessors
protected List<T extends AbstractBlockBase<T>> successors
private T extends AbstractBlockBase<T> dominator
private List<T extends AbstractBlockBase<T>> dominated
private int domNumber
private int maxChildDomNumber
private boolean align
private int linearScanNumber
protected AbstractBlockBase()
public void setDominatorNumbers(int domNumber, int maxChildDomNumber)
public int getDominatorNumber()
public int getMaxChildDominatorNumber()
public int getId()
public void setId(int id)
public List<T> getPredecessors()
public void setPredecessors(List<T> predecessors)
public List<T> getSuccessors()
public void setSuccessors(List<T> successors)
public T getDominator()
public void setDominator(T dominator)
public int getDominatorDepth()
public List<T> getDominated()
public void setDominated(List<T> blocks)
public int getPredecessorCount()
public int getSuccessorCount()
public int getLinearScanNumber()
public void setLinearScanNumber(int linearScanNumber)
public boolean isAligned()
public void setAlign(boolean align)
public abstract boolean isExceptionEntry()
public abstract int getLoopDepth()
public abstract boolean isLoopEnd()
public abstract boolean isLoopHeader()
public abstract T getPostdominator()
public abstract double probability()
public abstract T getDominator(int distance)