Lines Matching refs:schedule
32 current_block_(schedule()->start()) { in RawMachineAssembler()
106 Schedule* schedule = schedule_; in ExportForTest() local
108 return schedule; in ExportForTest()
131 void RawMachineAssembler::OptimizeControlFlow(Schedule* schedule, Graph* graph, in OptimizeControlFlow() argument
135 for (size_t i = 0; i < schedule->all_blocks()->size(); ++i) { in OptimizeControlFlow()
136 BasicBlock* block = (*schedule->all_blocks())[i]; in OptimizeControlFlow()
149 schedule->SetBlockForNode(nullptr, node); in OptimizeControlFlow()
150 schedule->AddNode(block, node); in OptimizeControlFlow()
156 schedule->SetBlockForNode(block, control_input); in OptimizeControlFlow()
160 schedule->MoveSuccessors(successor, block); in OptimizeControlFlow()
161 schedule->ClearBlockById(successor->id()); in OptimizeControlFlow()
202 BasicBlock* new_true_block = schedule->NewBasicBlock(); in OptimizeControlFlow()
203 BasicBlock* new_false_block = schedule->NewBasicBlock(); in OptimizeControlFlow()
208 schedule->AddGoto(new_true_block, true_block); in OptimizeControlFlow()
209 schedule->AddGoto(new_false_block, false_block); in OptimizeControlFlow()
212 schedule->AddBranch(predecessor, branch_clone, new_true_block, in OptimizeControlFlow()
216 schedule->ClearBlockById(block->id()); in OptimizeControlFlow()
536 DCHECK(current_block_ != schedule()->end()); in Goto()
537 schedule()->AddGoto(CurrentBlock(), Use(label)); in Goto()
544 DCHECK(current_block_ != schedule()->end()); in Branch()
546 BasicBlock* true_block = schedule()->NewBasicBlock(); in Branch()
547 BasicBlock* false_block = schedule()->NewBasicBlock(); in Branch()
548 schedule()->AddBranch(CurrentBlock(), branch, true_block, false_block); in Branch()
551 schedule()->AddGoto(true_block, Use(true_val)); in Branch()
554 schedule()->AddGoto(false_block, Use(false_val)); in Branch()
563 schedule()->AddCall(CurrentBlock(), call, Use(if_success), Use(if_exception)); in Continuations()
571 DCHECK_NE(schedule()->end(), current_block_); in Switch()
577 BasicBlock* case_block = schedule()->NewBasicBlock(); in Switch()
580 schedule()->AddNode(case_block, case_node); in Switch()
581 schedule()->AddGoto(case_block, Use(case_labels[i])); in Switch()
584 BasicBlock* default_block = schedule()->NewBasicBlock(); in Switch()
586 schedule()->AddNode(default_block, default_node); in Switch()
587 schedule()->AddGoto(default_block, Use(default_label)); in Switch()
589 schedule()->AddSwitch(CurrentBlock(), switch_node, succ_blocks, succ_count); in Switch()
596 schedule()->AddReturn(CurrentBlock(), ret); in Return()
603 schedule()->AddReturn(CurrentBlock(), ret); in Return()
610 schedule()->AddReturn(CurrentBlock(), ret); in Return()
617 schedule()->AddReturn(CurrentBlock(), ret); in Return()
627 schedule()->AddReturn(CurrentBlock(), ret); in Return()
650 schedule()->AddReturn(CurrentBlock(), ret); in PopAndReturn()
657 schedule()->AddReturn(CurrentBlock(), ret); in PopAndReturn()
665 schedule()->AddReturn(CurrentBlock(), ret); in PopAndReturn()
673 schedule()->AddReturn(CurrentBlock(), ret); in PopAndReturn()
685 schedule()->AddThrow(CurrentBlock(), ret); in Unreachable()
723 schedule()->AddTailCall(CurrentBlock(), tail_call); in TailCallN()
796 label->block_ = schedule()->NewBasicBlock(); in EnsureBlock()
860 schedule()->AddNode(CurrentBlock(), node); in AddNode()