Lines Matching defs:head
44 std::string nameOps(std::pair<std::string, std::string> head, Args... names) {
45 return "OpName %" + head.first + " \"" + head.second + "\"\n" +
50 std::string nameOps(std::string head, Args... names) {
51 return "OpName %" + head + " \"" + head + "\"\n" + nameOps(names...);
645 Block head("head", spv::Op::OpBranchConditional);
648 head.SetBody("%cond = OpSLessThan %boolt %one %two\n");
650 if (is_shader) head.AppendBody("OpSelectionMerge %head None\n");
653 nameOps("head", "exit", std::make_pair("func", "Main")) +
657 str += head >> std::vector<Block>({exit, exit});
668 "'.\\[%head\\]' does not strictly structurally dominate the "
670 "'.\\[%head\\]'\n %head = OpLabel\n"));