Lines Matching refs:basic_block
245 void AssignNewResultIds(BasicBlock* basic_block);
255 void RemapOperands(BasicBlock* basic_block);
608 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock() local
609 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock()
613 AssignNewResultIds(basic_block); in CopyBasicBlock()
620 merge_inst->SetInOperand(1, {basic_block->id()}); in CopyBasicBlock()
624 state_.new_continue_block = basic_block; in CopyBasicBlock()
629 state_.new_header_block = basic_block; in CopyBasicBlock()
633 Instruction* merge_inst = basic_block->GetLoopMergeInst(); in CopyBasicBlock()
639 if (itr == loop->GetLatchBlock()) state_.new_latch_block = basic_block; in CopyBasicBlock()
643 state_.new_condition_block = basic_block; in CopyBasicBlock()
648 blocks_to_add_.push_back(std::unique_ptr<BasicBlock>(basic_block)); in CopyBasicBlock()
651 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
833 void LoopUnrollerUtilsImpl::AssignNewResultIds(BasicBlock* basic_block) { in AssignNewResultIds() argument
842 state_.new_inst[basic_block->GetLabelInst()->result_id()] = new_label_id; in AssignNewResultIds()
843 basic_block->GetLabelInst()->SetResultId(new_label_id); in AssignNewResultIds()
844 def_use_mgr->AnalyzeInstDefUse(basic_block->GetLabelInst()); in AssignNewResultIds()
846 for (Instruction& inst : *basic_block) { in AssignNewResultIds()
883 void LoopUnrollerUtilsImpl::RemapOperands(BasicBlock* basic_block) { in RemapOperands() argument
884 for (Instruction& inst : *basic_block) { in RemapOperands()