Lines Matching refs:exit
189 // This motivates the need for the pseudo-exit node to have a node
202 OpName %exit "exit"
211 OpLoopMerge %exit %loop None
213 %exit = OpLabel
241 OpName %exit "exit"
253 OpLoopMerge %exit %cont None
257 OpBranchConditional %false %loop %exit
259 %exit = OpLabel
299 Block exit("exit", spv::Op::OpReturn);
307 str += cont >> exit;
308 str += exit;
318 Block exit("exit", spv::Op::OpReturn);
328 str += cont >> exit;
329 str += exit;
513 Block exit("exit", spv::Op::OpReturn);
516 bad.SetBody(" OpLoopMerge %entry %exit None\n");
524 str += bad >> std::vector<Block>({entry, exit}); // cannot target entry block
525 str += exit;
646 Block exit("exit", spv::Op::OpReturn);
653 nameOps("head", "exit", std::make_pair("func", "Main")) +
657 str += head >> std::vector<Block>({exit, exit});
658 str += exit;
1155 Block exit("exit", spv::Op::OpReturn);
1158 str += nameOps("unreachable", "exit", std::make_pair("func", "Main"));
1161 str += entry >> exit;
1162 str += unreachable >> exit;
1163 str += exit;
1182 Block exit("exit", spv::Op::OpReturn);
1189 str += nameOps("unreachable", "exit", std::make_pair("func", "Main"));
1193 str += entry >> exit;
1198 str += merge >> exit;
1199 str += exit;
1225 Block exit("exit", spv::Op::OpReturn);
1228 if (is_shader) loop.AppendBody("OpLoopMerge %exit %loop None\n");
1234 str += loop >> std::vector<Block>({loop, exit});
1235 str += exit;
1251 Block exit("exit", spv::Op::OpReturn);
1269 str += loop1_merge >> exit;
1270 str += exit;
1328 Block exit("exit", spv::Op::OpReturn);
1332 loop1.SetBody("OpLoopMerge %exit %loop1_cont None\n");
1342 str += loop1 >> std::vector<Block>({loop2, exit});
1345 str += loop1_cont >> std::vector<Block>({be_block, exit});
1347 str += exit;
1371 Block exit("exit", spv::Op::OpReturn);
1374 if (is_shader) split.SetBody("OpSelectionMerge %exit None\n");
1382 str += t >> exit;
1384 str += exit;
1404 Block exit("exit", spv::Op::OpReturn);
1407 if (is_shader) split.SetBody("OpSelectionMerge %exit None\n");
1414 str += split >> std::vector<Block>({split, exit});
1415 str += exit;
1474 Block exit("exit", spv::Op::OpReturn);
1485 str += cheader >> std::vector<Block>({exit, be_block});
1486 str += exit; // Branches out of a continue construct
1547 Block exit("exit", spv::Op::OpReturn);
1558 str += cont >> std::vector<Block>({loop, exit});
1559 str += merge >> exit;
1560 str += exit;
1634 OpLoopMerge %exit %loop None
1635 OpBranch %exit
1636 %exit = OpLabel
1666 OpLoopMerge %exit %cont None
1670 OpBranchConditional %cond %body %exit
1675 %exit = OpLabel
1696 Block exit("exit", spv::Op::OpReturn);
1700 entry.AppendBody("OpSelectionMerge %exit None\n");
1705 nameOps("entry", "inner_merge", "exit") + types_consts() +
1708 str += entry >> std::vector<Block>({inner_head, exit});
1712 str += inner_merge >> exit;
1713 str += exit;
3212 "'8[%8]', but not via a structured exit"));
3247 "'8[%8]', but not via a structured exit"));
3283 "'10[%10]', but not via a structured exit"));
3389 "'10[%10]', but not via a structured exit"));
3429 "'10[%10]', but not via a structured exit"));
3472 "'10[%10]', but not via a structured exit"));
3560 OpLoopMerge %exit %continue None
3565 OpBranch %exit
3568 %exit = OpLabel
3749 OpLoopMerge %exit %continue None
3752 OpBranchConditional %undef %body2 %exit
3757 %exit = OpLabel
3779 OpLoopMerge %exit %continue None
3787 %exit = OpLabel
3867 OpLoopMerge %exit %continue None
3872 OpBranch %exit
3877 %exit = OpLabel
3934 OpLoopMerge %exit %continue None
3938 OpBranchConditional %undef %exit %continue
3941 %exit = OpLabel
3971 OpLoopMerge %exit %continue None
3972 OpBranchConditional %undef %exit %inner
3978 %exit = OpLabel
4121 OpLoopMerge %exit %loop None
4122 OpBranchConditional %undef_bool %exit %loop
4123 %exit = OpLabel
4154 OpLoopMerge %exit %loop None
4155 OpBranchConditional %undef_bool %exit %loop
4156 %exit = OpLabel
4193 OpLoopMerge %exit %loop None
4194 OpBranchConditional %undef_bool %exit %loop
4195 %exit = OpLabel
4226 OpLoopMerge %exit %loop None
4227 OpBranchConditional %undef_bool %exit %loop
4228 %exit = OpLabel
4258 OpLoopMerge %exit %loop None
4259 OpBranchConditional %undef_bool %exit %loop
4260 %exit = OpLabel
4296 OpLoopMerge %exit %loop None
4297 OpBranchConditional %undef_bool %exit %loop
4298 %exit = OpLabel
4538 "'1[%BAD]', but not via a structured exit"));
4803 "via a structured exit"));