/third_party/spirv-tools/test/opt/ |
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("
|
/third_party/spirv-tools/test/reduce/ |
H A D | reducer_test.cpp | 268 // int foo() { 286 // } while(bool(foo()));
|
H A D | remove_function_test.cpp | 233 OpName %6 "foo(" in TEST()
|
/third_party/spirv-tools/test/ |
H A D | text_literal_test.cpp | 119 {"\"\\foo\nbar\"", "foo\nbar"}, 120 {"\"\\foo\\\nbar\"", "foo\nbar"},
|
H A D | text_start_new_inst_test.cpp | 62 AssemblyContext(AutoText("%foo = OpAdd"), nullptr).isStartOfNewInst()); in TEST() 64 AssemblyContext(AutoText("%foo = OpAdd"), nullptr).isStartOfNewInst()); in TEST() 69 AssemblyContext(AutoText("%foo = "), nullptr).isStartOfNewInst()); in TEST() 70 EXPECT_FALSE(AssemblyContext(AutoText("%foo "), nullptr).isStartOfNewInst()); in TEST() 71 EXPECT_FALSE(AssemblyContext(AutoText("%foo"), nullptr).isStartOfNewInst()); in TEST()
|
H A D | text_to_binary.annotation_test.cpp | 376 { CASE(Export), "foo" }, 384 EXPECT_THAT(CompileFailure("OpDecorate %1 LinkageAttributes \"foo\" xxyyzz"), in TEST_F()
|
H A D | text_to_binary.constant_test.cpp | 354 "OpTypeOpaque \"Foo\"", 467 "OpTypeOpaque \"Foo\"",
|
H A D | text_to_binary.control_flow_test.cpp | 379 "OpTypeOpaque \"Foo\"",
|
H A D | text_to_binary.debug_test.cpp | 122 "", "foo bar this and that"})); 141 "", "foo bar this and that"})); 168 "", "foo bar this and that"})); 184 ::testing::Values("", "foo bar this and that")); 201 "", "foo bar this and that"})); 217 ::testing::Values("", "foo bar this and that"));
|
H A D | text_to_binary.extension_test.cpp | 999 {"OpDecorate %1 LinkageAttributes \"foobar\" LinkOnceODR\n", in TEST_F() 1003 MakeVector("foobar"), in TEST_F()
|
/third_party/spirv-tools/test/tools/ |
H A D | expect.py | 40 foo.vert -> foo.vert.[extension] [similarly for .frag, .comp, etc.] 41 foo.glsl -> foo.[extension] 42 foo.unknown -> foo.[extension] 43 foo -> foo.[extension]
|
H A D | flags_test.cpp | 102 FLAG_LONG_bool(foo, false, false); in TEST_F() 103 const char* argv[] = {"binary", "--foo", "true", nullptr}; in TEST_F() 104 EXPECT_FALSE(foo.value()); in TEST_F() 108 EXPECT_TRUE(foo.value()); in TEST_F() 114 FLAG_LONG_bool(foo, false, false); in TEST_F() 115 const char* argv[] = {"binary", "--foo=true", nullptr}; in TEST_F() 116 EXPECT_FALSE(foo.value()); in TEST_F() 120 EXPECT_TRUE(foo.value()); in TEST_F() 125 FLAG_LONG_bool(foo, false, false); in TEST_F() 126 const char* argv[] = {"binary", "--foo in TEST_F() [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_builtins_test.cpp | 307 %val2 = OpFunctionCall %void %foo in GetInFunctionCodeGenerator() 311 %foo = OpFunction %void None %func in GetInFunctionCodeGenerator() 312 %foo_entry = OpLabel in GetInFunctionCodeGenerator() 3358 %val1 = OpFunctionCall %void %foo in TEST_F() 3367 %val2 = OpFunctionCall %void %foo in TEST_F() 3372 %foo = OpFunction %void None %func in TEST_F() 3373 %foo_entry = OpLabel in TEST_F() 3412 %val2 = OpFunctionCall %void %foo in GetNoDepthReplacingGenerator() 3417 %foo = OpFunction %void None %func in GetNoDepthReplacingGenerator() 3418 %foo_entry in GetNoDepthReplacingGenerator() [all...] |
H A D | val_capability_test.cpp | 2684 %foo = OpSubgroupShuffleINTEL %uint %zero %zero in TEST_F() 2712 %foo = OpSubgroupShuffleINTEL %uint %zero %zero in TEST_F() 2740 %foo = OpSubgroupShuffleINTEL %uint %zero %zero in TEST_F()
|
H A D | val_cfg_test.cpp | 2693 OpEntryPoint GLCompute %1 "foo" in TEST_F() 2719 OpEntryPoint GLCompute %1 "foo" in TEST_F() 4482 OpName %6 "foo(" in TEST_F()
|
H A D | val_composites_test.cpp | 2084 OpName %6 "foo(" in TEST_F()
|