Lines Matching refs:ParsedInstruction
54 struct ParsedInstruction {
55 explicit ParsedInstruction(const spv_parsed_instruction_t& inst)
70 bool operator==(const ParsedInstruction& b) const {
77 // Prints a ParsedInstruction object to the given output stream, and returns
79 std::ostream& operator<<(std::ostream& os, const ParsedInstruction& inst) {
95 // Basic check for the equality operator on ParsedInstruction.
96 TEST(ParsedInstruction, ZeroInitializedAreEqual) {
98 ParsedInstruction a(pi);
99 ParsedInstruction b(pi);
100 EXPECT_THAT(a, ::testing::TypedEq<ParsedInstruction>(b));
109 MOCK_METHOD1(Instruction, spv_result_t(const ParsedInstruction&));
124 ParsedInstruction(*parsed_instruction));
162 // Returns a ParsedInstruction for an OpTypeVoid instruction that would
164 ParsedInstruction MakeParsedVoidTypeInstruction(uint32_t result_id) {
177 return ParsedInstruction(parsed_void_inst);
180 // Returns a ParsedInstruction for an OpTypeInt instruction that generates
182 ParsedInstruction MakeParsedInt32TypeInstruction(uint32_t result_id) {
196 return ParsedInstruction(parsed_i32_inst);
229 return this->client_.Instruction(ParsedInstruction(instruction));
737 Instruction(ParsedInstruction(spv_parsed_instruction_t{
762 Instruction(ParsedInstruction(spv_parsed_instruction_t{
794 Instruction(ParsedInstruction(spv_parsed_instruction_t{
825 Instruction(ParsedInstruction(spv_parsed_instruction_t{