Home
last modified time | relevance | path

Searched refs:idToInstruction (Results 1 – 1 of 1) sorted by relevance

/third_party/glslang/SPIRV/
DspvIR.h423 if (resultId >= idToInstruction.size()) in mapInstruction()
424 idToInstruction.resize(resultId + 16); in mapInstruction()
425 idToInstruction[resultId] = instruction; in mapInstruction()
428 Instruction* getInstruction(Id id) const { return idToInstruction[id]; } in getInstruction()
431 … return idToInstruction[resultId] == nullptr ? NoType : idToInstruction[resultId]->getTypeId(); in getTypeId()
435 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
436 return (StorageClass)idToInstruction[typeId]->getImmediateOperand(0); in getStorageClass()
450 std::vector<Instruction*> idToInstruction; variable