• Home
  • Raw
  • Download

Lines Matching refs:opcode

67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) {  in spvOpcodeMake()  argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
128 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
136 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup()
140 return lhs.opcode < rhs.opcode; in spvOpcodeTableValueLookup()
150 it != end && it->opcode == opcode; ++it) { in spvOpcodeTableValueLookup()
169 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
180 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
186 const char* spvOpcodeString(const uint32_t opcode) { in spvOpcodeString() argument
189 spv_opcode_desc_t needle = {"", static_cast<SpvOp>(opcode), in spvOpcodeString()
196 return lhs.opcode < rhs.opcode; in spvOpcodeString()
199 if (it != end && it->opcode == opcode) { in spvOpcodeString()
207 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType() argument
208 switch (opcode) { in spvOpcodeIsScalarType()
218 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) { in spvOpcodeIsSpecConstant() argument
219 switch (opcode) { in spvOpcodeIsSpecConstant()
231 int32_t spvOpcodeIsConstant(const SpvOp opcode) { in spvOpcodeIsConstant() argument
232 switch (opcode) { in spvOpcodeIsConstant()
250 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) { in spvOpcodeIsConstantOrUndef() argument
251 return opcode == SpvOpUndef || spvOpcodeIsConstant(opcode); in spvOpcodeIsConstantOrUndef()
254 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) { in spvOpcodeIsScalarSpecConstant() argument
255 switch (opcode) { in spvOpcodeIsScalarSpecConstant()
265 int32_t spvOpcodeIsComposite(const SpvOp opcode) { in spvOpcodeIsComposite() argument
266 switch (opcode) { in spvOpcodeIsComposite()
278 bool spvOpcodeReturnsLogicalVariablePointer(const SpvOp opcode) { in spvOpcodeReturnsLogicalVariablePointer() argument
279 switch (opcode) { in spvOpcodeReturnsLogicalVariablePointer()
298 int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode) { in spvOpcodeReturnsLogicalPointer() argument
299 switch (opcode) { in spvOpcodeReturnsLogicalPointer()
351 bool spvOpcodeIsDecoration(const SpvOp opcode) { in spvOpcodeIsDecoration() argument
352 switch (opcode) { in spvOpcodeIsDecoration()
367 bool spvOpcodeIsLoad(const SpvOp opcode) { in spvOpcodeIsLoad() argument
368 switch (opcode) { in spvOpcodeIsLoad()
396 bool spvOpcodeIsBranch(SpvOp opcode) { in spvOpcodeIsBranch() argument
397 switch (opcode) { in spvOpcodeIsBranch()
407 bool spvOpcodeIsAtomicWithLoad(const SpvOp opcode) { in spvOpcodeIsAtomicWithLoad() argument
408 switch (opcode) { in spvOpcodeIsAtomicWithLoad()
434 bool spvOpcodeIsAtomicOp(const SpvOp opcode) { in spvOpcodeIsAtomicOp() argument
435 return (spvOpcodeIsAtomicWithLoad(opcode) || opcode == SpvOpAtomicStore || in spvOpcodeIsAtomicOp()
436 opcode == SpvOpAtomicFlagClear); in spvOpcodeIsAtomicOp()
439 bool spvOpcodeIsReturn(SpvOp opcode) { in spvOpcodeIsReturn() argument
440 switch (opcode) { in spvOpcodeIsReturn()
449 bool spvOpcodeIsAbort(SpvOp opcode) { in spvOpcodeIsAbort() argument
450 switch (opcode) { in spvOpcodeIsAbort()
462 bool spvOpcodeIsReturnOrAbort(SpvOp opcode) { in spvOpcodeIsReturnOrAbort() argument
463 return spvOpcodeIsReturn(opcode) || spvOpcodeIsAbort(opcode); in spvOpcodeIsReturnOrAbort()
466 bool spvOpcodeIsBlockTerminator(SpvOp opcode) { in spvOpcodeIsBlockTerminator() argument
467 return spvOpcodeIsBranch(opcode) || spvOpcodeIsReturnOrAbort(opcode); in spvOpcodeIsBlockTerminator()
470 bool spvOpcodeTerminatesExecution(SpvOp opcode) { in spvOpcodeTerminatesExecution() argument
471 return opcode == SpvOpKill || opcode == SpvOpTerminateInvocation || in spvOpcodeTerminatesExecution()
472 opcode == SpvOpTerminateRayKHR || opcode == SpvOpIgnoreIntersectionKHR; in spvOpcodeTerminatesExecution()
475 bool spvOpcodeIsBaseOpaqueType(SpvOp opcode) { in spvOpcodeIsBaseOpaqueType() argument
476 switch (opcode) { in spvOpcodeIsBaseOpaqueType()
495 bool spvOpcodeIsNonUniformGroupOperation(SpvOp opcode) { in spvOpcodeIsNonUniformGroupOperation() argument
496 switch (opcode) { in spvOpcodeIsNonUniformGroupOperation()
537 bool spvOpcodeIsScalarizable(SpvOp opcode) { in spvOpcodeIsScalarizable() argument
538 switch (opcode) { in spvOpcodeIsScalarizable()
624 bool spvOpcodeIsDebug(SpvOp opcode) { in spvOpcodeIsDebug() argument
625 switch (opcode) { in spvOpcodeIsDebug()
640 bool spvOpcodeIsCommutativeBinaryOperator(SpvOp opcode) { in spvOpcodeIsCommutativeBinaryOperator() argument
641 switch (opcode) { in spvOpcodeIsCommutativeBinaryOperator()
673 bool spvOpcodeIsLinearAlgebra(SpvOp opcode) { in spvOpcodeIsLinearAlgebra() argument
674 switch (opcode) { in spvOpcodeIsLinearAlgebra()
689 bool spvOpcodeIsImageSample(const SpvOp opcode) { in spvOpcodeIsImageSample() argument
690 switch (opcode) { in spvOpcodeIsImageSample()
709 std::vector<uint32_t> spvOpcodeMemorySemanticsOperandIndices(SpvOp opcode) { in spvOpcodeMemorySemanticsOperandIndices() argument
710 switch (opcode) { in spvOpcodeMemorySemanticsOperandIndices()
742 bool spvOpcodeIsAccessChain(SpvOp opcode) { in spvOpcodeIsAccessChain() argument
743 switch (opcode) { in spvOpcodeIsAccessChain()
754 bool spvOpcodeIsBit(SpvOp opcode) { in spvOpcodeIsBit() argument
755 switch (opcode) { in spvOpcodeIsBit()