/PHP-8.3/Zend/Optimizer/ |
H A D | zend_dfg.c | 27 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 56 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 65 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 81 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 92 if (next->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 96 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 119 if (next->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 142 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 173 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 202 && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() [all …]
|
H A D | pass1.c | 38 if (opline->op1_type == IS_CONST) { in replace_by_const_or_qm_assign() 94 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1() 108 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 116 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 195 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1() 207 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1() 238 opline->op1_type = IS_CONST; in zend_optimizer_pass1() 269 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 294 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 318 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() [all …]
|
H A D | block_pass.c | 157 src->op1_type == IS_CONST in zend_optimize_block() 196 src->op1_type == IS_CONST) { in zend_optimize_block() 347 if((opline->op1_type & IS_VAR) && in zend_optimize_block() 368 opline->op1_type = IS_CONST; in zend_optimize_block() 378 opline->op1_type = IS_CONST; in zend_optimize_block() 386 opline->op1_type = IS_CONST; in zend_optimize_block() 414 opline->op1_type = IS_UNUSED; in zend_optimize_block() 540 tmp_type = src->op1_type; in zend_optimize_block() 558 tmp_type = src->op1_type; in zend_optimize_block() 879 if ((op->op1_type == opline->op1_type in zend_optimize_block() [all …]
|
H A D | compact_literals.c | 185 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 193 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 211 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 236 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 247 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 270 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 282 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 493 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 521 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 673 if (opline->op1_type == IS_CONST in zend_optimizer_compact_literals() [all …]
|
H A D | zend_ssa.c | 197 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 202 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 268 if (opline->op1_type == IS_CV) { in place_essa_pis() 276 if (opline->op1_type == IS_CV) { in place_essa_pis() 570 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 585 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 602 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 610 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 620 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() 646 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() [all …]
|
H A D | dfa_pass.c | 361 && opline->op1_type == IS_CV in opline_supports_assign_contraction() 423 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls() 485 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls() 782 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 813 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 890 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 912 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 934 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 1164 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 1290 && opline->op1_type != IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | escape_analysis.c | 183 if (opline->op1_type == IS_CONST in is_allocation_def() 187 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 192 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 282 if (opline->op1_type == IS_CV) { in is_escape_use() 332 if (opline->op1_type != IS_CV in is_escape_use() 348 if (opline->op1_type != IS_CV in is_escape_use()
|
H A D | zend_optimizer.c | 216 if (opline->op1_type == IS_CV) { in zend_optimizer_convert_to_free_op1() 227 ZEND_ASSERT(opline->op1_type == IS_CONST); in zend_optimizer_convert_to_free_op1() 431 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const() 482 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const() 529 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const() 629 if (opline->op1_type == type && in zend_optimizer_replace_by_const() 816 if (opline->op1_type == IS_CONST) { in zend_optimizer_get_class_entry_from_op1() 887 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func() 1086 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two() 1136 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two() [all …]
|
H A D | compact_vars.c | 39 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 87 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
|
H A D | dce.c | 132 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR)) && (opline->op2_type & (IS_VAR|IS_TMP_VAR))) { in may_have_side_effects() 225 if (opline->op1_type != IS_CONST in may_have_side_effects() 422 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr() 427 free_var_type = opline->op1_type; in dce_instr() 451 opline->op1_type = free_var_type; in dce_instr()
|
H A D | optimize_func_calls.c | 89 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call() 124 opline->op1_type = IS_CONST; in zend_try_inline_call() 242 … && (opline->op1_type == IS_TMP_VAR || call_stack[call - 1].last_check_func_arg_opline == NULL)) { in zend_optimize_func_calls()
|
H A D | zend_inference.c | 2460 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info() 2782 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2788 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2982 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3026 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3069 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3160 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3417 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() 3714 opline->op1_type, in _zend_update_type_info() 3755 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() [all …]
|
H A D | optimize_temp_vars_5.c | 80 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
|
H A D | zend_dump.c | 617 if (opline->op1_type == IS_CONST) { in zend_dump_op() 619 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 624 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op() 627 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 631 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 637 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op()
|
H A D | pass3.c | 96 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 407 trace_buffer[idx].op1_type = _op1_type; \ 679 op1_type = Z_TYPE_P(zv); 682 if (op1_type == IS_INDIRECT) { 684 op1_type = Z_TYPE_P(zv); 687 if (op1_type == IS_REFERENCE) { 689 op1_type = Z_TYPE_P(zv); 699 op1_type |= flags; 790 if (opline->op1_type == IS_CONST) { 792 op1_type = Z_TYPE_P(arr); 806 if (opline->op1_type == IS_CONST) { [all …]
|
H A D | zend_jit_trace.c | 1664 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa() 1668 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa() 1912 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa() 2091 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa() 2214 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa() 4295 uint8_t op1_type = p->op1_type; in zend_jit_trace() local 4308 op1_type = IS_UNKNOWN; in zend_jit_trace() 5410 res_type = op1_type; in zend_jit_trace() 5603 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace() 7465 op1_type = p->op1_type; in zend_jit_dump_trace() [all …]
|
H A D | zend_jit_internal.h | 182 OP_ADDR(opline, op1_type, op1) 188 OP_ADDR(opline + 1, op1_type, op1) 195 OP_REG_ADDR(opline, op1_type, op1, op1_use) 201 OP_REG_ADDR(opline + 1, op1_type, op1, op1_use) 204 OP_REG_ADDR(opline, op1_type, op1, op1_def) 210 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def) 487 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */ 768 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call() 772 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
|
H A D | zend_jit_x86.dasc | 5530 if (op1_type == IS_CV || op1_type == IS_CONST) { 10570 if (opline->op1_type == IS_VAR) { 12932 if (opline->op1_type == IS_VAR 13363 if (opline->op1_type == IS_VAR 13442 if (opline->op1_type == IS_VAR 13904 if (opline->op1_type == IS_VAR 14330 if (opline->op1_type == IS_VAR 15692 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR); 15961 opline->op1_type == IS_CV && 16202 if (opline->op1_type == IS_CV [all …]
|
H A D | zend_jit_arm64.dasc | 1873 | ldrb TMP1w, OP:RX->op1_type 2018 | ldrb TMP1w, OP:RX->op1_type 5024 if (op1_type == IS_CV || op1_type == IS_CONST) { 12163 if (opline->op1_type == IS_VAR 12583 if (opline->op1_type == IS_VAR 12662 if (opline->op1_type == IS_VAR 13086 if (opline->op1_type == IS_VAR 13470 if (opline->op1_type == IS_VAR 14747 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR); 15018 opline->op1_type == IS_CV && [all …]
|
H A D | zend_jit.c | 2667 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result() 2938 if (opline->op1_type != IS_CV) { in zend_jit() 3164 if (opline->op1_type != IS_CV) { in zend_jit() 3191 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3239 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3280 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3311 if (opline->op1_type != IS_CV) { in zend_jit() 3685 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit() 3732 if (opline->op1_type != IS_CV) { in zend_jit() 3782 if (opline->op1_type == IS_UNUSED) { in zend_jit() [all …]
|
H A D | zend_jit_disasm.c | 750 opline.op1_type = IS_CONST; 755 opline.op1_type = IS_TMP_VAR; 760 opline.op1_type = IS_VAR; 765 opline.op1_type = IS_CV;
|
/PHP-8.3/Zend/ |
H A D | zend_opcode.c | 851 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range() 950 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges() 1167 if (opline->op1_type == IS_CONST) { in pass_two() 1169 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.c | 2752 opline->op1_type = IS_CONST; in zend_set_class_name_op1() 3942 opline->op1_type = IS_CONST; in zend_compile_dynamic_call() 4077 opline->op1_type = IS_CONST; in zend_compile_func_defined() 4190 opline->op1_type = IS_CONST; in zend_compile_init_user_func() 4884 opline->op1_type = IS_CONST; in zend_compile_new() 4962 opline->op1_type = IS_CV; in zend_compile_static_var_common() 5006 opline->op1_type = IS_CV; in zend_compile_static_var() 5014 opline->op1_type = IS_CV; in zend_compile_static_var() 6169 opline->op1_type = IS_CONST; in zend_compile_try() 7553 opline->op1_type = IS_CONST; in zend_begin_func_decl() [all …]
|
H A D | zend_execute.c | 1573 value = get_op_data_zval_ptr_r((opline+1)->op1_type, (opline+1)->op1); in zend_binary_assign_op_obj_dim() 1592 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim() 3366 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local 3376 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3379 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex() 3387 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3400 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex() 3419 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3428 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex() 4657 tmp_type = op->op1_type; in zend_swap_operands() [all …]
|