HomeSort by relevance Sort by last modified time
    Searched defs:ssaMeth (Results 1 - 15 of 15) sorted by null

  /dalvik/dx/src/com/android/dx/ssa/
MoveParamCombiner.java 34 private final SsaMethod ssaMeth;
45 private MoveParamCombiner(SsaMethod ssaMeth) {
46 this.ssaMeth = ssaMeth;
55 = new RegisterSpec[ssaMeth.getParamWidth()];
60 ssaMeth.forEachInsn(new SsaInsn.Visitor() {
102 ssaMeth.getDefinitionForRegister(specA.getReg())
113 return ssaMeth.getRegCount();
128 = ssaMeth.getUseListForRegister(specB.getReg());
142 ssaMeth.deleteInsns(deletedInsns)
    [all...]
LiteralOpUpgrader.java 43 private final SsaMethod ssaMeth;
59 this.ssaMeth = ssaMethod;
84 ssaMeth.forEachInsn(new SsaInsn.Visitor() {
153 if (result != null && !ssaMeth.isRegALocal(result) &&
165 ssaMeth.getBlocks().get(pred).getInsns();
205 ssaMeth.onInsnRemoved(insn);
207 ssaMeth.onInsnAdded(newInsn);
SsaRenamer.java 66 private final SsaMethod ssaMeth;
97 * @param ssaMeth {@code non-null;} un-renamed SSA method that will
100 public SsaRenamer(SsaMethod ssaMeth) {
101 ropRegCount = ssaMeth.getRegCount();
103 this.ssaMeth = ssaMeth;
111 startsForBlocks = new RegisterSpec[ssaMeth.getBlocks().size()][];
142 startsForBlocks[ssaMeth.getEntryBlockIndex()] = initialRegMapping;
148 * @param ssaMeth {@code non-null;} un-renamed SSA method that will
152 public SsaRenamer(SsaMethod ssaMeth, int thresh)
    [all...]
Optimizer.java 93 SsaMethod ssaMeth = null;
98 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic);
99 runSsaFormSteps(ssaMeth, steps);
101 RopMethod resultMeth = SsaToRop.convertToRopMethod(ssaMeth, false);
130 SsaMethod ssaMeth;
133 ssaMeth = SsaConverter.convertToSsaMethod(
144 runSsaFormSteps(ssaMeth, newSteps);
146 resultMeth = SsaToRop.convertToRopMethod(ssaMeth, true);
150 private static void runSsaFormSteps(SsaMethod ssaMeth,
155 MoveParamCombiner.process(ssaMeth);
    [all...]
DeadCodeRemover.java 33 private final SsaMethod ssaMeth;
35 /** ssaMeth.getRegCount() */
63 this.ssaMeth = ssaMethod;
67 useList = ssaMeth.getUseListCopy();
78 ssaMeth.forEachInsn(new NoSideEffectVisitor(worklist));
88 SsaInsn insnS = ssaMeth.getDefinitionForRegister(regV);
104 ssaMeth.getDefinitionForRegister(
119 ssaMeth.deleteInsns(deletedInsns);
128 BitSet reachable = ssaMeth.computeReachability();
129 ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks()
    [all...]
PhiTypeResolver.java 45 SsaMethod ssaMeth;
51 * @param ssaMeth method to process
53 public static void process (SsaMethod ssaMeth) {
54 new PhiTypeResolver(ssaMeth).run();
57 private PhiTypeResolver(SsaMethod ssaMeth) {
58 this.ssaMeth = ssaMeth;
59 worklist = new BitSet(ssaMeth.getRegCount());
67 int regCount = ssaMeth.getRegCount();
70 SsaInsn definsn = ssaMeth.getDefinitionForRegister(reg)
    [all...]
EscapeAnalysis.java 100 private final SsaMethod ssaMeth;
101 /** ssaMeth.getRegCount() */
109 * @param ssaMeth method to process
111 private EscapeAnalysis(SsaMethod ssaMeth) {
112 this.ssaMeth = ssaMeth;
113 this.regCount = ssaMeth.getRegCount();
144 ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns();
157 ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns();
331 List<SsaInsn> useList = ssaMeth.getUseListForRegister(def.getReg())
    [all...]
ConstCollector.java 66 private final SsaMethod ssaMeth;
84 this.ssaMeth = ssaMethod;
91 int regSz = ssaMeth.getRegCount();
98 SsaBasicBlock start = ssaMeth.getEntryBlock();
107 = RegisterSpec.make(ssaMeth.makeNewSsaReg(), cst);
118 SsaBasicBlock entryBlock = ssaMeth.getEntryBlock();
158 int regSz = ssaMeth.getRegCount();
172 SsaInsn insn = ssaMeth.getDefinitionForRegister(i);
187 predInsns = ssaMeth.getBlocks().get(pred).getInsns();
212 if (ssaMeth.isRegALocal(result))
    [all...]
SCCP.java 45 private final SsaMethod ssaMeth;
46 /** ssaMeth.getRegCount() */
69 private SCCP(SsaMethod ssaMeth) {
70 this.ssaMeth = ssaMeth;
71 this.regCount = ssaMeth.getRegCount();
76 this.executableBlocks = new BitSet(ssaMeth.getBlocks().size());
115 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
119 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
254 if (!ssaMeth.isRegALocal(specA) &
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/back/
RegisterAllocator.java 39 protected final SsaMethod ssaMeth;
46 * @param ssaMeth method to process.
50 public RegisterAllocator(SsaMethod ssaMeth,
52 this.ssaMeth = ssaMeth;
80 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
98 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
111 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(reg);
159 RegisterSpec newRegSpec = RegisterSpec.make(ssaMeth.makeNewSsaReg(),
191 ssaMeth.onInsnsChanged()
    [all...]
SsaToRop.java 48 private final SsaMethod ssaMeth;
62 * @param ssaMeth {@code non-null;} method to process
67 public static RopMethod convertToRopMethod(SsaMethod ssaMeth,
69 return new SsaToRop(ssaMeth, minimizeRegisters).convert();
81 this.ssaMeth = ssaMethod;
97 // allocator = new NullRegisterAllocator(ssaMeth, interference);
98 // allocator = new FirstFitAllocator(ssaMeth, interference);
101 new FirstFitLocalCombiningAllocator(ssaMeth, interference,
111 ssaMeth.setBackMode();
113 ssaMeth.mapRegisters(mapper)
    [all...]
LivenessAnalyzer.java 57 private final SsaMethod ssaMeth;
84 * @param ssaMeth {@code non-null;} method to process
89 SsaMethod ssaMeth) {
90 int szRegs = ssaMeth.getRegCount();
94 new LivenessAnalyzer(ssaMeth, i, interference).run();
97 coInterferePhis(ssaMeth, interference);
105 * @param ssaMeth {@code non-null;} method to process
111 private LivenessAnalyzer(SsaMethod ssaMeth, int reg,
113 int blocksSz = ssaMeth.getBlocks().size();
115 this.ssaMeth = ssaMeth
    [all...]
FirstFitLocalCombiningAllocator.java 127 * @param ssaMeth {@code non-null;} method to process
133 SsaMethod ssaMeth, InterferenceGraph interference,
135 super(ssaMeth, interference);
137 ssaRegsMapped = new BitSet(ssaMeth.getRegCount());
140 interference, ssaMeth.getRegCount());
150 paramRangeEnd = ssaMeth.getParamWidth();
265 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(ssaReg);
409 return startReg == 0 && !ssaMeth.isStatic();
504 int szSsaRegs = ssaMeth.getRegCount();
547 ssaMeth.getBlocks().get(predBlocks.nextSetBit(0))
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
SsaDumper.java 94 SsaMethod ssaMeth = null;
99 ssaMeth = Optimizer.debugNoRegisterAllocation(rmeth,
103 ssaMeth = Optimizer.debugEdgeSplit(rmeth, paramWidth,
106 ssaMeth = Optimizer.debugPhiPlacement(
109 ssaMeth = Optimizer.debugRenaming(
112 ssaMeth = Optimizer.debugDeadCodeRemover(
120 ssaMeth.blockIndexToRopLabel(ssaMeth.getEntryBlockIndex())));
123 ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks();
137 sb.append(Hex.u2(ssaMeth.blockIndexToRopLabel(i)))
    [all...]
  /external/dexmaker/lib/
dalvik-dx-9.0.0_r3.jar 

Completed in 179 milliseconds