Home
last modified time | relevance | path

Searched refs:var_info (Results 1 – 15 of 15) sorted by relevance

/PHP-8.3/Zend/Optimizer/
H A Dzend_inference.h47 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 Dzend_inference.c1628 if (!var_info->has_range) { in zend_inference_widening_meet()
1629 var_info->has_range = 1; in zend_inference_widening_meet()
1650 var_info->range = *r; in zend_inference_widening_meet()
1669 if (!var_info->has_range) { in zend_inference_narrowing_meet()
1670 var_info->has_range = 1; in zend_inference_narrowing_meet()
1675 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1680 r->max = var_info->range.max; in zend_inference_narrowing_meet()
1695 var_info->range = *r; in zend_inference_narrowing_meet()
4758 if (!ssa->var_info) { in zend_ssa_inference()
4761 ssa_var_info = ssa->var_info; in zend_ssa_inference()
[all …]
H A Ddce.c67 if (ssa->var_info[use].type & MAY_BE_REF) { in is_bad_mod()
295 && (ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF) != 0)) { in add_operands_to_worklists()
304 && (ssa->var_info[ssa_op->op2_use].type & MAY_BE_REF) != 0)) { in add_operands_to_worklists()
395 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()
396 && !may_be_refcounted(ctx->ssa->var_info[ssa_op->op1_use].type)) { in is_free_of_live_var()
424 if (may_be_refcounted(ssa->var_info[ssa_op->op1_use].type) in dce_instr()
433 if (may_be_refcounted(ssa->var_info[ssa_op->op2_use].type)) { in dce_instr()
552 && may_be_refcounted(ssa->var_info[phi->ssa_var].type)) { in dce_optimize_op_array()
H A Ddfa_pass.c297 zend_ssa_var_info *use_info = &ssa->var_info[ssa_op->op1_use]; in can_elide_return_type_check()
332 uint32_t type = ssa->var_info[src_var].type; in opline_supports_assign_contraction()
1013 && !(ssa->var_info[cv_var].type & MAY_BE_REF) in zend_dfa_try_to_replace_result()
1085 if (ssa->var_info) { in zend_dfa_optimize_op_array()
1149 if (ssa->var_info[v].use_as_double) { in zend_dfa_optimize_op_array()
1344 …&& !(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()
1350 && !(ssa->var_info[src_var].type & MAY_BE_REF) in zend_dfa_optimize_op_array()
1351 && (ssa->var_info[src_var].type & (MAY_BE_UNDEF|MAY_BE_ANY)) in zend_dfa_optimize_op_array()
1504 …&& !(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()
1510 && !(ssa->var_info[src_var].type & MAY_BE_REF) in zend_dfa_optimize_op_array()
[all …]
H A Descape_analysis.c399 && (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 Dzend_dump.c362 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()
1012 if (ssa && ssa->var_info) { in zend_dump_op_array()
H A Dzend_ssa.c1558 if (ssa->var_info[var].type & ~ssa->var_info[phi->ssa_var].type) { in propagate_phi_type_widening()
1559 ssa->var_info[phi->ssa_var].type |= ssa->var_info[var].type; in propagate_phi_type_widening()
1676 if (update_types && (ssa->var_info[new].type & ~ssa->var_info[phi->ssa_var].type)) { in zend_ssa_rename_var_uses()
1677 ssa->var_info[phi->ssa_var].type |= ssa->var_info[new].type; in zend_ssa_rename_var_uses()
H A Dsccp.c880 if (IS_BOT(op1) && (ctx->scdf.ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF)) { in sccp_visit_instr()
893 if ((ctx->scdf.ssa->var_info[ssa_op->op1_use].type & MAY_BE_ANY) == 0) { in sccp_visit_instr()
984 zend_ssa_var_info *var_info = &ctx->scdf.ssa->var_info[ssa_op->op1_use]; in sccp_visit_instr() local
989 if (!var_info->ce || (var_info->ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) || in sccp_visit_instr()
990 !(var_info->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES)) { in sccp_visit_instr()
1724 zend_ssa_var_info *info = &ssa->var_info[var_num]; in value_from_type_and_range()
H A Dssa_integrity.c126 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 Dzend_ssa.h142 zend_ssa_var_info *var_info; member
H A Dzend_optimizer.c1409 uint32_t type = func_info->ssa.var_info[ssa_var].type; in needs_live_range()
1570 if (func_info && func_info->ssa.var_info) { in zend_optimize_script()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_trace.c1533 if (ssa->var_info in zend_jit_trace_build_tssa()
1588 if (!ssa->var_info in zend_jit_trace_build_tssa()
1626 if (!ssa->var_info in zend_jit_trace_build_tssa()
2136 if (ssa->var_info) { in zend_jit_trace_build_tssa()
2227 if (ssa->var_info) { in zend_jit_trace_build_tssa()
2258 if (ssa->var_info) { in zend_jit_trace_build_tssa()
2300 if (ssa->var_info) { in zend_jit_trace_build_tssa()
2346 if (ssa->var_info in zend_jit_trace_build_tssa()
2397 if (!ssa->var_info in zend_jit_trace_build_tssa()
2406 if (!ssa->var_info in zend_jit_trace_build_tssa()
[all …]
H A Dzend_jit.c545 if (ssa->vars && ssa->var_info) { in zend_ssa_cv_info()
546 info = ssa->var_info[var].type; in zend_ssa_cv_info()
549 info |= ssa->var_info[j].type; in zend_ssa_cv_info()
731 ssa->var_info && \
1139 if (!ssa->ops || !ssa->var_info) { in zend_may_overflow()
1147 || !ssa->var_info[res].has_range in zend_may_overflow()
1162 || !ssa->var_info[res].has_range in zend_may_overflow()
1176 || !ssa->var_info[res].has_range in zend_may_overflow()
1188 || !ssa->var_info[res].has_range in zend_may_overflow()
1203 || !ssa->var_info[res].has_range in zend_may_overflow()
[all …]
H A Dzend_jit_x86.dasc6510 if (RC_MAY_BE_N(var_info) && (var_info & (MAY_BE_ARRAY|MAY_BE_OBJECT)) != 0) {
6525 if (RC_MAY_BE_N(var_info) && (var_info & (MAY_BE_ARRAY|MAY_BE_OBJECT)) != 0) {
6683 var_info |= MAY_BE_REF;
6686 var_info |= MAY_BE_RC1;
6886 var_info = MAY_BE_NULL;
6904 var_info |= MAY_BE_REF;
6907 var_info |= MAY_BE_RC1;
15838 var_info = (1 << var_type) | (var_info & (MAY_BE_RC1|MAY_BE_RCN));
15845 var_info &= ~MAY_BE_REF;
15901 //var_info = zend_jit_trace_type_to_info_ex(var_type, var_info);
[all …]
H A Dzend_jit_arm64.dasc5958 if (RC_MAY_BE_N(var_info) && (var_info & (MAY_BE_ARRAY|MAY_BE_OBJECT)) != 0) {
5973 if (RC_MAY_BE_N(var_info) && (var_info & (MAY_BE_ARRAY|MAY_BE_OBJECT)) != 0) {
6133 var_info |= MAY_BE_REF;
6136 var_info |= MAY_BE_RC1;
6321 var_info = MAY_BE_NULL;
6339 var_info |= MAY_BE_REF;
6342 var_info |= MAY_BE_RC1;
14893 var_info = (1 << var_type) | (var_info & (MAY_BE_RC1|MAY_BE_RCN));
14900 var_info &= ~MAY_BE_REF;
14956 //var_info = zend_jit_trace_type_to_info_ex(var_type, var_info);
[all …]

Completed in 140 milliseconds