Lines Matching refs:op2

75 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2) /* {{{ */  in zend_optimizer_eval_binary_op()  argument
80 if (zend_binary_op_produces_numeric_string_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
88 || Z_TYPE_P(op2) == IS_ARRAY) in zend_optimizer_eval_binary_op()
89 && Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_optimizer_eval_binary_op()
96 if (zval_get_long(op2) == 0) { in zend_optimizer_eval_binary_op()
107 || Z_TYPE_P(op2) == IS_ARRAY) { in zend_optimizer_eval_binary_op()
114 if (zval_get_long(op2) < 0) { in zend_optimizer_eval_binary_op()
123 ret = binary_op(result, op1, op2); in zend_optimizer_eval_binary_op()
294 opline->op2.num = alloc_cache_slots(op_array, 1); in zend_optimizer_update_op1_const()
391 (opline + 1)->op2.var == opline->result.var) { in zend_optimizer_update_op2_const()
398 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
406 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
412 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
425 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
434 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
449 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
466 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
470 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
475 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
481 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
500 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
505 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
522 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
530 opline->op2.constant = zend_optimizer_add_literal(op_array, &tmp); in zend_optimizer_update_op2_const()
533 Z_EXTRA(op_array->literals[opline->op2.constant]) = ZEND_EXTRA_VALUE; in zend_optimizer_update_op2_const()
537 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
539 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
558 opline->op2.constant = zend_optimizer_add_literal(op_array, &tmp); in zend_optimizer_update_op2_const()
561 Z_EXTRA(op_array->literals[opline->op2.constant]) = ZEND_EXTRA_VALUE; in zend_optimizer_update_op2_const()
565 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
576 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
589 opline->op2.constant = zend_optimizer_add_literal(op_array, val); in zend_optimizer_update_op2_const()
855 opline->op2.var == var) { in zend_optimizer_replace_by_const()
887 ZEND_SET_OP_JMP_ADDR(new_opline, new_opline->op2, ZEND_OP2_JMP_ADDR(opline)); in zend_optimizer_migrate_jump()
897 ZEND_SET_OP_JMP_ADDR(new_opline, new_opline->op2, ZEND_OP2_JMP_ADDR(opline)); in zend_optimizer_migrate_jump()
933 …ZEND_SET_OP_JMP_ADDR(opline, opline->op2, ZEND_OP2_JMP_ADDR(opline) - shiftlist[ZEND_OP2_JMP_ADDR(… in zend_optimizer_shift_jump()
937 …ZEND_SET_OP_JMP_ADDR(opline, opline->op2, ZEND_OP2_JMP_ADDR(opline) - shiftlist[ZEND_OP2_JMP_ADDR(… in zend_optimizer_shift_jump()
994 zend_string *function_name = Z_STR_P(GET_OP(op2)); in zend_optimizer_get_called_func()
1011 if (opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING) { in zend_optimizer_get_called_func()
1012 zval *function_name = GET_OP(op2) + 1; in zend_optimizer_get_called_func()
1028 if (opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING) { in zend_optimizer_get_called_func()
1032 zend_string *func_name = Z_STR_P(GET_OP(op2) + 1); in zend_optimizer_get_called_func()
1039 && opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING in zend_optimizer_get_called_func()
1041 zend_string *method_name = Z_STR_P(GET_OP(op2) + 1); in zend_optimizer_get_called_func()
1237 ZEND_PASS_TWO_UNDO_CONSTANT(op_array, opline, opline->op2); in zend_revert_pass_two()
1281 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline, opline->op2); in zend_redo_pass_two()
1303 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two()
1307 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two()
1368 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline, opline->op2); in zend_redo_pass_two_ex()
1392 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two_ex()
1396 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two_ex()
1439 Z_STR_P(RT_CONSTANT(opline, opline->op2))); in zend_adjust_fcall_stack_size()