Lines Matching refs:result_def
852 if (op->result_def >= 0 && ssa->vars[op->result_def].var == var) { in zend_jit_trace_copy_ssa_var_info()
853 src = op->result_def; in zend_jit_trace_copy_ssa_var_info()
892 } else if (tssa->ops[def].result_def == ssa_var) { in zend_jit_trace_copy_ssa_var_info()
893 src = op->result_def; in zend_jit_trace_copy_ssa_var_info()
933 if (op->result_def >= 0 && ssa->vars[op->result_def].var == var) { in zend_jit_trace_copy_ssa_var_info()
934 src = op->result_def; in zend_jit_trace_copy_ssa_var_info()
1015 } else if (tssa->ops[def].result_def == ssa_var) { in zend_jit_trace_copy_ssa_var_range()
1016 no_val = ssa->vars[op->result_def].no_val; in zend_jit_trace_copy_ssa_var_range()
1017 alias = ssa->vars[op->result_def].alias; in zend_jit_trace_copy_ssa_var_range()
1018 info = ssa->var_info + op->result_def; in zend_jit_trace_copy_ssa_var_range()
1059 } else if (tssa->ops[def].result_def == ssa_var) { in zend_jit_trace_restrict_ssa_var_info()
1060 info = ssa->var_info + op->result_def; in zend_jit_trace_restrict_ssa_var_info()
1109 return ssa_op->result_def; in find_return_ssa_var()
1240 if (tssa->ops[idx].result_def == var) { in is_checked_guard()
1671 if (op->result_def >= 0) { in zend_jit_trace_build_tssa()
1672 ssa_vars[op->result_def].var = EX_VAR_TO_NUM(opline->result.var); in zend_jit_trace_build_tssa()
1673 ssa_vars[op->result_def].definition = idx; in zend_jit_trace_build_tssa()
2295 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2296 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2305 if (ssa_ops[idx+1].result_def >= 0) { in zend_jit_trace_build_tssa()
2306 … zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx+1].result_def); in zend_jit_trace_build_tssa()
2322 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2323 …ssa_vars[ssa_ops[idx].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opli… in zend_jit_trace_build_tssa()
2325 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2341 if (ssa_ops[idx+1].result_def >= 0) { in zend_jit_trace_build_tssa()
2342 …ssa_vars[ssa_ops[idx+1].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM((o… in zend_jit_trace_build_tssa()
2344 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].result_def); in zend_jit_trace_build_tssa()
2352 ssa_var_info[ssa_ops[idx].result_def].type = _const_op_type(RT_CONSTANT(opline, opline->op2)); in zend_jit_trace_build_tssa()
2401 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2402 … zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2417 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2418 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2433 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2434 …ssa_vars[ssa_ops[idx].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opli… in zend_jit_trace_build_tssa()
2436 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2443 ssa_var_info[ssa_ops[idx].result_def].type = _const_op_type(RT_CONSTANT(opline, opline->op2)); in zend_jit_trace_build_tssa()
2459 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2460 … zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2656 && ssa_ops[idx-1].result_def >= 0 in zend_jit_trace_build_tssa()
2671 ssa_var_info[ssa_ops[idx-1].result_def].type &= ret_type; in zend_jit_trace_build_tssa()
3019 zend_jit_trace_use_var(idx, ssa_op->result_use, ssa_op->result_def, ssa_op->res_use_chain, in zend_jit_trace_allocate_registers()
3033 if (ssa_op->result_def >= 0) { in zend_jit_trace_allocate_registers()
3035 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->result.var), ssa_op->result_def); in zend_jit_trace_allocate_registers()
3039 if (ssa_op->result_def >= 0 in zend_jit_trace_allocate_registers()
3040 && (ssa->vars[ssa_op->result_def].use_chain >= 0 in zend_jit_trace_allocate_registers()
3041 || ssa->vars[ssa_op->result_def].phi_use_chain) in zend_jit_trace_allocate_registers()
3042 && ssa->vars[ssa_op->result_def].alias == NO_ALIAS in zend_jit_trace_allocate_registers()
3043 && zend_jit_var_supports_reg(ssa, ssa_op->result_def)) { in zend_jit_trace_allocate_registers()
3044 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_GUARD) in zend_jit_trace_allocate_registers()
3055 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE) in zend_jit_trace_allocate_registers()
3057 vars_op_array[ssa_op->result_def] = op_array; in zend_jit_trace_allocate_registers()
3058 RA_IVAL_START(ssa_op->result_def, idx); in zend_jit_trace_allocate_registers()
3146 if (ssa_op->result_def >= 0) { in zend_jit_trace_allocate_registers()
3148 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->result.var), ssa_op->result_def); in zend_jit_trace_allocate_registers()
3428 int var = ssa_op->result_def; in zend_jit_may_delay_fetch_this()
3833 } else if ((ssa_op-1)->result_def == ssa_op->op2_use) { in zend_jit_may_skip_comparison()
3858 } else if ((ssa_op-1)->result_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3876 && prev_ssa_op->op1_use == (prev_ssa_op-1)->result_def) { in zend_jit_may_skip_comparison()
3951 ssa_var = ssa_op->result_def; in zend_jit_find_ssa_var()
3998 ssa_var = ssa_op->result_def; in zend_jit_find_ssa_var()
4483 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4489 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4495 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4499 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4638 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4708 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
5923 if (ssa_op->result_def >= 0 in zend_jit_trace()
5927 ssa->var_info[ssa_op->result_def].indirect_reference = 1; in zend_jit_trace()
6246 if (ssa_op->result_def >= 0 && opline->result_type != IS_CV) { in zend_jit_trace()
6248 ssa->var_info[ssa_op->result_def].delayed_fetch_this = 1; in zend_jit_trace()
6535 if (ssa_op->result_def >= 0) { in zend_jit_trace()
6542 } else if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_GUARD) in zend_jit_trace()
6543 && has_concrete_type(ssa->var_info[ssa_op->result_def].type)) { in zend_jit_trace()
6544 type = concrete_type(ssa->var_info[ssa_op->result_def].type); in zend_jit_trace()
6573 (gen_handler || type == IS_UNKNOWN || !ra || !RA_HAS_REG(ssa_op->result_def))); in zend_jit_trace()
6578 if (!gen_handler && type != IS_UNKNOWN && ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6624 if (ssa->var_info[ssa_op->result_def].type & MAY_BE_INDIRECT) { in zend_jit_trace()
6628 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
6632 } else if (ssa->var_info[ssa_op->result_def].avoid_refcounting) { in zend_jit_trace()
6634 } else if (ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6635 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def].ref, in zend_jit_trace()
6636 RA_REG_FLAGS(ssa_op->result_def) & ZREG_STORE); in zend_jit_trace()
6642 && zend_inference_propagate_range(op_array, ssa, opline, ssa_op, ssa_op->result_def, &tmp)) { in zend_jit_trace()
6643 ssa->var_info[ssa_op->result_def].range.min = tmp.min; in zend_jit_trace()
6644 ssa->var_info[ssa_op->result_def].range.max = tmp.max; in zend_jit_trace()
6645 ssa->var_info[ssa_op->result_def].range.underflow = 0; in zend_jit_trace()
6646 ssa->var_info[ssa_op->result_def].range.overflow = 0; in zend_jit_trace()
6647 ssa->var_info[ssa_op->result_def].has_range = 1; in zend_jit_trace()
6811 if (ssa_op->result_def >= 0) { in zend_jit_trace()
6814 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_GUARD) in zend_jit_trace()
6815 && has_concrete_type(ssa->var_info[ssa_op->result_def].type)) { in zend_jit_trace()
6816 type = concrete_type(ssa->var_info[ssa_op->result_def].type); in zend_jit_trace()
6819 (gen_handler || !ra || !RA_HAS_REG(ssa_op->result_def))); in zend_jit_trace()
6820 if (ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6821 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def].ref, in zend_jit_trace()
6822 RA_REG_FLAGS(ssa_op->result_def) & ZREG_STORE); in zend_jit_trace()