public static InterferenceGraph constructInterferenceGraph(SsaMethod ssaMeth) {
    int szRegs = ssaMeth.getRegCount();
    InterferenceGraph interference = new InterferenceGraph(szRegs);

    for (int i = 0; i < szRegs; i++) {
      new LivenessAnalyzer(ssaMeth, i, interference).run();
    }

    coInterferePhis(ssaMeth, interference);

    return interference;
  }
Runs register liveness algorithm for a method, updating the live in/out information in {@code
SsaBasicBlock} instances and returning an interference graph.

@param ssaMeth {@code non-null;} method to process
@return {@code non-null;} interference graph indexed by SSA registers in both directions
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/LivenessAnalyzer.java