Lines Matching refs:new_header
207 BasicBlock* new_header = bb->SplitBasicBlock(context, new_header_id, iter); in SplitLoopHeader() local
208 context->AnalyzeDefUse(new_header->GetLabelInst()); in SplitLoopHeader()
211 RegisterBlock(new_header); in SplitLoopHeader()
214 context->set_instr_block(new_header->GetLabelInst(), new_header); in SplitLoopHeader()
215 new_header->ForEachInst([new_header, context](Instruction* inst) { in SplitLoopHeader()
216 context->set_instr_block(inst, new_header); in SplitLoopHeader()
220 bb->ForEachPhiInst([latch_block, bb, new_header, context](Instruction* phi) { in SplitLoopHeader()
260 new_header->begin()->InsertBefore(std::move(phi_owner)); in SplitLoopHeader()
261 context->set_instr_block(phi, new_header); in SplitLoopHeader()
272 {SPV_OPERAND_TYPE_ID, {new_header->id()}}})); in SplitLoopHeader()
275 label2preds_[new_header->id()].push_back(bb->id()); in SplitLoopHeader()
285 label2preds_[new_header->id()].push_back(latch_block->id()); in SplitLoopHeader()
299 loop->SetHeaderBlock(new_header); in SplitLoopHeader()
313 return new_header; in SplitLoopHeader()