Lines Matching defs:blocks
32 * 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;
49 blocks = ropMethod.getBlocks();
50 newBlocks = blocks.getMutableCopy();
56 * compare blocks with the same hash.
61 int szBlocks = blocks.size();
63 BitSet toDelete = new BitSet(blocks.getMaxLabel());
67 BasicBlock b = blocks.get(bindex);
81 BasicBlock iBlock = blocks.labelToBlock(iLabel);
95 BasicBlock jBlock = blocks.labelToBlock(jLabel);
122 * Helper method to compare the contents of two blocks.
126 * @return {@code true} iff the two blocks' instructions are the same
133 * Combines blocks proven identical into one alpha block, re-writing
134 * all of the successor links that point to the beta blocks to point
138 * @param betaLabels label list of blocks to combine
145 BasicBlock bb = blocks.labelToBlock(betaLabel);