Lines Matching refs:basic_block
245 void AssignNewResultIds(BasicBlock* basic_block);
255 void RemapOperands(BasicBlock* basic_block);
625 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock() local
626 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock()
629 KillDebugDeclares(basic_block); in CopyBasicBlock()
633 AssignNewResultIds(basic_block); in CopyBasicBlock()
640 merge_inst->SetInOperand(1, {basic_block->id()}); in CopyBasicBlock()
644 state_.new_continue_block = basic_block; in CopyBasicBlock()
649 state_.new_header_block = basic_block; in CopyBasicBlock()
653 Instruction* merge_inst = basic_block->GetLoopMergeInst(); in CopyBasicBlock()
659 if (itr == loop->GetLatchBlock()) state_.new_latch_block = basic_block; in CopyBasicBlock()
663 state_.new_condition_block = basic_block; in CopyBasicBlock()
668 blocks_to_add_.push_back(std::unique_ptr<BasicBlock>(basic_block)); in CopyBasicBlock()
671 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
859 void LoopUnrollerUtilsImpl::AssignNewResultIds(BasicBlock* basic_block) { in AssignNewResultIds() argument
868 state_.new_inst[basic_block->GetLabelInst()->result_id()] = new_label_id; in AssignNewResultIds()
869 basic_block->GetLabelInst()->SetResultId(new_label_id); in AssignNewResultIds()
870 def_use_mgr->AnalyzeInstDefUse(basic_block->GetLabelInst()); in AssignNewResultIds()
872 for (Instruction& inst : *basic_block) { in AssignNewResultIds()
909 void LoopUnrollerUtilsImpl::RemapOperands(BasicBlock* basic_block) { in RemapOperands() argument
910 for (Instruction& inst : *basic_block) { in RemapOperands()