/PHP-8.2/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() 172 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 201 && 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() 234 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 245 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 268 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 280 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 491 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 519 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 671 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() 781 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 812 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 889 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 911 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 933 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 1163 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 1289 && opline->op1_type != IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | escape_analysis.c | 176 if (opline->op1_type == IS_CONST in is_allocation_def() 180 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 185 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 268 if (opline->op1_type == IS_CV) { in is_escape_use() 318 if (opline->op1_type != IS_CV in is_escape_use() 334 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() 814 if (opline->op1_type == IS_CONST) { in zend_optimizer_get_class_entry_from_op1() 885 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func() 1081 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two() 1131 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() 224 if (opline->op1_type != IS_CONST in may_have_side_effects() 427 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr() 432 free_var_type = opline->op1_type; in dce_instr() 456 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() 2779 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2785 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2979 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3023 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3066 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3157 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3410 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() 3707 opline->op1_type, in _zend_update_type_info() 3748 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 | 612 if (opline->op1_type == IS_CONST) { in zend_dump_op() 614 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 619 …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() 622 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 626 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 632 …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.2/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 | 1660 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa() 1664 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa() 1908 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa() 2087 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa() 2210 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa() 4291 uint8_t op1_type = p->op1_type; in zend_jit_trace() local 4304 op1_type = IS_UNKNOWN; in zend_jit_trace() 5406 res_type = op1_type; in zend_jit_trace() 5602 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace() 7452 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 | 5516 if (op1_type == IS_CV || op1_type == IS_CONST) { 10545 if (opline->op1_type == IS_VAR) { 12914 if (opline->op1_type == IS_VAR 13326 if (opline->op1_type == IS_VAR 13405 if (opline->op1_type == IS_VAR 13867 if (opline->op1_type == IS_VAR 14293 if (opline->op1_type == IS_VAR 15655 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR); 15924 opline->op1_type == IS_CV && 16165 if (opline->op1_type == IS_CV [all …]
|
H A D | zend_jit_arm64.dasc | 1876 | ldrb TMP1w, OP:RX->op1_type 2021 | ldrb TMP1w, OP:RX->op1_type 5010 if (op1_type == IS_CV || op1_type == IS_CONST) { 12149 if (opline->op1_type == IS_VAR 12550 if (opline->op1_type == IS_VAR 12629 if (opline->op1_type == IS_VAR 13053 if (opline->op1_type == IS_VAR 13437 if (opline->op1_type == IS_VAR 14714 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR); 14985 opline->op1_type == IS_CV && [all …]
|
H A D | zend_jit.c | 2647 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result() 2918 if (opline->op1_type != IS_CV) { in zend_jit() 3144 if (opline->op1_type != IS_CV) { in zend_jit() 3171 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3219 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3260 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3291 if (opline->op1_type != IS_CV) { in zend_jit() 3665 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit() 3712 if (opline->op1_type != IS_CV) { in zend_jit() 3762 if (opline->op1_type == IS_UNUSED) { in zend_jit() [all …]
|
H A D | zend_jit_disasm.c | 749 opline.op1_type = IS_CONST; 754 opline.op1_type = IS_TMP_VAR; 759 opline.op1_type = IS_VAR; 764 opline.op1_type = IS_CV;
|
H A D | zend_jit_helpers.c | 105 if (Z_TYPE_P(object) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_method_call() 926 && ((opline+1)->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper() 1007 && ((EG(opline_before_exception)+1)->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper() 1278 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset() 1492 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 1518 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 2377 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec() 2388 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec() 2492 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper() 2511 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
|
/PHP-8.2/Zend/ |
H A D | zend_execute.c | 1495 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim() 3255 zend_uchar op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local 3265 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3268 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex() 3276 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3289 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex() 3306 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex() 3309 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3319 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex() 4530 tmp_type = op->op1_type; in zend_swap_operands() [all …]
|
H A D | zend_opcode.c | 840 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range() 939 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges() 1155 if (opline->op1_type == IS_CONST) { in pass_two() 1157 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|