Home
last modified time | relevance | path

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

/third_party/glslang/SPIRV/
DSpvPostProcess.cpp74 switch (inst.getOpCode()) { in postProcessType()
192 switch (inst.getOpCode()) { in postProcess()
235 if (accessChain->getOpCode() == OpAccessChain) { in postProcess()
240 assert(type->getOpCode() == OpTypePointer); in postProcess()
254 if (type->getOpCode() == OpTypeStruct) { in postProcess()
255 assert(idx->getOpCode() == OpConstant); in postProcess()
259 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess()
271 } else if (type->getOpCode() == OpTypeArray || in postProcess()
272 type->getOpCode() == OpTypeRuntimeArray) { in postProcess()
274 if (decoration.get()->getOpCode() == OpDecorate && in postProcess()
[all …]
DspvIR.h141 Op getOpCode() const { return opCode; } in getOpCode() function
220 switch (nextToLast->getOpCode()) { in getMergeInstruction()
261 switch (instructions.back()->getOpCode()) { in isTerminated()
435 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
DSpvBuilder.h193 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode() function
194 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass()
244 bool isConstant(Id resultId) const { return isConstantOpCode(getOpCode(resultId)); } in isConstant()
245 bool isConstantScalar(Id resultId) const { return getOpCode(resultId) == OpConstant; } in isConstantScalar()
246 bool isSpecConstant(Id resultId) const { return isSpecConstantOpCode(getOpCode(resultId)); } in isSpecConstant()
252 bool isVariable(Id resultId) const { return isVariableOpCode(getOpCode(resultId)); } in isVariable()
DInReadableOrder.cpp88 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit()
DSpvBuilder.cpp649 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass()
668 switch (instr->getOpCode()) in getNumTypeConstituents()
701 Op typeClass = instr->getOpCode(); in getScalarTypeId()
727 Op typeClass = instr->getOpCode(); in getContainedTypeId()
759 Op typeClass = instr.getOpCode(); in containsType()
789 Op typeClass = instr.getOpCode(); in containsPhysicalStorageBufferOrArray()
808 if (constant->getOpCode() == opcode && in findScalarConstant()
823 if (constant->getOpCode() == opcode && in findScalarConstant()
884 if (constant->getTypeId() == typeId && constant->getOpCode() == opcode) in makeBoolConstant()
Ddisassemble.cpp92 …Op getOpCode(int id) const { return idInstruction[id] ? (Op)(stream[idInstruction[id]] & OpCodeMas… in getOpCode() function in spv::SpirvStream