com.android.dx.ssa.back
Class SsaToRop

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

public class SsaToRop
extends Object

Converts a method in SSA form to ROP form.


Method Summary
static RopMethod convertToRopMethod(SsaMethod ssaMeth, boolean minimizeRegisters)
          Converts a method in SSA form to ROP form.
 int[] getRegistersByFrequency()
          Note: This method is not presently used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2015. All rights reserved.