public class ShrikeIRFactory extends Object implements IRFactory<IBytecodeMethod>
IRFactory
that for methods that originate from Shrike.Modifier and Type | Field and Description |
---|---|
static boolean |
buildLocalMap |
Constructor and Description |
---|
ShrikeIRFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
contextIsIrrelevant(IBytecodeMethod method)
Does this factory always return the same IR for a method, regardless of context?
|
ControlFlowGraph |
makeCFG(IBytecodeMethod method,
Context C) |
IR |
makeIR(IBytecodeMethod method,
Context C,
SSAOptions options)
Build an SSA
IR for a method in a particular context |
public static final boolean buildLocalMap
public ControlFlowGraph makeCFG(IBytecodeMethod method, Context C)
public IR makeIR(IBytecodeMethod method, Context C, SSAOptions options) throws IllegalArgumentException
IRFactory
IR
for a method in a particular contextmakeIR
in interface IRFactory<IBytecodeMethod>
IllegalArgumentException
public boolean contextIsIrrelevant(IBytecodeMethod method)
IRFactory
contextIsIrrelevant
in interface IRFactory<IBytecodeMethod>