Searched defs:blocks (Results 1 - 8 of 8) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/code/
H A DLocalVariableExtractor.java31 private final BasicBlockList blocks; field in class:LocalVariableExtractor
36 /** {@code non-null;} work set indicating blocks needing to be processed */
60 BasicBlockList blocks = method.getBlocks();
61 int maxLabel = blocks.getMaxLabel();
64 this.blocks = blocks;
93 BasicBlock block = blocks.labelToBlock(label);
H A DRopMethod.java28 private final BasicBlockList blocks; field in class:RopMethod
41 * the labels for the blocks that return, if calculated
48 * @param blocks {@code non-null;} basic block list of the method
51 public RopMethod(BasicBlockList blocks, int firstLabel) { argument
52 if (blocks == null) {
53 throw new NullPointerException("blocks == null");
60 this.blocks = blocks;
73 return blocks;
130 RopMethod result = new RopMethod(blocks
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableExtractor.java40 private final ArrayList<SsaBasicBlock> blocks; field in class:LocalVariableExtractor
45 /** {@code non-null;} work set indicating blocks needing to be processed */
69 ArrayList<SsaBasicBlock> blocks = method.getBlocks();
72 this.blocks = blocks;
74 this.workSet = new BitSet(blocks.size());
106 SsaBasicBlock block = blocks.get(blockIndex);
H A DDominators.java50 /* Method's basic blocks. */
51 private final ArrayList<SsaBasicBlock> blocks; field in class:Dominators
73 this.blocks = meth.getBlocks();
74 this.info = new DFSInfo[blocks.size() + 2];
180 * First we perform a DFS numbering of the blocks, by
199 SsaBasicBlock predBlock = blocks.get(j);
H A DSsaMethod.java42 /** basic blocks, indexed by block index */
43 private ArrayList<SsaBasicBlock> blocks; field in class:SsaMethod
132 * @param blocks Rop blocks
136 static BitSet bitSetFromLabelList(BasicBlockList blocks, argument
138 BitSet result = new BitSet(blocks.size());
141 result.set(blocks.indexOfLabel(labelList.get(i)));
151 * @param ropBlocks Rop blocks
171 blocks = new ArrayList<SsaBasicBlock>(sz + 2);
175 blocks
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DIdenticalBlockCombiner.java32 * Searches for basic blocks that all have the same successor and insns
33 * but different predecessors. These blocks are then combined into a single
34 * block and the now-unused blocks are deleted. These identical blocks
35 * frequently are created when catch blocks are edge-split.
39 private final BasicBlockList blocks; field in class:IdenticalBlockCombiner
49 blocks = ropMethod.getBlocks();
50 newBlocks = blocks.getMutableCopy();
56 * compare blocks with the same hash.
61 int szBlocks = blocks
[all...]
H A DSsaToRop.java138 * Removes all blocks containing only GOTOs from the control flow.
142 * blocks containing the real return or throw statements must be
146 final ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks();
158 SsaBasicBlock pb = blocks.get(i);
173 ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks();
175 for (SsaBasicBlock block : blocks) {
176 // Add moves in all the pred blocks for each phi insn.
177 block.forEachPhiInsn(new PhiVisitor(blocks));
187 for (SsaBasicBlock block : blocks) {
197 private final ArrayList<SsaBasicBlock> blocks; field in class:SsaToRop.PhiVisitor
199 PhiVisitor(ArrayList<SsaBasicBlock> blocks) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DRopper.java36 * blocks.
73 private final ByteBlockList blocks; field in class:Ropper
128 /** list of all blocks that jsr to this subroutine */
130 /** List of all blocks that return from this subroutine */
151 * @param retBlock one of the ret blocks (final blocks) of this
167 * Adds a label to the list of ret blocks (final blocks) for this
177 * Adds a label to the list of caller blocks for this subroutine.
186 * Generates a list of subroutine successors. Note: successor blocks
[all...]

Completed in 76 milliseconds