Searched refs:blocks (Results 26 - 42 of 42) sorted by relevance

12

/dalvik/dx/src/com/android/dx/rop/code/
H A DLocalVariableInfo.java60 BasicBlockList blocks = method.getBlocks();
61 int maxLabel = blocks.getMaxLabel();
63 this.regCount = blocks.getRegCount();
67 new HashMap<Insn, RegisterSpec>(blocks.getInstructionCount());
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DStdCatchBuilder.java81 BasicBlockList blocks = method.getBlocks();
82 int size = blocks.size();
85 BasicBlock block = blocks.get(i);
98 BasicBlockList blocks = method.getBlocks();
99 int size = blocks.size();
102 BasicBlock block = blocks.get(i);
125 BasicBlockList blocks = method.getBlocks();
133 BasicBlock block = blocks.labelToBlock(order[i]);
138 * placement of blocks that can't throw with respect
139 * to the blocks tha
[all...]
H A DRopTranslator.java125 BasicBlockList blocks = method.getBlocks();
126 int bsz = blocks.size();
134 int maxInsns = (bsz * 3) + blocks.getInstructionCount();
150 this.regCount = blocks.getRegCount()
216 * original blocks.
219 BasicBlockList blocks = method.getBlocks();
223 // Process the blocks in output order.
227 outputBlock(blocks.labelToBlock(order[i]), nextLabel);
302 * Picks an order for the blocks by doing "trace" analysis.
305 BasicBlockList blocks
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DStdCatchBuilder.java81 BasicBlockList blocks = method.getBlocks();
82 int size = blocks.size();
85 BasicBlock block = blocks.get(i);
98 BasicBlockList blocks = method.getBlocks();
99 int size = blocks.size();
102 BasicBlock block = blocks.get(i);
125 BasicBlockList blocks = method.getBlocks();
133 BasicBlock block = blocks.labelToBlock(order[i]);
138 * placement of blocks that can't throw with respect
139 * to the blocks tha
[all...]
H A DRopTranslator.java131 BasicBlockList blocks = method.getBlocks();
132 int bsz = blocks.size();
140 int maxInsns = (bsz * 3) + blocks.getInstructionCount();
156 this.regCount = blocks.getRegCount()
223 * original blocks.
226 BasicBlockList blocks = method.getBlocks();
230 // Process the blocks in output order.
234 outputBlock(blocks.labelToBlock(order[i]), nextLabel);
309 * Picks an order for the blocks by doing "trace" analysis.
312 BasicBlockList blocks
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java62 List<SsaBasicBlock> blocks = method.getBlocks();
66 this.blockStarts = new RegisterSpecSet[blocks.size()];
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);
/dalvik/vm/compiler/
H A DCompilerUtility.h73 void dvmDumpBlockBitVector(const GrowableList *blocks, char *msg,
H A DUtility.cpp58 * See if there are previously allocated arena blocks before the last
89 /* Reclaim all the arena blocks allocated so far */
178 ALOGD("%d blocks in total", cUnit->numBlocks);
247 ALOGD("Compiler arena uses %d blocks (%d bytes each)",
370 void dvmDumpBlockBitVector(const GrowableList *blocks, char *msg, argument
379 (BasicBlock *) dvmGrowableListGetElement(blocks, i);
H A DSSATransformation.cpp36 dvmGrowableListIteratorInit(&block->successorBlockList.blocks,
49 /* Sort the blocks by the Depth-First-Search pre-order */
128 /* Iterate through the dominated blocks first */
151 * blocks.
174 dvmGrowableListIteratorInit(&bb->successorBlockList.blocks,
380 * Iterate through all successor blocks and propagate up the live-in sets.
399 dvmGrowableListIteratorInit(&bb->successorBlockList.blocks,
447 /* Calculate the phi blocks for each Dalvik register */
467 * Iterate through the original blocks plus the new ones in
499 * predecessor blocks
[all...]
H A DFrontend.cpp561 dvmGrowableListIteratorInit(&bottomBlock->successorBlockList.blocks,
727 dvmGrowableListIteratorInit(&bb->successorBlockList.blocks,
757 dvmGrowableListIteratorInit(&bb->successorBlockList.blocks,
814 dvmGrowableListIteratorInit(&predBB->successorBlockList.blocks,
841 /* Identify code range in try blocks and set up the empty catch blocks */
857 /* Mark all the insn offsets in Try blocks */
869 /* Iterate over each of the handlers to enqueue the empty Catch blocks */
885 * Create dummy catch blocks first. Since these are created before
886 * other blocks ar
[all...]
H A DCompilerIR.h160 const Method *containingMethod; // For blocks from the callee
162 bool needFallThroughBranch; // For blocks ended due to length limit
176 GrowableList blocks; member in struct:BasicBlock::__anon52
181 * The "blocks" field in "successorBlockList" points to an array of
183 * For catch blocks, key is type index for the exception.
184 * For swtich blocks, key is the case value.
/dalvik/dx/src/com/android/dx/command/dump/
H A DBlockDumper.java53 /** whether or not to registerize (make rop blocks) */
79 * @param rop whether or not to registerize (make rop blocks)
300 BasicBlockList blocks = rmeth.getBlocks();
301 int[] order = blocks.getLabelsInOrder();
306 BasicBlock bb = blocks.get(blocks.indexOfLabel(label));
H A DDotDumper.java132 BasicBlockList blocks = rmeth.getBlocks();
134 int sz = blocks.size();
136 BasicBlock bb = blocks.get(i);
H A DSsaDumper.java49 * Dumper for the SSA-translated blocks of a method.
131 ArrayList<SsaBasicBlock> blocks = ssaMeth.getBlocks();
133 (ArrayList<SsaBasicBlock>) blocks.clone();
/dalvik/vm/alloc/
H A DCopying.cpp57 * The block queue exists to thread lists of blocks from the various
68 * more contiguous blocks. Objects that are small enough to fit
71 * blocks. When half the available blocks are filled, a garbage
78 * scheme; blocks containing such objects are grayed (promoted) at the
153 * We use 512-byte blocks.
183 /* Total number of blocks available for allocation. */
194 * Base and limit blocks. Basically the shifted start address of
195 * the block. We convert blocks to a relative number when
294 * blocks
296 allocateBlocks(HeapSource *heapSource, size_t blocks) argument
587 size_t aligned, available, blocks; local
[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 367 milliseconds

12