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()
220 BasicRegisterMapper mapper in moveParametersToHighRegisters() local
226 mapper.addMapping(i, regCount - paramWidth + i, 1); in moveParametersToHighRegisters()
228 mapper.addMapping(i, i - paramWidth, 1); in moveParametersToHighRegisters()
237 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()
788 mapper.addMapping(ssaSpec.getReg(), ropReg, category); in addMapping()
896 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.java109 RegisterMapper mapper = new RegisterMapper() { in run()
133 use.mapSourceRegisters(mapper); in run()
DSsaRenamer.java303 private final RenamingMapper mapper; field in SsaRenamer.BlockRenamer
316 mapper = new RenamingMapper(); in BlockRenamer()
502 insn.mapSourceRegisters(mapper); in visitMoveInsn()
594 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.java374 RegisterMapper mapper = new RegisterMapper() { in updateConstUses() local
396 use.mapSourceRegisters(mapper); in updateConstUses()
DSsaMethod.java368 public void mapRegisters(RegisterMapper mapper) { in mapRegisters() argument
371 insn.mapRegisters(mapper); in mapRegisters()
375 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.java391 public DalvInsn withMapper(RegisterMapper mapper) { in withMapper() argument
392 return withRegisters(mapper.map(getRegisters())); in withMapper()
DOutputFinisher.java928 BasicRegisterMapper mapper = new BasicRegisterMapper(lastParameter); in shiftParameters() local
931 mapper.addMapping(i, i + delta, 1); in shiftParameters()
933 mapper.addMapping(i, i, 1); in shiftParameters()
942 insns.set(i, insn.withMapper(mapper)); in shiftParameters()