Lines Matching defs:operands
94 SmallVector<uint32_t, 8> operands;
95 operands.push_back(typeID);
96 operands.push_back(resultID);
111 operands.push_back(constituentID);
115 spirv::Opcode::OpSpecConstantComposite, operands);
130 SmallVector<uint32_t, 8> operands;
131 operands.push_back(typeID);
132 operands.push_back(resultID);
148 operands.push_back(static_cast<uint32_t>(*enclosedOpcode));
150 // Append operands to the enclosed op to the list of operands.
154 operands.push_back(id);
158 operands);
217 SmallVector<uint32_t, 4> operands;
228 operands.push_back(resTypeID);
230 operands.push_back(funcID);
231 operands.push_back(static_cast<uint32_t>(op.getFunctionControl()));
232 operands.push_back(fnTypeID);
233 encodeInstructionInto(functionHeader, spirv::Opcode::OpFunction, operands);
330 SmallVector<uint32_t, 4> operands;
337 operands.push_back(resultTypeID);
340 operands.push_back(resultID);
343 operands.push_back(
352 operands.push_back(argID);
356 encodeInstructionInto(functionHeader, spirv::Opcode::OpVariable, operands);
380 SmallVector<uint32_t, 4> operands;
381 operands.push_back(resultTypeID);
391 operands.push_back(resultID);
394 operands.push_back(static_cast<uint32_t>(varOp.storageClass()));
414 operands.push_back(initializerID);
420 encodeInstructionInto(typesGlobalValues, spirv::Opcode::OpVariable, operands);
611 SmallVector<uint32_t, 4> operands;
613 operands.push_back(static_cast<uint32_t>(op.getExecutionModel()));
622 operands.push_back(funcID);
624 spirv::encodeStringLiteralInto(operands, op.getFn());
636 operands.push_back(id);
639 encodeInstructionInto(entryPoints, spirv::Opcode::OpEntryPoint, operands);
646 SmallVector<uint32_t, 4> operands;
655 operands.push_back(funcID);
657 operands.push_back(static_cast<uint32_t>(op.getExecutionMode()));
663 operands.push_back(static_cast<uint32_t>(
668 operands);
684 SmallVector<uint32_t, 8> operands{resTypeID, funcCallID, funcID};
689 operands.push_back(valueID);
695 encodeInstructionInto(functionBody, spirv::Opcode::OpFunctionCall, operands);
702 SmallVector<uint32_t, 4> operands;
708 operands.push_back(id);
713 operands.push_back(
721 operands.push_back(static_cast<uint32_t>(
729 operands.push_back(
737 operands.push_back(static_cast<uint32_t>(
744 encodeInstructionInto(functionBody, spirv::Opcode::OpCopyMemory, operands);
751 SmallVector<uint32_t, 4> operands;
759 operands.push_back(resultTypeID);
762 operands.push_back(resultID);
766 operands.push_back(getValueID(operand));
769 operands.push_back(static_cast<uint32_t>(resultStorage));
771 operands);