• Home
  • Raw
  • Download

Lines Matching +full:clang +full:- +full:6

7 //     http://www.apache.org/licenses/LICENSE-2.0
25 #include "spirv-tools/libspirv.hpp"
42 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck()
54 // clang-format off in TEST()
93 // clang-format on in TEST()
120 "%6 = OpFunctionParameter %float\n" in TEST()
127 // clang-format off in TEST()
144 "%6 = OpLabel\n" in TEST()
149 // clang-format on in TEST()
154 // clang-format off in TEST()
204 "OpLine %file 6 0\n" in TEST()
218 // clang-format on in TEST()
234 {24, {4}}, {25, {5, 6, kNoLine}}, in TEST()
241 context->get_def_use_mgr(); in TEST()
243 auto& lines = def_use_mgr->GetDef(check.id)->dbg_line_insts(); in TEST()
286 context->get_def_use_mgr(); in TEST()
289 for (auto* inst = def_use_mgr->GetDef(1); in TEST()
290 inst && (inst->opcode() != spv::Op::OpFunctionEnd); in TEST()
291 inst = inst->NextNode()) { in TEST()
292 inst->ForEachInst( in TEST()
294 opcodes.push_back(sub_inst->opcode()); in TEST()
334 context->get_def_use_mgr(); in TEST()
337 for (auto* inst = def_use_mgr->GetDef(1); in TEST()
338 inst && (inst->opcode() != spv::Op::OpFunctionEnd); in TEST()
339 inst = inst->NextNode()) { in TEST()
340 inst->ForEachInst( in TEST()
342 opcodes.push_back(sub_inst->opcode()); in TEST()
437 OpLine %7 6 23 in TEST()
454 %43 = OpExtInst %void %1 DebugFunction %14 %41 %34 6 1 %35 %15 FlagIsProtected|FlagIsPrivate 7 %main in TEST()
455 %44 = OpExtInst %void %1 DebugLocalVariable %16 %40 %34 6 16 %43 FlagIsLocal 0 in TEST()
458 OpLine %7 6 1 in TEST()
512 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
585 %40 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
595 %50 = OpExtInst %void %1 DebugLexicalBlock %40 6 17 %48 in TEST()
620 OpLine %5 6 7 in TEST()
622 OpLine %5 6 12 in TEST()
624 OpLine %5 6 17 in TEST()
678 // TODO(https://gitlab.khronos.org/spirv/SPIR-V/issues/533): In the following in TEST()
679 // SPIRV code, we use DebugInfoNone to reference opted-out function from in TEST()
680 // DebugFunction similar to opted-out global variable for DebugGlobalVariable, in TEST()
688 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
754 %33 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
767 %46 = OpExtInst %void %1 DebugLexicalBlock %33 6 17 %44 in TEST()
776 OpLine %5 6 7 in TEST()
778 OpLine %5 6 12 in TEST()
780 OpLine %5 6 17 in TEST()
827 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
900 %40 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
910 %50 = OpExtInst %void %1 DebugLexicalBlock %40 6 17 %48 in TEST()
935 OpLine %5 6 7 in TEST()
937 OpLine %5 6 12 in TEST()
939 OpLine %5 6 17 in TEST()
980 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1077 OpLine %7 6 29 in TEST()
1092 %49 = OpExtInst %void %1 DebugFunction %11 %48 %41 6 1 %42 %11 FlagIsProtected|FlagIsPrivate 7 %src… in TEST()
1093 %50 = OpExtInst %void %1 DebugLocalVariable %12 %47 %41 6 23 %49 FlagIsLocal 0 in TEST()
1099 OpLine %7 6 1 in TEST()
1103 OpLine %7 6 23 in TEST()
1107 OpLine %7 6 23 in TEST()
1113 OpLine %7 6 1 in TEST()
1115 OpLine %7 6 11 in TEST()
1119 OpLine %7 6 11 in TEST()
1126 OpLine %7 6 1 in TEST()
1129 OpLine %7 6 23 in TEST()
1165 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1185 %6 = OpExtInst %void %1 DebugSource %3 in TEST()
1186 %7 = OpExtInst %void %1 DebugCompilationUnit 2 4 %6 HLSL in TEST()
1221 // float lv1 = gv1 - gv2; in TEST()
1224 // clang-format off in TEST()
1275 // clang-format on in TEST()
1282 // clang-format off in TEST()
1289 "%6 = OpUndef %uint\n" in TEST()
1293 // clang-format on in TEST()
1301 context->module()->types_values_begin(), in TEST()
1302 context->module()->types_values_end(), [](const Instruction& inst) { in TEST()
1308 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1317 // clang-format off in TEST()
1325 "%6 = OpLabel\n" in TEST()
1330 // clang-format on in TEST()
1335 // clang-format off in TEST()
1344 // clang-format on in TEST()
1349 // clang-format off in TEST()
1357 "OpBranch %6\n" in TEST()
1360 "%6 = OpLabel\n" in TEST()
1366 // clang-format on in TEST()
1371 // clang-format off in TEST()
1381 // clang-format on in TEST()
1386 // clang-format off in TEST()
1394 // clang-format on in TEST()
1415 DoErrorMessageCheck("%2 = OpFunction %1 None %3\n%5 = OpFunction %4 None %6", in TEST()
1456 "Non-OpFunctionParameter (opcode: 59) found inside " in TEST()
1463 // clang-format off in TEST()
1514 // clang-format on in TEST()
1521 context->module()->ForEachInst([&ids](const Instruction* inst) { in TEST()
1522 EXPECT_TRUE(ids.insert(inst->unique_id()).second); in TEST()