/PHP-8.1/Zend/Optimizer/ |
H A D | dce.c | 349 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def() 461 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 588 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 593 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array() 595 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array() 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() 603 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 623 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array() 629 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array() [all …]
|
H A D | dfa_pass.c | 177 ssa->ops[target] = ssa->ops[i]; in zend_ssa_remove_nops() 224 ssa->ops[i].op1_use_chain -= shiftlist[ssa->ops[i].op1_use_chain]; in zend_ssa_remove_nops() 227 ssa->ops[i].op2_use_chain -= shiftlist[ssa->ops[i].op2_use_chain]; in zend_ssa_remove_nops() 1275 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1295 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1340 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array() 1483 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1638 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1652 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array() 1661 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() [all …]
|
H A D | escape_analysis.c | 103 zend_ssa_op *op = ssa->ops + def; in zend_build_equi_escape_sets() 152 zend_ssa_op *ssa_op = ssa->ops + def; in is_allocation_def() 217 zend_ssa_op *op = ssa->ops + def; in is_local_def() 261 zend_ssa_op *ssa_op = ssa->ops + use; in is_escape_use() 466 zend_ssa_op *op = ssa->ops + use; in zend_ssa_escape_analysis()
|
H A D | sccp.c | 329 zend_ssa_unlink_use_chain(ctx->scdf.ssa, ssa_op - ctx->scdf.ssa->ops, ssa_op->op2_use); in try_replace_op1() 358 zend_ssa_unlink_use_chain(ctx->scdf.ssa, next_op - ctx->scdf.ssa->ops, next_op->op2_use); in try_replace_op2() 1216 ssa_op = &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1819 &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 2173 &ssa->ops[call->caller_init_opline - op_array->opcodes]); in remove_call() 2177 &ssa->ops[call->arg_info[i].opline - op_array->opcodes]); in remove_call() 2207 zend_ssa_op *ssa_op = &ssa->ops[var->definition]; in try_remove_definition() 2470 zend_ssa_op *ssa_op = &ssa->ops[use]; in replace_constant_operands()
|
H A D | scdf.c | 124 zend_ssa_op *ssa_op = &ssa->ops[i]; in scdf_solve() 166 scdf->handlers.visit_instr(scdf, opline, &ssa->ops[j]); in scdf_solve() 177 scdf->handlers.mark_feasible_successors(scdf, i, block, opline, &ssa->ops[j-1]); in scdf_solve() 216 if (is_live_loop_var_free(scdf, &op_array->opcodes[i], &scdf->ssa->ops[i])) { in kept_alive_by_loop_var_free() 238 zend_ssa_op *ssa_op = &scdf->ssa->ops[i]; in cleanup_loop_var_free_block()
|
H A D | ssa_integrity.c | 45 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_used_by_op() 52 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_defined_by_op() 177 zend_ssa_op *ssa_op = &ssa->ops[i]; in ssa_verify_integrity()
|
H A D | zend_dump.c | 751 if (ssa && ssa->ops) { in zend_dump_op_line() 752 ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_dump_op_line()
|
H A D | zend_func_info.c | 60 &ssa->ops[call_info->arg_info[0].opline - op_array->opcodes]); in zend_range_info() 62 &ssa->ops[call_info->arg_info[1].opline - op_array->opcodes]); in zend_range_info() 68 &ssa->ops[call_info->arg_info[2].opline - op_array->opcodes]); in zend_range_info()
|
H A D | zend_inference.c | 117 MACRO(ssa->ops[line].op1_def); \ 120 MACRO(ssa->ops[line].op2_def); \ 296 var2 = ssa->ops[use].op1_def; in zend_scc_next() 302 var2 = ssa->ops[use].op2_def; in zend_scc_next() 308 var2 = ssa->ops[use].result_def; in zend_scc_next() 315 var2 = ssa->ops[use-1].op1_def; in zend_scc_next() 321 var2 = ssa->ops[use-1].op2_def; in zend_scc_next() 495 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies() 1270 ssa_op = &ssa->ops[line]; in zend_inference_calc_range() 2057 op = ssa->ops + use; in add_usages() [all …]
|
H A D | zend_optimizer.c | 1179 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_redo_pass_two_ex() 1187 …((ssa->ops[opline - op_array->opcodes].op1_def >= 0) ? (OP1_DEF_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|… in zend_redo_pass_two_ex() 1331 zend_ssa_op *ssa_op = &func_info->ssa.ops[def_opline - op_array->opcodes]; in needs_live_range()
|
H A D | zend_ssa.c | 794 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename() 1082 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains() 1187 if (ssa->ops[use].result_use == var) { in zend_ssa_unlink_use_chain() 1189 ssa->ops[use].res_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1192 use = ssa->ops[use].res_use_chain; in zend_ssa_unlink_use_chain() 1196 ssa->ops[use].op1_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1199 use = ssa->ops[use].op1_use_chain; in zend_ssa_unlink_use_chain() 1203 ssa->ops[use].op2_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1206 use = ssa->ops[use].op2_use_chain; in zend_ssa_unlink_use_chain() 1375 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_remove_uses_of_var() [all …]
|
H A D | zend_ssa.h | 141 zend_ssa_op *ops; /* array of SSA instructions */ member 272 next = zend_ssa_next_use(ssa->ops, _var_num, use);
|
/PHP-8.1/Zend/tests/assert/ |
H A D | expect_015.phpt | 106 ops as protected x; 259 ops as protected x;
|
/PHP-8.1/Zend/tests/ |
H A D | bug53511.phpt | 7 throw new Exception("ops 1"); 14 throw new Exception("ops 2"); 24 Fatal error: Uncaught Exception: ops 1 in %sbug53511.php:4
|
/PHP-8.1/Zend/tests/float_to_int/ |
H A D | no_warning_compatible_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 64 Bitwise ops:
|
H A D | no_warning_compatible_string_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 56 Bitwise ops:
|
H A D | no_warnings_compatible_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | no_warnings_compatible_float_vars.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 86 Bitwise ops:
|
H A D | no_warnings_compatible_string_float_vars.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 75 Bitwise ops:
|
H A D | warnings_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 72 Bitwise ops:
|
H A D | warnings_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | warnings_float_vars.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 94 Bitwise ops:
|
H A D | warnings_string_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 55 Bitwise ops:
|
H A D | warnings_string_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | warnings_string_float_vars.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 75 Bitwise ops:
|