• Home
  • Raw
  • Download

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

7 //     http://www.apache.org/licenses/LICENSE-2.0
26 #include "spirv-tools/libspirv.hpp"
43 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck()
55 // clang-format off in TEST()
94 // clang-format on in TEST()
112 // clang-format off in TEST()
129 "%6 = OpLabel\n" in TEST()
134 // clang-format on in TEST()
139 // clang-format off in TEST()
189 "OpLine %file 6 0\n" in TEST()
203 // clang-format on in TEST()
219 {24, {4}}, {25, {5, 6, kNoLine}}, in TEST()
226 context->get_def_use_mgr(); in TEST()
228 auto& lines = def_use_mgr->GetDef(check.id)->dbg_line_insts(); in TEST()
271 context->get_def_use_mgr(); in TEST()
274 for (auto* inst = def_use_mgr->GetDef(1); in TEST()
275 inst && (inst->opcode() != SpvOpFunctionEnd); inst = inst->NextNode()) { in TEST()
276 inst->ForEachInst( in TEST()
278 opcodes.push_back(sub_inst->opcode()); in TEST()
318 context->get_def_use_mgr(); in TEST()
321 for (auto* inst = def_use_mgr->GetDef(1); in TEST()
322 inst && (inst->opcode() != SpvOpFunctionEnd); inst = inst->NextNode()) { in TEST()
323 inst->ForEachInst( in TEST()
325 opcodes.push_back(sub_inst->opcode()); in TEST()
419 OpLine %7 6 23 in TEST()
436 %43 = OpExtInst %void %1 DebugFunction %14 %41 %34 6 1 %35 %15 FlagIsProtected|FlagIsPrivate 7 %main in TEST()
437 %44 = OpExtInst %void %1 DebugLocalVariable %16 %40 %34 6 16 %43 FlagIsLocal 0 in TEST()
440 OpLine %7 6 1 in TEST()
494 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
567 %40 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
577 %50 = OpExtInst %void %1 DebugLexicalBlock %40 6 17 %48 in TEST()
602 OpLine %5 6 7 in TEST()
604 OpLine %5 6 12 in TEST()
606 OpLine %5 6 17 in TEST()
660 // TODO(https://gitlab.khronos.org/spirv/SPIR-V/issues/533): In the following in TEST()
661 // SPIRV code, we use DebugInfoNone to reference opted-out function from in TEST()
662 // DebugFunction similar to opted-out global variable for DebugGlobalVariable, in TEST()
670 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
736 %33 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
749 %46 = OpExtInst %void %1 DebugLexicalBlock %33 6 17 %44 in TEST()
758 OpLine %5 6 7 in TEST()
760 OpLine %5 6 12 in TEST()
762 OpLine %5 6 17 in TEST()
809 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
882 %40 = OpExtInst %void %1 DebugSource %5 %6 in TEST()
892 %50 = OpExtInst %void %1 DebugLexicalBlock %40 6 17 %48 in TEST()
917 OpLine %5 6 7 in TEST()
919 OpLine %5 6 12 in TEST()
921 OpLine %5 6 17 in TEST()
962 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1059 OpLine %7 6 29 in TEST()
1074 %49 = OpExtInst %void %1 DebugFunction %11 %48 %41 6 1 %42 %11 FlagIsProtected|FlagIsPrivate 7 %src… in TEST()
1075 %50 = OpExtInst %void %1 DebugLocalVariable %12 %47 %41 6 23 %49 FlagIsLocal 0 in TEST()
1081 OpLine %7 6 1 in TEST()
1085 OpLine %7 6 23 in TEST()
1089 OpLine %7 6 23 in TEST()
1095 OpLine %7 6 1 in TEST()
1097 OpLine %7 6 11 in TEST()
1101 OpLine %7 6 11 in TEST()
1108 OpLine %7 6 1 in TEST()
1111 OpLine %7 6 23 in TEST()
1147 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1167 %6 = OpExtInst %void %1 DebugSource %3 in TEST()
1168 %7 = OpExtInst %void %1 DebugCompilationUnit 2 4 %6 HLSL in TEST()
1203 // float lv1 = gv1 - gv2; in TEST()
1206 // clang-format off in TEST()
1257 // clang-format on in TEST()
1264 // clang-format off in TEST()
1271 "%6 = OpUndef %uint\n" in TEST()
1275 // clang-format on in TEST()
1283 context->module()->types_values_begin(), in TEST()
1284 context->module()->types_values_end(), in TEST()
1289 context->module()->ToBinary(&binary, /* skip_nop = */ false); in TEST()
1298 // clang-format off in TEST()
1306 "%6 = OpLabel\n" in TEST()
1311 // clang-format on in TEST()
1316 // clang-format off in TEST()
1325 // clang-format on in TEST()
1330 // clang-format off in TEST()
1338 "OpBranch %6\n" in TEST()
1341 "%6 = OpLabel\n" in TEST()
1347 // clang-format on in TEST()
1352 // clang-format off in TEST()
1362 // clang-format on in TEST()
1367 // clang-format off in TEST()
1375 // clang-format on in TEST()
1396 DoErrorMessageCheck("%2 = OpFunction %1 None %3\n%5 = OpFunction %4 None %6", in TEST()
1437 "Non-OpFunctionParameter (opcode: 59) found inside " in TEST()
1444 // clang-format off in TEST()
1495 // clang-format on in TEST()
1502 context->module()->ForEachInst([&ids](const Instruction* inst) { in TEST()
1503 EXPECT_TRUE(ids.insert(inst->unique_id()).second); in TEST()