Lines Matching refs:new_block
247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
279 context->set_instr_block(inst, new_block); in SplitBasicBlock()
283 return new_block; in SplitBasicBlock()