Lines Matching defs:opcode
72 spirv::Opcode opcode = spirv::Opcode::OpNop;
76 // Slice the next instruction out and populate `opcode` and `operands`.
78 if (failed(sliceInstruction(opcode, operands)))
81 if (failed(processInstruction(opcode, operands)))
532 spirv::Opcode opcode = spirv::Opcode::OpNop;
534 if (failed(sliceInstruction(opcode, operands,
538 if (opcode != spirv::Opcode::OpFunctionParameter) {
590 spirv::Opcode opcode = spirv::Opcode::OpNop;
598 if (failed(sliceInstruction(opcode, instOperands,
602 if (opcode == spirv::Opcode::OpFunctionEnd) {
605 if (opcode != spirv::Opcode::OpLabel) {
618 while (succeeded(sliceInstruction(opcode, instOperands,
620 opcode != spirv::Opcode::OpFunctionEnd) {
621 if (failed(processInstruction(opcode, instOperands))) {
625 if (opcode != spirv::Opcode::OpFunctionEnd) {
812 LogicalResult spirv::Deserializer::processType(spirv::Opcode opcode,
815 return emitError(unknownLoc, "type instruction with opcode ")
816 << spirv::stringifyOpcode(opcode) << " needs at least one <id>";
826 switch (opcode) {
1492 "result <id>, and operand opcode");