Lines Matching refs:op2_addr
4967 zend_jit_addr op2_addr, in zend_jit_math_long_long() argument
4973 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_math_long_long()
4987 op2 = (same_ops) ? op1 : jit_Z_LVAL(jit, op2_addr); in zend_jit_math_long_long()
4999 && Z_MODE(op2_addr) == IS_CONST_ZVAL && Z_LVAL_P(Z_ZV(op2_addr)) == 1) { in zend_jit_math_long_long()
5006 && Z_MODE(op2_addr) == IS_CONST_ZVAL && Z_LVAL_P(Z_ZV(op2_addr)) == 1) { in zend_jit_math_long_long()
5059 if (Z_MODE(op2_addr) == IS_CONST_ZVAL && Z_LVAL_P(Z_ZV(op2_addr)) == 1) { in zend_jit_math_long_long()
5078 if (Z_MODE(op2_addr) == IS_CONST_ZVAL && Z_LVAL_P(Z_ZV(op2_addr)) == 1) { in zend_jit_math_long_long()
5104 op2 = (same_ops) ? op1 : jit_Z_LVAL(jit, op2_addr); in zend_jit_math_long_long()
5132 zend_jit_addr op2_addr, in zend_jit_math_long_double() argument
5151 op2 = jit_Z_DVAL(jit, op2_addr); in zend_jit_math_long_double()
5166 zend_jit_addr op2_addr, in zend_jit_math_double_long() argument
5185 op2 = jit_Z_LVAL(jit, op2_addr); in zend_jit_math_double_long()
5202 zend_jit_addr op2_addr, in zend_jit_math_double_double() argument
5206 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_math_double_double()
5222 op2 = (same_ops) ? op1 : jit_Z_DVAL(jit, op2_addr); in zend_jit_math_double_double()
5245 zend_jit_addr op2_addr, in zend_jit_math_helper() argument
5262 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_math_helper()
5274 } else if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_math_helper()
5275 if (!has_concrete_type(op1_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op2_addr)].ref == IR_NULL) { in zend_jit_math_helper()
5277 zend_jit_use_reg(jit, op2_addr); in zend_jit_math_helper()
5292 if_op1_long_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_math_helper()
5295 …if (!zend_jit_math_long_long(jit, opline, opcode, op1_addr, op2_addr, res_addr, res_info, res_use_… in zend_jit_math_helper()
5313 if_op1_long_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_math_helper()
5317 if_op1_long_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_math_helper()
5322 if (!zend_jit_math_long_double(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5331 …if (!zend_jit_math_long_long(jit, opline, opcode, op1_addr, op2_addr, res_addr, res_info, res_use_… in zend_jit_math_helper()
5349 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_math_helper()
5352 if (!zend_jit_math_double_double(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5362 if_op1_double_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_math_helper()
5367 if (!zend_jit_math_double_long(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5389 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_math_helper()
5392 if (!zend_jit_math_double_double(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5402 if_op1_double_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_math_helper()
5407 if (!zend_jit_math_double_long(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5419 if_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_math_helper()
5429 if (!zend_jit_math_double_double(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5444 if (!zend_jit_math_long_double(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5468 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_math_helper()
5470 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_math_helper()
5473 op2_addr = real_addr; in zend_jit_math_helper()
5481 arg3 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_math_helper()
5538 …32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_info, zend_jit_addr op2_addr, uint32_t res_use… in zend_jit_math() argument
5542 …1_type, opline->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, opline… in zend_jit_math()
5551 …32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_info, zend_jit_addr op2_addr, zend_jit_addr re… in zend_jit_add_arrays() argument
5555 ir_ref arg2 = jit_Z_PTR(jit, op2_addr); in zend_jit_add_arrays()
5575 zend_jit_addr op2_addr, in zend_jit_long_math_helper() argument
5587 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_long_math_helper()
5598 if (Z_MODE(op2_addr) == IS_REG in zend_jit_long_math_helper()
5599 && Z_LOAD(op2_addr) in zend_jit_long_math_helper()
5600 && jit->ra[Z_SSA_VAR(op2_addr)].ref == IR_NULL) { in zend_jit_long_math_helper()
5602 zend_jit_use_reg(jit, op2_addr); in zend_jit_long_math_helper()
5610 if_long2 = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_long_math_helper()
5615 if (Z_MODE(op2_addr) == IS_CONST_ZVAL) { in zend_jit_long_math_helper()
5616 zend_long op2_lval = Z_LVAL_P(Z_ZV(op2_addr)); in zend_jit_long_math_helper()
5623 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5634 ref = jit_Z_LVAL(jit, op2_addr); in zend_jit_long_math_helper()
5648 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5662 if (Z_MODE(op2_addr) == IS_CONST_ZVAL) { in zend_jit_long_math_helper()
5663 zend_long op2_lval = Z_LVAL_P(Z_ZV(op2_addr)); in zend_jit_long_math_helper()
5672 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5683 ref = jit_Z_LVAL(jit, op2_addr); in zend_jit_long_math_helper()
5696 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5708 if (Z_MODE(op2_addr) == IS_CONST_ZVAL) { in zend_jit_long_math_helper()
5709 zend_long op2_lval = Z_LVAL_P(Z_ZV(op2_addr)); in zend_jit_long_math_helper()
5713 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5728 ref = jit_Z_LVAL(jit, op2_addr); in zend_jit_long_math_helper()
5734 zend_jit_invalidate_var_if_necessary(jit, op2_type, op2_addr, op2); in zend_jit_long_math_helper()
5767 op2 = (same_ops) ? op1 : jit_Z_LVAL(jit, op2_addr); in zend_jit_long_math_helper()
5824 ref = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_long_math_helper()
5825 if_def = jit_if_not_Z_TYPE(jit, op2_addr, IS_UNDEF); in zend_jit_long_math_helper()
5834 op2_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_long_math_helper()
5844 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_long_math_helper()
5846 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_long_math_helper()
5849 op2_addr = real_addr; in zend_jit_long_math_helper()
5857 arg3 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_long_math_helper()
5921 …r op1_addr, uint32_t op2_info, zend_ssa_range *op2_range, zend_jit_addr op2_addr, uint32_t res_use… in zend_jit_long_math() argument
5927 opline->op2_type, opline->op2, op2_addr, op2_info, op2_range, in zend_jit_long_math()
5945 zend_jit_addr op2_addr, in zend_jit_concat_helper() argument
5960 if_op2_string = jit_if_Z_TYPE(jit, op2_addr, IS_STRING); in zend_jit_concat_helper()
5965 ir_ref arg2 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_concat_helper()
5973 ir_ref arg3 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_concat_helper()
6002 ir_ref arg3 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_concat_helper()
6030 zend_jit_addr op1_addr, op2_addr; in zend_jit_concat() local
6036 op2_addr = OP2_ADDR(); in zend_jit_concat()
6038 …1_type, opline->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, res_ad… in zend_jit_concat()
6050 zend_jit_addr op2_addr, in zend_jit_assign_op() argument
6077 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_assign_op()
6079 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_assign_op()
6084 arg2 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_assign_op()
6112 …1_type, opline->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, opline… in zend_jit_assign_op()
6122 opline->op2_type, opline->op2, op2_addr, op2_info, op2_range, in zend_jit_assign_op()
6126 …1_type, opline->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, op1_de… in zend_jit_assign_op()
6642 zend_jit_addr op2_addr, in zend_jit_assign() argument
6651 if (op2_addr != op2_def_addr) { in zend_jit_assign()
6652 if (!zend_jit_update_regs(jit, opline->op2.var, op2_addr, op2_def_addr, op2_info)) { in zend_jit_assign()
6655 if (Z_MODE(op2_def_addr) == IS_REG && Z_MODE(op2_addr) != IS_REG) { in zend_jit_assign()
6656 op2_addr = op2_def_addr; in zend_jit_assign()
6668 opline->op2_type, op2_addr, op2_info, res_addr, ref_addr, may_throw)) { in zend_jit_assign()
6737 zend_jit_addr op2_addr, in zend_jit_cmp_long_long() argument
6748 …if (zend_jit_is_constant_cmp_long_long(opline, op1_range, op1_addr, op2_range, op2_addr, &result))… in zend_jit_cmp_long_long()
6774 ref = ir_CMP_OP(zend_jit_cmp_op(opline), jit_Z_LVAL(jit, op1_addr), jit_Z_LVAL(jit, op2_addr)); in zend_jit_cmp_long_long()
6808 …_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr re… in zend_jit_cmp_long_double() argument
6810 …ir_CMP_OP(zend_jit_cmp_op(opline), ir_INT2D(jit_Z_LVAL(jit, op1_addr)), jit_Z_DVAL(jit, op2_addr)); in zend_jit_cmp_long_double()
6829 …_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr re… in zend_jit_cmp_double_long() argument
6831 …ir_CMP_OP(zend_jit_cmp_op(opline), jit_Z_DVAL(jit, op1_addr), ir_INT2D(jit_Z_LVAL(jit, op2_addr))); in zend_jit_cmp_double_long()
6850 …_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr re… in zend_jit_cmp_double_double() argument
6852 …ref ref = ir_CMP_OP(zend_jit_cmp_op(opline), jit_Z_DVAL(jit, op1_addr), jit_Z_DVAL(jit, op2_addr)); in zend_jit_cmp_double_double()
6914 zend_jit_addr op2_addr, in zend_jit_cmp() argument
6932 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_cmp()
6947 } else if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_cmp()
6948 if (!has_concrete_type(op1_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op2_addr)].ref == IR_NULL) { in zend_jit_cmp()
6950 zend_jit_use_reg(jit, op2_addr); in zend_jit_cmp()
6960 if_op1_long_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_cmp()
6964 if_op1_long_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_cmp()
6969 …ref = zend_jit_cmp_long_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
6979 …ref = zend_jit_cmp_long_long(jit, opline, op1_range, op1_addr, op2_range, op2_addr, res_addr, smar… in zend_jit_cmp()
6997 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_cmp()
7000 …ref = zend_jit_cmp_double_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, t… in zend_jit_cmp()
7011 if_op1_double_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_cmp()
7016 …ref = zend_jit_cmp_double_long(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
7038 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_cmp()
7041 …ref = zend_jit_cmp_double_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, t… in zend_jit_cmp()
7052 if_op1_double_op2_long = jit_if_Z_TYPE(jit, op2_addr, IS_LONG); in zend_jit_cmp()
7057 …ref = zend_jit_cmp_double_long(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
7069 if_op2_double = jit_if_Z_TYPE(jit, op2_addr, IS_DOUBLE); in zend_jit_cmp()
7079 …ref = zend_jit_cmp_double_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, t… in zend_jit_cmp()
7095 …ref = zend_jit_cmp_long_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
7122 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_cmp()
7124 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_cmp()
7127 op2_addr = real_addr; in zend_jit_cmp()
7134 op2 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_cmp()
7220 zend_jit_addr op2_addr, in zend_jit_identical() argument
7239 ir_ref op2 = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_identical()
7242 op2_addr = ZEND_ADDR_REF_ZVAL(op2); in zend_jit_identical()
7252 } else if (Z_MODE(op1_addr) == IS_CONST_ZVAL && Z_MODE(op2_addr) == IS_CONST_ZVAL) { in zend_jit_identical()
7253 if (zend_is_identical(Z_ZV(op1_addr), Z_ZV(op2_addr))) { in zend_jit_identical()
7330 ref = jit_ZVAL_ADDR(jit, op2_addr); in zend_jit_identical()
7332 op2_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_identical()
7337 …ref = zend_jit_cmp_long_long(jit, opline, op1_range, op1_addr, op2_range, op2_addr, res_addr, smar… in zend_jit_identical()
7343 …ref = zend_jit_cmp_double_double(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, t… in zend_jit_identical()
7358 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_identical()
7360 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_identical()
7369 ref = ir_EQ(jit_Z_TYPE(jit, op2_addr), ir_CONST_U8(Z_TYPE_P(val))); in zend_jit_identical()
7370 } else if (Z_MODE(op2_addr) == IS_CONST_ZVAL && Z_TYPE_P(Z_ZV(op2_addr)) <= IS_TRUE) { in zend_jit_identical()
7371 zval *val = Z_ZV(op2_addr); in zend_jit_identical()
7382 if (Z_MODE(op2_addr) == IS_REG) { in zend_jit_identical()
7384 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_identical()
7387 op2_addr = real_addr; in zend_jit_identical()
7395 jit_ZVAL_ADDR(jit, op2_addr)); in zend_jit_identical()
9296 zend_jit_addr op2_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->op2.var); local
9299 ref = jit_Z_PTR(jit, op2_addr);
11674 zend_jit_addr op2_addr = OP2_ADDR(); local
11679 ref = jit_Z_PTR(jit, op2_addr);
11684 if_refcounted = jit_if_REFCOUNTED(jit, op2_addr);
11800 zend_jit_addr op2_addr, argument
11841 if_type = jit_if_Z_TYPE(jit, op2_addr, IS_LONG);
11862 h = jit_Z_LVAL(jit, op2_addr);
11868 if (Z_MODE(op2_addr) == IS_CONST_ZVAL) {
11869 val = Z_LVAL_P(Z_ZV(op2_addr));
11879 h = jit_Z_LVAL(jit, op2_addr);
11902 if ((Z_MODE(op2_addr) == IS_CONST_ZVAL && val >= 0 && val <= UINT32_MAX)
11957 h = jit_Z_LVAL(jit, op2_addr);
12007 h = jit_Z_LVAL(jit, op2_addr);
12052 if (Z_MODE(op2_addr) == IS_REG) {
12055 h = jit_Z_LVAL(jit, op2_addr);
12108 h = jit_Z_LVAL(jit, op2_addr);
12148 h = jit_Z_LVAL(jit, op2_addr);
12170 if_type = jit_if_Z_TYPE(jit, op2_addr, IS_STRING);
12175 key = jit_Z_PTR(jit, op2_addr);
12301 ref = jit_ZVAL_ADDR(jit, op2_addr);
12399 zend_jit_addr op2_addr, argument
12520 op1_info, op2_info, op2_addr, op2_range, dim_type, NULL, not_found_exit_addr, exit_addr,
12608 str_ref, jit_Z_LVAL(jit, op2_addr));
12611 str_ref, jit_ZVAL_ADDR(jit, op2_addr));
12618 jit_ZVAL_ADDR(jit, op2_addr),
12644 ZEND_ASSERT(Z_MODE(op2_addr) == IS_CONST_ZVAL);
12645 arg2 = ir_CONST_ADDR(Z_ZV(op2_addr)+1);
12647 arg2 = jit_ZVAL_ADDR(jit, op2_addr);
12682 zend_jit_type_check_undef(jit, jit_Z_TYPE(jit, op2_addr), opline->op2.var, NULL, 0, 1, 0);
12861 zend_jit_addr op2_addr, argument
12927 op2_info, op2_addr, op2_range, dim_type, NULL, NULL, NULL,
12973 ZEND_ASSERT(Z_MODE(op2_addr) == IS_CONST_ZVAL);
12974 arg2 = ir_CONST_ADDR(Z_ZV(op2_addr) + 1);
12976 arg2 = jit_ZVAL_ADDR(jit, op2_addr);
13037 zend_jit_addr op2_addr, argument
13088 op2_info, op2_addr, op2_range, dim_type, found_exit_addr, not_found_exit_addr, NULL,
13114 ZEND_ASSERT(Z_MODE(op2_addr) == IS_CONST_ZVAL);
13115 arg2 = ir_CONST_ADDR(Z_ZV(op2_addr)+1);
13117 arg2 = jit_ZVAL_ADDR(jit, op2_addr);
13130 ir_ref if_def = ir_IF(jit_Z_TYPE(jit, op2_addr));
13232 zend_jit_addr op2_addr, argument
13303 op2_info, op2_addr, op2_range, dim_type, NULL, NULL, NULL,
13352 ZEND_ASSERT(Z_MODE(op2_addr) == IS_CONST_ZVAL);
13353 arg2 = ir_CONST_ADDR(Z_ZV(op2_addr) + 1);
13355 arg2 = jit_ZVAL_ADDR(jit, op2_addr);
13409 zend_jit_addr op2_addr, argument
13482 op2_info, op2_addr, op2_range, dim_type, NULL, not_found_exit_addr, NULL,
13586 ZEND_ASSERT(Z_MODE(op2_addr) == IS_CONST_ZVAL);
13587 arg2 = ir_CONST_ADDR(Z_ZV(op2_addr) + 1);
13589 arg2 = jit_ZVAL_ADDR(jit, op2_addr);
17654 zend_jit_addr op2_addr = OP2_ADDR(); local
17657 ir_ref op2_ref = jit_ZVAL_ADDR(jit, op2_addr);
17669 op2_addr = ZEND_ADDR_REF_ZVAL(op2_ref);
17717 zend_jit_addr op2_addr = OP2_ADDR(); local
17721 ir_ref op2_ref = jit_ZVAL_ADDR(jit, op2_addr);
17734 op2_addr = ZEND_ADDR_REF_ZVAL(op2_ref);
17776 jit_set_Z_TYPE_INFO(jit, op2_addr, IS_UNDEF);