Lines Matching refs:res_addr
330 zend_jit_addr res_addr,
4640 …r op1_def_addr, uint32_t res_use_info, uint32_t res_info, zend_jit_addr res_addr, int may_overflow… in zend_jit_inc_dec() argument
4653 jit_set_Z_LVAL(jit, res_addr, op1_lval_ref); in zend_jit_inc_dec()
4654 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_inc_dec()
4655 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_inc_dec()
4715 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4716 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_inc_dec()
4717 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_inc_dec()
4749 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4750 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_inc_dec()
4751 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_inc_dec()
4766 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4767 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_inc_dec()
4768 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_inc_dec()
4805 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_inc_dec()
4806 jit_set_Z_DVAL(jit, res_addr, ir_CONST_DOUBLE((double)ZEND_LONG_MAX + 1.0)); in zend_jit_inc_dec()
4809 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0)); in zend_jit_inc_dec()
4810 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0x41e00000)); in zend_jit_inc_dec()
4812 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x43e0000000000000)); in zend_jit_inc_dec()
4814 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_inc_dec()
4817 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_inc_dec()
4818 jit_set_Z_DVAL(jit, res_addr, ir_CONST_DOUBLE((double)ZEND_LONG_MIN - 1.0)); in zend_jit_inc_dec()
4821 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x00200000)); in zend_jit_inc_dec()
4822 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0xc1e00000)); in zend_jit_inc_dec()
4824 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0xc3e0000000000000)); in zend_jit_inc_dec()
4826 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_inc_dec()
4838 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4839 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_inc_dec()
4840 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_inc_dec()
4879 ZEND_ASSERT(Z_MODE(res_addr) != IS_REG); in zend_jit_inc_dec()
4880 arg2 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_inc_dec()
4908 res_addr, in zend_jit_inc_dec()
4914 ir_ref arg2 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_inc_dec()
4921 ir_ref arg2 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_inc_dec()
4933 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4934 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_inc_dec()
4945 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_inc_dec()
4946 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_inc_dec()
4956 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_inc_dec()
4968 zend_jit_addr res_addr, in zend_jit_math_long_long() argument
5040 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_math_long_long()
5042 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_math_long_long()
5043 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_long_long()
5045 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_math_long_long()
5060 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_long_long()
5061 jit_set_Z_DVAL(jit, res_addr, ir_CONST_DOUBLE((double)ZEND_LONG_MAX + 1.0)); in zend_jit_math_long_long()
5064 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0)); in zend_jit_math_long_long()
5065 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0x41e00000)); in zend_jit_math_long_long()
5067 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x43e0000000000000)); in zend_jit_math_long_long()
5069 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_long_long()
5079 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_long_long()
5080 jit_set_Z_DVAL(jit, res_addr, ir_CONST_DOUBLE((double)ZEND_LONG_MIN - 1.0)); in zend_jit_math_long_long()
5083 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x00200000)); in zend_jit_math_long_long()
5084 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0xc1e00000)); in zend_jit_math_long_long()
5086 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0xc3e0000000000000)); in zend_jit_math_long_long()
5088 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_long_long()
5117 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_math_long_long()
5118 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_math_long_long()
5119 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_long_long()
5133 zend_jit_addr res_addr, in zend_jit_math_long_double() argument
5153 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_math_long_double()
5155 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_math_long_double()
5157 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_long_double()
5167 zend_jit_addr res_addr, in zend_jit_math_double_long() argument
5187 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_math_double_long()
5189 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_math_double_long()
5190 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_double_long()
5192 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_double_long()
5203 zend_jit_addr res_addr, in zend_jit_math_double_double() argument
5224 jit_set_Z_DVAL(jit, res_addr, ref); in zend_jit_math_double_double()
5226 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_math_double_double()
5227 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_math_double_double()
5229 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE); in zend_jit_math_double_double()
5248 zend_jit_addr res_addr, in zend_jit_math_helper() argument
5281 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_helper()
5282 jit->delay_var = Z_SSA_VAR(res_addr); 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()
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()
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()
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()
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()
5475 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_helper()
5478 arg1 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_math_helper()
5503 } else if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RX) { in zend_jit_math_helper()
5509 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_helper()
5511 if (!zend_jit_load_reg(jit, real_addr, res_addr, res_info)) { in zend_jit_math_helper()
5522 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_math_helper()
5528 zend_jit_def_reg(jit, res_addr, res_inputs->refs[0]); in zend_jit_math_helper()
5531 zend_jit_def_reg(jit, res_addr, phi); in zend_jit_math_helper()
5538 …_addr op2_addr, uint32_t res_use_info, uint32_t res_info, zend_jit_addr res_addr, int may_overflow… in zend_jit_math() argument
5542 … opline->op2_type, opline->op2, op2_addr, op2_info, opline->result.var, res_addr, res_info, res_us… in zend_jit_math()
5545 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_math()
5551 …p1_info, zend_jit_addr op1_addr, uint32_t op2_info, zend_jit_addr op2_addr, zend_jit_addr res_addr) in zend_jit_add_arrays() argument
5558 jit_set_Z_PTR(jit, res_addr, ref); in zend_jit_add_arrays()
5559 jit_set_Z_TYPE_INFO(jit, res_addr, IS_ARRAY_EX); in zend_jit_add_arrays()
5579 zend_jit_addr res_addr, in zend_jit_long_math_helper() argument
5626 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5675 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5716 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5772 if (Z_MODE(res_addr) == IS_REG in zend_jit_long_math_helper()
5775 jit->delay_var = Z_SSA_VAR(res_addr); in zend_jit_long_math_helper()
5778 jit_set_Z_LVAL(jit, res_addr, ref); in zend_jit_long_math_helper()
5779 if (Z_MODE(res_addr) != IS_REG) { in zend_jit_long_math_helper()
5780 if (!zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_long_math_helper()
5782 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG); in zend_jit_long_math_helper()
5851 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5854 arg1 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_long_math_helper()
5876 if (op1_addr == res_addr && (op2_info & MAY_BE_RCN)) { in zend_jit_long_math_helper()
5888 } else if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RX) { in zend_jit_long_math_helper()
5895 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5897 if (!zend_jit_load_reg(jit, real_addr, res_addr, res_info)) { in zend_jit_long_math_helper()
5904 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_long_math_helper()
5910 zend_jit_def_reg(jit, res_addr, res_inputs->refs[0]); in zend_jit_long_math_helper()
5913 zend_jit_def_reg(jit, res_addr, phi); in zend_jit_long_math_helper()
5921 …jit_addr op2_addr, uint32_t res_use_info, uint32_t res_info, zend_jit_addr res_addr, int may_throw) in zend_jit_long_math() argument
5928 opline->result.var, res_addr, res_info, res_use_info, may_throw)) { in zend_jit_long_math()
5931 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_long_math()
5947 zend_jit_addr res_addr, in zend_jit_concat_helper() argument
5963 if (zend_jit_same_addr(op1_addr, res_addr)) { in zend_jit_concat_helper()
5964 ir_ref arg1 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_concat_helper()
5971 ir_ref arg1 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_concat_helper()
6000 ir_ref arg1 = jit_ZVAL_ADDR(jit, res_addr); in zend_jit_concat_helper()
6015 } else if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RX) { in zend_jit_concat_helper()
6028 …const zend_op *opline, uint32_t op1_info, uint32_t op2_info, zend_jit_addr res_addr, int may_throw) in zend_jit_concat() argument
6038 …->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, res_addr, may_throw); in zend_jit_concat()
6187 zend_jit_addr res_addr, in zend_jit_simple_assign() argument
6195 if (!res_addr) { in zend_jit_simple_assign()
6206 res_addr, in zend_jit_simple_assign()
6218 if (res_addr) { in zend_jit_simple_assign()
6219 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL); in zend_jit_simple_assign()
6249 if (!res_addr) { in zend_jit_simple_assign()
6256 res_addr, in zend_jit_simple_assign()
6277 if (!res_addr) { in zend_jit_simple_assign()
6284 res_addr, in zend_jit_simple_assign()
6388 zend_jit_addr res_addr, in zend_jit_assign_to_variable() argument
6410 if (Z_MODE(res_addr) == IS_REG) { in zend_jit_assign_to_variable()
6411 real_res_addr = res_addr; in zend_jit_assign_to_variable()
6412 res_addr = 0; in zend_jit_assign_to_variable()
6414 } else if (Z_MODE(res_addr) == IS_REG) { in zend_jit_assign_to_variable()
6415 jit->delay_var = Z_SSA_VAR(res_addr); in zend_jit_assign_to_variable()
6450 if (!res_addr) { in zend_jit_assign_to_variable()
6475 ir_CALL_3(IR_ADDR, ir_CONST_FC_FUNC(func), ref2, arg2, jit_ZVAL_ADDR(jit, res_addr)); in zend_jit_assign_to_variable()
6508 …assign(jit, opline, var_addr, var_info, var_def_info, val_type, val_addr, val_info, res_addr, 0)) { in zend_jit_assign_to_variable()
6529 if (Z_MODE(var_addr) == IS_REG || Z_MODE(res_addr) == IS_REG) { in zend_jit_assign_to_variable()
6540 if (Z_MODE(var_addr) == IS_REG || Z_MODE(res_addr) == IS_REG) { in zend_jit_assign_to_variable()
6570 …opline, var_addr, var_info, var_def_info, val_type, val_addr, val_info, res_addr, check_exception)… in zend_jit_assign_to_variable()
6582 if (Z_MODE(var_addr) == IS_REG || Z_MODE(res_addr) == IS_REG) { in zend_jit_assign_to_variable()
6608 zend_jit_def_reg(jit, res_addr, phi); in zend_jit_assign_to_variable()
6615 …addr, zend_jit_addr op1_def_addr, uint32_t res_use_info, uint32_t res_info, zend_jit_addr res_addr) in zend_jit_qm_assign() argument
6626 …if (!zend_jit_simple_assign(jit, opline, res_addr, res_use_info, res_info, opline->op1_type, op1_a… in zend_jit_qm_assign()
6629 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_qm_assign()
6645 zend_jit_addr res_addr, in zend_jit_assign() argument
6668 opline->op2_type, op2_addr, op2_info, res_addr, ref_addr, may_throw)) { in zend_jit_assign()
6697 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_assign()
6738 zend_jit_addr res_addr, in zend_jit_cmp_long_long() argument
6752 jit_set_Z_TYPE_INFO(jit, res_addr, result ? IS_TRUE : IS_FALSE); in zend_jit_cmp_long_long()
6777 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_cmp_long_long()
6808 … *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr res_addr, uint8_t smart_br… in zend_jit_cmp_long_double() argument
6813 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_cmp_long_double()
6829 … *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr res_addr, uint8_t smart_br… in zend_jit_cmp_double_long() argument
6834 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_cmp_double_long()
6850 … *opline, zend_jit_addr op1_addr, zend_jit_addr op2_addr, zend_jit_addr res_addr, uint8_t smart_br… in zend_jit_cmp_double_double() argument
6855 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_cmp_double_double()
6885 …low(zend_jit_ctx *jit, ir_ref ref, const zend_op *opline, zend_jit_addr res_addr, uint8_t smart_br… in zend_jit_cmp_slow() argument
6890 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_cmp_slow()
6915 zend_jit_addr res_addr, in zend_jit_cmp() argument
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()
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()
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()
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()
7147 …ref = zend_jit_cmp_slow(jit, ref, opline, res_addr, smart_branch_opcode, target_label, target_labe… in zend_jit_cmp()
7221 zend_jit_addr res_addr, in zend_jit_identical() argument
7268 jit_set_Z_TYPE_INFO(jit, res_addr, opline->opcode != ZEND_IS_NOT_IDENTICAL ? IS_TRUE : IS_FALSE); in zend_jit_identical()
7299 jit_set_Z_TYPE_INFO(jit, res_addr, opline->opcode != ZEND_IS_NOT_IDENTICAL ? IS_FALSE : IS_TRUE); 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()
7400 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_identical()
7403 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_identical()
7454 …nd_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr res_addr, uint32_t target_… in zend_jit_bool_jmpznz() argument
7513 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_FALSE : IS_TRUE); in zend_jit_bool_jmpznz()
7527 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_TRUE : IS_FALSE); in zend_jit_bool_jmpznz()
7555 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_TRUE : IS_FALSE); in zend_jit_bool_jmpznz()
7580 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_FALSE : IS_TRUE); in zend_jit_bool_jmpznz()
7614 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7617 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7623 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7636 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_FALSE : IS_TRUE); in zend_jit_bool_jmpznz()
7641 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_TRUE : IS_FALSE); in zend_jit_bool_jmpznz()
7664 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7667 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7673 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7686 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_FALSE : IS_TRUE); in zend_jit_bool_jmpznz()
7691 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_TRUE : IS_FALSE); in zend_jit_bool_jmpznz()
7709 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7712 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7720 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_bool_jmpznz()
7735 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_FALSE : IS_TRUE); in zend_jit_bool_jmpznz()
7740 jit_set_Z_TYPE_INFO(jit, res_addr, set_bool_not ? IS_TRUE : IS_FALSE); in zend_jit_bool_jmpznz()
7762 zend_jit_addr res_addr = 0; in zend_jit_defined() local
7777 res_addr = RES_ADDR(); in zend_jit_defined()
7801 jit_set_Z_TYPE_INFO(jit, res_addr, IS_TRUE); in zend_jit_defined()
7825 jit_set_Z_TYPE_INFO(jit, res_addr, IS_FALSE); in zend_jit_defined()
7848 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_defined()
7994 zend_jit_addr res_addr) in zend_jit_fetch_constant() argument
8046 jit_ZVAL_COPY(jit, res_addr, MAY_BE_ANY, const_addr, res_info, 1); in zend_jit_fetch_constant()
8047 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) { in zend_jit_fetch_constant()
8054 jit_ZVAL_COPY(jit, res_addr, MAY_BE_ANY, const_addr, MAY_BE_ANY, 1); in zend_jit_fetch_constant()
8065 zend_jit_addr res_addr = 0; in zend_jit_type_check() local
8083 res_addr = RES_ADDR(); in zend_jit_type_check()
8107 jit_set_Z_TYPE_INFO(jit, res_addr, IS_TRUE); in zend_jit_type_check()
8120 jit_set_Z_TYPE_INFO(jit, res_addr, IS_FALSE); in zend_jit_type_check()
8146 jit_set_Z_TYPE_INFO(jit, res_addr, IS_TRUE); in zend_jit_type_check()
8160 jit_set_Z_TYPE_INFO(jit, res_addr, IS_FALSE); in zend_jit_type_check()
8224 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_type_check()
8246 zend_jit_addr res_addr = RES_ADDR(); in zend_jit_isset_isempty_cv() local
8264 res_addr = RES_ADDR(); in zend_jit_isset_isempty_cv()
8279 jit_set_Z_TYPE_INFO(jit, res_addr, IS_TRUE); in zend_jit_isset_isempty_cv()
8288 jit_set_Z_TYPE_INFO(jit, res_addr, IS_FALSE); in zend_jit_isset_isempty_cv()
8306 jit_set_Z_TYPE_INFO_ref(jit, jit_ZVAL_ADDR(jit, res_addr), in zend_jit_isset_isempty_cv()
10434 ir_ref res_addr = IR_UNUSED, func_ptr; local
10437 res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
10448 res_addr = ZEND_ADDR_REF_ZVAL(ptr);
10451 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
10456 ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
10575 res_addr = ZEND_ADDR_REF_ZVAL(sp);
10576 jit_ZVAL_PTR_DTOR(jit, res_addr, func_info, 1, opline);
10660 zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var); local
10664 ref = jit_ZVAL_ADDR(jit, res_addr);
10771 zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var); local
10779 res_addr,
10792 res_addr,
10800 jit_ZVAL_ADDR(jit, res_addr),
10805 jit_ZVAL_PTR_DTOR(jit, res_addr, MAY_BE_ANY|MAY_BE_RC1|MAY_BE_RCN, 1, opline);
11527 …ctx *jit, const zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr res_addr) argument
11537 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(len));
11538 if (Z_MODE(res_addr) != IS_REG) {
11539 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
11540 } else if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, MAY_BE_LONG)) {
11550 jit_set_Z_LVAL(jit, res_addr, ref);
11552 if (Z_MODE(res_addr) == IS_REG) {
11553 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, MAY_BE_LONG)) {
11557 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
11564 … zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, zend_jit_addr res_addr, int may_throw) argument
11574 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(count));
11575 if (Z_MODE(res_addr) != IS_REG) {
11576 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
11577 } else if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, MAY_BE_LONG)) {
11593 jit_set_Z_LVAL(jit, res_addr, ref);
11595 if (Z_MODE(res_addr) == IS_REG) {
11596 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, MAY_BE_LONG)) {
11600 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
11614 zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var); local
11650 jit_set_Z_TYPE_INFO_ex(jit, res_addr,
11695 zend_jit_addr res_addr = RES_ADDR(); local
11702 jit_set_Z_PTR(jit, res_addr, ref);
11703 jit_set_Z_TYPE_INFO(jit, res_addr, IS_STRING_EX);
11709 static int zend_jit_zval_copy_deref(zend_jit_ctx *jit, zend_jit_addr res_addr, zend_jit_addr val_ad… argument
11786 jit_set_Z_PTR(jit, res_addr, ptr);
11788 jit_set_Z_W2(jit, res_addr, jit_Z_W2(jit, val_addr));
11790 jit_set_Z_TYPE_INFO_ex(jit, res_addr, type);
11813 zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var); local
12071 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
12251 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
12307 jit_ZVAL_ADDR(jit, res_addr));
12331 jit_ZVAL_ADDR(jit, res_addr));
12402 zend_jit_addr res_addr, argument
12557 jit_ZVAL_COPY(jit, res_addr, -1, val_addr, res_info, !result_avoid_refcounting);
12558 if (Z_MODE(res_addr) != IS_REG) {
12559 } else if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) {
12565 if (!zend_jit_zval_copy_deref(jit, res_addr, val_addr, type_info)) {
12570 jit_ZVAL_COPY(jit, res_addr, -1, val_addr, res_info, 1);
12576 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
12613 jit_set_Z_PTR(jit, res_addr, ref);
12614 jit_set_Z_TYPE_INFO(jit, res_addr, IS_STRING);
12619 jit_ZVAL_ADDR(jit, res_addr));
12654 jit_ZVAL_ADDR(jit, res_addr));
12659 jit_ZVAL_ADDR(jit, res_addr));
12699 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
12863 zend_jit_addr res_addr, argument
12900 jit_set_Z_PTR(jit, res_addr, ref);
12901 jit_set_Z_TYPE_INFO(jit, res_addr, IS_INDIRECT);
12935 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
12948 jit_set_Z_PTR(jit, res_addr, ref);
12949 jit_set_Z_TYPE_INFO(jit, res_addr, IS_INDIRECT);
12985 jit_ZVAL_ADDR(jit, res_addr));
12991 jit_ZVAL_ADDR(jit, res_addr));
13046 zend_jit_addr res_addr; local
13056 res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
13178 jit_set_Z_TYPE_INFO(jit, res_addr, IS_TRUE);
13210 jit_set_Z_TYPE_INFO(jit, res_addr, IS_FALSE);
13237 zend_jit_addr res_addr, argument
13290 …sign(jit, opline, var_addr, var_info, -1, (opline+1)->op1_type, op3_addr, val_info, res_addr, 0)) {
13324 && (res_addr == 0 || Z_MODE(res_addr) != IS_REG)) {
13325 …opline, var_addr, var_addr, var_info, -1, (opline+1)->op1_type, op3_addr, val_info, res_addr, 0)) {
13329 …ine, var_addr, var_addr, var_info, -1, (opline+1)->op1_type, op3_addr, val_info, res_addr, 0, 0)) {
13361 arg4 = jit_ZVAL_ADDR(jit, res_addr);
13618 zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var); local
13624 jit_ZVAL_COPY_CONST(jit, res_addr, MAY_BE_ANY, MAY_BE_ANY, zv, 1);
13628 jit_ZVAL_COPY(jit, res_addr, -1, op1_addr, op1_info, opline->op1_type == IS_CV);
13834 zend_jit_addr res_addr = RES_ADDR(); local
13859 jit_set_Z_PTR(jit, res_addr, key_ref);
13866 jit_set_Z_TYPE_INFO(jit, res_addr, IS_STRING);
13872 jit_set_Z_TYPE_INFO(jit, res_addr, IS_STRING_EX);
13886 jit_set_Z_LVAL(jit, res_addr, ref);
13887 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
13913 jit_set_Z_LVAL(jit, res_addr, packed_pos_ref);
13914 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
14080 zend_jit_addr res_addr, argument
14155 jit_set_Z_TYPE_INFO(jit, res_addr, _IS_ERROR);
14159 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
14162 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
14223 if (Z_MODE(res_addr) == IS_REG) {
14233 if (Z_MODE(res_addr) == IS_REG) {
14293 jit_set_Z_PTR(jit, res_addr, ref);
14294 jit_set_Z_TYPE_INFO(jit, res_addr, IS_OBJECT_EX);
14303 jit_set_Z_TYPE_INFO(jit, res_addr, _IS_ERROR);
14309 jit_set_Z_TYPE_INFO(jit, res_addr, _IS_ERROR);
14324 jit_ZVAL_ADDR(jit, res_addr));
14359 jit_set_Z_PTR(jit, res_addr, ref);
14360 jit_set_Z_TYPE_INFO(jit, res_addr, IS_OBJECT_EX);
14366 jit_set_Z_TYPE_INFO(jit, res_addr, _IS_ERROR);
14382 jit_set_Z_PTR(jit, res_addr, ref);
14383 jit_set_Z_TYPE_INFO(jit, res_addr, IS_OBJECT_EX);
14434 jit_ZVAL_ADDR(jit, res_addr));
14445 jit_set_Z_PTR(jit, res_addr, prop_ref);
14446 jit_set_Z_TYPE_INFO(jit, res_addr, IS_INDIRECT);
14453 || Z_MODE(res_addr) == IS_REG) {
14458 if (!zend_jit_zval_copy_deref(jit, res_addr, prop_addr, prop_type_ref)) {
14478 if (Z_MODE(res_addr) == IS_REG) {
14530 jit_ZVAL_COPY(jit, res_addr, -1, val_addr, res_info, !result_avoid_refcounting);
14532 if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) {
14595 zend_jit_addr res_addr, argument
14663 if (RETURN_VALUE_USED(opline) && Z_MODE(res_addr) != IS_REG) {
14664 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
14751 } else if (Z_MODE(res_addr) == IS_REG) {
14755 arg4 = jit_ZVAL_ADDR(jit, res_addr);
14771 if (RETURN_VALUE_USED(opline) && Z_MODE(res_addr) == IS_REG) {
14773 if (!zend_jit_load_reg(jit, real_addr, res_addr, res_info)) {
14831 } else if (Z_MODE(res_addr) == IS_REG) {
14835 arg4 = jit_ZVAL_ADDR(jit, res_addr);
14843 if (RETURN_VALUE_USED(opline) && Z_MODE(res_addr) == IS_REG) {
14845 if (!zend_jit_load_reg(jit, real_addr, res_addr, res_info)) {
14855 && (res_addr == 0 || Z_MODE(res_addr) != IS_REG)
14857 …it, opline, prop_addr, prop_addr, -1, -1, (opline+1)->op1_type, val_addr, val_info, res_addr, 0)) {
14861 … opline, prop_addr, prop_addr, -1, -1, (opline+1)->op1_type, val_addr, val_info, res_addr, 0, 0)) {
14895 } else if (Z_MODE(res_addr) == IS_REG) {
14899 arg5 = jit_ZVAL_ADDR(jit, res_addr);
14911 if (RETURN_VALUE_USED(opline) && Z_MODE(res_addr) == IS_REG) {
14913 if (!zend_jit_load_reg(jit, real_addr, res_addr, res_info)) {
15389 zend_jit_addr res_addr = 0; local
15403 res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
15595 jit_ZVAL_ADDR(jit, res_addr));
15655 (opline->result_type == IS_UNUSED) ? IR_NULL : jit_ZVAL_ADDR(jit, res_addr));
15678 jit_set_Z_LVAL(jit, res_addr, ref);
15679 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
15694 jit_set_Z_LVAL(jit, res_addr, ref);
15695 jit_set_Z_TYPE_INFO(jit, res_addr, IS_LONG);
15709 jit_ZVAL_COPY(jit, res_addr, -1, var_addr, var_info, 1);
15715 jit_ZVAL_ADDR(jit, res_addr));
15724 jit_ZVAL_ADDR(jit, res_addr));
15745 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0));
15746 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0x41e00000));
15748 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x43e0000000000000));
15750 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE);
15762 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0x00200000));
15763 jit_set_Z_W2(jit, res_addr, ir_CONST_U32(0xc1e00000));
15765 jit_set_Z_LVAL(jit, res_addr, ir_CONST_LONG(0xc3e0000000000000));
15767 jit_set_Z_TYPE_INFO(jit, res_addr, IS_DOUBLE);
15826 (opline->result_type == IS_UNUSED) ? IR_NULL : jit_ZVAL_ADDR(jit, res_addr));
15851 zend_jit_addr res_addr = RES_ADDR(); local
15987 if (!zend_jit_zval_copy_deref(jit, res_addr, ZEND_ADDR_REF_ZVAL(ref),
15993 jit_set_Z_PTR(jit, res_addr, ref);
15994 jit_set_Z_TYPE_INFO(jit, res_addr, IS_INDIRECT);
17581 zend_jit_addr res_addr = RES_ADDR(); local
17582 ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
17583 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
17609 zend_jit_addr res_addr = RES_ADDR(); local
17611 ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
17613 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
17652 zend_jit_addr res_addr = RES_ADDR(); local
17655 ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
17658 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
17715 zend_jit_addr res_addr = RES_ADDR(); local
17719 ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
17723 jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);