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

  /dalvik/dx/src/com/android/dx/ssa/
MoveParamCombiner.java 36 private final SsaMethod ssaMeth;
47 private MoveParamCombiner(SsaMethod ssaMeth) {
48 this.ssaMeth = ssaMeth;
57 = new RegisterSpec[ssaMeth.getParamWidth()];
62 ssaMeth.forEachInsn(new SsaInsn.Visitor() {
101 ssaMeth.getDefinitionForRegister(specA.getReg())
111 return ssaMeth.getRegCount();
125 = ssaMeth.getUseListForRegister(specB.getReg());
139 ssaMeth.deleteInsns(deletedInsns)
    [all...]
LiteralOpUpgrader.java 40 private final SsaMethod ssaMeth;
56 this.ssaMeth = ssaMethod;
81 ssaMeth.forEachInsn(new SsaInsn.Visitor() {
156 ssaMeth.onInsnRemoved(insn);
158 ssaMeth.onInsnAdded(newInsn);
DeadCodeRemover.java 40 private final SsaMethod ssaMeth;
42 /** ssaMeth.getRegCount() */
70 this.ssaMeth = ssaMethod;
74 useList = ssaMeth.getUseListCopy();
83 ssaMeth.forEachInsn(new NoSideEffectVisitor(worklist));
93 SsaInsn insnS = ssaMeth.getDefinitionForRegister(regV);
109 ssaMeth.getDefinitionForRegister(
124 ssaMeth.deleteInsns(deletedInsns);
194 * ssaMeth.forEachInsn() is called with this instance.
SsaRenamer.java 62 private final SsaMethod ssaMeth;
90 * @param ssaMeth {@code non-null;} un-renamed SSA method that will
93 public SsaRenamer(SsaMethod ssaMeth) {
94 ropRegCount = ssaMeth.getRegCount();
96 this.ssaMeth = ssaMeth;
103 startsForBlocks = new RegisterSpec[ssaMeth.getBlocks().size()][];
134 startsForBlocks[ssaMeth.getEntryBlockIndex()] = initialRegMapping;
143 ssaMeth.forEachBlockDepthFirstDom(new SsaBasicBlock.Visitor() {
150 ssaMeth.setNewRegCount(nextSsaReg)
    [all...]
Optimizer.java 95 SsaMethod ssaMeth = null;
100 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic);
101 runSsaFormSteps(ssaMeth, steps);
103 RopMethod resultMeth = SsaToRop.convertToRopMethod(ssaMeth, false);
132 SsaMethod ssaMeth;
135 ssaMeth = SsaConverter.convertToSsaMethod(
146 runSsaFormSteps(ssaMeth, newSteps);
148 resultMeth = SsaToRop.convertToRopMethod(ssaMeth, true);
152 private static void runSsaFormSteps(SsaMethod ssaMeth,
157 MoveParamCombiner.process(ssaMeth);
    [all...]
PhiTypeResolver.java 46 SsaMethod ssaMeth;
52 * @param ssaMeth method to process
54 public static void process (SsaMethod ssaMeth) {
55 new PhiTypeResolver(ssaMeth).run();
58 private PhiTypeResolver(SsaMethod ssaMeth) {
59 this.ssaMeth = ssaMeth;
60 worklist = new BitSet(ssaMeth.getRegCount());
68 int regCount = ssaMeth.getRegCount();
71 SsaInsn definsn = ssaMeth.getDefinitionForRegister(reg)
    [all...]
ConstCollector.java 60 private final SsaMethod ssaMeth;
78 this.ssaMeth = ssaMethod;
85 int regSz = ssaMeth.getRegCount();
92 SsaBasicBlock start = ssaMeth.getEntryBlock();
101 = RegisterSpec.make(ssaMeth.makeNewSsaReg(), cst);
112 SsaBasicBlock entryBlock = ssaMeth.getEntryBlock();
152 int regSz = ssaMeth.getRegCount();
166 SsaInsn insn = ssaMeth.getDefinitionForRegister(i);
198 if (ssaMeth.isRegALocal(result)) {
265 for (SsaInsn use : ssaMeth.getUseListForRegister(origReg.getReg()))
    [all...]
SCCP.java 44 private SsaMethod ssaMeth;
45 /** ssaMeth.getRegCount() */
64 private SCCP(SsaMethod ssaMeth) {
65 this.ssaMeth = ssaMeth;
66 this.regCount = ssaMeth.getRegCount();
70 this.executableBlocks = new BitSet(ssaMeth.getBlocks().size());
105 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
109 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
331 addBlockToWorklist(ssaMeth.getBlocks().get(successor))
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/back/
RegisterAllocator.java 41 protected final SsaMethod ssaMeth;
48 * @param ssaMeth method to process.
52 public RegisterAllocator(SsaMethod ssaMeth,
54 this.ssaMeth = ssaMeth;
82 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
100 SsaInsn definition = ssaMeth.getDefinitionForRegister(reg);
113 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(reg);
161 RegisterSpec newRegSpec = RegisterSpec.make(ssaMeth.makeNewSsaReg(),
193 ssaMeth.onInsnsChanged()
    [all...]
SsaToRop.java 55 private final SsaMethod ssaMeth;
69 * @param ssaMeth {@code non-null;} method to process
74 public static RopMethod convertToRopMethod(SsaMethod ssaMeth,
76 return new SsaToRop(ssaMeth, minimizeRegisters).convert();
82 * @param ssaMeth {@code non-null;} method to process
88 this.ssaMeth = ssaMethod;
104 // allocator = new NullRegisterAllocator(ssaMeth, interference);
105 // allocator = new FirstFitAllocator(ssaMeth, interference);
108 new FirstFitLocalCombiningAllocator(ssaMeth, interference,
118 ssaMeth.setBackMode()
    [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 76 * @param ssaMeth {@code non-null;} method to process
82 SsaMethod ssaMeth, InterferenceGraph interference,
84 super(ssaMeth, interference);
86 ssaRegsMapped = new BitSet(ssaMeth.getRegCount());
89 interference, ssaMeth.getRegCount());
99 paramRangeEnd = ssaMeth.getParamWidth();
210 SsaInsn defInsn = ssaMeth.getDefinitionForRegister(ssaReg);
353 return startReg == 0 && !ssaMeth.isStatic();
425 int szSsaRegs = ssaMeth.getRegCount();
467 ssaMeth.getBlocks().get(predBlocks.nextSetBit(0))
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
SsaDumper.java 97 SsaMethod ssaMeth = null;
102 ssaMeth = Optimizer.debugNoRegisterAllocation(rmeth,
106 ssaMeth = Optimizer.debugEdgeSplit(rmeth, paramWidth,
109 ssaMeth = Optimizer.debugPhiPlacement(
112 ssaMeth = Optimizer.debugRenaming(
115 ssaMeth = Optimizer.debugDeadCodeRemover(
123 ssaMeth.blockIndexToRopLabel(ssaMeth.getEntryBlockIndex())));
126 ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks();
140 sb.append(Hex.u2(ssaMeth.blockIndexToRopLabel(i)))
    [all...]
  /prebuilt/sdk/tools/lib/
dx.jar 

Completed in 38 milliseconds