public class SSACache extends Object
Modifier and Type | Method and Description |
---|---|
DefUse |
findOrCreateDU(IMethod m,
Context c,
SSAOptions options) |
DefUse |
findOrCreateDU(IR ir,
Context C) |
IR |
findOrCreateIR(IMethod m,
Context c,
SSAOptions options) |
void |
invalidate(IMethod method,
Context c)
Invalidate all cached information for a
|
void |
invalidateDU(IMethod method,
Context c)
Invalidate the cached
DefUse for a |
void |
invalidateIR(IMethod method,
Context c)
Invalidate the cached IR for a
|
void |
wipe()
The existence of this is unfortunate.
|
public IR findOrCreateIR(IMethod m, Context c, SSAOptions options)
m
- a "normal" (bytecode-based) methodoptions
- options governing ssa constructionIllegalArgumentException
- if m is nullpublic DefUse findOrCreateDU(IMethod m, Context c, SSAOptions options)
m
- a methodoptions
- options governing ssa constructionIllegalArgumentException
- if m is nullpublic DefUse findOrCreateDU(IR ir, Context C)
DefUse
information for m, built according to the specified options. null if unavailableIllegalArgumentException
- if ir is nullpublic void wipe()
public void invalidateIR(IMethod method, Context c)
public void invalidateDU(IMethod method, Context c)
DefUse
for a