final class org.graalvm.compiler.lir.RedundantMoveElimination$Optimization
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization
  super_class: java.lang.Object
{
  java.util.Map<org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.lir.RedundantMoveElimination$BlockData> blockData;
    descriptor: Ljava/util/Map;
    flags: (0x0000) 
    Signature: Ljava/util/Map<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/lir/RedundantMoveElimination$BlockData;>;

  jdk.vm.ci.code.RegisterArray callerSaveRegs;
    descriptor: Ljdk/vm/ci/code/RegisterArray;
    flags: (0x0000) 

  int[] eligibleRegs;
    descriptor: [I
    flags: (0x0000) 

  java.util.Map<java.lang.Integer, java.lang.Integer> stackIndices;
    descriptor: Ljava/util/Map;
    flags: (0x0000) 
    Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Integer;>;

  int numRegs;
    descriptor: I
    flags: (0x0000) 

  private final org.graalvm.compiler.lir.framemap.FrameMap frameMap;
    descriptor: Lorg/graalvm/compiler/lir/framemap/FrameMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final int INIT_VALUE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final int COMPLEXITY_LIMIT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 30000

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 104
            ldc Lorg/graalvm/compiler/lir/RedundantMoveElimination;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
         3: .line 168
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(org.graalvm.compiler.lir.framemap.FrameMap);
    descriptor: (Lorg/graalvm/compiler/lir/framemap/FrameMap;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
         0: .line 130
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 106
            aload 0 /* this */
            invokestatic org.graalvm.compiler.core.common.CollectionsFactory.newMap:()Ljava/util/HashMap;
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.blockData:Ljava/util/Map;
         2: .line 119
            aload 0 /* this */
            invokestatic org.graalvm.compiler.core.common.CollectionsFactory.newMap:()Ljava/util/HashMap;
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
         3: .line 131
            aload 0 /* this */
            aload 1 /* frameMap */
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.frameMap:Lorg/graalvm/compiler/lir/framemap/FrameMap;
         4: .line 132
            return
        end local 1 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0    5     1  frameMap  Lorg/graalvm/compiler/lir/framemap/FrameMap;
    MethodParameters:
          Name  Flags
      frameMap  

  private void doOptimize(org.graalvm.compiler.lir.LIR);
    descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // org.graalvm.compiler.lir.LIR lir
         0: .line 140
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: ldc "eliminate redundant moves"
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
            astore 4 /* indent */
        start local 4 // org.graalvm.compiler.debug.Indent indent
         2: .line 142
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.frameMap:Lorg/graalvm/compiler/lir/framemap/FrameMap;
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getRegisterConfig:()Ljdk/vm/ci/code/RegisterConfig;
            invokeinterface jdk.vm.ci.code.RegisterConfig.getCallerSaveRegisters:()Ljdk/vm/ci/code/RegisterArray;
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.callerSaveRegs:Ljdk/vm/ci/code/RegisterArray;
         3: .line 144
            aload 0 /* this */
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.initBlockData:(Lorg/graalvm/compiler/lir/LIR;)V
         4: .line 148
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            newarray 10
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.eligibleRegs:[I
         5: .line 149
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.eligibleRegs:[I
            iconst_m1
            invokestatic java.util.Arrays.fill:([II)V
         6: .line 150
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.frameMap:Lorg/graalvm/compiler/lir/framemap/FrameMap;
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getRegisterConfig:()Ljdk/vm/ci/code/RegisterConfig;
            invokeinterface jdk.vm.ci.code.RegisterConfig.getAllocatableRegisters:()Ljdk/vm/ci/code/RegisterArray;
            invokevirtual jdk.vm.ci.code.RegisterArray.iterator:()Ljava/util/Iterator;
            astore 6
            goto 10
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top java.util.Iterator
      StackMap stack:
         7: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.vm.ci.code.Register
            astore 5 /* reg */
        start local 5 // jdk.vm.ci.code.Register reg
         8: .line 151
            aload 5 /* reg */
            getfield jdk.vm.ci.code.Register.number:I
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            if_icmpge 10
         9: .line 152
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.eligibleRegs:[I
            aload 5 /* reg */
            getfield jdk.vm.ci.code.Register.number:I
            aload 5 /* reg */
            getfield jdk.vm.ci.code.Register.number:I
            iastore
        end local 5 // jdk.vm.ci.code.Register reg
        10: .line 150
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        11: .line 156
            aload 0 /* this */
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.solveDataFlow:(Lorg/graalvm/compiler/lir/LIR;)Z
            ifne 14
        12: .line 161
            aload 4 /* indent */
            ifnull 13
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        13: .line 157
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack:
            return
        14: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.eliminateMoves:(Lorg/graalvm/compiler/lir/LIR;)V
        15: .line 161
            aload 4 /* indent */
            ifnull 21
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 21
      StackMap locals:
      StackMap stack: java.lang.Throwable
        16: astore 2
            aload 4 /* indent */
            ifnull 17
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 4 // org.graalvm.compiler.debug.Indent indent
      StackMap locals:
      StackMap stack:
        17: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 3
            aload 2
            ifnonnull 19
            aload 3
            astore 2
            goto 20
      StackMap locals:
      StackMap stack:
        19: aload 2
            aload 3
            if_acmpeq 20
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        20: aload 2
            athrow
        21: .line 162
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.graalvm.compiler.lir.LIR lir
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   22     0    this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   22     1     lir  Lorg/graalvm/compiler/lir/LIR;
            2   17     4  indent  Lorg/graalvm/compiler/debug/Indent;
            8   10     5     reg  Ljdk/vm/ci/code/Register;
      Exception table:
        from    to  target  type
           2    12      16  any
          14    15      16  any
           1    13      18  any
          14    18      18  any
    MethodParameters:
      Name  Flags
      lir   

  private void initBlockData(org.graalvm.compiler.lir.LIR);
    descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=14, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // org.graalvm.compiler.lir.LIR lir
         0: .line 172
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.LIR.linearScanOrder:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            astore 2 /* blocks */
        start local 2 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
         1: .line 173
            aload 0 /* this */
            iconst_0
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
         2: .line 175
            sipush 30000
            aload 2 /* blocks */
            arraylength
            idiv
            istore 3 /* maxStackLocations */
        start local 3 // int maxStackLocations
         3: .line 181
            aload 2 /* blocks */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 22
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
         4: aload 7
            iload 5
            aaload
            astore 4 /* block */
        start local 4 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
         5: .line 182
            aload 1 /* lir */
            aload 4 /* block */
            invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
            astore 8 /* instructions */
        start local 8 // java.util.List instructions
         6: .line 183
            aload 8 /* instructions */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 10
            goto 20
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.util.List top java.util.Iterator
      StackMap stack:
         7: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.LIRInstruction
            astore 9 /* op */
        start local 9 // org.graalvm.compiler.lir.LIRInstruction op
         8: .line 184
            aload 9 /* op */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isEligibleMove:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
            ifeq 20
         9: .line 185
            aload 9 /* op */
            checkcast org.graalvm.compiler.lir.StandardOp$MoveOp
            invokeinterface org.graalvm.compiler.lir.StandardOp$MoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
            astore 11 /* dest */
        start local 11 // jdk.vm.ci.meta.Value dest
        10: .line 186
            aload 11 /* dest */
            invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
            ifeq 15
        11: .line 187
            aload 11 /* dest */
            checkcast jdk.vm.ci.code.RegisterValue
            invokevirtual jdk.vm.ci.code.RegisterValue.getRegister:()Ljdk/vm/ci/code/Register;
            getfield jdk.vm.ci.code.Register.number:I
            istore 12 /* regNum */
        start local 12 // int regNum
        12: .line 188
            iload 12 /* regNum */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            if_icmplt 20
        13: .line 189
            aload 0 /* this */
            iload 12 /* regNum */
            iconst_1
            iadd
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
        end local 12 // int regNum
        14: .line 191
            goto 20
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.util.List org.graalvm.compiler.lir.LIRInstruction java.util.Iterator jdk.vm.ci.meta.Value
      StackMap stack:
        15: aload 11 /* dest */
            invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
            ifeq 20
        16: .line 192
            aload 11 /* dest */
            checkcast jdk.vm.ci.code.StackSlot
            astore 12 /* stackSlot */
        start local 12 // jdk.vm.ci.code.StackSlot stackSlot
        17: .line 193
            aload 0 /* this */
            aload 12 /* stackSlot */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getOffset:(Ljdk/vm/ci/code/StackSlot;)I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 13 /* offset */
        start local 13 // java.lang.Integer offset
        18: .line 194
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            aload 13 /* offset */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 20
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            iload 3 /* maxStackLocations */
            if_icmpge 20
        19: .line 195
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            aload 13 /* offset */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 13 // java.lang.Integer offset
        end local 12 // jdk.vm.ci.code.StackSlot stackSlot
        end local 11 // jdk.vm.ci.meta.Value dest
        end local 9 // org.graalvm.compiler.lir.LIRInstruction op
        20: .line 183
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.util.List top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        end local 8 // java.util.List instructions
        end local 4 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        21: .line 181
            iinc 5 1
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
        22: iload 5
            iload 6
            if_icmplt 4
        23: .line 205
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            iadd
            istore 4 /* numLocations */
        start local 4 // int numLocations
        24: .line 206
            ldc "num locations = %d (regs = %d, stack = %d)"
            iload 4 /* numLocations */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;III)V
        25: .line 207
            aload 2 /* blocks */
            dup
            astore 8
            arraylength
            istore 7
            iconst_0
            istore 6
            goto 30
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
        26: aload 8
            iload 6
            aaload
            astore 5 /* block */
        start local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        27: .line 208
            new org.graalvm.compiler.lir.RedundantMoveElimination$BlockData
            dup
            iload 4 /* numLocations */
            invokespecial org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.<init>:(I)V
            astore 9 /* data */
        start local 9 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
        28: .line 209
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.blockData:Ljava/util/Map;
            aload 5 /* block */
            aload 9 /* data */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 9 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
        end local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        29: .line 207
            iinc 6 1
      StackMap locals:
      StackMap stack:
        30: iload 6
            iload 7
            if_icmplt 26
        31: .line 211
            return
        end local 4 // int numLocations
        end local 3 // int maxStackLocations
        end local 2 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
        end local 1 // org.graalvm.compiler.lir.LIR lir
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   32     0               this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   32     1                lir  Lorg/graalvm/compiler/lir/LIR;
            1   32     2             blocks  [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            3   32     3  maxStackLocations  I
            5   21     4              block  Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
            6   21     8       instructions  Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
            8   20     9                 op  Lorg/graalvm/compiler/lir/LIRInstruction;
           10   20    11               dest  Ljdk/vm/ci/meta/Value;
           12   14    12             regNum  I
           17   20    12          stackSlot  Ljdk/vm/ci/code/StackSlot;
           18   20    13             offset  Ljava/lang/Integer;
           24   32     4       numLocations  I
           27   29     5              block  Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
           28   29     9               data  Lorg/graalvm/compiler/lir/RedundantMoveElimination$BlockData;
    MethodParameters:
      Name  Flags
      lir   

  private int getOffset(jdk.vm.ci.code.StackSlot);
    descriptor: (Ljdk/vm/ci/code/StackSlot;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // jdk.vm.ci.code.StackSlot stackSlot
         0: .line 214
            aload 1 /* stackSlot */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.frameMap:Lorg/graalvm/compiler/lir/framemap/FrameMap;
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.totalFrameSize:()I
            invokevirtual jdk.vm.ci.code.StackSlot.getOffset:(I)I
            ireturn
        end local 1 // jdk.vm.ci.code.StackSlot stackSlot
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0    1     1  stackSlot  Ljdk/vm/ci/code/StackSlot;
    MethodParameters:
           Name  Flags
      stackSlot  

  private boolean solveDataFlow(org.graalvm.compiler.lir.LIR);
    descriptor: (Lorg/graalvm/compiler/lir/LIR;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=27, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // org.graalvm.compiler.lir.LIR lir
         0: .line 225
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: ldc "solve data flow"
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
            astore 4 /* indent */
        start local 4 // org.graalvm.compiler.debug.Indent indent
         2: .line 227
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.LIR.linearScanOrder:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            astore 5 /* blocks */
        start local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
         3: .line 229
            iconst_0
            istore 6 /* numIter */
        start local 6 // int numIter
         4: .line 234
            iconst_1
            istore 7 /* currentValueNum */
        start local 7 // int currentValueNum
         5: .line 235
            iconst_1
            istore 8 /* firstRound */
        start local 8 // boolean firstRound
         6: .line 238
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int
      StackMap stack:
            iconst_0
            istore 9 /* changed */
        start local 9 // boolean changed
         7: .line 239
            aconst_null
            astore 10
            aconst_null
            astore 11
         8: ldc "new iteration"
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
            astore 12 /* indent2 */
        start local 12 // org.graalvm.compiler.debug.Indent indent2
         9: .line 241
            aload 5 /* blocks */
            dup
            astore 16
            arraylength
            istore 15
            iconst_0
            istore 14
            goto 48
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
        10: aload 16
            iload 14
            aaload
            astore 13 /* block */
        start local 13 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        11: .line 243
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.blockData:Ljava/util/Map;
            aload 13 /* block */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.RedundantMoveElimination$BlockData
            astore 17 /* data */
        start local 17 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
        12: .line 249
            iload 8 /* firstRound */
            ifeq 14
        13: .line 250
            aload 17 /* data */
            iload 7 /* currentValueNum */
            putfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryValueNum:I
        14: .line 252
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.lir.RedundantMoveElimination$BlockData
      StackMap stack:
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryValueNum:I
            istore 18 /* valueNum */
        start local 18 // int valueNum
        15: .line 253
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 16
            iload 18 /* valueNum */
            ifgt 16
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        16: .line 254
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 19 /* newState */
        start local 19 // boolean newState
        17: .line 256
            aload 13 /* block */
            aload 5 /* blocks */
            iconst_0
            aaload
            if_acmpeq 18
            aload 13 /* block */
            invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.isExceptionEntry:()Z
            ifeq 21
        18: .line 265
      StackMap locals: int
      StackMap stack:
            ldc "kill all values at entry of block %d"
            aload 13 /* block */
            invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;I)V
        19: .line 266
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            iload 18 /* valueNum */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.clearValues:([II)V
        20: .line 267
            goto 27
        21: .line 271
      StackMap locals:
      StackMap stack:
            aload 13 /* block */
            invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            dup
            astore 23
            arraylength
            istore 22
            iconst_0
            istore 21
            goto 26
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
        22: aload 23
            iload 21
            aaload
            astore 20 /* predecessor */
        start local 20 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase predecessor
        23: .line 272
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.blockData:Ljava/util/Map;
            aload 20 /* predecessor */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.RedundantMoveElimination$BlockData
            astore 24 /* predData */
        start local 24 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData predData
        24: .line 273
            iload 19 /* newState */
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            aload 24 /* predData */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.exitState:[I
            iload 18 /* valueNum */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.mergeState:([I[II)Z
            ior
            istore 19 /* newState */
        end local 24 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData predData
        end local 20 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase predecessor
        25: .line 271
            iinc 21 1
      StackMap locals:
      StackMap stack:
        26: iload 21
            iload 22
            if_icmplt 22
        27: .line 278
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int
      StackMap stack:
            iload 18 /* valueNum */
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            arraylength
            iadd
            istore 18 /* valueNum */
        28: .line 280
            iload 19 /* newState */
            ifne 29
            iload 8 /* firstRound */
            ifeq 45
        29: .line 281
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 20
            aconst_null
            astore 21
        30: ldc "update block %d"
            aload 13 /* block */
            invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;I)Lorg/graalvm/compiler/debug/Indent;
            astore 22 /* indent3 */
        start local 22 // org.graalvm.compiler.debug.Indent indent3
        31: .line 287
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.exitState:[I
            astore 23 /* iterState */
        start local 23 // int[] iterState
        32: .line 288
            aload 23 /* iterState */
            aload 17 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.copyState:([I[I)V
        33: .line 289
            aload 1 /* lir */
            aload 13 /* block */
            invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
            astore 24 /* instructions */
        start local 24 // java.util.List instructions
        34: .line 291
            aload 24 /* instructions */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 26
            goto 37
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int[] java.util.List top java.util.Iterator
      StackMap stack:
        35: aload 26
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.LIRInstruction
            astore 25 /* op */
        start local 25 // org.graalvm.compiler.lir.LIRInstruction op
        36: .line 292
            aload 0 /* this */
            aload 23 /* iterState */
            aload 25 /* op */
            iload 18 /* valueNum */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.updateState:([ILorg/graalvm/compiler/lir/LIRInstruction;I)I
            istore 18 /* valueNum */
        end local 25 // org.graalvm.compiler.lir.LIRInstruction op
        37: .line 291
      StackMap locals:
      StackMap stack:
            aload 26
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 35
        38: .line 294
            iconst_1
            istore 9 /* changed */
        end local 24 // java.util.List instructions
        end local 23 // int[] iterState
        39: .line 295
            aload 22 /* indent3 */
            ifnull 45
            aload 22 /* indent3 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 45
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack: java.lang.Throwable
        40: astore 20
            aload 22 /* indent3 */
            ifnull 41
            aload 22 /* indent3 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 22 // org.graalvm.compiler.debug.Indent indent3
      StackMap locals:
      StackMap stack:
        41: aload 20
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        42: astore 21
            aload 20
            ifnonnull 43
            aload 21
            astore 20
            goto 44
      StackMap locals:
      StackMap stack:
        43: aload 20
            aload 21
            if_acmpeq 44
            aload 20
            aload 21
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        44: aload 20
            athrow
        45: .line 297
      StackMap locals:
      StackMap stack:
            iload 8 /* firstRound */
            ifeq 47
        46: .line 298
            iload 18 /* valueNum */
            istore 7 /* currentValueNum */
        end local 19 // boolean newState
        end local 18 // int valueNum
        end local 17 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
        end local 13 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        47: .line 241
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
            iinc 14 1
      StackMap locals:
      StackMap stack:
        48: iload 14
            iload 15
            if_icmplt 10
        49: .line 301
            iconst_0
            istore 8 /* firstRound */
        50: .line 302
            aload 12 /* indent2 */
            ifnull 56
            aload 12 /* indent2 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 56
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int int int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack: java.lang.Throwable
        51: astore 10
            aload 12 /* indent2 */
            ifnull 52
            aload 12 /* indent2 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 12 // org.graalvm.compiler.debug.Indent indent2
      StackMap locals:
      StackMap stack:
        52: aload 10
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        53: astore 11
            aload 10
            ifnonnull 54
            aload 11
            astore 10
            goto 55
      StackMap locals:
      StackMap stack:
        54: aload 10
            aload 11
            if_acmpeq 55
            aload 10
            aload 11
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        55: aload 10
            athrow
        56: .line 303
      StackMap locals:
      StackMap stack:
            iinc 6 /* numIter */ 1
        57: .line 305
            iload 6 /* numIter */
            iconst_5
            if_icmple 60
        58: .line 314
            aload 4 /* indent */
            ifnull 59
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        59: .line 309
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        60: .line 312
      StackMap locals:
      StackMap stack:
            iload 9 /* changed */
            ifne 6
        end local 9 // boolean changed
        end local 8 // boolean firstRound
        end local 7 // int currentValueNum
        end local 6 // int numIter
        end local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
        61: .line 314
            aload 4 /* indent */
            ifnull 67
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 67
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack: java.lang.Throwable
        62: astore 2
            aload 4 /* indent */
            ifnull 63
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 4 // org.graalvm.compiler.debug.Indent indent
      StackMap locals:
      StackMap stack:
        63: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        64: astore 3
            aload 2
            ifnonnull 65
            aload 3
            astore 2
            goto 66
      StackMap locals:
      StackMap stack:
        65: aload 2
            aload 3
            if_acmpeq 66
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        66: aload 2
            athrow
        67: .line 316
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // org.graalvm.compiler.lir.LIR lir
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   68     0             this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   68     1              lir  Lorg/graalvm/compiler/lir/LIR;
            2   63     4           indent  Lorg/graalvm/compiler/debug/Indent;
            3   61     5           blocks  [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            4   61     6          numIter  I
            5   61     7  currentValueNum  I
            6   61     8       firstRound  Z
            7   61     9          changed  Z
            9   52    12          indent2  Lorg/graalvm/compiler/debug/Indent;
           11   47    13            block  Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
           12   47    17             data  Lorg/graalvm/compiler/lir/RedundantMoveElimination$BlockData;
           15   47    18         valueNum  I
           17   47    19         newState  Z
           23   25    20      predecessor  Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
           24   25    24         predData  Lorg/graalvm/compiler/lir/RedundantMoveElimination$BlockData;
           31   41    22          indent3  Lorg/graalvm/compiler/debug/Indent;
           32   39    23        iterState  [I
           34   39    24     instructions  Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
           36   37    25               op  Lorg/graalvm/compiler/lir/LIRInstruction;
      Exception table:
        from    to  target  type
          31    39      40  any
          30    42      42  any
           9    50      51  any
           8    53      53  any
           2    58      62  any
          60    61      62  any
           1    59      64  any
          60    64      64  any
    MethodParameters:
      Name  Flags
      lir   

  private void eliminateMoves(org.graalvm.compiler.lir.LIR);
    descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=24, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // org.graalvm.compiler.lir.LIR lir
         0: .line 326
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: ldc "eliminate moves"
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
            astore 4 /* indent */
        start local 4 // org.graalvm.compiler.debug.Indent indent
         2: .line 328
            aload 1 /* lir */
            invokevirtual org.graalvm.compiler.lir.LIR.linearScanOrder:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            astore 5 /* blocks */
        start local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
         3: .line 330
            aload 5 /* blocks */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 39
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
         4: aload 9
            iload 7
            aaload
            astore 6 /* block */
        start local 6 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
         5: .line 332
            aconst_null
            astore 10
            aconst_null
            astore 11
         6: ldc "eliminate moves in block %d"
            aload 6 /* block */
            invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;I)Lorg/graalvm/compiler/debug/Indent;
            astore 12 /* indent2 */
        start local 12 // org.graalvm.compiler.debug.Indent indent2
         7: .line 334
            aload 1 /* lir */
            aload 6 /* block */
            invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
            astore 13 /* instructions */
        start local 13 // java.util.List instructions
         8: .line 335
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.blockData:Ljava/util/Map;
            aload 6 /* block */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.RedundantMoveElimination$BlockData
            astore 14 /* data */
        start local 14 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
         9: .line 336
            iconst_0
            istore 15 /* hasDead */
        start local 15 // boolean hasDead
        10: .line 339
            aload 14 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            astore 16 /* iterState */
        start local 16 // int[] iterState
        11: .line 343
            aload 14 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryValueNum:I
            aload 14 /* data */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$BlockData.entryState:[I
            arraylength
            iadd
            istore 17 /* valueNum */
        start local 17 // int valueNum
        12: .line 345
            aload 13 /* instructions */
            invokeinterface java.util.List.size:()I
            istore 18 /* numInsts */
        start local 18 // int numInsts
        13: .line 346
            iconst_0
            istore 19 /* idx */
        start local 19 // int idx
        14: goto 29
        15: .line 347
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.List org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int[] int int int
      StackMap stack:
            aload 13 /* instructions */
            iload 19 /* idx */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.compiler.lir.LIRInstruction
            astore 20 /* op */
        start local 20 // org.graalvm.compiler.lir.LIRInstruction op
        16: .line 348
            aload 20 /* op */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isEligibleMove:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
            ifeq 27
        17: .line 349
            aload 20 /* op */
            checkcast org.graalvm.compiler.lir.StandardOp$ValueMoveOp
            astore 21 /* moveOp */
        start local 21 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
        18: .line 350
            aload 0 /* this */
            aload 21 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getStateIdx:(Ljdk/vm/ci/meta/Value;)I
            istore 22 /* sourceIdx */
        start local 22 // int sourceIdx
        19: .line 351
            aload 0 /* this */
            aload 21 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getStateIdx:(Ljdk/vm/ci/meta/Value;)I
            istore 23 /* destIdx */
        start local 23 // int destIdx
        20: .line 352
            iload 22 /* sourceIdx */
            iflt 27
            iload 23 /* destIdx */
            iflt 27
            aload 16 /* iterState */
            iload 22 /* sourceIdx */
            iaload
            aload 16 /* iterState */
            iload 23 /* destIdx */
            iaload
            if_icmpne 27
        21: .line 353
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 22
            aload 16 /* iterState */
            iload 22 /* sourceIdx */
            iaload
            ifne 22
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        22: .line 354
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.List org.graalvm.compiler.lir.RedundantMoveElimination$BlockData int int[] int int int org.graalvm.compiler.lir.LIRInstruction org.graalvm.compiler.lir.StandardOp$ValueMoveOp int int
      StackMap stack:
            ldc "delete move %s"
            aload 20 /* op */
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;)V
        23: .line 355
            aload 13 /* instructions */
            iload 19 /* idx */
            aconst_null
            invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
        24: .line 356
            iconst_1
            istore 15 /* hasDead */
        25: .line 357
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination.deletedMoves:Lorg/graalvm/compiler/debug/DebugCounter;
            invokeinterface org.graalvm.compiler.debug.DebugCounter.isEnabled:()Z
            ifeq 27
        26: .line 358
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination.deletedMoves:Lorg/graalvm/compiler/debug/DebugCounter;
            invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
        end local 23 // int destIdx
        end local 22 // int sourceIdx
        end local 21 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
        27: .line 363
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 16 /* iterState */
            aload 20 /* op */
            iload 17 /* valueNum */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.updateState:([ILorg/graalvm/compiler/lir/LIRInstruction;I)I
            istore 17 /* valueNum */
        end local 20 // org.graalvm.compiler.lir.LIRInstruction op
        28: .line 346
            iinc 19 /* idx */ 1
      StackMap locals:
      StackMap stack:
        29: iload 19 /* idx */
            iload 18 /* numInsts */
            if_icmplt 15
        end local 19 // int idx
        30: .line 365
            iload 15 /* hasDead */
            ifeq 32
        31: .line 366
            aload 13 /* instructions */
            aconst_null
            invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
            invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
            pop
        end local 18 // int numInsts
        end local 17 // int valueNum
        end local 16 // int[] iterState
        end local 15 // boolean hasDead
        end local 14 // org.graalvm.compiler.lir.RedundantMoveElimination$BlockData data
        end local 13 // java.util.List instructions
        32: .line 368
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack:
            aload 12 /* indent2 */
            ifnull 38
            aload 12 /* indent2 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 38
      StackMap locals:
      StackMap stack: java.lang.Throwable
        33: astore 10
            aload 12 /* indent2 */
            ifnull 34
            aload 12 /* indent2 */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 12 // org.graalvm.compiler.debug.Indent indent2
      StackMap locals:
      StackMap stack:
        34: aload 10
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        35: astore 11
            aload 10
            ifnonnull 36
            aload 11
            astore 10
            goto 37
      StackMap locals:
      StackMap stack:
        36: aload 10
            aload 11
            if_acmpeq 37
            aload 10
            aload 11
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        37: aload 10
            athrow
        end local 6 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase block
        38: .line 330
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
      StackMap stack:
            iinc 7 1
      StackMap locals:
      StackMap stack:
        39: iload 7
            iload 8
            if_icmplt 4
        end local 5 // org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] blocks
        40: .line 370
            aload 4 /* indent */
            ifnull 46
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
            goto 46
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization org.graalvm.compiler.lir.LIR java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack: java.lang.Throwable
        41: astore 2
            aload 4 /* indent */
            ifnull 42
            aload 4 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 4 // org.graalvm.compiler.debug.Indent indent
      StackMap locals:
      StackMap stack:
        42: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        43: astore 3
            aload 2
            ifnonnull 44
            aload 3
            astore 2
            goto 45
      StackMap locals:
      StackMap stack:
        44: aload 2
            aload 3
            if_acmpeq 45
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        45: aload 2
            athrow
        46: .line 371
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.graalvm.compiler.lir.LIR lir
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   47     0          this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   47     1           lir  Lorg/graalvm/compiler/lir/LIR;
            2   42     4        indent  Lorg/graalvm/compiler/debug/Indent;
            3   40     5        blocks  [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
            5   38     6         block  Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
            7   34    12       indent2  Lorg/graalvm/compiler/debug/Indent;
            8   32    13  instructions  Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
            9   32    14          data  Lorg/graalvm/compiler/lir/RedundantMoveElimination$BlockData;
           10   32    15       hasDead  Z
           11   32    16     iterState  [I
           12   32    17      valueNum  I
           13   32    18      numInsts  I
           14   30    19           idx  I
           16   28    20            op  Lorg/graalvm/compiler/lir/LIRInstruction;
           18   27    21        moveOp  Lorg/graalvm/compiler/lir/StandardOp$ValueMoveOp;
           19   27    22     sourceIdx  I
           20   27    23       destIdx  I
      Exception table:
        from    to  target  type
           7    32      33  any
           6    35      35  any
           2    40      41  any
           1    43      43  any
    MethodParameters:
      Name  Flags
      lir   

  private int updateState(int[], org.graalvm.compiler.lir.LIRInstruction, int);
    descriptor: ([ILorg/graalvm/compiler/lir/LIRInstruction;I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=10, args_size=4
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // int[] state
        start local 2 // org.graalvm.compiler.lir.LIRInstruction op
        start local 3 // int initValueNum
         0: .line 379
            aconst_null
            astore 4
            aconst_null
            astore 5
         1: ldc "update state for op %s, initial value num = %d"
            aload 2 /* op */
            iload 3 /* initValueNum */
            invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;I)Lorg/graalvm/compiler/debug/Indent;
            astore 6 /* indent */
        start local 6 // org.graalvm.compiler.debug.Indent indent
         2: .line 380
            aload 2 /* op */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isEligibleMove:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
            ifeq 13
         3: .line 384
            aload 2 /* op */
            checkcast org.graalvm.compiler.lir.StandardOp$ValueMoveOp
            astore 7 /* moveOp */
        start local 7 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
         4: .line 385
            aload 0 /* this */
            aload 7 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getStateIdx:(Ljdk/vm/ci/meta/Value;)I
            istore 8 /* sourceIdx */
        start local 8 // int sourceIdx
         5: .line 386
            aload 0 /* this */
            aload 7 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getStateIdx:(Ljdk/vm/ci/meta/Value;)I
            istore 9 /* destIdx */
        start local 9 // int destIdx
         6: .line 387
            iload 8 /* sourceIdx */
            iflt 13
            iload 9 /* destIdx */
            iflt 13
         7: .line 388
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 8
            aload 1 /* state */
            iload 8 /* sourceIdx */
            iaload
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isObjectValue:(I)Z
            ifne 8
            aload 7 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
            invokestatic org.graalvm.compiler.core.common.LIRKind.isValue:(Ljdk/vm/ci/meta/Value;)Z
            ifne 8
            new java.lang.AssertionError
            dup
            ldc "move op moves object but input is not defined as object"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         8: .line 389
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization int[] org.graalvm.compiler.lir.LIRInstruction int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.lir.StandardOp$ValueMoveOp int int
      StackMap stack:
            aload 1 /* state */
            iload 9 /* destIdx */
            aload 1 /* state */
            iload 8 /* sourceIdx */
            iaload
            iastore
         9: .line 390
            ldc "move value %d from %d to %d"
            aload 1 /* state */
            iload 8 /* sourceIdx */
            iaload
            iload 8 /* sourceIdx */
            iload 9 /* destIdx */
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;III)V
        10: .line 391
            iload 3 /* initValueNum */
        11: .line 456
            aload 6 /* indent */
            ifnull 12
            aload 6 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        12: .line 391
      StackMap locals:
      StackMap stack: int
            ireturn
        end local 9 // int destIdx
        end local 8 // int sourceIdx
        end local 7 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
        13: .line 395
      StackMap locals:
      StackMap stack:
            iload 3 /* initValueNum */
            istore 7 /* valueNum */
        start local 7 // int valueNum
        14: .line 397
            aload 2 /* op */
            invokevirtual org.graalvm.compiler.lir.LIRInstruction.destroysCallerSavedRegisters:()Z
            ifeq 21
        15: .line 398
            ldc "kill all caller save regs"
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;)V
        16: .line 400
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.callerSaveRegs:Ljdk/vm/ci/code/RegisterArray;
            invokevirtual jdk.vm.ci.code.RegisterArray.iterator:()Ljava/util/Iterator;
            astore 9
            goto 20
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization int[] org.graalvm.compiler.lir.LIRInstruction int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int top java.util.Iterator
      StackMap stack:
        17: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.vm.ci.code.Register
            astore 8 /* reg */
        start local 8 // jdk.vm.ci.code.Register reg
        18: .line 401
            aload 8 /* reg */
            getfield jdk.vm.ci.code.Register.number:I
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            if_icmpge 20
        19: .line 403
            aload 1 /* state */
            aload 8 /* reg */
            getfield jdk.vm.ci.code.Register.number:I
            iload 7 /* valueNum */
            iinc 7 /* valueNum */ 1
            iconst_1
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.encodeValueNum:(IZ)I
            iastore
        end local 8 // jdk.vm.ci.code.Register reg
        20: .line 400
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        21: .line 432
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization int[] org.graalvm.compiler.lir.LIRInstruction int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int
      StackMap stack:
            new org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer
            dup
            aload 0 /* this */
            iload 7 /* valueNum */
            aload 1 /* state */
            invokespecial org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer.<init>:(Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;I[I)V
            astore 8 /* outputValueConsumer */
        start local 8 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer outputValueConsumer
        22: .line 434
            aload 2 /* op */
            aload 8 /* outputValueConsumer */
            invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachTemp:(Lorg/graalvm/compiler/lir/ValueConsumer;)V
        23: .line 438
            aload 2 /* op */
            aload 8 /* outputValueConsumer */
            invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachOutput:(Lorg/graalvm/compiler/lir/ValueConsumer;)V
        24: .line 440
            aload 8 /* outputValueConsumer */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer.opValueNum:I
            istore 7 /* valueNum */
        25: .line 442
            aload 2 /* op */
            invokevirtual org.graalvm.compiler.lir.LIRInstruction.hasState:()Z
            ifeq 29
        26: .line 450
            ldc "kill all object values"
            invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;)V
        27: .line 451
            aload 1 /* state */
            iload 7 /* valueNum */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.clearValuesOfKindObject:([II)V
        28: .line 452
            iload 7 /* valueNum */
            aload 1 /* state */
            arraylength
            iadd
            istore 7 /* valueNum */
        29: .line 455
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer
      StackMap stack:
            iload 7 /* valueNum */
        30: .line 456
            aload 6 /* indent */
            ifnull 31
            aload 6 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        31: .line 455
      StackMap locals:
      StackMap stack: int
            ireturn
        end local 8 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer outputValueConsumer
        end local 7 // int valueNum
      StackMap locals: org.graalvm.compiler.lir.RedundantMoveElimination$Optimization int[] org.graalvm.compiler.lir.LIRInstruction int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
      StackMap stack: java.lang.Throwable
        32: astore 4
        33: .line 456
            aload 6 /* indent */
            ifnull 34
            aload 6 /* indent */
            invokeinterface org.graalvm.compiler.debug.Indent.close:()V
        end local 6 // org.graalvm.compiler.debug.Indent indent
      StackMap locals:
      StackMap stack:
        34: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        35: astore 5
            aload 4
            ifnonnull 36
            aload 5
            astore 4
            goto 37
      StackMap locals:
      StackMap stack:
        36: aload 4
            aload 5
            if_acmpeq 37
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        37: aload 4
            athrow
        end local 3 // int initValueNum
        end local 2 // org.graalvm.compiler.lir.LIRInstruction op
        end local 1 // int[] state
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   38     0                 this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   38     1                state  [I
            0   38     2                   op  Lorg/graalvm/compiler/lir/LIRInstruction;
            0   38     3         initValueNum  I
            2   34     6               indent  Lorg/graalvm/compiler/debug/Indent;
            4   13     7               moveOp  Lorg/graalvm/compiler/lir/StandardOp$ValueMoveOp;
            5   13     8            sourceIdx  I
            6   13     9              destIdx  I
           14   32     7             valueNum  I
           18   20     8                  reg  Ljdk/vm/ci/code/Register;
           22   32     8  outputValueConsumer  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization$1OutputValueConsumer;
      Exception table:
        from    to  target  type
           2    11      32  any
          13    30      32  any
           1    12      35  any
          13    31      35  any
          32    35      35  any
    MethodParameters:
              Name  Flags
      state         final
      op            
      initValueNum  

  private static boolean mergeState(int[], int[], int);
    descriptor: ([I[II)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=8, args_size=3
        start local 0 // int[] dest
        start local 1 // int[] source
        start local 2 // int defNum
         0: .line 463
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 1
            aload 0 /* dest */
            arraylength
            aload 1 /* source */
            arraylength
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 464
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* changed */
        start local 3 // boolean changed
         2: .line 465
            iconst_0
            istore 4 /* idx */
        start local 4 // int idx
         3: goto 17
         4: .line 466
      StackMap locals: int int
      StackMap stack:
            iload 2 /* defNum */
            iload 4 /* idx */
            iadd
            istore 5 /* phiNum */
        start local 5 // int phiNum
         5: .line 467
            aload 0 /* dest */
            iload 4 /* idx */
            iaload
            istore 6 /* dst */
        start local 6 // int dst
         6: .line 468
            aload 1 /* source */
            iload 4 /* idx */
            iaload
            istore 7 /* src */
        start local 7 // int src
         7: .line 469
            iload 6 /* dst */
            iload 7 /* src */
            if_icmpeq 16
            iload 7 /* src */
            ifeq 16
            iload 6 /* dst */
            iload 5 /* phiNum */
            iload 6 /* dst */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isObjectValue:(I)Z
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.encodeValueNum:(IZ)I
            if_icmpeq 16
         8: .line 470
            iload 6 /* dst */
            ifeq 13
         9: .line 471
            iload 5 /* phiNum */
            iload 6 /* dst */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isObjectValue:(I)Z
            ifne 10
            iload 7 /* src */
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isObjectValue:(I)Z
            ifne 10
            iconst_0
            goto 11
      StackMap locals: int[] int[] int int int int int int
      StackMap stack: int
        10: iconst_1
      StackMap locals: int[] int[] int int int int int int
      StackMap stack: int int
        11: invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.encodeValueNum:(IZ)I
            istore 6 /* dst */
        12: .line 472
            goto 14
        13: .line 473
      StackMap locals:
      StackMap stack:
            iload 7 /* src */
            istore 6 /* dst */
        14: .line 475
      StackMap locals:
      StackMap stack:
            aload 0 /* dest */
            iload 4 /* idx */
            iload 6 /* dst */
            iastore
        15: .line 476
            iconst_1
            istore 3 /* changed */
        end local 7 // int src
        end local 6 // int dst
        end local 5 // int phiNum
        16: .line 465
      StackMap locals:
      StackMap stack:
            iinc 4 /* idx */ 1
      StackMap locals:
      StackMap stack:
        17: iload 4 /* idx */
            aload 1 /* source */
            arraylength
            if_icmplt 4
        end local 4 // int idx
        18: .line 479
            iload 3 /* changed */
            ireturn
        end local 3 // boolean changed
        end local 2 // int defNum
        end local 1 // int[] source
        end local 0 // int[] dest
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   19     0     dest  [I
            0   19     1   source  [I
            0   19     2   defNum  I
            2   19     3  changed  Z
            3   18     4      idx  I
            5   16     5   phiNum  I
            6   16     6      dst  I
            7   16     7      src  I
    MethodParameters:
        Name  Flags
      dest    
      source  
      defNum  

  private static void copyState(int[], int[]);
    descriptor: ([I[I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // int[] dest
        start local 1 // int[] source
         0: .line 483
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 1
            aload 0 /* dest */
            arraylength
            aload 1 /* source */
            arraylength
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 484
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* idx */
        start local 2 // int idx
         2: goto 5
         3: .line 485
      StackMap locals: int
      StackMap stack:
            aload 0 /* dest */
            iload 2 /* idx */
            aload 1 /* source */
            iload 2 /* idx */
            iaload
            iastore
         4: .line 484
            iinc 2 /* idx */ 1
      StackMap locals:
      StackMap stack:
         5: iload 2 /* idx */
            aload 1 /* source */
            arraylength
            if_icmplt 3
        end local 2 // int idx
         6: .line 487
            return
        end local 1 // int[] source
        end local 0 // int[] dest
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    dest  [I
            0    7     1  source  [I
            2    6     2     idx  I
    MethodParameters:
        Name  Flags
      dest    
      source  

  private static void clearValues(int[], int);
    descriptor: ([II)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // int[] state
        start local 1 // int defNum
         0: .line 490
            iconst_0
            istore 2 /* idx */
        start local 2 // int idx
         1: goto 5
         2: .line 491
      StackMap locals: int
      StackMap stack:
            iload 1 /* defNum */
            iload 2 /* idx */
            iadd
            istore 3 /* phiNum */
        start local 3 // int phiNum
         3: .line 493
            aload 0 /* state */
            iload 2 /* idx */
            iload 3 /* phiNum */
            iconst_1
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.encodeValueNum:(IZ)I
            iastore
        end local 3 // int phiNum
         4: .line 490
            iinc 2 /* idx */ 1
      StackMap locals:
      StackMap stack:
         5: iload 2 /* idx */
            aload 0 /* state */
            arraylength
            if_icmplt 2
        end local 2 // int idx
         6: .line 495
            return
        end local 1 // int defNum
        end local 0 // int[] state
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0   state  [I
            0    7     1  defNum  I
            1    6     2     idx  I
            3    4     3  phiNum  I
    MethodParameters:
        Name  Flags
      state   
      defNum  

  private static void clearValuesOfKindObject(int[], int);
    descriptor: ([II)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // int[] state
        start local 1 // int defNum
         0: .line 498
            iconst_0
            istore 2 /* idx */
        start local 2 // int idx
         1: goto 6
         2: .line 499
      StackMap locals: int
      StackMap stack:
            iload 1 /* defNum */
            iload 2 /* idx */
            iadd
            istore 3 /* phiNum */
        start local 3 // int phiNum
         3: .line 500
            aload 0 /* state */
            iload 2 /* idx */
            iaload
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.isObjectValue:(I)Z
            ifeq 5
         4: .line 501
            aload 0 /* state */
            iload 2 /* idx */
            iload 3 /* phiNum */
            iconst_1
            invokestatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.encodeValueNum:(IZ)I
            iastore
        end local 3 // int phiNum
         5: .line 498
      StackMap locals:
      StackMap stack:
            iinc 2 /* idx */ 1
      StackMap locals:
      StackMap stack:
         6: iload 2 /* idx */
            aload 0 /* state */
            arraylength
            if_icmplt 2
        end local 2 // int idx
         7: .line 504
            return
        end local 1 // int defNum
        end local 0 // int[] state
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0   state  [I
            0    8     1  defNum  I
            1    7     2     idx  I
            3    5     3  phiNum  I
    MethodParameters:
        Name  Flags
      state   
      defNum  

  private int getStateIdx(jdk.vm.ci.meta.Value);
    descriptor: (Ljdk/vm/ci/meta/Value;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
        start local 1 // jdk.vm.ci.meta.Value location
         0: .line 510
            aload 1 /* location */
            invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
            ifeq 5
         1: .line 511
            aload 1 /* location */
            checkcast jdk.vm.ci.code.RegisterValue
            invokevirtual jdk.vm.ci.code.RegisterValue.getRegister:()Ljdk/vm/ci/code/Register;
            getfield jdk.vm.ci.code.Register.number:I
            istore 2 /* regNum */
        start local 2 // int regNum
         2: .line 512
            iload 2 /* regNum */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            if_icmpge 4
         3: .line 513
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.eligibleRegs:[I
            iload 2 /* regNum */
            iaload
            ireturn
         4: .line 515
      StackMap locals: int
      StackMap stack:
            iconst_m1
            ireturn
        end local 2 // int regNum
         5: .line 517
      StackMap locals:
      StackMap stack:
            aload 1 /* location */
            invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
            ifeq 10
         6: .line 518
            aload 1 /* location */
            checkcast jdk.vm.ci.code.StackSlot
            astore 2 /* slot */
        start local 2 // jdk.vm.ci.code.StackSlot slot
         7: .line 519
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.stackIndices:Ljava/util/Map;
            aload 0 /* this */
            aload 2 /* slot */
            invokevirtual org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.getOffset:(Ljdk/vm/ci/code/StackSlot;)I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 3 /* index */
        start local 3 // java.lang.Integer index
         8: .line 520
            aload 3 /* index */
            ifnull 10
         9: .line 521
            aload 3 /* index */
            invokevirtual java.lang.Integer.intValue:()I
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.numRegs:I
            iadd
            ireturn
        end local 3 // java.lang.Integer index
        end local 2 // jdk.vm.ci.code.StackSlot slot
        10: .line 524
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 1 // jdk.vm.ci.meta.Value location
        end local 0 // org.graalvm.compiler.lir.RedundantMoveElimination$Optimization this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/graalvm/compiler/lir/RedundantMoveElimination$Optimization;
            0   11     1  location  Ljdk/vm/ci/meta/Value;
            2    5     2    regNum  I
            7   10     2      slot  Ljdk/vm/ci/code/StackSlot;
            8   10     3     index  Ljava/lang/Integer;
    MethodParameters:
          Name  Flags
      location  

  private static int encodeValueNum(int, boolean);
    descriptor: (IZ)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // int valueNum
        start local 1 // boolean isObjectKind
         0: .line 531
            getstatic org.graalvm.compiler.lir.RedundantMoveElimination$Optimization.$assertionsDisabled:Z
            ifne 1
            iload 0 /* valueNum */
            ifgt 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 532
      StackMap locals:
      StackMap stack:
            iload 1 /* isObjectKind */
            ifeq 3
         2: .line 533
            iload 0 /* valueNum */
            ineg
            ireturn
         3: .line 535
      StackMap locals:
      StackMap stack:
            iload 0 /* valueNum */
            ireturn
        end local 1 // boolean isObjectKind
        end local 0 // int valueNum
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0      valueNum  I
            0    4     1  isObjectKind  Z
    MethodParameters:
              Name  Flags
      valueNum      
      isObjectKind  

  private static boolean isObjectValue(int);
    descriptor: (I)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int encodedValueNum
         0: .line 543
            iload 0 /* encodedValueNum */
            ifge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // int encodedValueNum
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    2     0  encodedValueNum  I
    MethodParameters:
                 Name  Flags
      encodedValueNum  

  private static boolean isEligibleMove(org.graalvm.compiler.lir.LIRInstruction);
    descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.graalvm.compiler.lir.LIRInstruction op
         0: .line 550
            aload 0 /* op */
            instanceof org.graalvm.compiler.lir.StandardOp$ValueMoveOp
            ifeq 5
         1: .line 551
            aload 0 /* op */
            checkcast org.graalvm.compiler.lir.StandardOp$ValueMoveOp
            astore 1 /* moveOp */
        start local 1 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
         2: .line 552
            aload 1 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
            astore 2 /* source */
        start local 2 // jdk.vm.ci.meta.Value source
         3: .line 553
            aload 1 /* moveOp */
            invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
            astore 3 /* dest */
        start local 3 // jdk.vm.ci.meta.Value dest
         4: .line 557
            aload 2 /* source */
            invokevirtual jdk.vm.ci.meta.Value.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
            aload 3 /* dest */
            invokevirtual jdk.vm.ci.meta.Value.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 3 // jdk.vm.ci.meta.Value dest
        end local 2 // jdk.vm.ci.meta.Value source
        end local 1 // org.graalvm.compiler.lir.StandardOp$ValueMoveOp moveOp
         5: .line 559
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // org.graalvm.compiler.lir.LIRInstruction op
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0      op  Lorg/graalvm/compiler/lir/LIRInstruction;
            2    5     1  moveOp  Lorg/graalvm/compiler/lir/StandardOp$ValueMoveOp;
            3    5     2  source  Ljdk/vm/ci/meta/Value;
            4    5     3    dest  Ljdk/vm/ci/meta/Value;
    MethodParameters:
      Name  Flags
      op    
}
SourceFile: "RedundantMoveElimination.java"
NestHost: org.graalvm.compiler.lir.RedundantMoveElimination
InnerClasses:
  private final BlockData = org.graalvm.compiler.lir.RedundantMoveElimination$BlockData of org.graalvm.compiler.lir.RedundantMoveElimination
  private final Optimization = org.graalvm.compiler.lir.RedundantMoveElimination$Optimization of org.graalvm.compiler.lir.RedundantMoveElimination
  OutputValueConsumer = org.graalvm.compiler.lir.RedundantMoveElimination$Optimization$1OutputValueConsumer
  public abstract MoveOp = org.graalvm.compiler.lir.StandardOp$MoveOp of org.graalvm.compiler.lir.StandardOp
  public abstract ValueMoveOp = org.graalvm.compiler.lir.StandardOp$ValueMoveOp of org.graalvm.compiler.lir.StandardOp