public class DefaultSSAInterpreter extends DefaultRTAInterpreter implements SSAContextInterpreter
| Constructor and Description |
|---|
DefaultSSAInterpreter(AnalysisOptions options,
IAnalysisCacheView cache) |
| Modifier and Type | Method and Description |
|---|---|
ControlFlowGraph<SSAInstruction,ISSABasicBlock> |
getCFG(CGNode N) |
DefUse |
getDU(CGNode node) |
IR |
getIR(CGNode node) |
IRView |
getIRView(CGNode node) |
int |
getNumberOfStatements(CGNode node) |
java.util.Iterator<CallSiteReference> |
iterateCallSites(CGNode node) |
java.util.Iterator<NewSiteReference> |
iterateNewSites(CGNode node) |
boolean |
recordFactoryType(CGNode node,
IClass klass)
record that the "factory" method of a node should be interpreted to allocate a particular
class.
|
iterateFieldsRead, iterateFieldsWritten, understandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerateFieldsRead, iterateFieldsWrittenunderstandspublic DefaultSSAInterpreter(AnalysisOptions options, IAnalysisCacheView cache)
public IR getIR(CGNode node)
getIR in interface SSAContextInterpreterpublic IRView getIRView(CGNode node)
getIRView in interface SSAContextInterpreterpublic int getNumberOfStatements(CGNode node)
getNumberOfStatements in interface SSAContextInterpreterpublic java.util.Iterator<NewSiteReference> iterateNewSites(CGNode node)
iterateNewSites in interface CHAContextInterpreteriterateNewSites in interface RTAContextInterpreteriterateNewSites in class DefaultRTAInterpreterpublic java.util.Iterator<CallSiteReference> iterateCallSites(CGNode node)
iterateCallSites in interface CHAContextInterpreteriterateCallSites in class DefaultRTAInterpreterpublic boolean recordFactoryType(CGNode node, IClass klass)
RTAContextInterpreterTODO: this is a little ugly, is there a better place to move this?
recordFactoryType in interface RTAContextInterpreterrecordFactoryType in class DefaultRTAInterpreterpublic ControlFlowGraph<SSAInstruction,ISSABasicBlock> getCFG(CGNode N)
getCFG in interface SSAContextInterpreterpublic DefUse getDU(CGNode node)
getDU in interface SSAContextInterpreter