Home
last modified time | relevance | path

Searched refs:spvtest (Results 1 – 25 of 472) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/
Dgenerated.cpp48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
75 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
76 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/dominator_tree/
Dgenerated.cpp48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
75 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
76 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/spirv-tools/test/opt/dominator_tree/
Dgenerated.cpp48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
75 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
76 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/spirv-tools/test/opt/loop_optimizations/
Dnested_loops.cpp158 const Function* f = spvtest::GetFunction(module, 2); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
182 EXPECT_EQ(child_loop_1.GetHeaderBlock(), spvtest::GetBasicBlock(f, 28)); in TEST_F()
183 EXPECT_EQ(child_loop_1.GetLatchBlock(), spvtest::GetBasicBlock(f, 30)); in TEST_F()
184 EXPECT_EQ(child_loop_1.GetMergeBlock(), spvtest::GetBasicBlock(f, 29)); in TEST_F()
191 EXPECT_EQ(child_loop_2.GetHeaderBlock(), spvtest::GetBasicBlock(f, 37)); in TEST_F()
192 EXPECT_EQ(child_loop_2.GetLatchBlock(), spvtest::GetBasicBlock(f, 39)); in TEST_F()
193 EXPECT_EQ(child_loop_2.GetMergeBlock(), spvtest::GetBasicBlock(f, 38)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Dnested_loops.cpp158 const Function* f = spvtest::GetFunction(module, 2); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
182 EXPECT_EQ(child_loop_1.GetHeaderBlock(), spvtest::GetBasicBlock(f, 28)); in TEST_F()
183 EXPECT_EQ(child_loop_1.GetLatchBlock(), spvtest::GetBasicBlock(f, 30)); in TEST_F()
184 EXPECT_EQ(child_loop_1.GetMergeBlock(), spvtest::GetBasicBlock(f, 29)); in TEST_F()
191 EXPECT_EQ(child_loop_2.GetHeaderBlock(), spvtest::GetBasicBlock(f, 37)); in TEST_F()
192 EXPECT_EQ(child_loop_2.GetLatchBlock(), spvtest::GetBasicBlock(f, 39)); in TEST_F()
193 EXPECT_EQ(child_loop_2.GetMergeBlock(), spvtest::GetBasicBlock(f, 38)); in TEST_F()
[all …]
Ddependence_analysis.cpp128 const Function* f = spvtest::GetFunction(module, 4); in TEST()
137 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 13)) { in TEST()
285 const Function* f = spvtest::GetFunction(module, 4); in TEST()
294 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 22)) { in TEST()
521 const Function* f = spvtest::GetFunction(module, 6); in TEST()
530 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 17)) { in TEST()
594 const Function* f = spvtest::GetFunction(module, 8); in TEST()
603 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 68)) { in TEST()
915 const Function* f = spvtest::GetFunction(module, 6); in TEST()
924 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 29)) { in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dnested_loops.cpp158 const Function* f = spvtest::GetFunction(module, 2); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
182 EXPECT_EQ(child_loop_1.GetHeaderBlock(), spvtest::GetBasicBlock(f, 28)); in TEST_F()
183 EXPECT_EQ(child_loop_1.GetLatchBlock(), spvtest::GetBasicBlock(f, 30)); in TEST_F()
184 EXPECT_EQ(child_loop_1.GetMergeBlock(), spvtest::GetBasicBlock(f, 29)); in TEST_F()
191 EXPECT_EQ(child_loop_2.GetHeaderBlock(), spvtest::GetBasicBlock(f, 37)); in TEST_F()
192 EXPECT_EQ(child_loop_2.GetLatchBlock(), spvtest::GetBasicBlock(f, 39)); in TEST_F()
193 EXPECT_EQ(child_loop_2.GetMergeBlock(), spvtest::GetBasicBlock(f, 38)); in TEST_F()
[all …]
Ddependence_analysis.cpp128 const Function* f = spvtest::GetFunction(module, 4); in TEST()
137 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 13)) { in TEST()
285 const Function* f = spvtest::GetFunction(module, 4); in TEST()
294 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 22)) { in TEST()
521 const Function* f = spvtest::GetFunction(module, 6); in TEST()
530 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 17)) { in TEST()
594 const Function* f = spvtest::GetFunction(module, 8); in TEST()
603 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 68)) { in TEST()
915 const Function* f = spvtest::GetFunction(module, 6); in TEST()
924 for (const Instruction& inst : *spvtest::GetBasicBlock(f, 29)) { in TEST()
[all …]
/third_party/spirv-tools/test/link/
Dids_limit_test.cpp25 class IdsLimit : public spvtest::LinkerTest {
37 spvtest::Binary common_binary = { in SetUp()
58 spvtest::Binary& binary = binaries.back(); in SetUp()
70 spvtest::Binaries binaries;
73 spvtest::Binary CreateBinary(uint32_t id_bound) { in CreateBinary()
96 spvtest::Binary linked_binary; in TEST_F()
103 spvtest::Binary& binary = binaries.back(); in TEST_F()
112 spvtest::Binary linked_binary; in TEST_F()
122 spvtest::Binaries binaries = {CreateBinary(0xFFFFFFFFu), in TEST_F()
125 spvtest::Binary linked_binary; in TEST_F()
Dmatching_imports_to_exports_test.cpp24 using MatchingImportsToExports = spvtest::LinkerTest;
48 spvtest::Binary linked_binary; in TEST_F()
80 spvtest::Binary linked_binary; in TEST_F()
110 spvtest::Binary linked_binary; in TEST_F()
148 spvtest::Binary linked_binary; in TEST_F()
177 spvtest::Binary linked_binary; in TEST_F()
219 spvtest::Binary linked_binary; in TEST_F()
260 spvtest::Binary linked_binary; in TEST_F()
292 spvtest::Binary linked_binary; in TEST_F()
335 spvtest::Binary linked_binary; in TEST_F()
[all …]
Dbinary_version_test.cpp24 using BinaryVersion = spvtest::LinkerTest;
26 spvtest::Binary CreateBinary(uint32_t version) { in CreateBinary()
50 spvtest::Binaries binaries = { in TEST_F()
55 spvtest::Binary linked_binary; in TEST_F()
63 spvtest::Binaries binaries = { in TEST_F()
68 spvtest::Binary linked_binary; in TEST_F()
/third_party/spirv-tools/test/
Dbinary_to_text_test.cpp28 using spvtest::AutoText;
29 using spvtest::ScopedContext;
30 using spvtest::TextToBinaryTest;
177 spvtest::TextToBinaryTestBase<::testing::TestWithParam<FailedDecodeCase>>;
188 {"", spvtest::MakeInstruction(SpvOpTypeVoid, {0}),
190 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
192 {"%1 = OpTypeVoid", spvtest::MakeInstruction(SpvOpTypeVoid, {1}),
196 spvtest::MakeInstruction(SpvOpNot, {1, 2, 3}),
200 spvtest::MakeInstruction(SpvOpNot, {1, 1, 3}),
204 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
[all …]
Dtext_to_binary.debug_test.cpp29 using spvtest::MakeInstruction;
31 using spvtest::TextToBinaryTest;
66 spvtest::TextToBinaryTestBase<::testing::TestWithParam<LanguageCase>>;
105 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
124 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
151 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
167 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
182 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
201 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dbinary_to_text_test.cpp28 using spvtest::AutoText;
29 using spvtest::ScopedContext;
30 using spvtest::TextToBinaryTest;
166 spvtest::TextToBinaryTestBase<::testing::TestWithParam<FailedDecodeCase>>;
177 {"", spvtest::MakeInstruction(SpvOpTypeVoid, {0}),
179 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
181 {"%1 = OpTypeVoid", spvtest::MakeInstruction(SpvOpTypeVoid, {1}),
185 spvtest::MakeInstruction(SpvOpNot, {1, 2, 3}),
189 spvtest::MakeInstruction(SpvOpNot, {1, 1, 3}),
193 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
[all …]
Dtext_to_binary.debug_test.cpp29 using spvtest::MakeInstruction;
31 using spvtest::TextToBinaryTest;
66 spvtest::TextToBinaryTestBase<::testing::TestWithParam<LanguageCase>>;
105 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
124 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
151 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
167 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
182 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
201 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
/third_party/skia/third_party/externals/spirv-tools/test/
Dbinary_to_text_test.cpp28 using spvtest::AutoText;
29 using spvtest::ScopedContext;
30 using spvtest::TextToBinaryTest;
166 spvtest::TextToBinaryTestBase<::testing::TestWithParam<FailedDecodeCase>>;
177 {"", spvtest::MakeInstruction(SpvOpTypeVoid, {0}),
179 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
181 {"%1 = OpTypeVoid", spvtest::MakeInstruction(SpvOpTypeVoid, {1}),
185 spvtest::MakeInstruction(SpvOpNot, {1, 2, 3}),
189 spvtest::MakeInstruction(SpvOpNot, {1, 1, 3}),
193 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
[all …]
Dtext_to_binary.debug_test.cpp29 using spvtest::MakeInstruction;
31 using spvtest::TextToBinaryTest;
66 spvtest::TextToBinaryTestBase<::testing::TestWithParam<LanguageCase>>;
105 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
124 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
151 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
167 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
182 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
201 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dbinary_to_text_test.cpp29 using spvtest::AutoText;
30 using spvtest::ScopedContext;
31 using spvtest::TextToBinaryTest;
159 spvtest::TextToBinaryTestBase<::testing::TestWithParam<FailedDecodeCase>>;
170 {"", spvtest::MakeInstruction(SpvOpTypeVoid, {0}),
172 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
174 {"%1 = OpTypeVoid", spvtest::MakeInstruction(SpvOpTypeVoid, {1}),
178 spvtest::MakeInstruction(SpvOpNot, {1, 2, 3}),
182 spvtest::MakeInstruction(SpvOpNot, {1, 1, 3}),
186 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
[all …]
Dtext_to_binary.debug_test.cpp27 using spvtest::MakeInstruction;
28 using spvtest::MakeVector;
29 using spvtest::TextToBinaryTest;
64 spvtest::TextToBinaryTestBase<::testing::TestWithParam<LanguageCase>>;
103 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
122 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
149 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
165 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
180 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
199 spvtest::TextToBinaryTestBase<::testing::TestWithParam<const char*>>;
/third_party/spirv-tools/test/opt/
Dfunction_test.cpp78 auto* function = spvtest::GetFunction(context->module(), 6); in TEST()
82 function = spvtest::GetFunction(context->module(), 11); in TEST()
117 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
120 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
151 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
187 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
190 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
221 auto* func = spvtest::GetFunction(ctx->module(), 1); in TEST()
246 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
283 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_fixtures.cpp25 namespace spvtest { namespace
99 template class spvtest::ValidateBase<bool>;
100 template class spvtest::ValidateBase<int>;
101 template class spvtest::ValidateBase<std::string>;
102 template class spvtest::ValidateBase<std::pair<std::string, bool>>;
103 template class spvtest::ValidateBase<
105 template class spvtest::ValidateBase<
108 template class spvtest::ValidateBase<SpvCapability>;
109 template class spvtest::ValidateBase<std::pair<std::string, std::string>>;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfunction_test.cpp78 auto* function = spvtest::GetFunction(context->module(), 6); in TEST()
82 function = spvtest::GetFunction(context->module(), 11); in TEST()
117 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
120 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
151 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
187 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
190 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
221 auto* func = spvtest::GetFunction(ctx->module(), 1); in TEST()
246 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
283 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dfunction_test.cpp78 auto* function = spvtest::GetFunction(context->module(), 6); in TEST()
82 function = spvtest::GetFunction(context->module(), 11); in TEST()
117 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
120 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
151 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
187 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST()
190 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
221 auto* func = spvtest::GetFunction(ctx->module(), 1); in TEST()
246 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
283 auto* func = spvtest::GetFunction(ctx->module(), 4); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/link/
Dmatching_imports_to_exports_test.cpp24 using MatchingImportsToExports = spvtest::LinkerTest;
42 spvtest::Binary linked_binary; in TEST_F()
68 spvtest::Binary linked_binary; in TEST_F()
92 spvtest::Binary linked_binary; in TEST_F()
120 spvtest::Binary linked_binary; in TEST_F()
143 spvtest::Binary linked_binary; in TEST_F()
176 spvtest::Binary linked_binary; in TEST_F()
208 spvtest::Binary linked_binary; in TEST_F()
234 spvtest::Binary linked_binary; in TEST_F()
273 spvtest::Binary linked_binary; in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/
Dmatching_imports_to_exports_test.cpp24 using MatchingImportsToExports = spvtest::LinkerTest;
42 spvtest::Binary linked_binary; in TEST_F()
68 spvtest::Binary linked_binary; in TEST_F()
92 spvtest::Binary linked_binary; in TEST_F()
120 spvtest::Binary linked_binary; in TEST_F()
143 spvtest::Binary linked_binary; in TEST_F()
176 spvtest::Binary linked_binary; in TEST_F()
208 spvtest::Binary linked_binary; in TEST_F()
234 spvtest::Binary linked_binary; in TEST_F()
273 spvtest::Binary linked_binary; in TEST_F()
[all …]

12345678910>>...19