Lines Matching refs:result_id
62 uint32_t result_id = 0; in AddNullaryOp() local
64 result_id = GetContext()->TakeNextId(); in AddNullaryOp()
65 if (result_id == 0) { in AddNullaryOp()
70 new Instruction(GetContext(), opcode, type_id, result_id, {})); in AddNullaryOp()
75 uint32_t result_id = 0; in AddUnaryOp() local
77 result_id = GetContext()->TakeNextId(); in AddUnaryOp()
78 if (result_id == 0) { in AddUnaryOp()
83 GetContext(), opcode, type_id, result_id, in AddUnaryOp()
90 uint32_t result_id = 0; in AddBinaryOp() local
92 result_id = GetContext()->TakeNextId(); in AddBinaryOp()
93 if (result_id == 0) { in AddBinaryOp()
98 GetContext(), opcode, type_id, opcode == SpvOpStore ? 0 : result_id, in AddBinaryOp()
106 uint32_t result_id = 0; in AddTernaryOp() local
108 result_id = GetContext()->TakeNextId(); in AddTernaryOp()
109 if (result_id == 0) { in AddTernaryOp()
114 GetContext(), opcode, type_id, result_id, in AddTernaryOp()
124 uint32_t result_id = 0; in AddQuadOp() local
126 result_id = GetContext()->TakeNextId(); in AddQuadOp()
127 if (result_id == 0) { in AddQuadOp()
132 GetContext(), opcode, type_id, result_id, in AddQuadOp()
142 uint32_t result_id = 0; in AddIdLiteralOp() local
144 result_id = GetContext()->TakeNextId(); in AddIdLiteralOp()
145 if (result_id == 0) { in AddIdLiteralOp()
150 GetContext(), opcode, type_id, result_id, in AddIdLiteralOp()
395 return (uint_inst != nullptr ? uint_inst->result_id() : 0); in GetUintConstantId()
517 uint32_t result_id = GetContext()->TakeNextId(); in AddFunctionCall() local
518 if (result_id == 0) { in AddFunctionCall()
522 GetContext(), SpvOpFunctionCall, result_type, result_id, operands)); in AddFunctionCall()
536 uint32_t result_id = GetContext()->TakeNextId(); in AddVectorShuffle() local
537 if (result_id == 0) { in AddVectorShuffle()
542 GetContext(), SpvOpVectorShuffle, result_type, result_id, operands)); in AddVectorShuffle()
557 uint32_t result_id = GetContext()->TakeNextId(); in AddNaryExtendedInstruction() local
558 if (result_id == 0) { in AddNaryExtendedInstruction()
563 GetContext(), SpvOpExtInst, result_type, result_id, operands)); in AddNaryExtendedInstruction()