Lines Matching defs:opcode
63 if (!type || type->opcode() != spv::Op::OpTypeInt) {
76 if (!inst || inst->opcode() != spv::Op::OpConstant) {
95 if (operand->opcode() != expected_opcode) {
127 #define CHECK_OPERAND(NAME, opcode, index) \
129 auto result = ValidateOperandForDebugInfo(_, NAME, opcode, inst, index, \
150 if (debug_inst->opcode() != spv::Op::OpExtInst ||
168 if (debug_inst->opcode() != spv::Op::OpExtInst ||
291 if (kernel->opcode() != spv::Op::OpFunction) {
321 if (!name || name->opcode() != spv::Op::OpString) {
412 if (!decl || decl->opcode() != spv::Op::OpExtInst) {
435 if (!info || info->opcode() != spv::Op::OpExtInst) {
1007 if (instr->opcode() != spv::Op::OpConstant) return false;
1016 if (int_scalar_const->opcode() == spv::Op::OpConstant &&
1747 interp_inst->opcode() == spv::Op::OpLoad)
3142 // The binary parser validates the opcode for DebugInfoNone,
3286 if (return_type->opcode() != spv::Op::OpTypeVoid) {
3518 if (operand->opcode() != spv::Op::OpVariable &&
3519 operand->opcode() != spv::Op::OpFunctionParameter) {
3617 if (operand->opcode() != spv::Op::OpVariable &&
3618 operand->opcode() != spv::Op::OpConstant) {
3706 const spv::Op opcode = inst->opcode();
3707 if (opcode == spv::Op::OpExtension) return ValidateExtension(_, inst);
3708 if (opcode == spv::Op::OpExtInstImport) return ValidateExtInstImport(_, inst);
3709 if (opcode == spv::Op::OpExtInst) return ValidateExtInst(_, inst);