/dalvik/dx/src/com/android/dx/ssa/ |
D | Optimizer.java | 68 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 …]
|
D | SsaConverter.java | 42 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()
|
D | SsaMethod.java | 166 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()
|
D | SsaBasicBlock.java | 143 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/ |
D | CodeStatistics.java | 113 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()
|
D | OptimizerOptions.java | 125 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()
|
D | CfTranslator.java | 309 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/ |
D | SsaDumper.java | 93 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()
|
D | DotDumper.java | 120 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()
|
D | BlockDumper.java | 289 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()
|