Interface IRFactory<T extends IMethod>

All Known Implementing Classes:
ArgumentSpecialization.ArgumentCountIRFactory, AstIRFactory, AstIRFactory.AstDefaultIRFactory, DefaultIRFactory, DexIRFactory, ShrikeIRFactory, SyntheticIRFactory

public interface IRFactory<T extends IMethod>
This is intended as an internal interface; clients probably shouldn't be using this directly.

If you have a call graph in hand, to get the IR for a CGNode, use node.getIR();

Otherwise, look at SSACache.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Does this factory always return the same IR for a method, regardless of context?
    makeIR(T method, Context c, SSAOptions options)
    Build an SSA IR for a method in a particular context
  • Method Details

    • makeIR

      IR makeIR(T method, Context c, SSAOptions options)
      Build an SSA IR for a method in a particular context
    • contextIsIrrelevant

      boolean contextIsIrrelevant(T method)
      Does this factory always return the same IR for a method, regardless of context?