Home
last modified time | relevance | path

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

/PHP-8.1/Zend/Optimizer/
H A Dzend_inference.c308 var2 = ssa->ops[use].result_def; in zend_scc_next()
2058 if (op->result_def >= 0) { in add_usages()
2069 if (op->result_def >= 0) { in add_usages()
2081 if (op->result_def >= 0) { in add_usages()
2536 if (ssa_op->result_def >= 0 && !(ssa_var_info[ssa_op->result_def].type & MAY_BE_REF)) { in _zend_update_type_info()
2756 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2856 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2868 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2929 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2972 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
[all …]
H A Dzend_ssa.h89 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 Dssa_integrity.c55 || (ssa_op->result_def == check); in is_defined_by_op()
198 if (ssa_op->result_use < 0 && ssa_op->result_def < 0) { in ssa_verify_integrity()
202 if (ssa_op->result_use >= 0 || ssa_op->result_def >= 0) { in ssa_verify_integrity()
272 if (ssa_op->result_def >= 0) { in ssa_verify_integrity()
273 if (ssa_op->result_def >= ssa->vars_count) { in ssa_verify_integrity()
274 FAIL("result def %d out of range\n", ssa_op->result_def); in ssa_verify_integrity()
276 if (ssa->vars[ssa_op->result_def].definition != i) { in ssa_verify_integrity()
278 VAR(ssa_op->result_def), INSTR(i)); in ssa_verify_integrity()
280 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_def].var) { in ssa_verify_integrity()
282 VAR(ssa_op->result_def), VAR_NUM(opline->result.var), INSTR(i)); in ssa_verify_integrity()
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()
220 if (op->result_def == var) { in is_local_def()
480 op->result_def >= 0) { in zend_ssa_escape_analysis()
481 enclosing_root = ees[op->result_def]; in zend_ssa_escape_analysis()
H A Ddfa_pass.c390 (ssa_op->result_def >= 0 && ssa->vars[ssa_op->result_def].var == var) || in variable_defined_or_used_in_range()
513 if (ssa_op->result_def >= 0) { in zend_dfa_optimize_calls()
514 int var = ssa_op->result_def; in zend_dfa_optimize_calls()
1104 ssa->ops[def].result_def = -1; in zend_dfa_try_to_replace_result()
1382 && ssa->ops[op_1].result_def == v in zend_dfa_optimize_op_array()
1415 ssa->ops[op_2].result_def = v; in zend_dfa_optimize_op_array()
1424 ssa->ops[op_1].result_def = -1; in zend_dfa_optimize_op_array()
1447 ssa->ops[op_2].result_def = -1; in zend_dfa_optimize_op_array()
1463 ssa->ops[op_2].result_def = -1; in zend_dfa_optimize_op_array()
1572 ssa->ops[op_2].result_def = v; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c351 if (def_op->result_def == free_var in try_remove_var_def()
382 def_op->result_def = -1; in try_remove_var_def()
516 if (ssa_op->result_def >= 0 in may_break_varargs()
517 && ssa->vars[ssa_op->result_def].var < op_array->num_args) { in may_break_varargs()
598 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
599 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array()
H A Dsccp.c355 ZEND_ASSERT(ssa_op->result_def == (ssa_op + 1)->op2_use); in try_replace_op2()
1253 if (ssa_op->result_def >= 0) { in sccp_visit_instr()
1267 if (ssa_op->result_def >= 0) { in sccp_visit_instr()
1344 if (ssa_op->result_def >= 0 in sccp_visit_instr()
1800 if (ssa_op->result_def < 0 || IS_BOT(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
1831 if (!IS_TOP(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
2209 if (ssa_op->result_def == var_num) { in try_remove_definition()
2279 ssa_op->result_def = -1; in try_remove_definition()
2285 ssa_op->result_def = var_num; in try_remove_definition()
2368 if (ssa_op->result_def >= 0) { in try_remove_definition()
[all …]
H A Dzend_ssa.c774 ssa_ops[k].result_def = ssa_vars_count; in _zend_ssa_rename_op()
1104 if (op->result_def >= 0) { in zend_ssa_compute_use_def_chains()
1105 ssa_vars[op->result_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].result.var); in zend_ssa_compute_use_def_chains()
1106 ssa_vars[op->result_def].definition = i; in zend_ssa_compute_use_def_chains()
1242 ZEND_ASSERT(ssa_op->result_def == -1); in zend_ssa_remove_instr()
1312 if (ssa_op->result_def >= 0) { in zend_ssa_remove_defs_of_instr()
1313 zend_ssa_remove_uses_of_var(ssa, ssa_op->result_def); in zend_ssa_remove_defs_of_instr()
H A Dzend_dump.c432 if (ssa_op && ssa_op->result_def >= 0) { in zend_dump_op()
433 int ssa_var_num = ssa_op->result_def; in zend_dump_op()
726 int ssa_var_num = ssa_op->result_def; in zend_dump_op()
H A Dzend_optimizer.c1332 int ssa_var = ssa_op->result_def; in needs_live_range()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_trace.c993 return ssa_op->result_def; in find_return_ssa_var()
1511 if (op->result_def >= 0) { in zend_jit_trace_build_tssa()
2128 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2494 && ssa_ops[idx-1].result_def >= 0 in zend_jit_trace_build_tssa()
2885 if (ssa_op->result_def >= 0) { in zend_jit_trace_allocate_registers()
2891 if (ssa_op->result_def >= 0 in zend_jit_trace_allocate_registers()
2984 if (ssa_op->result_def >= 0) { in zend_jit_trace_allocate_registers()
3485 int var = ssa_op->result_def; in zend_jit_may_delay_fetch_this()
5730 if (ssa_op->result_def > 0 in zend_jit_trace()
6299 if (ssa_op->result_def >= 0) { in zend_jit_trace()
[all …]
H A Dzend_jit.c1147 res = ssa_op->result_def; in zend_may_overflow()
1174 res = ssa_op->result_def; in zend_may_overflow()
1201 res = ssa_op->result_def; in zend_may_overflow()
1810 if (op->result_def >= 0 && zend_bitset_in(candidates, op->result_def)) { in zend_jit_compute_liveness()
1811 if (zend_jit_begin_range(intervals, op->result_def, b->start, num) != SUCCESS) { in zend_jit_compute_liveness()
1814 zend_bitset_excl(live, op->result_def); in zend_jit_compute_liveness()
1935 (i == ssa->ops[line].result_def && in zend_jit_compute_liveness()
1957 (i == ssa->ops[line].result_def && in zend_jit_compute_liveness()
1971 if (i == ssa->ops[line].result_def) { in zend_jit_compute_liveness()
2158 ssa->ops[line].result_def == current->ssa_var) { in zend_jit_try_allocate_free_reg()
[all …]
H A Dzend_jit_internal.h199 OP_REG_ADDR(opline, result_type, result, result_def)
H A Dzend_jit_x86.dasc15952 if (def_var == ssa_op->result_def &&
16172 ssa_op->result_def == current_var) {
16223 ssa_op->result_def == current_var) {
16247 ssa_op->result_def == current_var) {
16274 if (ssa_op->result_def != current_var &&
16291 if (ssa_op->result_def != current_var) {
16300 if (ssa_op->result_def != current_var) {
16305 if (ssa_op->result_def != current_var &&
16312 if (ssa_op->result_def != current_var &&
16336 if (ssa_op->result_def != current_var &&
[all …]
H A Dzend_jit_arm64.dasc11246 && (ssa_op+1)->op1_use == ssa_op->result_def
15001 if (def_var == ssa_op->result_def &&
15206 ssa_op->result_def == current_var) {
15257 ssa_op->result_def == current_var) {
15281 ssa_op->result_def == current_var) {
15308 if (ssa_op->result_def != current_var &&
15322 if (ssa_op->result_def != current_var) {
15328 if (ssa_op->result_def != current_var) {
15333 if (ssa_op->result_def != current_var &&
15340 if (ssa_op->result_def != current_var &&
[all …]

Completed in 239 milliseconds