Home
last modified time | relevance | path

Searched refs:op1_type (Results 1 – 25 of 35) sorted by relevance

12

/PHP-8.1/Zend/Optimizer/
H A Dzend_dfg.c27 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 Dpass1.c50 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
59 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
86 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
114 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
134 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
210 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
224 opline->op1_type == IS_UNUSED && in zend_optimizer_pass1()
229 opline->op1_type == IS_VAR && in zend_optimizer_pass1()
331 opline->op1_type = IS_CONST; in zend_optimizer_pass1()
603 opline->op1_type = IS_UNUSED; in zend_optimizer_pass1()
[all …]
H A Dblock_pass.c157 src->op1_type == IS_CONST in zend_optimize_block()
196 src->op1_type == IS_CONST) { in zend_optimize_block()
340 if((opline->op1_type & IS_VAR) && in zend_optimize_block()
361 opline->op1_type = IS_CONST; in zend_optimize_block()
371 opline->op1_type = IS_CONST; in zend_optimize_block()
379 opline->op1_type = IS_CONST; in zend_optimize_block()
407 opline->op1_type = IS_UNUSED; in zend_optimize_block()
533 tmp_type = src->op1_type; in zend_optimize_block()
551 tmp_type = src->op1_type; in zend_optimize_block()
650 opline->op1_type = IS_UNUSED; in zend_optimize_block()
[all …]
H A Dcompact_literals.c183 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
191 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
212 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
235 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
246 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
265 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
297 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
309 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
520 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
548 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
[all …]
H A Ddfa_pass.c375 && opline->op1_type == IS_CV in opline_supports_assign_contraction()
437 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls()
499 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls()
800 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
831 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
871 opline->op1_type = IS_UNUSED; in zend_dfa_optimize_jmps()
896 opline->op1_type = IS_UNUSED; in zend_dfa_optimize_jmps()
951 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
973 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
1225 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Dzend_ssa.c197 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var()
202 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var()
269 if (opline->op1_type == IS_CV) { in place_essa_pis()
277 if (opline->op1_type == IS_CV) { in place_essa_pis()
571 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
586 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
592 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
611 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
621 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op()
647 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op()
[all …]
H A Dpass3.c92 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
109 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
119 if ((opline-1)->op1_type == IS_CV) { in zend_optimizer_pass3()
122 } else if ((opline-1)->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_pass3()
197 if (opline->op1_type == IS_CV) { in zend_optimizer_pass3()
200 } else if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_pass3()
344 !(opline->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_optimizer_pass3()
H A Descape_analysis.c161 if (opline->op1_type == IS_CONST) { in is_allocation_def()
177 if (opline->op1_type == IS_CONST in is_allocation_def()
181 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
186 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
229 if (opline->op1_type == IS_CONST) { in is_local_def()
270 if (opline->op1_type == IS_CV) { in is_escape_use()
320 if (opline->op1_type != IS_CV in is_escape_use()
336 if (opline->op1_type != IS_CV in is_escape_use()
H A Doptimize_func_calls.c32 (opline->op1_type == IS_CONST && \
77 if (opline->op1_type == IS_CONST) { in zend_delete_call_instructions()
79 } else if (opline->op1_type == IS_CV) { in zend_delete_call_instructions()
106 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call()
141 opline->op1_type = IS_CONST; in zend_try_inline_call()
259 … && (opline->op1_type == IS_TMP_VAR || call_stack[call - 1].last_check_func_arg_opline == NULL)) { in zend_optimize_func_calls()
H A Dzend_optimizer.c338 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const()
394 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
441 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
541 if (opline->op1_type == type && in zend_optimizer_replace_by_const()
751 if (opline->op1_type == IS_CONST) { in get_class_entry_from_op1()
822 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func()
1018 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two()
1068 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two()
1131 && (opline+1)->op1_type == IS_TMP_VAR in zend_redo_pass_two()
1135 && (opline+1)->op1_type == IS_TMP_VAR in zend_redo_pass_two()
[all …]
H A Dcompact_vars.c38 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
86 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
H A Ddce.c132 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()
428 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr()
433 free_var_type = opline->op1_type; in dce_instr()
457 opline->op1_type = free_var_type; in dce_instr()
H A Dzend_inference.c2439 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info()
2737 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2743 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2923 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2967 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3010 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3101 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3351 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
3643 opline->op1_type, in _zend_update_type_info()
3683 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
[all …]
H A Dzend_dump.c599 if (opline->op1_type == IS_CONST) { in zend_dump_op()
601 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
606 …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()
609 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op()
613 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.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()
H A Doptimize_temp_vars_5.c80 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c370 trace_buffer[idx].op1_type = _op1_type; \
632 op1_type = Z_TYPE_P(zv);
635 if (op1_type == IS_INDIRECT) {
637 op1_type = Z_TYPE_P(zv);
640 if (op1_type == IS_REFERENCE) {
642 op1_type = Z_TYPE_P(zv);
652 op1_type |= flags;
743 if (opline->op1_type == IS_CONST) {
745 op1_type = Z_TYPE_P(arr);
759 if (opline->op1_type == IS_CONST) {
[all …]
H A Dzend_jit_trace.c1662 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa()
1666 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1896 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa()
2075 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa()
2198 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa()
4279 uint8_t op1_type = p->op1_type; in zend_jit_trace() local
4292 op1_type = IS_UNKNOWN; in zend_jit_trace()
5395 res_type = op1_type; in zend_jit_trace()
5595 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace()
7383 op1_type = p->op1_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_internal.h182 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)
485 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */
754 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
758 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_x86.dasc5554 if (op1_type == IS_CV || op1_type == IS_CONST) {
10686 if (opline->op1_type == IS_VAR) {
13073 if (opline->op1_type == IS_VAR
13485 if (opline->op1_type == IS_VAR
13564 if (opline->op1_type == IS_VAR
14026 if (opline->op1_type == IS_VAR
14452 if (opline->op1_type == IS_VAR
15727 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
15999 opline->op1_type == IS_CV &&
16241 if (opline->op1_type == IS_CV
[all …]
H A Dzend_jit_arm64.dasc1861 | ldrb TMP1w, OP:RX->op1_type
2005 | ldrb TMP1w, OP:RX->op1_type
5038 if (op1_type == IS_CV || op1_type == IS_CONST) {
12298 if (opline->op1_type == IS_VAR
12699 if (opline->op1_type == IS_VAR
12778 if (opline->op1_type == IS_VAR
13202 if (opline->op1_type == IS_VAR
13586 if (opline->op1_type == IS_VAR
14774 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
15048 opline->op1_type == IS_CV &&
[all …]
H A Dzend_jit.c2654 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result()
2925 if (opline->op1_type != IS_CV) { in zend_jit()
3151 if (opline->op1_type != IS_CV) { in zend_jit()
3178 if (opline->op1_type == IS_UNUSED) { in zend_jit()
3226 if (opline->op1_type == IS_UNUSED) { in zend_jit()
3267 if (opline->op1_type == IS_UNUSED) { in zend_jit()
3298 if (opline->op1_type != IS_CV) { in zend_jit()
3678 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit()
3726 if (opline->op1_type != IS_CV) { in zend_jit()
3777 if (opline->op1_type == IS_UNUSED) { in zend_jit()
[all …]
H A Dzend_jit_disasm.c747 opline.op1_type = IS_CONST;
752 opline.op1_type = IS_TMP_VAR;
757 opline.op1_type = IS_VAR;
762 opline.op1_type = IS_CV;
H A Dzend_jit_helpers.c105 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()
1275 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset()
1489 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
1515 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
2371 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec()
2382 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec()
2486 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper()
2505 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
/PHP-8.1/Zend/
H A Dzend_execute.c1464 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim()
3287 zend_uchar op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3297 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3300 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3308 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3321 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3338 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3341 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3351 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex()
4547 tmp_type = op->op1_type; in zend_swap_operands()
[all …]
H A Dzend_opcode.c831 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range()
930 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges()
1148 if (opline->op1_type == IS_CONST) { in pass_two()
1150 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()

Completed in 293 milliseconds

12