Home
last modified time | relevance | path

Searched refs:rmeth (Results 1 – 10 of 10) sorted by relevance

/dalvik/dx/src/com/android/dx/ssa/
DOptimizer.java68 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
72 return optimize(rmeth, paramWidth, isStatic, inPreserveLocals, inAdvice, in optimize()
90 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
98 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic); in optimize()
106 resultMeth = optimizeMinimizeRegisters(rmeth, paramWidth, isStatic, in optimize()
127 private static RopMethod optimizeMinimizeRegisters(RopMethod rmeth, in optimizeMinimizeRegisters() argument
134 rmeth, paramWidth, isStatic); in optimizeMinimizeRegisters()
194 public static SsaMethod debugEdgeSplit(RopMethod rmeth, int paramWidth, in debugEdgeSplit() argument
201 return SsaConverter.testEdgeSplit(rmeth, paramWidth, isStatic); in debugEdgeSplit()
204 public static SsaMethod debugPhiPlacement(RopMethod rmeth, int paramWidth, in debugPhiPlacement() argument
[all …]
DSsaConverter.java42 public static SsaMethod convertToSsaMethod(RopMethod rmeth, in convertToSsaMethod() argument
45 = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in convertToSsaMethod()
85 public static SsaMethod testEdgeSplit (RopMethod rmeth, int paramWidth, in testEdgeSplit() argument
89 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
105 public static SsaMethod testPhiPlacement (RopMethod rmeth, int paramWidth, in testPhiPlacement() argument
109 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testPhiPlacement()
DSsaMethod.java166 private void convertRopToSsaBlocks(RopMethod rmeth) { in convertRopToSsaBlocks() argument
167 BasicBlockList ropBlocks = rmeth.getBlocks(); in convertRopToSsaBlocks()
173 SsaBasicBlock sbb = SsaBasicBlock.newFromRop(rmeth, i, this); in convertRopToSsaBlocks()
178 int origEntryBlockIndex = rmeth.getBlocks() in convertRopToSsaBlocks()
179 .indexOfLabel(rmeth.getFirstLabel()); in convertRopToSsaBlocks()
DSsaBasicBlock.java143 public static SsaBasicBlock newFromRop(RopMethod rmeth, in newFromRop() argument
145 BasicBlockList ropBlocks = rmeth.getBlocks(); in newFromRop()
159 rmeth.labelToPredecessors(bb.getLabel())); in newFromRop()
/dalvik/dx/src/com/android/dx/dex/cf/
DCodeStatistics.java120 RopMethod rmeth) { in updateRopStatistics() argument
128 + rmeth.getBlocks().getEffectiveInstructionCount() in updateRopStatistics()
130 + "/" + rmeth.getBlocks().getRegCount()); in updateRopStatistics()
134 = rmeth.getBlocks().getEffectiveInstructionCount(); in updateRopStatistics()
140 += (rmeth.getBlocks().getRegCount() - oldCountRegs); in updateRopStatistics()
DOptimizerOptions.java131 TranslationAdvice advice, RopMethod rmeth) { in compareOptimizerStep() argument
144 = rmeth.getBlocks().getEffectiveInstructionCount(); in compareOptimizerStep()
151 rmeth.getBlocks().getRegCount(), in compareOptimizerStep()
154 - rmeth.getBlocks().getRegCount()) in compareOptimizerStep()
DCfTranslator.java280 RopMethod rmeth = Ropper.convert(concrete, advice, methods); in processMethods() local
296 nonOptRmeth = rmeth; in processMethods()
297 rmeth = Optimizer.optimize(rmeth, in processMethods()
302 paramSize, isStatic, cfOptions, advice, rmeth); in processMethods()
307 nonOptRmeth, rmeth); in processMethods()
314 locals = LocalVariableExtractor.extract(rmeth); in processMethods()
317 code = RopTranslator.translate(rmeth, cfOptions.positionInfo, in processMethods()
321 updateDexStatistics(cfOptions, dexOptions, rmeth, nonOptRmeth, locals, in processMethods()
/dalvik/dx/src/com/android/dx/command/dump/
DSsaDumper.java93 RopMethod rmeth = Ropper.convert(meth, advice, classFile.getMethods()); in endParsingMember() local
99 ssaMeth = Optimizer.debugNoRegisterAllocation(rmeth, in endParsingMember()
103 ssaMeth = Optimizer.debugEdgeSplit(rmeth, paramWidth, in endParsingMember()
107 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
110 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
113 rmeth, paramWidth, isStatic,true, advice); in endParsingMember()
DDotDumper.java117 RopMethod rmeth = in endParsingMember() local
122 rmeth = Optimizer.optimize(rmeth, in endParsingMember()
130 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember()
132 BasicBlockList blocks = rmeth.getBlocks(); in endParsingMember()
DBlockDumper.java288 RopMethod rmeth = Ropper.convert(meth, advice, classFile.getMethods()); in ropDump() local
294 rmeth = in ropDump()
295 Optimizer.optimize(rmeth, paramWidth, isStatic, true, advice); in ropDump()
298 BasicBlockList blocks = rmeth.getBlocks(); in ropDump()
301 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
309 IntList preds = rmeth.labelToPredecessors(label); in ropDump()