Home
last modified time | relevance | path

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

12

/PHP-8.2/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.c38 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 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()
879 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()
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 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.c361 && 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()
783 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
814 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
891 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
913 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
935 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
1165 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array()
1291 && 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.c217 if (opline->op1_type == IS_CV) { in zend_optimizer_convert_to_free_op1()
228 ZEND_ASSERT(opline->op1_type == IS_CONST); in zend_optimizer_convert_to_free_op1()
432 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const()
483 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
530 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
630 if (opline->op1_type == type && in zend_optimizer_replace_by_const()
819 if (opline->op1_type == IS_CONST) { in zend_optimizer_get_class_entry_from_op1()
892 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func()
1091 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two()
1145 if (opline->op1_type == IS_CONST) { 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()
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.c89 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 Dzend_inference.c2465 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info()
2787 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2793 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
2987 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3031 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3081 if (opline->op1_type == IS_CV) { in _zend_update_type_info()
3193 if ((opline+1)->op1_type == IS_CV) { in _zend_update_type_info()
3445 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
3742 opline->op1_type, in _zend_update_type_info()
3783 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
[all …]
H A Doptimize_temp_vars_5.c79 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.c96 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
/PHP-8.2/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_opcode.c851 ((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()
1168 if (opline->op1_type == IS_CONST) { in pass_two()
1170 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_vm_execute.h4257 uint8_t op1_type; in ZEND_JMPZ_SPEC_CONST_HANDLER() local
4275 op1_type = IS_CONST; in ZEND_JMPZ_SPEC_CONST_HANDLER()
4291 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CONST_HANDLER() local
4309 op1_type = IS_CONST; in ZEND_JMPNZ_SPEC_CONST_HANDLER()
14601 uint8_t op1_type; in ZEND_JMPZ_SPEC_TMPVAR_HANDLER() local
14619 op1_type = (IS_TMP_VAR|IS_VAR); in ZEND_JMPZ_SPEC_TMPVAR_HANDLER()
14635 uint8_t op1_type; in ZEND_JMPNZ_SPEC_TMPVAR_HANDLER() local
39383 uint8_t op1_type; in ZEND_JMPZ_SPEC_CV_HANDLER() local
39401 op1_type = IS_CV; in ZEND_JMPZ_SPEC_CV_HANDLER()
39417 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CV_HANDLER() local
[all …]
H A Dzend_execute.c1574 value = get_op_data_zval_ptr_r((opline+1)->op1_type, (opline+1)->op1); in zend_binary_assign_op_obj_dim()
1593 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim()
3364 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3374 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3377 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3385 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3398 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3417 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3426 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex()
4638 tmp_type = op->op1_type; in zend_swap_operands()
[all …]
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c402 trace_buffer[idx].op1_type = _op1_type; \
664 op1_type = Z_TYPE_P(zv);
667 if (op1_type == IS_INDIRECT) {
669 op1_type = Z_TYPE_P(zv);
672 if (op1_type == IS_REFERENCE) {
674 op1_type = Z_TYPE_P(zv);
684 op1_type |= flags;
775 if (opline->op1_type == IS_CONST) {
777 op1_type = Z_TYPE_P(arr);
791 if (opline->op1_type == IS_CONST) {
[all …]
H A Dzend_jit_trace.c1726 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa()
1730 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1978 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa()
2157 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa()
2280 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa()
4272 uint8_t op1_type = p->op1_type; in zend_jit_trace() local
4285 op1_type = IS_UNKNOWN; in zend_jit_trace()
5414 res_type = op1_type; in zend_jit_trace()
5634 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace()
7616 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, op1_type, op1, op1_use)
101 OP_REG_ADDR(opline + 1, op1_type, op1, op1_use)
104 OP_REG_ADDR(opline, op1_type, op1, op1_def)
110 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def)
391 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */
701 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
705 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_ir.c2942 opline.op1_type = IS_CONST; in zend_jit_setup_disasm()
2947 opline.op1_type = IS_TMP_VAR; in zend_jit_setup_disasm()
2952 opline.op1_type = IS_VAR; in zend_jit_setup_disasm()
2957 opline.op1_type = IS_CV; in zend_jit_setup_disasm()
5802 if (op1_type == IS_CV || op1_type == IS_CONST) { in zend_jit_concat_helper()
11190 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
13635 if (opline->op1_type == IS_VAR
14007 if (opline->op1_type == IS_VAR
14097 if (opline->op1_type == IS_VAR
14364 if (opline->op1_type == IS_VAR
[all …]
H A Dzend_jit.c1222 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1470 if (opline->op1_type != IS_CV) { in zend_jit()
1693 if (opline->op1_type != IS_CV) { in zend_jit()
1720 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1768 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1809 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1840 if (opline->op1_type != IS_CV) { in zend_jit()
2181 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit()
2228 if (opline->op1_type != IS_CV) { in zend_jit()
2278 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()
1496 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
1522 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
2426 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec()
2437 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec()
2541 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper()
2561 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()

Completed in 320 milliseconds

12