Home
last modified time | relevance | path

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

12

/PHP-8.4/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()
143 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
174 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
203 && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
[all …]
H A Dpass1.c44 if (opline->op1_type == IS_CONST) { in replace_by_const_or_qm_assign()
100 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1()
114 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
122 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
194 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
206 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
237 opline->op1_type = IS_CONST; in zend_optimizer_pass1()
268 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
293 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
317 if (opline->op1_type == IS_CONST) { 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()
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()
878 if ((op->op1_type == opline->op1_type in zend_optimize_block()
[all …]
H A Dcompact_literals.c185 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
193 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
214 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
239 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
250 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
273 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
285 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
496 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
524 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
676 if (opline->op1_type == IS_CONST in zend_optimizer_compact_literals()
[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()
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()
620 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op()
646 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op()
663 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
[all …]
H A Ddfa_pass.c374 && opline->op1_type == IS_CV in opline_supports_assign_contraction()
436 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls()
498 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls()
796 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
827 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
904 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
926 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
948 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
1178 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array()
1304 && opline->op1_type != IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Descape_analysis.c183 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 Dzend_optimizer.c216 if (opline->op1_type == IS_CV) { 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()
854 if (opline->op1_type == IS_CONST) { in zend_optimizer_get_class_entry_from_op1()
877 if (opline->op1_type == IS_CONST) { in zend_fetch_class_const_info()
973 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func()
1194 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two()
1244 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Dcompact_vars.c39 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 Ddce.c132 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR)) && (opline->op2_type & (IS_VAR|IS_TMP_VAR))) { in may_have_side_effects()
230 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 Doptimize_func_calls.c90 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call()
125 opline->op1_type = IS_CONST; in zend_try_inline_call()
247 … && (opline->op1_type == IS_TMP_VAR || call_stack[call - 1].last_check_func_arg_opline == NULL)) { in zend_optimize_func_calls()
H A Dzend_inference.c2459 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info()
2781 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2787 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2981 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3025 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3075 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3187 if ((opline+1)->op1_type == IS_CV) { in _zend_update_type_info()
3439 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
3736 opline->op1_type, in _zend_update_type_info()
3777 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
[all …]
H A Doptimize_temp_vars_5.c80 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
H A Dzend_dump.c622 if (opline->op1_type == IS_CONST) { in zend_dump_op()
624 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
629 …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()
632 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op()
636 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op()
642 …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 Dpass3.c95 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
/PHP-8.4/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c421 trace_buffer[idx].op1_type = _op1_type; \
705 op1_type = Z_TYPE_P(zv);
708 if (op1_type == IS_INDIRECT) {
710 op1_type = Z_TYPE_P(zv);
713 if (op1_type == IS_REFERENCE) {
715 op1_type = Z_TYPE_P(zv);
725 op1_type |= flags;
729 op1_type = IS_OBJECT;
822 if (opline->op1_type == IS_CONST) {
824 op1_type = Z_TYPE_P(arr);
[all …]
H A Dzend_jit_trace.c1767 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa()
1771 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
2020 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa()
2199 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa()
2322 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa()
4342 uint8_t op1_type = p->op1_type; in zend_jit_trace() local
4355 op1_type = IS_UNKNOWN; in zend_jit_trace()
5505 res_type = op1_type; in zend_jit_trace()
5727 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace()
7749 op1_type = p->op1_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_internal.h86 OP_ADDR(opline, op1_type, op1)
92 OP_ADDR(opline + 1, op1_type, op1)
95 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_use)
101 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_use)
104 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_def)
110 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_def)
396 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */
712 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
716 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_ir.c2980 opline.op1_type = IS_CONST; in zend_jit_setup_disasm()
2985 opline.op1_type = IS_TMP_VAR; in zend_jit_setup_disasm()
2990 opline.op1_type = IS_VAR; in zend_jit_setup_disasm()
2995 opline.op1_type = IS_CV; in zend_jit_setup_disasm()
6098 if (op1_type == IS_CV || op1_type == IS_CONST) { in zend_jit_concat_helper()
11557 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
14068 if (opline->op1_type == IS_VAR
14509 if (opline->op1_type == IS_VAR
14606 if (opline->op1_type == IS_VAR
14956 if (opline->op1_type == IS_VAR
[all …]
H A Dzend_jit.c1268 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1508 if (opline->op1_type != IS_CV) { in zend_jit()
1741 if (opline->op1_type != IS_CV) { in zend_jit()
1774 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1825 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1869 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1904 if (opline->op1_type != IS_CV) { in zend_jit()
2245 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit()
2293 if (opline->op1_type != IS_CV) { in zend_jit()
2346 if (opline->op1_type == IS_UNUSED) { in zend_jit()
[all …]
H A Dzend_jit_helpers.c103 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()
1008 && ((EG(opline_before_exception)+1)->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper()
1282 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()
2506 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec()
2517 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec()
2621 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper()
2657 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
/PHP-8.4/Zend/
H A Dzend_verify_type_inference.h133 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_use()
136 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_use_type, opline->op1_type, execut… in zend_verify_inference_use()
158 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
164 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_def_type, opline->op1_type, execut… in zend_verify_inference_def()
H A Dzend_execute.c1681 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim()
3540 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3550 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3553 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3561 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3574 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3593 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3602 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex()
3615 if (opline->op1_type == IS_CONST in zend_fetch_static_property_address()
4836 tmp_type = op->op1_type; in zend_swap_operands()
[all …]
H A Dzend_opcode.c869 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range()
969 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges()
1187 if (opline->op1_type == IS_CONST) { in pass_two()
1189 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_vm_execute.h4430 uint8_t op1_type; in ZEND_JMPZ_SPEC_CONST_HANDLER() local
4448 op1_type = IS_CONST; in ZEND_JMPZ_SPEC_CONST_HANDLER()
4464 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CONST_HANDLER() local
4482 op1_type = IS_CONST; in ZEND_JMPNZ_SPEC_CONST_HANDLER()
14998 uint8_t op1_type; in ZEND_JMPZ_SPEC_TMPVAR_HANDLER() local
15016 op1_type = (IS_TMP_VAR|IS_VAR); in ZEND_JMPZ_SPEC_TMPVAR_HANDLER()
15032 uint8_t op1_type; in ZEND_JMPNZ_SPEC_TMPVAR_HANDLER() local
40492 uint8_t op1_type; in ZEND_JMPZ_SPEC_CV_HANDLER() local
40510 op1_type = IS_CV; in ZEND_JMPZ_SPEC_CV_HANDLER()
40526 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CV_HANDLER() local
[all …]

Completed in 386 milliseconds

12