/PHP-8.4/Zend/Optimizer/ |
H A D | zend_inference.h | 46 return (opline->opN##_type != IS_UNUSED && \ 62 } else if (opline->opN##_type != IS_UNUSED && \ 79 } else if (opline->opN##_type != IS_UNUSED && \ 96 } else if (opline->opN##_type != IS_UNUSED && \ 113 } else if (opline->opN##_type != IS_UNUSED && \
|
H A D | compact_literals.c | 550 if (opline->op1_type == IS_UNUSED && in zend_optimizer_compact_literals() 556 if (opline->op1_type == IS_UNUSED) { in zend_optimizer_compact_literals() 577 if (opline->op1_type == IS_UNUSED && in zend_optimizer_compact_literals() 583 if (opline->op1_type == IS_UNUSED) { in zend_optimizer_compact_literals() 592 if (opline->op1_type == IS_UNUSED && in zend_optimizer_compact_literals() 598 if (opline->op1_type == IS_UNUSED) { in zend_optimizer_compact_literals() 619 if (opline->op1_type == IS_UNUSED && in zend_optimizer_compact_literals() 625 if (opline->op1_type == IS_UNUSED) { in zend_optimizer_compact_literals()
|
H A D | zend_cfg.h | 114 ((opline)->result_type != IS_UNUSED)
|
H A D | pass1.c | 239 opline->result_type = IS_UNUSED; in zend_optimizer_pass1() 324 opline->op1_type = IS_UNUSED; in zend_optimizer_pass1()
|
H A D | dce.c | 255 if ((opline->extended_value & ZEND_BIND_REF) && opline->op2_type != IS_UNUSED) { in may_have_side_effects() 379 def_opline->result_type = IS_UNUSED; in try_remove_var_def() 523 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
|
H A D | block_pass.c | 307 src->result_type = IS_UNUSED; in zend_optimize_block() 326 src->result_type = IS_UNUSED; in zend_optimize_block() 414 opline->op1_type = IS_UNUSED; in zend_optimize_block() 415 opline->op2_type = IS_UNUSED; in zend_optimize_block() 762 opline->op2_type = IS_UNUSED; in zend_optimize_block() 772 opline->op2_type = IS_UNUSED; in zend_optimize_block() 1548 opline->result_type = IS_UNUSED; in zend_t_usage() 1557 opline->result_type = IS_UNUSED; in zend_t_usage()
|
H A D | dfa_pass.c | 860 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 874 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 888 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 914 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 930 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 1059 op_array->opcodes[def].result_type = IS_UNUSED; in zend_dfa_try_to_replace_result() 1226 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1275 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1646 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
|
H A D | zend_optimizer_internal.h | 43 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED)
|
H A D | zend_optimizer.c | 857 } else if (opline->op1_type == IS_UNUSED && op_array->scope in zend_optimizer_get_class_entry_from_op1() 887 } else if (opline->op1_type == IS_UNUSED in zend_fetch_class_const_info() 971 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func() 1353 …uint32_t op1_info = opline->op1_type == IS_UNUSED ? 0 : (OP1_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY… in zend_redo_pass_two_ex() 1354 …uint32_t op2_info = opline->op1_type == IS_UNUSED ? 0 : (OP2_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY… in zend_redo_pass_two_ex() 1361 …(opline->result_type == IS_UNUSED ? 0 : (RES_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF|MAY_BE_A… in zend_redo_pass_two_ex()
|
H A D | zend_inference.c | 2194 if (dim_op_type == IS_UNUSED) { in assign_dim_array_result_type() 2457 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info() 2799 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info() 3336 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info() 3435 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() 3436 && (opline->op2_type == IS_UNUSED in _zend_update_type_info() 3576 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info() 3735 opline->op2_type == IS_UNUSED); in _zend_update_type_info() 3773 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() 3789 if (opline->op1_type == IS_UNUSED) { in _zend_update_type_info() [all …]
|
H A D | optimize_func_calls.c | 259 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
|
H A D | sccp.c | 2137 opline->result_type = IS_UNUSED; in try_remove_definition() 2168 opline->result_type = IS_UNUSED; in try_remove_definition() 2240 opline->result_type = IS_UNUSED; in try_remove_definition() 2291 if (opline->op2_type == IS_UNUSED) { in try_remove_definition() 2308 opline->result_type = IS_UNUSED; in try_remove_definition()
|
H A D | escape_analysis.c | 354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
/PHP-8.4/Zend/ |
H A D | zend_vm_execute.h | 10572 if (IS_UNUSED == IS_UNUSED) { in ZEND_FETCH_DIM_FUNC_ARG_SPEC_CONST_UNUSED_HANDLER() 10991 if (IS_UNUSED != IS_UNUSED) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() 11235 if (IS_UNUSED != IS_UNUSED) { in ZEND_YIELD_SPEC_CONST_UNUSED_HANDLER() 21621 if (IS_UNUSED != IS_UNUSED) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_UNUSED_HANDLER() 21784 if (IS_UNUSED != IS_UNUSED) { in ZEND_YIELD_SPEC_TMP_UNUSED_HANDLER() 29316 if (IS_UNUSED != IS_UNUSED) { in ZEND_ASSIGN_DIM_SPEC_VAR_UNUSED_OP_DATA_CONST_HANDLER() 29469 if (IS_UNUSED != IS_UNUSED) { in ZEND_ASSIGN_DIM_SPEC_VAR_UNUSED_OP_DATA_TMP_HANDLER() 35105 if (IS_UNUSED == IS_UNUSED in ZEND_INIT_STATIC_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER() 37274 if (IS_UNUSED == IS_UNUSED in ZEND_INIT_STATIC_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER() 37685 if (IS_UNUSED == IS_UNUSED in ZEND_INIT_STATIC_METHOD_CALL_SPEC_UNUSED_UNUSED_HANDLER() [all …]
|
H A D | zend_verify_type_inference.h | 75 if (Z_TYPE_P(value) == IS_UNUSED && op_type == IS_VAR && (type_mask & MAY_BE_NULL)) { in zend_verify_type_inference()
|
H A D | zend_vm_def.h | 1163 if (OP2_TYPE == IS_UNUSED) { 2005 if (OP2_TYPE == IS_UNUSED) { 2629 if (OP2_TYPE == IS_UNUSED) { 2759 if (OP2_TYPE != IS_UNUSED) { 2848 if (OP1_TYPE == IS_UNUSED) { 3491 if (OP2_TYPE == IS_UNUSED) { 3569 if (OP1_TYPE == IS_UNUSED) { 3796 if (OP1_TYPE == IS_UNUSED 4354 if (OP1_TYPE == IS_UNUSED) { 6171 if (OP2_TYPE != IS_UNUSED) { [all …]
|
H A D | zend.h | 55 (EX(prev_execute_data)->opline->result_type != IS_UNUSED))
|
H A D | zend_compile.h | 36 op ## _type = IS_UNUSED; \ 831 #define IS_UNUSED 0 /* Unused operand */ macro
|
H A D | zend_execute.c | 132 #define RETURN_VALUE_USED(opline) ((opline)->result_type != IS_UNUSED) 534 if (op_type == IS_UNUSED) { in _get_obj_zval_ptr() 542 if (op_type == IS_UNUSED) { in _get_obj_zval_ptr_undef() 550 if (op_type == IS_UNUSED) { in _get_obj_zval_ptr_ptr() 2518 if (opline->op2_type == IS_UNUSED) { in zend_binary_assign_op_dim_slow() 3344 if (container_op_type != IS_UNUSED && UNEXPECTED(Z_TYPE_P(container) != IS_OBJECT)) { in zend_fetch_property_address() 3513 zend_assign_to_property_reference(container, IS_UNUSED, prop_ptr, IS_CONST, value_ptr in zend_assign_to_property_reference_this_const() 3525 zend_assign_to_property_reference(container, IS_UNUSED, prop_ptr, IS_VAR, value_ptr in zend_assign_to_property_reference_this_var() 3558 if (EXPECTED(op2_type == IS_UNUSED)) { in zend_fetch_static_property_address_ex() 3617 || (opline->op2_type == IS_UNUSED in zend_fetch_static_property_address()
|
H A D | zend_opcode.c | 1149 if (call->result_type == IS_UNUSED) { in pass_two() 1150 opline->result_type = IS_UNUSED; in pass_two()
|
H A D | zend_compile.c | 2870 result->op_type = IS_UNUSED; in zend_compile_class_ref() 2895 result->op_type = IS_UNUSED; in zend_compile_class_ref() 3106 dim_node.op_type = IS_UNUSED; in zend_delayed_compile_dim() 3142 obj_node.op_type = IS_UNUSED; in zend_delayed_compile_prop() 5228 obj_node.op_type = IS_UNUSED; in zend_compile_method_call() 5332 method_node.op_type = IS_UNUSED; in zend_compile_static_call() 7629 default_node.op_type = IS_UNUSED; in zend_compile_params() 7647 default_node.op_type = IS_UNUSED; in zend_compile_params() 7713 default_node.op_type = IS_UNUSED; in zend_compile_params() 9181 opline->result_type = IS_UNUSED; in zend_compile_class_decl() [all …]
|
/PHP-8.4/ext/opcache/jit/ |
H A D | zend_jit.c | 1490 if (opline->result_type != IS_UNUSED) { in zend_jit() 1709 (opline->op2_type != IS_UNUSED) ? OP2_RANGE() : NULL, in zend_jit() 1749 if (opline->op1_type == IS_UNUSED) { in zend_jit() 1782 if (opline->result_type != IS_UNUSED) { in zend_jit() 1800 if (opline->op1_type == IS_UNUSED) { in zend_jit() 1844 if (opline->op1_type == IS_UNUSED) { in zend_jit() 1897 if (opline->result_type == IS_UNUSED) { in zend_jit() 2274 (opline->op2_type != IS_UNUSED) ? OP2_RANGE() : 0, in zend_jit() 2321 if (opline->op1_type == IS_UNUSED) { in zend_jit() 2423 if (opline->op1_type == IS_UNUSED) { in zend_jit() [all …]
|
H A D | zend_jit_trace.c | 1830 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 1888 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 1970 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace_build_tssa() 2161 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace_build_tssa() 4464 if (opline->result_type != IS_UNUSED in zend_jit_trace() 4752 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace() 4846 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace() 4929 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace() 6000 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace() 6205 if (opline->op1_type == IS_UNUSED) { in zend_jit_trace() [all …]
|
H A D | zend_jit_ir.c | 2927 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 2937 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 2947 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 11591 ir_ref if_type = IS_UNUSED; 11941 if_type = IS_UNUSED; 12654 if (opline->op2_type == IS_UNUSED) { 13183 zend_jit_addr var_addr = IS_UNUSED; 13186 ir_ref if_type = IS_UNUSED; 13346 if_type = IS_UNUSED; 15979 if_type = IS_UNUSED; [all …]
|
H A D | zend_jit_vm_helpers.c | 716 } else if (opline->op1_type == IS_UNUSED && (op_array->fn_flags & ZEND_ACC_CLOSURE)) { 885 if (opline->op1_type == IS_UNUSED) {
|