/php-src/Zend/Optimizer/ |
H A D | dce.c | 348 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def() 460 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 584 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 589 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array() 591 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array() 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() 599 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 619 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array() 625 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 | 163 ssa->ops[target] = ssa->ops[i]; in zend_ssa_remove_nops() 210 ssa->ops[i].op1_use_chain -= shiftlist[ssa->ops[i].op1_use_chain]; in zend_ssa_remove_nops() 213 ssa->ops[i].op2_use_chain -= shiftlist[ssa->ops[i].op2_use_chain]; in zend_ssa_remove_nops() 1215 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1235 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1280 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array() 1447 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1601 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1614 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array() 1623 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() 223 zend_ssa_op *op = ssa->ops + def; in is_local_def() 273 zend_ssa_op *ssa_op = ssa->ops + use; in is_escape_use() 478 zend_ssa_op *op = ssa->ops + use; in zend_ssa_escape_analysis()
|
H A D | sccp.c | 1083 ssa_op = &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1681 &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1732 … args[2] = get_op1_value(ctx, op_data, &ctx->scdf.ssa->ops[op_data - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1736 … args[1] = get_op2_value(ctx, opline, &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 1739 … args[0] = get_op1_value(ctx, opline, &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 2097 &ssa->ops[call->caller_init_opline - op_array->opcodes]); in remove_call() 2101 &ssa->ops[call->arg_info[i].opline - op_array->opcodes]); in remove_call() 2131 zend_ssa_op *ssa_op = &ssa->ops[var->definition]; in try_remove_definition() 2406 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() 155 use = zend_ssa_next_use(ssa->ops, var - ssa->vars, use); in ssa_verify_integrity() 156 second_use = zend_ssa_next_use(ssa->ops, var - ssa->vars, second_use); in ssa_verify_integrity() 160 second_use = zend_ssa_next_use(ssa->ops, var - ssa->vars, second_use); in ssa_verify_integrity() 208 zend_ssa_op *ssa_op = &ssa->ops[i]; in ssa_verify_integrity()
|
H A D | zend_dump.c | 774 if (ssa && ssa->ops) { in zend_dump_op_line() 775 ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_dump_op_line()
|
H A D | zend_func_info.c | 62 ssa->ops ? &ssa->ops[call_info->arg_info[0].opline - op_array->opcodes] : NULL); in zend_range_info() 64 ssa->ops ? &ssa->ops[call_info->arg_info[1].opline - op_array->opcodes] : NULL); in zend_range_info() 70 ssa->ops ? &ssa->ops[call_info->arg_info[2].opline - op_array->opcodes] : NULL); in zend_range_info()
|
H A D | zend_inference.c | 117 MACRO(ssa->ops[line].op1_def); \ 120 MACRO(ssa->ops[line].op2_def); \ 295 var2 = ssa->ops[use].op1_def; in zend_scc_next() 301 var2 = ssa->ops[use].op2_def; in zend_scc_next() 307 var2 = ssa->ops[use].result_def; in zend_scc_next() 314 var2 = ssa->ops[use-1].op1_def; in zend_scc_next() 320 var2 = ssa->ops[use-1].op2_def; in zend_scc_next() 493 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies() 1257 ssa_op = &ssa->ops[line]; in zend_inference_calc_range() 2047 op = ssa->ops + use; in add_usages() [all …]
|
H A D | zend_optimizer.c | 1313 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_redo_pass_two_ex() 1321 …((ssa->ops[opline - op_array->opcodes].op1_def >= 0) ? (OP1_DEF_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|… in zend_redo_pass_two_ex() 1484 zend_ssa_op *ssa_op = &func_info->ssa.ops[def_opline - op_array->opcodes]; in needs_live_range()
|
H A D | zend_ssa.c | 823 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename() 1108 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains() 1213 ssa->ops[use].res_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1216 use = ssa->ops[use].res_use_chain; in zend_ssa_unlink_use_chain() 1220 ssa->ops[use].op1_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1223 use = ssa->ops[use].op1_use_chain; in zend_ssa_unlink_use_chain() 1227 ssa->ops[use].op2_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1230 use = ssa->ops[use].op2_use_chain; in zend_ssa_unlink_use_chain() 1255 use = ssa->ops[use].res_use_chain; in zend_ssa_replace_use_chain() 1262 use = ssa->ops[use].op1_use_chain; in zend_ssa_replace_use_chain() [all …]
|
H A D | zend_ssa.h | 140 zend_ssa_op *ops; /* array of SSA instructions */ member 272 next = zend_ssa_next_use(ssa->ops, _var_num, use);
|
/php-src/Zend/tests/assert/ |
H A D | expect_015.phpt | 118 ops as protected x; 279 ops as protected x;
|
/php-src/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-src/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:
|