• Home
  • Raw
  • Download

Lines Matching refs:current_block_

45       current_block_(nullptr),  in Function()
58 assert(current_block_ == nullptr && in RegisterFunctionParameter()
74 assert(current_block_ && in RegisterLoopMerge()
77 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge()
81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
87 merge_block_header_[&merge_block] = current_block_; in RegisterLoopMerge()
90 continue_target_headers_[&continue_target_block] = {current_block_}; in RegisterLoopMerge()
92 continue_target_headers_[&continue_target_block].push_back(current_block_); in RegisterLoopMerge()
101 current_block_->set_type(kBlockTypeSelection); in RegisterSelectionMerge()
103 merge_block_header_[&merge_block] = current_block_; in RegisterSelectionMerge()
126 assert(current_block_ == nullptr && in RegisterBlock()
131 current_block_ = &inserted_block->second; in RegisterBlock()
132 ordered_blocks_.push_back(current_block_); in RegisterBlock()
133 if (IsFirstBlock(block_id)) current_block_->set_reachable(true); in RegisterBlock()
144 current_block_ && in RegisterBlockEnd()
160 if (current_block_->is_type(kBlockTypeLoop)) { in RegisterBlockEnd()
165 loop_header_successors_plus_continue_target_map_[current_block_]; in RegisterBlockEnd()
168 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd()
172 if (continue_target != current_block_) { in RegisterBlockEnd()
177 current_block_->RegisterBranchInstruction(branch_instruction); in RegisterBlockEnd()
178 current_block_->RegisterSuccessors(next_blocks); in RegisterBlockEnd()
179 current_block_ = nullptr; in RegisterBlockEnd()
202 const BasicBlock* Function::current_block() const { return current_block_; } in current_block()
203 BasicBlock* Function::current_block() { return current_block_; } in current_block()