Lines Matching refs:resultId
96 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { }
97 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { }
145 Id getResultId() const { return resultId; }
163 if (resultId)
171 if (resultId)
172 out.push_back(resultId);
181 Id resultId;
441 spv::Id resultId = instruction->getResultId();
443 if (resultId >= idToInstruction.size())
444 idToInstruction.resize(resultId + 16);
445 idToInstruction[resultId] = instruction;
450 spv::Id getTypeId(Id resultId) const {
451 return idToInstruction[resultId] == nullptr ? NoType : idToInstruction[resultId]->getTypeId();