Home
last modified time | relevance | path

Searched refs:result_def (Results 1 – 14 of 14) sorted by relevance

/php-src/Zend/Optimizer/
H A Dzend_inference.c307 var2 = ssa->ops[use].result_def; in zend_scc_next()
2038 if (op->result_def >= 0) { in add_usages()
2049 if (op->result_def >= 0) { in add_usages()
2061 if (op->result_def >= 0) { in add_usages()
2558 if (ssa_op->result_def >= 0 && !(ssa_var_info[ssa_op->result_def].type & MAY_BE_REF)) { in _zend_update_type_info()
2796 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2910 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2922 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2983 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3033 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
[all …]
H A Dzend_ssa.h88 int result_def; member
172 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def()
174 ssa_op->result_def = -1; in zend_ssa_remove_result_def()
255 if (ssa_op->result_def >= 0) { in zend_ssa_rename_defs_of_instr()
257 zend_ssa_rename_var_uses(ssa, ssa_op->result_def, ssa_op->result_use, 1); in zend_ssa_rename_defs_of_instr()
259 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr()
260 ssa_op->result_def = -1; in zend_ssa_rename_defs_of_instr()
H A Descape_analysis.c121 if (op->result_def >= 0) { in zend_build_equi_escape_sets()
124 union_find_unite(parent, size, op->result_def, op->result_use); in zend_build_equi_escape_sets()
128 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets()
131 union_find_unite(parent, size, op->result_def, op->op2_use); in zend_build_equi_escape_sets()
134 union_find_unite(parent, size, op->result_def, op->op1_def); in zend_build_equi_escape_sets()
155 if (ssa_op->result_def == var) { in is_allocation_def()
226 if (op->result_def == var) { in is_local_def()
493 op->result_def >= 0) { in zend_ssa_escape_analysis()
494 enclosing_root = ees[op->result_def]; in zend_ssa_escape_analysis()
H A Dssa_integrity.c55 || (ssa_op->result_def == check); in is_defined_by_op()
229 if (ssa_op->result_use < 0 && ssa_op->result_def < 0) { in ssa_verify_integrity()
233 if (ssa_op->result_use >= 0 || ssa_op->result_def >= 0) { in ssa_verify_integrity()
315 if (ssa_op->result_def >= 0) { in ssa_verify_integrity()
316 if (ssa_op->result_def >= ssa->vars_count) { in ssa_verify_integrity()
317 FAIL("result def %d out of range\n", ssa_op->result_def); in ssa_verify_integrity()
319 if (ssa->vars[ssa_op->result_def].definition != i) { in ssa_verify_integrity()
321 VAR(ssa_op->result_def), INSTR(i)); in ssa_verify_integrity()
323 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_def].var) { in ssa_verify_integrity()
325 VAR(ssa_op->result_def), VAR_NUM(opline->result.var), INSTR(i)); in ssa_verify_integrity()
H A Ddfa_pass.c389 (ssa_op->result_def >= 0 && ssa->vars[ssa_op->result_def].var == var) || in variable_defined_or_used_in_range()
512 if (ssa_op->result_def >= 0) { in zend_dfa_optimize_calls()
513 int var = ssa_op->result_def; in zend_dfa_optimize_calls()
1057 ssa->ops[def].result_def = -1; in zend_dfa_try_to_replace_result()
1356 && ssa->ops[op_1].result_def == v in zend_dfa_optimize_op_array()
1392 ssa->ops[op_2].result_def = v; in zend_dfa_optimize_op_array()
1401 ssa->ops[op_1].result_def = -1; in zend_dfa_optimize_op_array()
1424 ssa->ops[op_2].result_def = -1; in zend_dfa_optimize_op_array()
1440 ssa->ops[op_2].result_def = -1; in zend_dfa_optimize_op_array()
1548 ssa->ops[op_2].result_def = v; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c350 if (def_op->result_def == free_var in try_remove_var_def()
381 def_op->result_def = -1; in try_remove_var_def()
515 if (ssa_op->result_def >= 0 in may_break_varargs()
516 && ssa->vars[ssa_op->result_def].var < op_array->num_args) { in may_break_varargs()
594 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
595 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array()
H A Dsccp.c1120 if (ssa_op->result_def >= 0) { in sccp_visit_instr()
1134 if (ssa_op->result_def >= 0) { in sccp_visit_instr()
1211 if (ssa_op->result_def >= 0 in sccp_visit_instr()
1662 if (ssa_op->result_def < 0 || IS_BOT(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
1693 if (!IS_TOP(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
1721 if (ssa_op->result_def < 0 || IS_BOT(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
2133 if (ssa_op->result_def == var_num) { in try_remove_definition()
2204 ssa_op->result_def = -1; in try_remove_definition()
2216 ssa_op->result_def = var_num; in try_remove_definition()
2304 if (ssa_op->result_def >= 0) { in try_remove_definition()
[all …]
H A Dzend_ssa.c803 ssa_ops[k].result_def = ssa_vars_count; in _zend_ssa_rename_op()
1130 if (op->result_def >= 0) { in zend_ssa_compute_use_def_chains()
1131 ssa_vars[op->result_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].result.var); in zend_ssa_compute_use_def_chains()
1132 ssa_vars[op->result_def].definition = i; in zend_ssa_compute_use_def_chains()
1304 ZEND_ASSERT(ssa_op->result_def == -1); in zend_ssa_remove_instr()
1374 if (ssa_op->result_def >= 0) { in zend_ssa_remove_defs_of_instr()
1375 zend_ssa_remove_uses_of_var(ssa, ssa_op->result_def); in zend_ssa_remove_defs_of_instr()
H A Dzend_dump.c450 if (ssa_op && ssa_op->result_def >= 0) { in zend_dump_op()
451 int ssa_var_num = ssa_op->result_def; in zend_dump_op()
749 int ssa_var_num = ssa_op->result_def; in zend_dump_op()
H A Dzend_optimizer.c1454 if (ssa_op->result_def >= 0) { 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()
1524 int ssa_var = ssa_op->result_def; in needs_live_range()
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c852 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()
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()
1109 return ssa_op->result_def; in find_return_ssa_var()
1671 if (op->result_def >= 0) { in zend_jit_trace_build_tssa()
3033 if (ssa_op->result_def >= 0) { in zend_jit_trace_allocate_registers()
3039 if (ssa_op->result_def >= 0 in zend_jit_trace_allocate_registers()
3428 int var = ssa_op->result_def; in zend_jit_may_delay_fetch_this()
[all …]
H A Dzend_jit.c906 res = ssa_op->result_def; in zend_may_overflow()
933 res = ssa_op->result_def; in zend_may_overflow()
960 res = ssa_op->result_def; in zend_may_overflow()
1230 && ssa->ops[op_num].result_def == i) { in zend_jit_allocate_registers()
2154 res_addr = OP_REG_ADDR(opline + 1, ssa_op + 1, result_type, result, result_def); in zend_jit()
2190 res_addr = OP_REG_ADDR(opline + 1, ssa_op + 1, result_type, result, result_def); in zend_jit()
2768 … zend_ssa_var_info *res_ssa = &ssa->var_info[ssa->ops[opline - op_array->opcodes].result_def]; in zend_jit()
H A Dzend_jit_internal.h99 OP_REG_ADDR(opline, ssa_op, result_type, result, result_def)
H A Dzend_jit_ir.c8043 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD; in zend_jit_fetch_constant()
12435 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD;
12443 && (ssa_op+1)->op1_use == ssa_op->result_def
12447 ssa->var_info[ssa_op->result_def].avoid_refcounting = 1;
14448 ssa->var_info[ssa_op->result_def].indirect_reference = 1;
14513 && (ssa_op+1)->op1_use == ssa_op->result_def
14516 ssa->var_info[ssa_op->result_def].avoid_refcounting = 1;
14526 ssa->var_info[ssa_op->result_def].type &= ~MAY_BE_GUARD;
15788 ssa->var_info[ssa_op->result_def].type = res_info & ~MAY_BE_GUARD;

Completed in 229 milliseconds