Lines Matching refs:opcode
451 ZEND_API const char* ZEND_FASTCALL zend_get_opcode_name(uint8_t opcode) { in zend_get_opcode_name() argument
452 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_name()
455 return zend_vm_opcodes_names[opcode]; in zend_get_opcode_name()
457 ZEND_API uint32_t ZEND_FASTCALL zend_get_opcode_flags(uint8_t opcode) { in zend_get_opcode_flags() argument
458 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_flags()
459 opcode = ZEND_NOP; in zend_get_opcode_flags()
461 return zend_vm_opcodes_flags[opcode]; in zend_get_opcode_flags()
464 uint8_t opcode; in zend_get_opcode_id() local
465 …for (opcode = 0; opcode < (sizeof(zend_vm_opcodes_names) / sizeof(zend_vm_opcodes_names[0])) - 1; … in zend_get_opcode_id()
466 const char *opcode_name = zend_vm_opcodes_names[opcode]; in zend_get_opcode_id()
468 return opcode; in zend_get_opcode_id()