Home
last modified time | relevance | path

Searched refs:mapper (Results 1 – 16 of 16) sorted by relevance

/dalvik/dx/src/com/android/dx/ssa/back/
DNullRegisterAllocator.java47 BasicRegisterMapper mapper = new BasicRegisterMapper(oldRegCount); in allocateRegisters() local
50 mapper.addMapping(i, i*2, 2); in allocateRegisters()
53 return mapper; in allocateRegisters()
DFirstFitAllocator.java63 BasicRegisterMapper mapper in allocateRegisters() local
99 mapper.addMapping(i, newReg, maxCategory); in allocateRegisters()
102 mapper.addMapping(i, nextNewRegister, maxCategory); in allocateRegisters()
125 mapper.addMapping(j, newReg, maxCategory); in allocateRegisters()
136 return mapper; in allocateRegisters()
DSsaToRop.java104 RegisterMapper mapper = allocator.allocateRegisters(); in convert() local
108 System.out.println(((BasicRegisterMapper)mapper).toHuman()); in convert()
113 ssaMeth.mapRegisters(mapper); in convert()
218 BasicRegisterMapper mapper in moveParametersToHighRegisters() local
224 mapper.addMapping(i, regCount - paramWidth + i, 1); in moveParametersToHighRegisters()
226 mapper.addMapping(i, i - paramWidth, 1); in moveParametersToHighRegisters()
235 ssaMeth.mapRegisters(mapper); in moveParametersToHighRegisters()
DFirstFitLocalCombiningAllocator.java110 private final InterferenceRegisterMapper mapper; field in FirstFitLocalCombiningAllocator
139 mapper = new InterferenceRegisterMapper( in FirstFitLocalCombiningAllocator()
200 return mapper; in allocateRegisters()
571 int moveRopReg = mapper.oldToNew(moveReg); in handleCheckCastResults()
575 int checkRopReg = mapper.oldToNew(checkReg); in handleCheckCastResults()
599 int moveRopReg = mapper.oldToNew(moveReg); in handleCheckCastResults()
600 int checkRopReg = mapper.oldToNew(checkReg); in handleCheckCastResults()
675 || mapper.interferes(ssaSpec, ropReg)); in canMapReg()
785 mapper.addMapping(ssaSpec.getReg(), ropReg, category); in addMapping()
893 int rangeStart = mapper.oldToNew(ssaCenterReg) + rangeStartOffset; in findRangeAndAdjust()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DSsaInsn.java156 public final void mapRegisters(RegisterMapper mapper) { in mapRegisters() argument
159 result = mapper.map(result); in mapRegisters()
161 mapSourceRegisters(mapper); in mapRegisters()
169 abstract public void mapSourceRegisters(RegisterMapper mapper); in mapSourceRegisters() argument
DMoveParamCombiner.java106 RegisterMapper mapper = new RegisterMapper() { in run()
128 use.mapSourceRegisters(mapper); in run()
DSsaRenamer.java301 private final RenamingMapper mapper; field in SsaRenamer.BlockRenamer
314 mapper = new RenamingMapper(); in BlockRenamer()
498 insn.mapSourceRegisters(mapper); in visitMoveInsn()
589 insn.mapSourceRegisters(mapper); in visitNonMoveInsn()
DNormalSsaInsn.java46 public final void mapSourceRegisters(RegisterMapper mapper) { in mapSourceRegisters() argument
48 RegisterSpecList newSources = mapper.map(oldSources); in mapSourceRegisters()
DPhiInsn.java269 public final void mapSourceRegisters(RegisterMapper mapper) { in mapSourceRegisters() argument
272 o.regSpec = mapper.map(old); in mapSourceRegisters()
DConstCollector.java373 RegisterMapper mapper = new RegisterMapper() { in updateConstUses() local
395 use.mapSourceRegisters(mapper); in updateConstUses()
DSsaMethod.java391 public void mapRegisters(RegisterMapper mapper) { in mapRegisters() argument
394 insn.mapRegisters(mapper); in mapRegisters()
398 registerCount = mapper.getNewRegisterCount(); in mapRegisters()
DEscapeAnalysis.java664 RegisterMapper mapper = new RegisterMapper() { in movePropagate() local
682 use.mapSourceRegisters(mapper); in movePropagate()
/dalvik/dx/src/com/android/dx/dex/code/
DLocalStart.java102 public DalvInsn withMapper(RegisterMapper mapper) { in withMapper() argument
103 return new LocalStart(getPosition(), mapper.map(local)); in withMapper()
DLocalSnapshot.java100 public DalvInsn withMapper(RegisterMapper mapper) { in withMapper() argument
101 return new LocalSnapshot(getPosition(), mapper.map(locals)); in withMapper()
DDalvInsn.java392 public DalvInsn withMapper(RegisterMapper mapper) { in withMapper() argument
393 return withRegisters(mapper.map(getRegisters())); in withMapper()
DOutputFinisher.java921 BasicRegisterMapper mapper = new BasicRegisterMapper(lastParameter); in shiftParameters() local
924 mapper.addMapping(i, i + delta, 1); in shiftParameters()
926 mapper.addMapping(i, i, 1); in shiftParameters()
935 insns.set(i, insn.withMapper(mapper)); in shiftParameters()