Class SsaToRop

java.lang.Object
com.android.dx.ssa.back.SsaToRop

public class SsaToRop extends Object
Converts a method in SSA form to ROP form.
  • Method Details

    • convertToRopMethod

      public static RopMethod convertToRopMethod(SsaMethod ssaMeth, boolean minimizeRegisters)
      Converts a method in SSA form to ROP form.
      Parameters:
      ssaMeth - non-null; method to process
      minimizeRegisters - true if the converter should attempt to minimize the rop-form register count
      Returns:
      non-null; rop-form output
    • getRegistersByFrequency

      public int[] getRegistersByFrequency()
      Note: This method is not presently used.
      Returns:
      a list of registers ordered by most-frequently-used to least-frequently-used. Each register is listed once and only once.