Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/SPIRV/
DSpvPostProcess.cpp127 switch (inst.getImmediateOperand(1)) { in postProcessType()
161 switch (inst.getImmediateOperand(1)) { in postProcess()
210 if (type->getImmediateOperand(0) != StorageClassPhysicalStorageBufferEXT) { in postProcess()
225 int c = idx->getImmediateOperand(0); in postProcess()
230 decoration.get()->getImmediateOperand(1) == c && in postProcess()
231 (decoration.get()->getImmediateOperand(2) == DecorationOffset || in postProcess()
232 … decoration.get()->getImmediateOperand(2) == DecorationMatrixStride)) { in postProcess()
233 alignment |= decoration.get()->getImmediateOperand(3); in postProcess()
245 decoration.get()->getImmediateOperand(1) == DecorationArrayStride) { in postProcess()
246 alignment |= decoration.get()->getImmediateOperand(2); in postProcess()
[all …]
DSpvBuilder.h175 …mat(Id typeId) const { return (ImageFormat)module.getInstruction(typeId)->getImmediateOperand(6); } in getImageTypeFormat()
185 … getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1) != 0; } in isIntType()
186 … getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1) == 0; } in isUintType()
206 …nstantScalar(Id resultId) const { return module.getInstruction(resultId)->getImmediateOperand(0); } in getConstantScalar()
213 return module.getInstruction(scalarTypeId)->getImmediateOperand(0); in getScalarTypeWidth()
232 return (Dim)module.getInstruction(typeId)->getImmediateOperand(1); in getTypeDimensionality()
243 return module.getInstruction(typeId)->getImmediateOperand(3) != 0; in isArrayedImageType()
DSpvBuilder.cpp181 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointer()
216 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointerFromForwardPointer()
237 if (type->getImmediateOperand(0) == (unsigned)width && in makeIntegerType()
238 type->getImmediateOperand(1) == (hasSign ? 1u : 0u)) in makeIntegerType()
272 if (type->getImmediateOperand(0) == (unsigned)width) in makeFloatType()
350 type->getImmediateOperand(1) == (unsigned)size) in makeVectorType()
376 type->getImmediateOperand(1) == (unsigned)cols) in makeMatrixType()
469 type->getImmediateOperand(1) == (unsigned int)dim && in makeImageType()
470 type->getImmediateOperand(2) == ( depth ? 1u : 0u) && in makeImageType()
471 type->getImmediateOperand(3) == (arrayed ? 1u : 0u) && in makeImageType()
[all …]
DspvIR.h151 unsigned int getImmediateOperand(int op) const { in getImmediateOperand() function
370 return (StorageClass)idToInstruction[typeId]->getImmediateOperand(0); in getStorageClass()