Home | History | Annotate | Download | only in SPIRV

Lines Matching refs:resultId

94     Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { }
95 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;
355 spv::Id resultId = instruction->getResultId();
357 if (resultId >= idToInstruction.size())
358 idToInstruction.resize(resultId + 16);
359 idToInstruction[resultId] = instruction;
364 spv::Id getTypeId(Id resultId) const {
365 return idToInstruction[resultId] == nullptr ? NoType : idToInstruction[resultId]->getTypeId();