/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/ |
D | generated.cpp | 48 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/ |
D | generated.cpp | 48 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/ |
D | generated.cpp | 48 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/ |
D | nested_loops.cpp | 158 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/ |
D | nested_loops.cpp | 158 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 …]
|
D | dependence_analysis.cpp | 128 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/ |
D | nested_loops.cpp | 158 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 …]
|
D | dependence_analysis.cpp | 128 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/ |
D | ids_limit_test.cpp | 25 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()
|
D | matching_imports_to_exports_test.cpp | 24 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 …]
|
D | binary_version_test.cpp | 24 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/ |
D | binary_to_text_test.cpp | 28 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 …]
|
D | text_to_binary.debug_test.cpp | 29 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/ |
D | binary_to_text_test.cpp | 28 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 …]
|
D | text_to_binary.debug_test.cpp | 29 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/ |
D | binary_to_text_test.cpp | 28 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 …]
|
D | text_to_binary.debug_test.cpp | 29 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/ |
D | binary_to_text_test.cpp | 29 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 …]
|
D | text_to_binary.debug_test.cpp | 27 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/ |
D | function_test.cpp | 78 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/ |
D | val_fixtures.cpp | 25 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/ |
D | function_test.cpp | 78 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/ |
D | function_test.cpp | 78 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/ |
D | matching_imports_to_exports_test.cpp | 24 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/ |
D | matching_imports_to_exports_test.cpp | 24 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 …]
|