public class IPRangeAnalysis extends IPAnalysis
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeProcedure(IPANode node)
Performs intraprocedural range analysis.
|
static void |
clear()
Removes any existing interprocedural results.
|
static void |
compute(Program program)
Drives IPA by calling a customized MayMod analysis.
|
void |
start()
Starts interprocedural analysis.
|
boolean |
updateCall(IPANode node)
Updates the effect due to procedure call in the callee.
|
java.util.Set<CallSite> |
updateCalls(IPANode node)
Detects any changes in the range domain before call sites.
|
boolean |
updateReturn(IPANode node)
Checks any data change due to return from callee and updates the OUT data
if applicable.
|
getPassNamerunpublic static void compute(Program program)
public void start()
IPAnalysisstart in class IPAnalysispublic static void clear()
public void analyzeProcedure(IPANode node)
node - the node associated with the procedure.public java.util.Set<CallSite> updateCalls(IPANode node)
node - the node that was just analyzed.public boolean updateCall(IPANode node)
IPAnalysisnode - the node that was just analyzed.public boolean updateReturn(IPANode node)
node - the node that was just analyzed.