public static class BciBlockMapping.BciBlock extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
BciBlockMapping.BciBlock.JSRData |
Modifier and Type | Field and Description |
---|---|
private boolean |
active |
int |
endBci |
protected int |
id |
boolean |
isExceptionEntry |
boolean |
isLoopHeader |
BciBlockMapping.BciBlock.JSRData |
jsrData |
int |
loopEnd |
int |
loopId |
long |
loops |
private int |
predecessorCount |
int |
startBci |
protected List<BciBlockMapping.BciBlock> |
successors |
private boolean |
visited |
Constructor and Description |
---|
BciBlock() |
protected int id
public int startBci
public int endBci
public boolean isExceptionEntry
public boolean isLoopHeader
public int loopId
public int loopEnd
protected List<BciBlockMapping.BciBlock> successors
private int predecessorCount
private boolean visited
private boolean active
public long loops
public BciBlockMapping.BciBlock.JSRData jsrData
public BciBlock()
public BciBlockMapping.BciBlock exceptionDispatchBlock()
public int getId()
public int getPredecessorCount()
public int numNormalSuccessors()
public BciBlockMapping.BciBlock copy()
public int getLoopDepth()
public boolean isLoopHeader()
public boolean isExceptionEntry()
public BciBlockMapping.BciBlock getSuccessor(int index)
public int getLoopId()
public Iterable<Integer> loopIdIterable()
private static Iterator<Integer> idIterator(long field)
public double probability()
public BciBlockMapping.BciBlock getPostdominator()
private BciBlockMapping.BciBlock.JSRData getOrCreateJSRData()
void setEndsWithRet()
public JsrScope getJsrScope()
public boolean endsWithRet()
void setRetSuccessor(BciBlockMapping.BciBlock bciBlock)
public BciBlockMapping.BciBlock getRetSuccessor()
public BciBlockMapping.BciBlock getJsrSuccessor()
public int getJsrReturnBci()
public HashMap<JsrScope,BciBlockMapping.BciBlock> getJsrAlternatives()
public void initJsrAlternatives()
void setJsrScope(JsrScope nextScope)
void setJsrSuccessor(BciBlockMapping.BciBlock clone)
void setJsrReturnBci(int bci)
public int getSuccessorCount()
public List<BciBlockMapping.BciBlock> getSuccessors()
void setId(int i)
public void addSuccessor(BciBlockMapping.BciBlock sux)
public void clearSucccessors()