/dalvik/dx/src/com/android/dx/ssa/ |
D | InterferenceRegisterMapper.java | 63 public void addMapping(int oldReg, int newReg, int category) { in addMapping() argument 64 super.addMapping(oldReg, newReg, category); in addMapping() 66 addInterfence(newReg, oldReg); in addMapping() 69 addInterfence(newReg + 1, oldReg); in addMapping() 82 public boolean interferes(int oldReg, int newReg, int category) { in interferes() argument 83 if (newReg >= newRegInterference.size()) { in interferes() 86 IntSet existing = newRegInterference.get(newReg); in interferes() 94 || (interferes(oldReg, newReg+1, category-1)); in interferes() 107 public boolean interferes(RegisterSpec oldSpec, int newReg) { in interferes() argument 108 return interferes(oldSpec.getReg(), newReg, oldSpec.getCategory()); in interferes() [all …]
|
D | BasicRegisterMapper.java | 55 int newReg; in map() local 57 newReg = oldToNew.get(registerSpec.getReg()); in map() 59 newReg = -1; in map() 62 if (newReg < 0) { in map() 66 return registerSpec.withReg(newReg); in map() 114 public void addMapping(int oldReg, int newReg, int category) { in addMapping() argument 122 oldToNew.set(oldReg, newReg); in addMapping() 124 if (runningCountNewRegisters < (newReg + category)) { in addMapping() 125 runningCountNewRegisters = newReg + category; in addMapping()
|
D | ConstCollector.java | 279 RegisterSpec newReg) { in fixLocalAssignment() argument 300 newReg = newReg.withLocalItem(local); in fixLocalAssignment() 304 new PlainInsn(Rops.opMarkLocal(newReg), in fixLocalAssignment() 306 RegisterSpecList.make(newReg)), in fixLocalAssignment() 348 final RegisterSpec newReg = newRegs.get(cst); in updateConstUses() local 350 if (newReg == null) { in updateConstUses() 382 return newReg.withLocalItem( in updateConstUses()
|
D | EscapeAnalysis.java | 542 RegisterSpec newReg = in replaceDef() local 544 newRegs.add(newReg); in replaceDef() 545 insertPlainInsnBefore(def, RegisterSpecList.EMPTY, newReg, in replaceDef() 747 RegisterSpec newReg = in insertExceptionThrow() local 749 insertPlainInsnBefore(newInsn, RegisterSpecList.EMPTY, newReg, in insertExceptionThrow() 758 insertThrowingInsnBefore(newInsn2, RegisterSpecList.make(newReg, index), in insertExceptionThrow() 766 insertThrowingInsnBefore(newInsn3, RegisterSpecList.make(newReg), null, in insertExceptionThrow()
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
D | FirstFitAllocator.java | 90 int newReg = 0; in allocateRegisters() local 97 newReg = paramNumberFromMoveParam(defInsn); in allocateRegisters() 99 mapper.addMapping(i, newReg, maxCategory); in allocateRegisters() 103 newReg = nextNewRegister; in allocateRegisters() 125 mapper.addMapping(j, newReg, maxCategory); in allocateRegisters()
|
D | RegisterAllocator.java | 169 int newReg = newRegSpec.getReg(); in insertMoveBefore() local 180 interference.add(newReg, liveOutIter.next()); in insertMoveBefore() 188 interference.add(newReg, sources.get(i).getReg()); in insertMoveBefore()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | RegisterSpec.java | 477 public RegisterSpec withReg(int newReg) { in withReg() argument 478 if (reg == newReg) { in withReg() 482 return makeLocalOptional(newReg, type, local); in withReg()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | RegisterSpec.java | 481 public RegisterSpec withReg(int newReg) { in withReg() argument 482 if (reg == newReg) { in withReg() 486 return makeLocalOptional(newReg, type, local); in withReg()
|