Searched refs:var_info (Results 1 – 14 of 14) sorted by relevance
/php-src/Zend/Optimizer/ |
H A D | zend_inference.h | 47 ssa->var_info && \ 49 ssa->var_info[ssa_op->opN##_use].has_range); \ 63 ssa->var_info && \ 65 ssa->var_info[ssa_op->opN##_use].has_range) { \ 80 ssa->var_info && \ 82 ssa->var_info[ssa_op->opN##_use].has_range) { \ 97 ssa->var_info && \ 99 ssa->var_info[ssa_op->opN##_use].has_range) { \ 114 ssa->var_info && \ 167 if (ssa->var_info && ssa_var_num >= 0) { in get_ssa_var_info() [all …]
|
H A D | zend_inference.c | 1618 if (!var_info->has_range) { in zend_inference_widening_meet() 1619 var_info->has_range = 1; in zend_inference_widening_meet() 1640 var_info->range = *r; in zend_inference_widening_meet() 1659 if (!var_info->has_range) { in zend_inference_narrowing_meet() 1660 var_info->has_range = 1; in zend_inference_narrowing_meet() 1665 r->min = var_info->range.min; in zend_inference_narrowing_meet() 1670 r->max = var_info->range.max; in zend_inference_narrowing_meet() 1685 var_info->range = *r; in zend_inference_narrowing_meet() 4881 if (!ssa->var_info) { in zend_ssa_inference() 4884 ssa_var_info = ssa->var_info; in zend_ssa_inference() [all …]
|
H A D | dce.c | 67 if (ssa->var_info[use].type & MAY_BE_REF) { in is_bad_mod() 300 && (ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF) != 0)) { in add_operands_to_worklists() 309 && (ssa->var_info[ssa_op->op2_use].type & MAY_BE_REF) != 0)) { in add_operands_to_worklists() 400 if ((ctx->ssa->var_info[ssa_op->op1_use].type & (MAY_BE_REF|MAY_BE_ANY|MAY_BE_UNDEF)) != 0 in is_free_of_live_var() 401 && !may_be_refcounted(ctx->ssa->var_info[ssa_op->op1_use].type)) { in is_free_of_live_var() 429 if (may_be_refcounted(ssa->var_info[ssa_op->op1_use].type) in dce_instr() 438 if (may_be_refcounted(ssa->var_info[ssa_op->op2_use].type)) { in dce_instr() 557 && may_be_refcounted(ssa->var_info[phi->ssa_var].type)) { in dce_optimize_op_array()
|
H A D | dfa_pass.c | 297 zend_ssa_var_info *use_info = &ssa->var_info[ssa_op->op1_use]; in can_elide_return_type_check() 345 uint32_t type = ssa->var_info[src_var].type; in opline_supports_assign_contraction() 1027 && !(ssa->var_info[cv_var].type & MAY_BE_REF) in zend_dfa_try_to_replace_result() 1099 if (ssa->var_info) { in zend_dfa_optimize_op_array() 1163 if (ssa->var_info[v].use_as_double) { in zend_dfa_optimize_op_array() 1358 …&& !(ssa->var_info[v].type & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) in zend_dfa_optimize_op_array() 1364 && !(ssa->var_info[src_var].type & MAY_BE_REF) in zend_dfa_optimize_op_array() 1365 && (ssa->var_info[src_var].type & (MAY_BE_UNDEF|MAY_BE_ANY)) in zend_dfa_optimize_op_array() 1518 …&& !(ssa->var_info[orig_var].type & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_… in zend_dfa_optimize_op_array() 1524 && !(ssa->var_info[src_var].type & MAY_BE_REF) in zend_dfa_optimize_op_array() [all …]
|
H A D | escape_analysis.c | 399 && (ssa->var_info[i].type & (MAY_BE_ARRAY|MAY_BE_OBJECT)) in zend_ssa_escape_analysis() 427 } else if (ssa_vars[i].alias && (ssa->var_info[i].type & MAY_BE_REF)) { in zend_ssa_escape_analysis() 433 && (ssa->var_info[i].type & (MAY_BE_ARRAY|MAY_BE_OBJECT))) { in zend_ssa_escape_analysis()
|
H A D | zend_dump.c | 362 ssa->var_info[ssa_var_num].type, in zend_dump_ssa_var_info() 363 ssa->var_info[ssa_var_num].ce, in zend_dump_ssa_var_info() 364 ssa->var_info[ssa_var_num].ce ? in zend_dump_ssa_var_info() 365 ssa->var_info[ssa_var_num].is_instanceof : 0, in zend_dump_ssa_var_info() 385 if (ssa->var_info) { in zend_dump_ssa_var() 387 if (ssa->var_info[ssa_var_num].has_range) { in zend_dump_ssa_var() 388 zend_dump_range(&ssa->var_info[ssa_var_num].range); in zend_dump_ssa_var() 1016 if (ssa && ssa->var_info) { in zend_dump_op_array()
|
H A D | zend_optimizer.c | 1440 opline->op1_use_type = ssa->var_info[ssa_op->op1_use].type; in zend_redo_pass_two_ex() 1443 opline->op2_use_type = ssa->var_info[ssa_op->op2_use].type; in zend_redo_pass_two_ex() 1446 opline->result_use_type = ssa->var_info[ssa_op->result_use].type; in zend_redo_pass_two_ex() 1449 opline->op1_def_type = ssa->var_info[ssa_op->op1_def].type; in zend_redo_pass_two_ex() 1452 opline->op2_def_type = ssa->var_info[ssa_op->op2_def].type; in zend_redo_pass_two_ex() 1455 opline->result_def_type = ssa->var_info[ssa_op->result_def].type; in zend_redo_pass_two_ex() 1537 uint32_t type = func_info->ssa.var_info[ssa_var].type; in needs_live_range() 1711 if (func_info && func_info->ssa.var_info) { in zend_optimize_script()
|
H A D | zend_ssa.c | 1587 if (ssa->var_info[var].type & ~ssa->var_info[phi->ssa_var].type) { in propagate_phi_type_widening() 1588 ssa->var_info[phi->ssa_var].type |= ssa->var_info[var].type; in propagate_phi_type_widening() 1705 if (update_types && (ssa->var_info[new].type & ~ssa->var_info[phi->ssa_var].type)) { in zend_ssa_rename_var_uses() 1706 ssa->var_info[phi->ssa_var].type |= ssa->var_info[new].type; in zend_ssa_rename_var_uses()
|
H A D | sccp.c | 885 if (IS_BOT(op1) && (ctx->scdf.ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF)) { in sccp_visit_instr() 898 if ((ctx->scdf.ssa->var_info[ssa_op->op1_use].type & MAY_BE_ANY) == 0) { in sccp_visit_instr() 989 zend_ssa_var_info *var_info = &ctx->scdf.ssa->var_info[ssa_op->op1_use]; in sccp_visit_instr() local 994 if (!var_info->ce || (var_info->ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) || in sccp_visit_instr() 995 !(var_info->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES)) { in sccp_visit_instr() 1774 zend_ssa_var_info *info = &ssa->var_info[var_num]; in value_from_type_and_range()
|
H A D | ssa_integrity.c | 126 uint32_t type = ssa->var_info[i].type; in ssa_verify_integrity() 201 if ((type & MAY_BE_REF) && ssa->var_info[i].ce) { in ssa_verify_integrity()
|
H A D | zend_ssa.h | 142 zend_ssa_var_info *var_info; member
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 976 memcpy(&tssa->var_info[ssa_var], &ssa->var_info[src], sizeof(zend_ssa_var_info)); in zend_jit_trace_copy_ssa_var_info() 1692 if (ssa->var_info in zend_jit_trace_build_tssa() 1747 if (!ssa->var_info in zend_jit_trace_build_tssa() 1785 if (!ssa->var_info in zend_jit_trace_build_tssa() 2287 if (ssa->var_info) { in zend_jit_trace_build_tssa() 2378 if (ssa->var_info) { in zend_jit_trace_build_tssa() 2451 if (ssa->var_info) { in zend_jit_trace_build_tssa() 2494 if (ssa->var_info in zend_jit_trace_build_tssa() 2545 if (!ssa->var_info in zend_jit_trace_build_tssa() 2554 if (!ssa->var_info in zend_jit_trace_build_tssa() [all …]
|
H A D | zend_jit.c | 472 if (ssa->vars && ssa->var_info) { in zend_ssa_cv_info() 473 info = ssa->var_info[var].type; in zend_ssa_cv_info() 476 info |= ssa->var_info[j].type; in zend_ssa_cv_info() 771 ssa->var_info && \ 873 if (!ssa->ops || !ssa->var_info) { in zend_may_overflow() 881 || !ssa->var_info[res].has_range in zend_may_overflow() 896 || !ssa->var_info[res].has_range in zend_may_overflow() 910 || !ssa->var_info[res].has_range in zend_may_overflow() 922 || !ssa->var_info[res].has_range in zend_may_overflow() 937 || !ssa->var_info[res].has_range in zend_may_overflow() [all …]
|
H A D | zend_jit_ir.c | 6198 var_info, var_def_info, in zend_jit_simple_assign() 6203 var_info, var_def_info, in zend_jit_simple_assign() 6252 var_info, in zend_jit_simple_assign() 6258 var_info, in zend_jit_simple_assign() 6280 var_info, in zend_jit_simple_assign() 6286 var_info, in zend_jit_simple_assign() 6521 if (RC_MAY_BE_N(var_info) && (var_info & (MAY_BE_ARRAY|MAY_BE_OBJECT)) != 0) { in zend_jit_assign_to_variable() 13436 var_info = MAY_BE_NULL; 16837 var_info = (1 << var_type) | (var_info & (MAY_BE_RC1|MAY_BE_RCN)); 16844 var_info &= ~MAY_BE_REF; [all …]
|
Completed in 208 milliseconds