Lines Matching refs:op1_addr
4640 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint32_t op1_def… in zend_jit_inc_dec() argument
4648 if_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); in zend_jit_inc_dec()
4652 op1_lval_ref = jit_Z_LVAL(jit, op1_addr); in zend_jit_inc_dec()
4659 && Z_MODE(op1_addr) == IS_REG in zend_jit_inc_dec()
4660 && !Z_LOAD(op1_addr) in zend_jit_inc_dec()
4661 && !Z_STORE(op1_addr)) { in zend_jit_inc_dec()
4670 op1_lval_ref = jit_Z_LVAL(jit, op1_addr); in zend_jit_inc_dec()
4854 if_def = jit_if_not_Z_TYPE(jit, op1_addr, IS_UNDEF); in zend_jit_inc_dec()
4866 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_inc_dec()
4931 ref = jit_Z_DVAL(jit, op1_addr); in zend_jit_inc_dec()
4952 …if (!zend_jit_store_var_if_necessary_ex(jit, opline->op1.var, op1_def_addr, op1_def_info, op1_addr… in zend_jit_inc_dec()
4966 zend_jit_addr op1_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()
4986 op1 = jit_Z_LVAL(jit, op1_addr); in zend_jit_math_long_long()
5043 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_long_long()
5103 op1 = jit_Z_LVAL(jit, op1_addr); in zend_jit_math_long_long()
5131 zend_jit_addr op1_addr, in zend_jit_math_long_double() argument
5150 op1 = jit_Z_LVAL(jit, op1_addr); in zend_jit_math_long_double()
5165 zend_jit_addr op1_addr, in zend_jit_math_double_long() argument
5184 op1 = jit_Z_DVAL(jit, op1_addr); in zend_jit_math_double_long()
5190 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_double_long()
5201 zend_jit_addr op1_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()
5221 op1 = jit_Z_DVAL(jit, op1_addr); in zend_jit_math_double_double()
5227 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_double_double()
5241 zend_jit_addr op1_addr, in zend_jit_math_helper() argument
5262 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_math_helper()
5269 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_math_helper()
5270 if (!has_concrete_type(op2_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op1_addr)].ref == IR_NULL) { in zend_jit_math_helper()
5272 zend_jit_use_reg(jit, op1_addr); in zend_jit_math_helper()
5288 if_op1_long = jit_if_Z_TYPE(jit, op1_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()
5309 if_op1_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); 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()
5342 if_op1_double = jit_if_Z_TYPE(jit, op1_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()
5367 if (!zend_jit_math_double_long(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5382 if_op1_double = jit_if_Z_TYPE(jit, op1_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()
5407 if (!zend_jit_math_double_long(jit, opcode, op1_addr, op2_addr, res_addr, res_use_info)) { in zend_jit_math_helper()
5426 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op1_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()
5439 if_op1_long_op2_double = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); 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()
5461 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_math_helper()
5463 if (!zend_jit_spill_store_inv(jit, op1_addr, real_addr, op1_info)) { in zend_jit_math_helper()
5466 op1_addr = real_addr; in zend_jit_math_helper()
5480 arg2 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_math_helper()
5538 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_inf… in zend_jit_math() argument
5542 …if (!zend_jit_math_helper(jit, opline, opline->opcode, opline->op1_type, opline->op1, op1_addr, op… in zend_jit_math()
5551 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_inf… in zend_jit_add_arrays() argument
5554 ir_ref arg1 = jit_Z_PTR(jit, op1_addr); in zend_jit_add_arrays()
5570 zend_jit_addr op1_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()
5592 if (Z_MODE(op1_addr) == IS_REG in zend_jit_long_math_helper()
5593 && Z_LOAD(op1_addr) in zend_jit_long_math_helper()
5594 && jit->ra[Z_SSA_VAR(op1_addr)].ref == IR_NULL) { in zend_jit_long_math_helper()
5596 zend_jit_use_reg(jit, op1_addr); in zend_jit_long_math_helper()
5606 if_long1 = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); in zend_jit_long_math_helper()
5622 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5631 ref = ir_SHL_L(jit_Z_LVAL(jit, op1_addr), ir_CONST_LONG(op2_lval)); in zend_jit_long_math_helper()
5640 ir_ref op1_ref = jit_Z_LVAL(jit, op1_addr); in zend_jit_long_math_helper()
5647 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5658 ref = ir_SHL_L(jit_Z_LVAL(jit, op1_addr), ref); in zend_jit_long_math_helper()
5668 jit_Z_LVAL(jit, op1_addr), in zend_jit_long_math_helper()
5671 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5680 ref = ir_SAR_L(jit_Z_LVAL(jit, op1_addr), ir_CONST_LONG(op2_lval)); in zend_jit_long_math_helper()
5695 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5705 ref = ir_SAR_L(jit_Z_LVAL(jit, op1_addr), ref); in zend_jit_long_math_helper()
5712 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5720 ref = ir_AND_L(jit_Z_LVAL(jit, op1_addr), ir_CONST_LONG(op2_lval - 1)); in zend_jit_long_math_helper()
5722 ref = ir_MOD_L(jit_Z_LVAL(jit, op1_addr), ir_CONST_LONG(op2_lval)); in zend_jit_long_math_helper()
5726 ir_ref op1_ref = jit_Z_LVAL(jit, op1_addr); in zend_jit_long_math_helper()
5733 zend_jit_invalidate_var_if_necessary(jit, op1_type, op1_addr, op1); in zend_jit_long_math_helper()
5766 op1 = jit_Z_LVAL(jit, op1_addr); in zend_jit_long_math_helper()
5780 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_long_math_helper()
5808 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_long_math_helper()
5809 if_def = jit_if_not_Z_TYPE(jit, op1_addr, IS_UNDEF); in zend_jit_long_math_helper()
5818 op1_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_long_math_helper()
5837 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_long_math_helper()
5839 if (!zend_jit_spill_store_inv(jit, op1_addr, real_addr, op1_info)) { in zend_jit_long_math_helper()
5842 op1_addr = real_addr; in zend_jit_long_math_helper()
5856 arg2 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_long_math_helper()
5876 if (op1_addr == res_addr && (op2_info & MAY_BE_RCN)) { in zend_jit_long_math_helper()
5921 …op *opline, uint32_t op1_info, zend_ssa_range *op1_range, zend_jit_addr op1_addr, uint32_t op2_inf… in zend_jit_long_math() argument
5926 opline->op1_type, opline->op1, op1_addr, op1_info, op1_range, in zend_jit_long_math()
5941 zend_jit_addr op1_addr, in zend_jit_concat_helper() argument
5956 if_op1_string = jit_if_Z_TYPE(jit, op1_addr, IS_STRING); in zend_jit_concat_helper()
5963 if (zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_concat_helper()
5972 ir_ref arg2 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_concat_helper()
6001 ir_ref arg2 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_concat_helper()
6030 zend_jit_addr op1_addr, op2_addr; in zend_jit_concat() local
6035 op1_addr = OP1_ADDR(); in zend_jit_concat()
6038 …return zend_jit_concat_helper(jit, opline, opline->op1_type, opline->op1, op1_addr, op1_info, opli… in zend_jit_concat()
6044 zend_jit_addr op1_addr, in zend_jit_assign_op() argument
6067 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_assign_op()
6103 ZEND_ASSERT(op1_addr == op1_def_addr); in zend_jit_assign_op()
6104 op1_def_addr = op1_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_assign_op()
6112 …per(jit, opline, opline->extended_value, opline->op1_type, opline->op1, op1_addr, op1_info, opline… in zend_jit_assign_op()
6121 opline->op1_type, opline->op1, op1_addr, op1_info, op1_range, in zend_jit_assign_op()
6126 …result = zend_jit_concat_helper(jit, opline, opline->op1_type, opline->op1, op1_addr, op1_info, op… in zend_jit_assign_op()
6132 …if (!zend_jit_store_var_if_necessary_ex(jit, opline->op1.var, op1_def_addr, op1_def_info, op1_addr… in zend_jit_assign_op()
6615 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr op… in zend_jit_qm_assign() argument
6617 if (op1_addr != op1_def_addr) { in zend_jit_qm_assign()
6618 if (!zend_jit_update_regs(jit, opline->op1.var, op1_addr, op1_def_addr, op1_info)) { in zend_jit_qm_assign()
6621 if (Z_MODE(op1_def_addr) == IS_REG && Z_MODE(op1_addr) != IS_REG) { in zend_jit_qm_assign()
6622 op1_addr = op1_def_addr; in zend_jit_qm_assign()
6626 …assign(jit, opline, res_addr, res_use_info, res_info, opline->op1_type, op1_addr, op1_info, 0, 1))… in zend_jit_qm_assign()
6640 zend_jit_addr op1_addr, in zend_jit_assign() argument
6660 if (Z_MODE(op1_addr) != IS_REG in zend_jit_assign()
6667 if (!zend_jit_assign_to_variable(jit, opline, op1_use_addr, op1_addr, op1_info, op1_def_info, in zend_jit_assign()
6671 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_assign()
6672 if (Z_STORE(op1_addr)) { in zend_jit_assign()
6673 …if (!zend_jit_store_var_if_necessary_ex(jit, opline->op1.var, op1_addr, op1_def_info, op1_use_addr… in zend_jit_assign()
6735 zend_jit_addr op1_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 …cmp_long_double(zend_jit_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op… in zend_jit_cmp_long_double() argument
6810 …ir_ref ref = ir_CMP_OP(zend_jit_cmp_op(opline), ir_INT2D(jit_Z_LVAL(jit, op1_addr)), jit_Z_DVAL(ji… in zend_jit_cmp_long_double()
6829 …cmp_double_long(zend_jit_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op… in zend_jit_cmp_double_long() argument
6831 …ir_ref ref = ir_CMP_OP(zend_jit_cmp_op(opline), jit_Z_DVAL(jit, op1_addr), ir_INT2D(jit_Z_LVAL(jit… in zend_jit_cmp_double_long()
6850 …p_double_double(zend_jit_ctx *jit, const zend_op *opline, zend_jit_addr op1_addr, zend_jit_addr op… in zend_jit_cmp_double_double() argument
6852 …ir_ref ref = ir_CMP_OP(zend_jit_cmp_op(opline), jit_Z_DVAL(jit, op1_addr), jit_Z_DVAL(jit, op2_add… in zend_jit_cmp_double_double()
6911 zend_jit_addr op1_addr, in zend_jit_cmp() argument
6932 bool same_ops = zend_jit_same_addr(op1_addr, op2_addr); in zend_jit_cmp()
6942 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_cmp()
6943 if (!has_concrete_type(op2_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op1_addr)].ref == IR_NULL) { in zend_jit_cmp()
6945 zend_jit_use_reg(jit, op1_addr); in zend_jit_cmp()
6956 if_op1_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); 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()
6990 if_op1_double = jit_if_Z_TYPE(jit, op1_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()
7016 …ref = zend_jit_cmp_double_long(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
7031 if_op1_double = jit_if_Z_TYPE(jit, op1_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()
7057 …ref = zend_jit_cmp_double_long(jit, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, tar… in zend_jit_cmp()
7076 if_op1_double_op2_double = jit_if_Z_TYPE(jit, op1_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()
7090 if_op1_long_op2_double = jit_if_Z_TYPE(jit, op1_addr, IS_LONG); 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()
7115 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_cmp()
7117 if (!zend_jit_spill_store_inv(jit, op1_addr, real_addr, op1_info)) { in zend_jit_cmp()
7120 op1_addr = real_addr; in zend_jit_cmp()
7130 op1 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_cmp()
7217 zend_jit_addr op1_addr, in zend_jit_identical() argument
7233 ir_ref op1 = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_identical()
7236 op1_addr = ZEND_ADDR_REF_ZVAL(op1); 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()
7325 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_identical()
7327 op1_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()
7349 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_identical()
7351 if (!zend_jit_spill_store_inv(jit, op1_addr, real_addr, op1_info)) { in zend_jit_identical()
7354 op1_addr = real_addr; in zend_jit_identical()
7366 if (Z_MODE(op1_addr) == IS_CONST_ZVAL && Z_TYPE_P(Z_ZV(op1_addr)) <= IS_TRUE) { in zend_jit_identical()
7367 zval *val = Z_ZV(op1_addr); in zend_jit_identical()
7373 ref = ir_EQ(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(Z_TYPE_P(val))); in zend_jit_identical()
7375 if (Z_MODE(op1_addr) == IS_REG) { in zend_jit_identical()
7377 if (!zend_jit_spill_store_inv(jit, op1_addr, real_addr, op1_info)) { in zend_jit_identical()
7380 op1_addr = real_addr; in zend_jit_identical()
7394 jit_ZVAL_ADDR(jit, op1_addr), in zend_jit_identical()
7454 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr re… in zend_jit_bool_jmpznz() argument
7488 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_bool_jmpznz()
7490 op1_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_bool_jmpznz()
7493 if (Z_MODE(op1_addr) == IS_CONST_ZVAL) { in zend_jit_bool_jmpznz()
7494 if (zend_is_true(Z_ZV(op1_addr))) { in zend_jit_bool_jmpznz()
7504 ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_bool_jmpznz()
7542 type = jit_Z_TYPE(jit, op1_addr); in zend_jit_bool_jmpznz()
7605 type = jit_Z_TYPE(jit, op1_addr); in zend_jit_bool_jmpznz()
7610 ref = jit_Z_LVAL(jit, op1_addr); in zend_jit_bool_jmpznz()
7656 type = jit_Z_TYPE(jit, op1_addr); in zend_jit_bool_jmpznz()
7661 ref = ir_NE(jit_Z_DVAL(jit, op1_addr), ir_CONST_DOUBLE(0.0)); in zend_jit_bool_jmpznz()
7702 ref = ir_CALL_1(IR_BOOL, ir_CONST_FC_FUNC(zend_is_true), jit_ZVAL_ADDR(jit, op1_addr)); in zend_jit_bool_jmpznz()
8064 zend_jit_addr op1_addr = OP1_ADDR(); in zend_jit_type_check() local
8090 if_def = jit_if_not_Z_TYPE(jit, op1_addr, IS_UNDEF); in zend_jit_type_check()
8191 ir_ref ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_type_check()
8193 op1_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_type_check()
8196 ref = ir_AND_U32(ir_SHL_U32(ir_CONST_U32(1), jit_Z_TYPE(jit, op1_addr)), ir_CONST_U32(mask)); in zend_jit_type_check()
8201 ref = ir_NE(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(type)); in zend_jit_type_check()
8203 ref = ir_EQ(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(type)); in zend_jit_type_check()
8244 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint8_t smart_br… in zend_jit_isset_isempty_cv() argument
8268 ir_ref ref = jit_ZVAL_ADDR(jit, op1_addr); in zend_jit_isset_isempty_cv()
8270 op1_addr = ZEND_ADDR_REF_ZVAL(ref); in zend_jit_isset_isempty_cv()
8292 ir_ref ref = ir_GT(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(IS_NULL)); in zend_jit_isset_isempty_cv()
8840 zend_jit_addr op1_addr, argument
8888 ir_ref ref = jit_ZVAL_ADDR(jit, op1_addr);
8890 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
8895 ZEND_ASSERT(Z_REG(op1_addr) == ZREG_FP);
8897 if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
8899 ir_CALL_1(IR_VOID, ir_CONST_FC_FUNC(zend_jit_unref_helper), jit_ZVAL_ADDR(jit, op1_addr));
8912 ir_GUARD(ir_EQ(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(IS_OBJECT)),
8915 ir_ref if_object = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
8922 jit_ZVAL_ADDR(jit, op1_addr));
8925 jit_ZVAL_ADDR(jit, op1_addr));
8932 this_ref = jit_Z_PTR(jit, op1_addr);
9377 …d_jit_send_val(zend_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr) argument
9419 if (Z_MODE(op1_addr) == IS_REG) {
9445 op1_addr, op1_info, 0);
9453 zend_jit_addr op1_addr, arg_addr, ref_addr; local
9456 op1_addr = OP1_ADDR();
9465 op1_addr = jit_ZVAL_INDIRECT_DEREF(jit, op1_addr);
9471 ir_ref if_def = jit_if_not_Z_TYPE(jit, op1_addr, IS_UNDEF);
9474 jit_set_Z_TYPE_INFO(jit,op1_addr, IS_NULL);
9491 if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
9494 ref = jit_Z_PTR(jit, op1_addr);
9519 op1_addr, op1_info, 0);
9522 jit_set_Z_PTR(jit, op1_addr, ref);
9523 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_REFERENCE_EX);
9539 …opline, const zend_op_array *op_array, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr op… argument
9593 op1_addr, op1_info, 0);
9607 ir_GUARD(ir_EQ(jit_Z_TYPE(jit, op1_addr), ir_CONST_U32(IS_REFERENCE)),
9630 op1_addr, op1_info, 0);
9695 if_def = jit_if_not_Z_TYPE(jit, op1_addr, IS_UNDEF);
9727 op1_addr, op1_info, 0);
9754 ref = jit_ZVAL_ADDR(jit, op1_addr);
9756 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
9762 op1_addr, op1_info, 1);
9768 if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
9772 ref = jit_Z_PTR(jit, op1_addr);
9808 op1_addr, op1_info, 0);
9811 if (op1_addr != op1_def_addr) {
9812 if (!zend_jit_update_regs(jit, opline->op1.var, op1_addr, op1_def_addr, op1_info)) {
9815 if (Z_MODE(op1_def_addr) == IS_REG && Z_MODE(op1_addr) != IS_REG) {
9816 op1_addr = op1_def_addr;
9824 op1_addr, op1_info, opline->op1_type == IS_CV);
10841 zend_jit_addr op1_addr = OP1_ADDR(); local
10853 ir_ref if_ok = jit_if_Z_TYPE(jit, op1_addr, type_code);
10860 ir_SHL_U32(ir_CONST_U32(1), jit_Z_TYPE(jit, op1_addr)),
10872 ref = jit_ZVAL_ADDR(jit, op1_addr);
11169 …t, const zend_op *opline, const zend_op_array *op_array, uint32_t op1_info, zend_jit_addr op1_addr) argument
11192 if (Z_MODE(op1_addr) == IS_REG) {
11195 if (!zend_jit_spill_store_inv(jit, op1_addr, dst, op1_info)) {
11198 op1_addr = dst;
11200 jit_observer_fcall_end(jit, jit_FP(jit), jit_ZVAL_ADDR(jit, op1_addr));
11214 ir_ref if_refcounted = jit_if_REFCOUNTED(jit, op1_addr);
11219 ref = jit_Z_PTR(jit, op1_addr);
11260 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 0);
11263 ref = jit_ZVAL_ADDR(jit, op1_addr);
11265 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
11272 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 1);
11274 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 0);
11276 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_NULL);
11278 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 0);
11281 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 0);
11288 if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
11292 ref = jit_Z_PTR(jit, op1_addr);
11320 jit_ZVAL_COPY(jit, ret_addr, MAY_BE_ANY, op1_addr, op1_info, 0);
11339 zend_jit_addr op1_addr = OP1_ADDR(); local
11392 if_refcounted = jit_if_REFCOUNTED(jit, op1_addr);
11397 ref2 = jit_Z_PTR(jit, op1_addr);
11400 jit_set_Z_PTR(jit, op1_addr, ref);
11401 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_REFERENCE_EX);
11435 jit_set_Z_PTR(jit, op1_addr, ref);
11436 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_REFERENCE_EX);
11449 zend_jit_addr op1_addr = OP1_ADDR(); local
11459 if_array = jit_if_Z_TYPE(jit, op1_addr, IS_ARRAY);
11476 jit_ZVAL_PTR_DTOR(jit, op1_addr, op1_info, 0, opline);
11506 zend_jit_addr op1_addr = OP1_ADDR(); local
11513 ref = jit_Z_PTR(jit, op1_addr);
11519 jit_ZVAL_PTR_DTOR(jit, op1_addr, op1_info, 0, opline);
11527 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr re… argument
11548 ref = jit_Z_PTR(jit, op1_addr);
11564 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr re… argument
11586 ref = jit_Z_PTR(jit, op1_addr);
11611 …d_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint8_t smart_br… argument
11624 jit_Z_PTR(jit, op1_addr));
12396 zend_jit_addr op1_addr, argument
12489 ir_ref ref = jit_ZVAL_ADDR(jit, op1_addr);
12491 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
12504 jit_guard_Z_TYPE(jit, op1_addr, IS_ARRAY, exit_addr);
12506 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_ARRAY);
12511 ht_ref = jit_Z_PTR(jit, op1_addr);
12595 jit_guard_Z_TYPE(jit, op1_addr, IS_STRING, exit_addr);
12597 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
12602 str_ref = jit_Z_PTR(jit, op1_addr);
12635 jit_guard_Z_TYPE(jit, op1_addr, IS_OBJECT, exit_addr);
12637 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
12652 jit_ZVAL_ADDR(jit, op1_addr),
12657 jit_ZVAL_ADDR(jit, op1_addr),
12677 zend_jit_type_check_undef(jit, jit_Z_TYPE(jit, op1_addr), opline->op1.var, NULL, 0, 1, 0);
12694 ref = jit_ZVAL_ADDR(jit, op1_addr);
12742 zend_jit_addr op1_addr, argument
12755 ref = jit_ZVAL_ADDR(jit, op1_addr);
12760 if_reference = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
12777 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
12784 *if_type = jit_if_Z_TYPE(jit, op1_addr, IS_ARRAY);
12815 *if_type = ir_IF(ir_LE(jit_Z_TYPE(jit, op1_addr), ir_CONST_U8(IS_NULL)));
12824 ir_ref if_def = ir_IF(jit_Z_TYPE(jit, op1_addr));
12837 jit_ZVAL_ADDR(jit, op1_addr));
12853 return op1_addr;
12859 zend_jit_addr op1_addr, argument
12874 …op1_addr = zend_jit_prepare_array_update(jit, opline, &op1_info, op1_addr, &if_type, &ht_ref, &may…
12983 jit_ZVAL_ADDR(jit, op1_addr),
12989 jit_ZVAL_ADDR(jit, op1_addr),
13034 zend_jit_addr op1_addr, argument
13059 ir_ref ref = jit_ZVAL_ADDR(jit, op1_addr);
13061 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
13070 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_ARRAY);
13074 ht_ref = jit_Z_PTR(jit, op1_addr);
13112 arg1 = jit_ZVAL_ADDR(jit, op1_addr);
13229 zend_jit_addr op1_addr, argument
13266 …op1_addr = zend_jit_prepare_array_update(jit, opline, &op1_info, op1_addr, &if_type, &ht_ref, &may…
13364 jit_ZVAL_ADDR(jit, op1_addr),
13406 zend_jit_addr op1_addr, argument
13430 …op1_addr = zend_jit_prepare_array_update(jit, opline, &op1_info, op1_addr, &if_type, &ht_ref, &may…
13593 jit_ZVAL_ADDR(jit, op1_addr),
13626 zend_jit_addr op1_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->op1.var); local
13628 jit_ZVAL_COPY(jit, res_addr, -1, op1_addr, op1_info, opline->op1_type == IS_CV);
13662 zend_jit_addr op1_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->op1.var); local
13686 ht_ref = jit_Z_PTR(jit, op1_addr);
14072 zend_jit_addr op1_addr, argument
14110 && Z_REG(op1_addr) == ZREG_FP) {
14111 op1_addr = jit_ZVAL_INDIRECT_DEREF(jit, op1_addr);
14114 op1_addr = jit_ZVAL_DEREF(jit, op1_addr);
14124 jit_guard_Z_TYPE(jit, op1_addr, IS_OBJECT, exit_addr);
14126 ir_ref if_obj = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
14138 ir_ref if_def = ir_IF(jit_Z_TYPE(jit, op1_addr));
14150 op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
14169 obj_ref = jit_Z_PTR(jit, op1_addr);
14591 zend_jit_addr op1_addr, argument
14639 && Z_REG(op1_addr) == ZREG_FP) {
14640 op1_addr = jit_ZVAL_INDIRECT_DEREF(jit, op1_addr);
14643 op1_addr = jit_ZVAL_DEREF(jit, op1_addr);
14653 jit_guard_Z_TYPE(jit, op1_addr, IS_OBJECT, exit_addr);
14655 ir_ref if_obj = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
14660 jit_ZVAL_ADDR(jit, op1_addr),
14672 obj_ref = jit_Z_PTR(jit, op1_addr);
14950 zend_jit_addr op1_addr, argument
14989 && Z_REG(op1_addr) == ZREG_FP) {
14990 op1_addr = jit_ZVAL_INDIRECT_DEREF(jit, op1_addr);
14993 op1_addr = jit_ZVAL_DEREF(jit, op1_addr);
15003 jit_guard_Z_TYPE(jit, op1_addr, IS_OBJECT, exit_addr);
15005 ir_ref if_obj = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
15013 jit_ZVAL_ADDR(jit, op1_addr),
15022 obj_ref = jit_Z_PTR(jit, op1_addr);
15377 zend_jit_addr op1_addr, argument
15417 && Z_REG(op1_addr) == ZREG_FP) {
15418 op1_addr = jit_ZVAL_INDIRECT_DEREF(jit, op1_addr);
15421 op1_addr = jit_ZVAL_DEREF(jit, op1_addr);
15431 jit_guard_Z_TYPE(jit, op1_addr, IS_OBJECT, exit_addr);
15433 ir_ref if_obj = jit_if_Z_TYPE(jit, op1_addr, IS_OBJECT);
15438 jit_ZVAL_ADDR(jit, op1_addr),
15445 obj_ref = jit_Z_PTR(jit, op1_addr);
16057 zend_jit_addr op1_addr = OP1_ADDR(); local
16093 ref = jit_ZVAL_ADDR(jit, op1_addr);
16094 if_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16101 jit_guard_Z_TYPE(jit, op1_addr, IS_REFERENCE, fallback_label);
16103 ir_ref if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_REFERENCE);
16109 ref2 = ir_ADD_OFFSET(jit_Z_PTR(jit, op1_addr), offsetof(zend_reference, val));
16110 op1_addr = ZEND_ADDR_REF_ZVAL(ref2);
16113 jit_guard_Z_TYPE(jit, op1_addr, IS_LONG, fallback_label);
16115 if_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16123 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
16126 jit_guard_Z_TYPE(jit, op1_addr, IS_LONG, fallback_label);
16128 ir_ref if_long = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16134 ir_ref ref = jit_Z_LVAL(jit, op1_addr);
16220 ref = jit_ZVAL_ADDR(jit, op1_addr);
16221 if_string = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16228 jit_guard_Z_TYPE(jit, op1_addr, IS_REFERENCE, fallback_label);
16230 ir_ref if_ref = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16236 ref2 = ir_ADD_OFFSET(jit_Z_PTR(jit, op1_addr), offsetof(zend_reference, val));
16237 op1_addr = ZEND_ADDR_REF_ZVAL(ref2);
16240 jit_guard_Z_TYPE(jit, op1_addr, IS_LONG, fallback_label);
16242 if_string = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16250 op1_addr = ZEND_ADDR_REF_ZVAL(ref);
16253 jit_guard_Z_TYPE(jit, op1_addr, IS_STRING, fallback_label);
16255 ir_ref if_string = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16262 ir_ref ref = jit_Z_PTR(jit, op1_addr);
16336 op1_addr = jit_ZVAL_DEREF(jit, op1_addr);
16341 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16344 jit_guard_Z_TYPE(jit, op1_addr, IS_LONG, default_label);
16346 ir_ref if_type = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16351 ir_ref if_type = jit_if_Z_TYPE(jit, op1_addr, IS_LONG);
16357 ref = jit_Z_LVAL(jit, op1_addr);
16371 if_type = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16374 jit_guard_Z_TYPE(jit, op1_addr, IS_STRING, default_label);
16376 ir_ref if_type = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16381 ir_ref if_type = jit_if_Z_TYPE(jit, op1_addr, IS_STRING);
16387 ir_ref ref2 = jit_Z_PTR(jit, op1_addr);
16468 jit_guard_Z_TYPE(jit, op1_addr, IS_UNDEF, default_label);
16470 ir_ref if_def = ir_IF(jit_Z_TYPE(jit, op1_addr));
16475 ir_ref if_def = ir_IF(jit_Z_TYPE(jit, op1_addr));
17610 zend_jit_addr op1_addr = OP1_ADDR(); local
17612 ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
17618 op1_addr = ZEND_ADDR_REF_ZVAL(op1_ref);
17653 zend_jit_addr op1_addr = OP1_ADDR(); local
17656 ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
17663 op1_addr = ZEND_ADDR_REF_ZVAL(op1_ref);
17692 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_UNDEF);
17716 zend_jit_addr op1_addr = OP1_ADDR(); local
17720 ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
17728 op1_addr = ZEND_ADDR_REF_ZVAL(op1_ref);
17768 jit_set_Z_TYPE_INFO(jit, op1_addr, IS_UNDEF);