Lines Matching refs:orig_block
185 BasicBlock* orig_block, BasicBlock** immed_pred_block_p) { in SplitBlock() argument
186 DCHECK_GT(code_offset, orig_block->start_offset); in SplitBlock()
187 MIR* insn = orig_block->first_mir_insn; in SplitBlock()
205 bottom_block->last_mir_insn = orig_block->last_mir_insn; in SplitBlock()
210 bottom_block->terminated_by_return = orig_block->terminated_by_return; in SplitBlock()
211 orig_block->terminated_by_return = false; in SplitBlock()
213 bottom_block->conditional_branch = orig_block->conditional_branch; in SplitBlock()
214 orig_block->conditional_branch = false; in SplitBlock()
216 bottom_block->explicit_throw = orig_block->explicit_throw; in SplitBlock()
217 orig_block->explicit_throw = false; in SplitBlock()
220 bottom_block->taken = orig_block->taken; in SplitBlock()
222 orig_block->taken = NullBasicBlockId; in SplitBlock()
224 bb_taken->ErasePredecessor(orig_block->id); in SplitBlock()
229 bottom_block->fall_through = orig_block->fall_through; in SplitBlock()
230 orig_block->fall_through = bottom_block->id; in SplitBlock()
231 bottom_block->predecessors.push_back(orig_block->id); in SplitBlock()
234 bb_fall_through->ErasePredecessor(orig_block->id); in SplitBlock()
239 if (orig_block->successor_block_list_type != kNotUsed) { in SplitBlock()
240 bottom_block->successor_block_list_type = orig_block->successor_block_list_type; in SplitBlock()
241 bottom_block->successor_blocks.swap(orig_block->successor_blocks); in SplitBlock()
242 orig_block->successor_block_list_type = kNotUsed; in SplitBlock()
243 DCHECK(orig_block->successor_blocks.empty()); // Empty after the swap() above. in SplitBlock()
247 bb->ErasePredecessor(orig_block->id); in SplitBlock()
253 orig_block->last_mir_insn = prev; in SplitBlock()
261 DCHECK_EQ(*immed_pred_block_p, orig_block); in SplitBlock()
267 DCHECK(insn != orig_block->first_mir_insn); in SplitBlock()
320 BasicBlock* orig_block = bb; in FindBlock() local
321 DCHECK_EQ((*dex_pc_to_block_map)[p->offset], orig_block->id); in FindBlock()
340 DCHECK((mapped_id == orig_block->id) || (mapped_id == bottom_block->id)); in FindBlock()