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.java70 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
74 return optimize(rmeth, paramWidth, isStatic, inPreserveLocals, inAdvice, in optimize()
92 public static RopMethod optimize(RopMethod rmeth, int paramWidth, in optimize() argument
100 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic); in optimize()
108 resultMeth = optimizeMinimizeRegisters(rmeth, paramWidth, isStatic, in optimize()
129 private static RopMethod optimizeMinimizeRegisters(RopMethod rmeth, in optimizeMinimizeRegisters() argument
136 rmeth, paramWidth, isStatic); in optimizeMinimizeRegisters()
184 public static SsaMethod debugEdgeSplit(RopMethod rmeth, int paramWidth, in debugEdgeSplit() argument
191 return SsaConverter.testEdgeSplit(rmeth, paramWidth, isStatic); in debugEdgeSplit()
194 public static SsaMethod debugPhiPlacement(RopMethod rmeth, int paramWidth, in debugPhiPlacement() argument
[all …]
DSsaConverter.java41 public static SsaMethod convertToSsaMethod(RopMethod rmeth, in convertToSsaMethod() argument
45 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in convertToSsaMethod()
70 public static SsaMethod testEdgeSplit (RopMethod rmeth, int paramWidth, in testEdgeSplit() argument
74 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
88 public static SsaMethod testPhiPlacement (RopMethod rmeth, int paramWidth, in testPhiPlacement() argument
92 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testPhiPlacement()
DSsaMethod.java95 static SsaMethod newFromRopMethod(RopMethod rmeth, int paramWidth, in newFromRopMethod() argument
101 result.maxLabel = rmeth.getBlocks().getMaxLabel(); in newFromRopMethod()
102 result.registerCount = rmeth.getBlocks().getRegCount(); in newFromRopMethod()
105 result.convertRopToSsaBlocks(rmeth); in newFromRopMethod()
153 RopMethod rmeth) { in convertRopToSsaBlocks() argument
157 ropBlocks = rmeth.getBlocks(); in convertRopToSsaBlocks()
164 sbb = SsaBasicBlock.newFromRop(rmeth, i, this); in convertRopToSsaBlocks()
170 int origEntryBlockIndex = rmeth.getBlocks() in convertRopToSsaBlocks()
171 .indexOfLabel(rmeth.getFirstLabel()); in convertRopToSsaBlocks()
DSsaBasicBlock.java113 public static SsaBasicBlock newFromRop(RopMethod rmeth, in newFromRop() argument
121 ropBlocks = rmeth.getBlocks(); in newFromRop()
135 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.java130 TranslationAdvice advice, RopMethod rmeth) { in compareOptimizerStep() argument
143 = rmeth.getBlocks().getEffectiveInstructionCount(); in compareOptimizerStep()
150 rmeth.getBlocks().getRegCount(), in compareOptimizerStep()
153 - rmeth.getBlocks().getRegCount()) in compareOptimizerStep()
DCfTranslator.java252 RopMethod rmeth = Ropper.convert(concrete, advice); in processMethods() local
268 nonOptRmeth = rmeth; in processMethods()
269 rmeth = Optimizer.optimize(rmeth, in processMethods()
274 paramSize, isStatic, args, advice, rmeth); in processMethods()
279 nonOptRmeth, rmeth); in processMethods()
286 locals = LocalVariableExtractor.extract(rmeth); in processMethods()
289 code = RopTranslator.translate(rmeth, args.positionInfo, in processMethods()
293 updateDexStatistics(args, rmeth, nonOptRmeth, locals, in processMethods()
/dalvik/dx/src/com/android/dx/command/dump/
DSsaDumper.java79 RopMethod rmeth = Ropper.convert(meth, advice); in endParsingMember() local
86 ssaMeth = Optimizer.debugNoRegisterAllocation(rmeth, in endParsingMember()
90 ssaMeth = Optimizer.debugEdgeSplit(rmeth, paramWidth, in endParsingMember()
94 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
97 rmeth, paramWidth, isStatic, true, advice); in endParsingMember()
100 rmeth, paramWidth, isStatic,true, advice); in endParsingMember()
DDotDumper.java119 RopMethod rmeth = in endParsingMember() local
124 rmeth = Optimizer.optimize(rmeth, in endParsingMember()
132 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember()
134 BasicBlockList blocks = rmeth.getBlocks(); in endParsingMember()
DBlockDumper.java294 RopMethod rmeth = in ropDump() local
302 rmeth = Optimizer.optimize(rmeth, paramWidth, isStatic, true, in ropDump()
306 BasicBlockList blocks = rmeth.getBlocks(); in ropDump()
308 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
318 IntList preds = rmeth.labelToPredecessors(label); in ropDump()