Home
last modified time | relevance | path

Searched refs:JoinAllInsts (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dstrength_reduction_test.cpp59 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
160 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
189 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
217 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
251 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
342 JoinAllInsts(Concat(common_text, foo_before)), in TEST_F()
343 JoinAllInsts(Concat(common_text, foo_after)), in TEST_F()
431 JoinAllInsts(Concat(common_text, foo_before)), in TEST_F()
432 JoinAllInsts(Concat(common_text, foo_after)), in TEST_F()
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
26 EXPECT_EQ("", JoinAllInsts({})); in TEST()
27 EXPECT_EQ("a\n", JoinAllInsts({"a"})); in TEST()
28 EXPECT_EQ("a\nb\n", JoinAllInsts({"a", "b"})); in TEST()
29 EXPECT_EQ("a\nb\nc\n", JoinAllInsts({"a", "b", "c"})); in TEST()
30 EXPECT_EQ("hello,\nworld!\n\n\n", JoinAllInsts({"hello,", "world!", "\n"})); in TEST()
Dinline_test.cpp134 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
135 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
284 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
285 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
413 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
414 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
549 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
550 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
744 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
745 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
[all …]
Dassembly_builder_test.cpp48 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
161 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
244 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
277 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
Deliminate_dead_functions_test.cpp65 JoinAllInsts(Concat(common_code, dead_function)), in TEST_F()
66 JoinAllInsts(common_code), /* skip_nop = */ true); in TEST_F()
100 std::string assembly = JoinAllInsts(text); in TEST_F()
139 std::string assembly = JoinAllInsts(text); in TEST_F()
Dstrip_debug_info_test.cpp56 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_F()
72 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_F()
85 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_P()
Dfreeze_spec_const_test.cpp46 JoinAllInsts(text), JoinAllInsts(expected), /* skip_nop = */ false); in TEST_P()
126 SinglePassRunAndCheck<FreezeSpecConstantValuePass>(JoinAllInsts(text), in TEST_F()
Deliminate_dead_const_test.cpp79 JoinAllInsts(text), expected_disassembly, /* skip_nop = */ true); in TEST_F()
135 JoinAllInsts(text), JoinAllInsts(text), /* skip_nop = */ true); in TEST_F()
Ddef_use_test.cpp197 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
613 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
968 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
1699 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_F()
Dpass_utils.h64 std::string JoinAllInsts(const std::vector<const char*>& insts);
Dpass_utils.cpp92 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() function
Daggressive_dead_code_elim_test.cpp4002 JoinAllInsts(Concat(common_code, dead_function)), in TEST_F()
4003 JoinAllInsts(common_code), /* skip_nop = */ true); in TEST_F()
4037 std::string assembly = JoinAllInsts(text); in TEST_F()
4186 JoinAllInsts(text), JoinAllInsts(text), /* skip_nop = */ true); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dstrength_reduction_test.cpp59 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
160 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
189 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
217 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
251 JoinAllInsts(text), /* skip_nop = */ true, /* do_validation = */ false); in TEST_F()
342 JoinAllInsts(Concat(common_text, foo_before)), in TEST_F()
343 JoinAllInsts(Concat(common_text, foo_after)), in TEST_F()
431 JoinAllInsts(Concat(common_text, foo_before)), in TEST_F()
432 JoinAllInsts(Concat(common_text, foo_after)), in TEST_F()
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
26 EXPECT_EQ("", JoinAllInsts({})); in TEST()
27 EXPECT_EQ("a\n", JoinAllInsts({"a"})); in TEST()
28 EXPECT_EQ("a\nb\n", JoinAllInsts({"a", "b"})); in TEST()
29 EXPECT_EQ("a\nb\nc\n", JoinAllInsts({"a", "b", "c"})); in TEST()
30 EXPECT_EQ("hello,\nworld!\n\n\n", JoinAllInsts({"hello,", "world!", "\n"})); in TEST()
Dinline_test.cpp134 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
135 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
284 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
285 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
413 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
414 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
549 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
550 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
744 JoinAllInsts(Concat(Concat(predefs, before), nonEntryFuncs)), in TEST_F()
745 JoinAllInsts(Concat(Concat(predefs, after), nonEntryFuncs)), in TEST_F()
[all …]
Dassembly_builder_test.cpp48 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
161 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
244 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
277 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
Deliminate_dead_functions_test.cpp65 JoinAllInsts(Concat(common_code, dead_function)), in TEST_F()
66 JoinAllInsts(common_code), /* skip_nop = */ true); in TEST_F()
100 std::string assembly = JoinAllInsts(text); in TEST_F()
139 std::string assembly = JoinAllInsts(text); in TEST_F()
Dstrip_debug_info_test.cpp56 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_F()
72 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_F()
85 SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), in TEST_P()
Dfreeze_spec_const_test.cpp46 JoinAllInsts(text), JoinAllInsts(expected), /* skip_nop = */ false); in TEST_P()
126 SinglePassRunAndCheck<FreezeSpecConstantValuePass>(JoinAllInsts(text), in TEST_F()
Deliminate_dead_const_test.cpp79 JoinAllInsts(text), expected_disassembly, /* skip_nop = */ true); in TEST_F()
135 JoinAllInsts(text), JoinAllInsts(text), /* skip_nop = */ true); in TEST_F()
Ddef_use_test.cpp197 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
613 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
968 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_P()
1699 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, JoinAllInsts(text), in TEST_F()
Dpass_utils.h64 std::string JoinAllInsts(const std::vector<const char*>& insts);
Dpass_utils.cpp92 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() function
Daggressive_dead_code_elim_test.cpp4002 JoinAllInsts(Concat(common_code, dead_function)), in TEST_F()
4003 JoinAllInsts(common_code), /* skip_nop = */ true); in TEST_F()
4037 std::string assembly = JoinAllInsts(text); in TEST_F()
4186 JoinAllInsts(text), JoinAllInsts(text), /* skip_nop = */ true); in TEST_F()
Dfold_spec_const_op_composite_test.cpp79 builder.GetCode(), JoinAllInsts(expected), /* skip_nop = */ true); in TEST_F()

12