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.java69 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
73 return optimize(rmeth, paramWidth, isStatic, inPreserveLocals, inAdvice, in optimize()
91 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
99 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic); in optimize()
107 resultMeth = optimizeMinimizeRegisters(rmeth, paramWidth, isStatic, in optimize()
128 private static RopMethod optimizeMinimizeRegisters(RopMethod rmeth, in optimizeMinimizeRegisters() argument
135 rmeth, paramWidth, isStatic); in optimizeMinimizeRegisters()
195 public static SsaMethod debugEdgeSplit(RopMethod rmeth, int paramWidth, in debugEdgeSplit() argument
202 return SsaConverter.testEdgeSplit(rmeth, paramWidth, isStatic); in debugEdgeSplit()
205 public static SsaMethod debugPhiPlacement(RopMethod rmeth, int paramWidth, in debugPhiPlacement() argument
[all …]
DSsaConverter.java43 public static SsaMethod convertToSsaMethod(RopMethod rmeth, in convertToSsaMethod() argument
46 = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in convertToSsaMethod()
86 public static SsaMethod testEdgeSplit (RopMethod rmeth, int paramWidth, in testEdgeSplit() argument
90 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
106 public static SsaMethod testPhiPlacement (RopMethod rmeth, int paramWidth, in testPhiPlacement() argument
110 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testPhiPlacement()
DSsaMethod.java167 private void convertRopToSsaBlocks(RopMethod rmeth) { in convertRopToSsaBlocks() argument
168 BasicBlockList ropBlocks = rmeth.getBlocks(); in convertRopToSsaBlocks()
174 SsaBasicBlock sbb = SsaBasicBlock.newFromRop(rmeth, i, this); in convertRopToSsaBlocks()
179 int origEntryBlockIndex = rmeth.getBlocks() in convertRopToSsaBlocks()
180 .indexOfLabel(rmeth.getFirstLabel()); in convertRopToSsaBlocks()
DSsaBasicBlock.java144 public static SsaBasicBlock newFromRop(RopMethod rmeth, in newFromRop() argument
146 BasicBlockList ropBlocks = rmeth.getBlocks(); in newFromRop()
160 rmeth.labelToPredecessors(bb.getLabel())); in newFromRop()
/dalvik/dx/src/com/android/dx/dex/cf/
DCodeStatistics.java121 RopMethod rmeth) { in updateRopStatistics() argument
129 + rmeth.getBlocks().getEffectiveInstructionCount() in updateRopStatistics()
131 + "/" + rmeth.getBlocks().getRegCount()); in updateRopStatistics()
135 = rmeth.getBlocks().getEffectiveInstructionCount(); in updateRopStatistics()
141 += (rmeth.getBlocks().getRegCount() - oldCountRegs); in updateRopStatistics()
DOptimizerOptions.java132 TranslationAdvice advice, RopMethod rmeth) { in compareOptimizerStep() argument
145 = rmeth.getBlocks().getEffectiveInstructionCount(); in compareOptimizerStep()
152 rmeth.getBlocks().getRegCount(), in compareOptimizerStep()
155 - rmeth.getBlocks().getRegCount()) in compareOptimizerStep()
DCfTranslator.java256 RopMethod rmeth = Ropper.convert(concrete, advice); in processMethods() local
272 nonOptRmeth = rmeth; in processMethods()
273 rmeth = Optimizer.optimize(rmeth, in processMethods()
278 paramSize, isStatic, cfOptions, advice, rmeth); in processMethods()
283 nonOptRmeth, rmeth); in processMethods()
290 locals = LocalVariableExtractor.extract(rmeth); in processMethods()
293 code = RopTranslator.translate(rmeth, cfOptions.positionInfo, in processMethods()
297 updateDexStatistics(cfOptions, dexOptions, rmeth, nonOptRmeth, locals, in processMethods()
/dalvik/dx/src/com/android/dx/command/dump/
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()
DSsaDumper.java101 RopMethod rmeth = Ropper.convert(meth, advice); in endParsingMember() local
107 ssaMeth = Optimizer.debugNoRegisterAllocation(rmeth, in endParsingMember()
111 ssaMeth = Optimizer.debugEdgeSplit(rmeth, paramWidth, in endParsingMember()
115 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
118 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
121 rmeth, paramWidth, isStatic,true, advice); in endParsingMember()
DBlockDumper.java290 RopMethod rmeth = Ropper.convert(meth, advice); in ropDump() local
296 rmeth = in ropDump()
297 Optimizer.optimize(rmeth, paramWidth, isStatic, true, advice); in ropDump()
300 BasicBlockList blocks = rmeth.getBlocks(); in ropDump()
303 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
311 IntList preds = rmeth.labelToPredecessors(label); in ropDump()