Lines Matching refs:input
41 const std::string input =
43 EXPECT_THAT(CompiledInstructions(input),
73 const std::string input =
75 EXPECT_THAT(CompiledInstructions(input),
106 const std::string input = "%1 = " + GetParam().constant_type +
111 EXPECT_THAT(CompiledInstructions(input), Eq(GetParam().expected_instructions))
249 const std::string input = "%1 = " + GetParam().type +
253 EXPECT_THAT(CompileFailure(input),
285 std::stringstream input;
286 input << "%1 = OpTypeFloat " << GetParam().width << "\n"
291 EXPECT_THAT(CompileFailure(input.str()), Eq(expected_error.str()));
332 const std::string input = "%1 = " + GetParam() +
336 CompileFailure(input),
376 const std::string input = "%1 = " + GetParam().constant_type +
381 EXPECT_THAT(CompiledInstructions(input),
445 const std::string input = "%1 = " + GetParam() +
448 EXPECT_THAT(CompileFailure(input),
655 std::stringstream input;
656 input << "%2 = OpSpecConstantOp %1 " << GetParam().name();
657 for (auto id : GetParam().operands()) input << " %" << id;
658 input << "\n";
660 EXPECT_THAT(CompiledInstructions(input.str()),
666 EXPECT_THAT(EncodeAndDecodeSuccessfully(input.str()), input.str());
767 std::stringstream input;
768 input << "%2 = OpSpecConstantOp %1 " << GetParam().name() << " %3 %4";
769 for (auto number : GetParam().operands()) input << " " << number;
770 input << "\n";
772 EXPECT_THAT(CompiledInstructions(input.str()),
778 EXPECT_THAT(EncodeAndDecodeSuccessfully(input.str()), input.str());
805 std::stringstream input;
806 input << "%2 = OpSpecConstantOp %1 " << GetParam().name() << " %3";
807 for (auto number : GetParam().operands()) input << " " << number;
808 input << "\n";
810 EXPECT_THAT(CompiledInstructions(input.str()),
816 EXPECT_THAT(EncodeAndDecodeSuccessfully(input.str()), input.str());