/third_party/spirv-tools/test/ |
H A D | name_mapper_test.cpp | 283 {"OpName %1 \"foo\" OpDecorate %1 BuiltIn WorkDim " 285 1, "foo"}}));
|
H A D | named_id_test.cpp | 30 OpEntryPoint Vertex %main "foo" in TEST_F() 40 "OpEntryPoint Vertex %1 \"foo\"\n" in TEST_F() 81 {"%foo_@_bar", false}, {"%", false}, 83 {"5", false}, {"32", false}, {"foo", false},
|
/third_party/spirv-tools/test/opt/ |
H A D | aggressive_dead_code_elim_test.cpp | 521 // vec4 foo(vec4 v1, vec4 v2) 530 // gl_FragColor = foo(dead, BaseColor); 541 OpName %foo_vf4_vf4_ "foo(vf4;vf4;" 569 %23 = OpFunctionCall %v4float %foo_vf4_vf4_ %param %param_0 583 OpName %foo_vf4_vf4_ "foo(vf4;vf4;" 610 %23 = OpFunctionCall %v4float %foo_vf4_vf4_ %param %param_0 617 R"(%foo_vf4_vf4_ = OpFunction %v4float None %17 631 R"(%foo_vf4_vf4_ [all...] |
H A D | convert_relaxed_to_half_test.cpp | 1329 // layout(location = 1) in vec3 foo; in TEST_F() 1338 // res = func(foo, bar); in TEST_F() 1348 OpEntryPoint Fragment %main "main" %res %foo %bar in TEST_F() 1353 OpName %foo "foo" in TEST_F() 1358 OpDecorate %foo RelaxedPrecision in TEST_F() 1359 ; CHECK-NOT: OpDecorate %foo RelaxedPrecision in TEST_F() 1360 OpDecorate %foo Location 1 in TEST_F() 1382 %foo = OpVariable %_ptr_Input_v3float Input in TEST_F() 1390 %34 = OpLoad %v3float %foo in TEST_F() [all...] |
H A D | dead_branch_elim_test.cpp | 777 OpName %foo_ "foo(" in TEST_F() 795 %18 = OpFunctionCall %v4float %foo_ in TEST_F() 802 R"(%foo_ = OpFunction %v4float None %9 in TEST_F() 817 R"(%foo_ = OpFunction %v4float None %9 in TEST_F()
|
H A D | debug_info_manager_test.cpp | 484 // float4 foo(float4 ic) 494 // ps_output.oColor = foo(ic); 503 %15 = OpString "foo2.frag" 509 %33 = OpString "foo"
|
H A D | decoration_manager_test.cpp | 619 OpDecorateStringGOOGLE %1 HlslSemanticGOOGLE "foobar" in TEST_F()
|
H A D | eliminate_dead_functions_test.cpp | 215 OpSource HLSL 600 %5 "float4 foo() { in TEST_F() 219 return foo() + color; in TEST_F() 224 %8 = OpString "foo" in TEST_F() 225 ; CHECK: [[foo:%\d+]] = OpString "foo" in TEST_F() 251 ; CHECK: {{%\d+}} = OpExtInst %void %1 DebugFunction [[foo]] {{%\d+}} {{%\d+}} 1 1 {{%\d+}} {{%\d+}} FlagIsProtected|FlagIsPrivate 1 [[info_none]] in TEST_F() 285 OpSource HLSL 600 %5 "float4 foo() { in TEST_F() 289 return foo() + color; in TEST_F() 294 %8 = OpString "foo" in TEST_F() 295 ; CHECK: [[foo in TEST_F() [all...] |
H A D | inline_opaque_test.cpp | 43 OpName %foo_struct_S_t_vf2_vf21_ "foo(struct-S_t-vf2-vf21;" in TEST_F() 92 %return_value = OpFunctionCall %void %foo_struct_S_t_vf2_vf21_ %param in TEST_F() 121 R"(%foo_struct_S_t_vf2_vf21_ = OpFunction %void None %21 in TEST_F() 151 OpName %foo_ "foo(" 184 %26 = OpFunctionCall %20 %foo_ 215 R"(%foo_ = OpFunction %20 None %21 241 OpName %foo_struct_S_t_vf2_vf21_ "foo(struc [all...] |
H A D | inline_test.cpp | 34 // float foo(vec4 bar) in TEST_F() 41 // vec4 color = vec4(foo(BaseColor)); in TEST_F() 53 "OpName %foo_vf4_ \"foo(vf4;\"", in TEST_F() 78 "%foo_vf4_ = OpFunction %float None %14", in TEST_F() 99 "%23 = OpFunctionCall %float %foo_vf4_ %param", in TEST_F() 144 // float foo2(float f, float f2) in TEST_F() 149 // float foo(vec4 bar) in TEST_F() 151 // return foo2(bar.x + bar.y, bar.z); in TEST_F() 156 // vec4 color = vec4(foo(BaseColo in TEST_F() [all...] |
H A D | inst_bindless_check_test.cpp | 652 OpName %foo "foo" 653 OpMemberName %foo 0 "g_idx" 666 OpMemberDecorate %foo 0 Offset 0 667 OpDecorate %foo Block 692 %foo = OpTypeStruct %int 693 %_ptr_Uniform_foo = OpTypePointer Uniform %foo 1185 %1 = OpString "foo5.frag" 1521 OpEntryPoint Fragment %foo "foo" [all...] |
H A D | invocation_interlock_placement_test.cpp | 133 %foo = OpFunction %void None %1 in TEST_F() 147 %4 = OpFunctionCall %void %foo in TEST_F() 170 %foo = OpFunction %void None %1 in TEST_F() 183 %4 = OpFunctionCall %void %foo in TEST_F() 208 %foo = OpFunction %void None %1 in TEST_F() 223 %4 = OpFunctionCall %void %foo in TEST_F() 225 %5 = OpFunctionCall %void %foo in TEST_F() 250 %foo = OpFunction %void None %1 in TEST_F() 265 %4 = OpFunctionCall %void %foo in TEST_F()
|
H A D | ir_context_test.cpp | 401 %4 = OpString "foo" in TEST_F() 458 %4 = OpString "foo" in TEST_F()
|
H A D | local_access_chain_convert_test.cpp | 458 OpName %foo_struct_S_t_vf2_vf21_ "foo(struct-S_t-vf2-vf21;" in TEST_F() 519 R"(%foo_struct_S_t_vf2_vf21_ = OpFunction %void None %20 in TEST_F()
|
H A D | local_single_block_elim.cpp | 479 // void foo() { in TEST_F() 485 // foo(); in TEST_F() 497 OpName %foo_ "foo(" in TEST_F() 515 %16 = OpFunctionCall %void %foo_ in TEST_F() 520 %foo_ = OpFunction %void None %8 in TEST_F() 716 // Note that the call tree function bar is optimized, but foo is not 722 // vec4 foo(vec4 v1) 747 OpName %foo_vf4_ "foo(vf [all...] |
H A D | local_single_store_elim_test.cpp | 1001 %20 = OpString "foo.frag" in TEST_F() 1154 %7 = OpString "foo.frag" in TEST_F() 1567 %7 = OpString "foo2.frag" in TEST_F()
|
H A D | local_ssa_elim_test.cpp | 2307 // operands. See the DebugValue for "int i" of "foo()" in the following code. in TEST_F() 2314 // float4 foo(int i, float4 pos) { in TEST_F() 2325 // vout.pos = foo(4, pos); in TEST_F() 2340 %13 = OpString "foo" in TEST_F() 3136 // S foo = {0.0, 0}; in TEST_F() 3137 // for (; foo.i<4; foo.i++) { in TEST_F() 3138 // foo.f = foo.f + BC[foo in TEST_F() [all...] |
H A D | optimizer_test.cpp | 41 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", in TEST() 52 Eq(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid\n")); in TEST() 58 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", in TEST() 74 tools.Assemble("OpName %foo \"fo in TEST() [all...] |
H A D | pass_merge_return_test.cpp | 2285 OpName %foo_ "foo(" in TEST_F() 2290 %foo_ = OpFunction %void None %4 in TEST_F() 2301 %11 = OpFunctionCall %void %foo_ in TEST_F()
|
H A D | private_to_local_test.cpp | 312 ; CHECK-NOT: OpEntryPoint GLCompute %foo "foo" %in %priv in TEST_F() 313 ; CHECK: OpEntryPoint GLCompute %foo "foo" %in in TEST_F() 317 OpEntryPoint GLCompute %foo "foo" %in %priv in TEST_F() 318 OpExecutionMode %foo LocalSize 1 1 1 in TEST_F() 319 OpName %foo "foo" in TEST_F() 329 %foo in TEST_F() [all...] |
H A D | reduce_load_size_test.cpp | 43 // uint foo(uint p[32]) { in TEST_F() 49 // gRWSBuffer[0].f = foo(a); in TEST_F() 128 // uint foo(uint p[32]) { in TEST_F() 134 // gRWSBuffer[0].f = foo(a); in TEST_F() 227 // uint foo(uint p[32]) { in TEST_F() 233 // gRWSBuffer[0].f = foo(a); in TEST_F()
|
H A D | strength_reduction_test.cpp | 269 "OpName %foo_i1_ \"foo(i1;\"", in TEST_F() 296 "%26 = OpFunctionCall %int %foo_i1_ %param", in TEST_F() 307 // output is in |foo_after|. in TEST_F() 308 const std::vector<const char*> foo_before = { in TEST_F() local 310 "%foo_i1_ = OpFunction %int None %8", in TEST_F() 322 const std::vector<const char*> foo_after = { in TEST_F() local 324 "%foo_i1_ = OpFunction %int None %8", in TEST_F() 337 JoinAllInsts(Concat(common_text, foo_before)), in TEST_F() 338 JoinAllInsts(Concat(common_text, foo_after)), in TEST_F() 395 const std::vector<const char*> foo_before = { TEST_F() local 410 const std::vector<const char*> foo_after = { TEST_F() local [all...] |
H A D | strip_nonsemantic_info_test.cpp | 41 OpDecorateStringGOOGLE %float HlslSemanticGOOGLE "foobar" in TEST_F() 79 OpDecorateStringGOOGLE %float HlslSemanticGOOGLE "foobar" in TEST_F() 120 OpMemberDecorateStringGOOGLE %struct 0 HlslSemanticGOOGLE "foobar" in TEST_F() 173 %foo = OpFunction %void None %void_fn in TEST_F() 175 %1 = OpExtInst %void %ext 1 %foo in TEST_F() 193 %foo = OpFunction %void None %void_fn in TEST_F() 197 %1 = OpExtInst %void %ext 1 %foo in TEST_F() 213 %foo = OpFunction %void None %void_fn in TEST_F() 217 %1 = OpExtInst %void %ext 1 %foo in TEST_F()
|
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | loop_fission.cpp | 3193 int foo() { return 1; } 3199 foo(); 3217 OpName %3 "foo(" in TEST_F()
|
H A D | unroll_simple.cpp | 2400 OpName %8 "foo(" 2450 OpName %3 "foo(" 2576 OpName %3 "foo(" 2652 OpName %3 "foo("
|