Lines Matching refs:merge_inst
140 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local
141 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit()
142 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit()
151 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local
152 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit()
183 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local
184 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit()
186 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit()
188 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit()
189 auto merge_block = merge_inst->function()->GetBlock(merge_target).first; in IsStructuredExit()
195 if ((!seen_switch || merge_inst->opcode() == SpvOpLoopMerge) && in IsStructuredExit()
198 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit()
199 auto continue_target = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit()
210 if (merge_inst->opcode() == SpvOpLoopMerge) return false; in IsStructuredExit()