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.java113 RopMethod rmeth) { in updateRopStatistics() argument
121 + rmeth.getBlocks().getEffectiveInstructionCount() in updateRopStatistics()
123 + "/" + rmeth.getBlocks().getRegCount()); in updateRopStatistics()
127 = rmeth.getBlocks().getEffectiveInstructionCount(); in updateRopStatistics()
133 += (rmeth.getBlocks().getRegCount() - oldCountRegs); in updateRopStatistics()
DOptimizerOptions.java125 TranslationAdvice advice, RopMethod rmeth) { in compareOptimizerStep() argument
138 = rmeth.getBlocks().getEffectiveInstructionCount(); in compareOptimizerStep()
145 rmeth.getBlocks().getRegCount(), in compareOptimizerStep()
148 - rmeth.getBlocks().getRegCount()) in compareOptimizerStep()
DCfTranslator.java309 RopMethod rmeth = Ropper.convert(concrete, advice, methods, dexOptions); in processMethods() local
325 nonOptRmeth = rmeth; in processMethods()
326 rmeth = Optimizer.optimize(rmeth, in processMethods()
331 paramSize, isStatic, cfOptions, advice, rmeth); in processMethods()
336 nonOptRmeth, rmeth); in processMethods()
343 locals = LocalVariableExtractor.extract(rmeth); in processMethods()
346 code = RopTranslator.translate(rmeth, cfOptions.positionInfo, in processMethods()
350 … updateDexStatistics(context, 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(), dexOptions); 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.java120 RopMethod rmeth = in endParsingMember() local
125 rmeth = Optimizer.optimize(rmeth, in endParsingMember()
133 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember()
135 BasicBlockList blocks = rmeth.getBlocks(); in endParsingMember()
DBlockDumper.java289 RopMethod rmeth = Ropper.convert(meth, advice, classFile.getMethods(), dexOptions); in ropDump() local
295 rmeth = in ropDump()
296 Optimizer.optimize(rmeth, paramWidth, isStatic, true, advice); in ropDump()
299 BasicBlockList blocks = rmeth.getBlocks(); in ropDump()
302 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
310 IntList preds = rmeth.labelToPredecessors(label); in ropDump()