Lines Matching refs:block_
124 if (block_ != nullptr) { in AddInstruction()
136 if (block_ != nullptr) { in AddInstruction()
140 block_ = MakeUnique<BasicBlock>(std::move(spv_inst)); in AddInstruction()
146 if (block_ == nullptr) { in AddInstruction()
152 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
153 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
154 block_ = nullptr; in AddInstruction()
160 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
220 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
223 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
227 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
230 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
247 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
250 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
254 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
257 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
271 if (block_ == nullptr) { // Inside function but outside blocks in AddInstruction()
281 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
292 if (block_ && function_) { in EndModule()
296 function_->AddBasicBlock(std::move(block_)); in EndModule()
297 block_ = nullptr; in EndModule()