Home
last modified time | relevance | path

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

12

/PHP-8.2/Zend/Optimizer/
H A Dpass1.c41 if (opline->op2_type == IS_CONST) { in replace_by_const_or_qm_assign()
69 if (opline->op2_type == IS_CONST && Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass1()
94 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1()
101 if (opline->extended_value == ZEND_CONCAT && opline->op2_type == IS_CONST in zend_optimizer_pass1()
123 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
143 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
159 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
218 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1()
239 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
H A Dcompact_literals.c188 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
196 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
231 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
240 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
252 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
271 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
283 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
494 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
543 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
570 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
[all …]
H A Doptimize_func_calls.c254 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
270 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
282 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
296 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
305 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
320 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
338 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
H A Dblock_pass.c192 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block()
415 opline->op2_type = IS_UNUSED; in zend_optimize_block()
542 src->op2_type = tmp_type; in zend_optimize_block()
560 src->op2_type = tmp_type; in zend_optimize_block()
694 src->op2_type == IS_CONST) { in zend_optimize_block()
762 opline->op2_type = IS_UNUSED; in zend_optimize_block()
772 opline->op2_type = IS_UNUSED; in zend_optimize_block()
975 if (op->op2_type == IS_CONST) { in assemble_code_blocks()
1453 if (opline->op2_type == IS_VAR) { in zend_t_usage()
1588 if (opline->op2_type == IS_VAR) { in zend_t_usage()
[all …]
H A Dzend_dfg.c33 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op()
36 || (opline->op2_type == IS_CV)) { in _zend_dfg_add_use_def_op()
53 if ((build_flags & ZEND_SSA_RC_INFERENCE) && opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
62 if (opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
223 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
H A Ddfa_pass.c1150 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1209 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1211 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1231 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1260 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1276 opline->op2_type = opline->op1_type; in zend_dfa_optimize_op_array()
1604 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1629 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1631 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1640 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Dcompact_vars.c42 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
90 if (opline->op2_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()
184 if (opline->op2_type != IS_CONST in may_have_side_effects()
436 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
445 free_var_type = opline->op2_type; in dce_instr()
523 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
H A Dzend_optimizer.c335 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
344 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
422 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
613 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const()
695 if (opline->op2_type == type && in zend_optimizer_replace_by_const()
851 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
868 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
886 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func()
1084 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two()
1134 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Dzend_ssa.c207 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
214 } else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) { in find_adjusted_tmp_var()
223 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
313 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis()
315 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis()
331 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis()
526 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
551 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
579 if (opline->op2_type == IS_CV) { in _zend_ssa_rename_op()
744 if (opline->op2_type != IS_CV) { in _zend_ssa_rename_op()
[all …]
H A Descape_analysis.c193 if (opline->op2_type == IS_CONST in is_allocation_def()
197 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
340 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dzend_inference.c2437 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info()
2462 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info()
3136 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3327 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info()
3411 && (opline->op2_type == IS_UNUSED in _zend_update_type_info()
3473 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3481 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3496 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3710 opline->op2_type == IS_UNUSED); in _zend_update_type_info()
4848 if (opline->op2_type == IS_CV) { in zend_may_throw_ex()
[all …]
H A Doptimize_temp_vars_5.c139 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
H A Dzend_dump.c648 if (opline->op2_type == IS_CONST) { in zend_dump_op()
675 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
680 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op()
683 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
687 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
693 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op()
H A Dzend_call_graph.c127 if (opline->op2_type == IS_CONST) { in zend_analyze_calls()
H A Dsccp.c200 if (opline->op2_type == IS_CONST) { in get_op2_value()
2155 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition()
2217 if (opline->op2_type == IS_UNUSED) { in try_remove_definition()
2243 if (opline->op2_type == IS_CONST) { in try_remove_definition()
2273 opline->op2_type = IS_CONST; in try_remove_definition()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c208 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_long_key()
225 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_string_key()
718 && (opline->op2_type == IS_CV
724 op2_type = Z_TYPE_P(zv);
725 if (op2_type == IS_INDIRECT) {
727 op2_type = Z_TYPE_P(zv);
730 if (op2_type == IS_REFERENCE) {
732 op2_type = Z_TYPE_P(zv);
738 op2_type |= flags;
795 && opline->op2_type != IS_UNDEF) {
[all …]
H A Dzend_jit_internal.h184 OP_ADDR(opline, op2_type, op2)
197 OP_REG_ADDR(opline, op2_type, op2, op2_use)
206 OP_REG_ADDR(opline, op2_type, op2, op2_def)
488 uint8_t op2_type;/* recorded zval op2_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()
770 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_trace.c1661 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa()
1670 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1739 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
1930 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
2124 if (op2_type == IS_STRING) { in zend_jit_trace_build_tssa()
2217 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
3532 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this()
4292 uint8_t op2_type = p->op2_type; in zend_jit_trace() local
4310 op2_type = IS_UNKNOWN; in zend_jit_trace()
7453 op2_type = p->op2_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_x86.dasc5106 && opline->op2_type != IS_CONST) {
6619 if (opline->op2_type == IS_UNUSED) {
6851 if (opline->op2_type == IS_UNUSED) {
8186 if (opline->op2_type != IS_CONST) {
8219 if (opline->op2_type != IS_CONST) {
8421 if (opline->op2_type == IS_CONST) {
9203 if (opline->op2_type == IS_CV) {
15549 if (opline->op2_type == IS_CV) {
15701 if (opline->op2_type == IS_CONST) {
15715 if (opline->op2_type == IS_CV) {
[all …]
H A Dzend_jit_arm64.dasc1883 | ldrb TMP1w, OP:RX->op2_type
1901 | ldrb TMP1w, OP:RX->op2_type
4667 && opline->op2_type != IS_CONST) {
7580 if (opline->op2_type != IS_CONST) {
7613 if (opline->op2_type != IS_CONST) {
7815 if (opline->op2_type == IS_CONST) {
8590 if (opline->op2_type == IS_CV) {
14610 if (opline->op2_type == IS_CV) {
14759 if (opline->op2_type == IS_CONST) {
14774 if (opline->op2_type == IS_CV) {
[all …]
H A Dzend_jit.c567 && opline->op2_type == IS_CONST in zend_jit_may_avoid_refcounting()
2648 && (opline+1)->op2_type != IS_CONST in zend_jit_next_is_send_result()
3160 if (opline->op2_type != IS_CONST in zend_jit()
3204 if (opline->op2_type != IS_CONST in zend_jit()
3249 if (opline->op2_type != IS_CONST in zend_jit()
3359 if (opline->op2_type == IS_CONST) { in zend_jit()
3373 if (opline->op2_type == IS_CONST) { in zend_jit()
3387 if (opline->op2_type == IS_CONST) { in zend_jit()
3410 if (opline->op2_type == IS_CONST) { in zend_jit()
3754 if (opline->op2_type != IS_CONST in zend_jit()
[all …]
/PHP-8.2/Zend/
H A Dzend_opcode.c841 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range()
948 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges()
1160 if (opline->op2_type == IS_CONST) { in pass_two()
1162 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.c3025 opline->op2_type = IS_CONST; in zend_compile_static_prop()
3800 opline->op2_type = IS_CONST; in zend_compile_ns_call()
4048 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func()
4630 opline->op2_type = IS_CONST; in zend_compile_method_call()
4716 opline->op2_type = IS_CONST; in zend_compile_static_call()
5431 opline->op2_type = IS_VAR; in zend_compile_foreach()
7107 opline->op2_type = IS_CV; in zend_compile_closure_binding()
7210 opline->op2_type = IS_CV; in compile_implicit_lexical_binds()
8041 opline->op2_type = IS_CONST; in zend_compile_class_decl()
9395 opline->op2_type = IS_CONST; in zend_compile_instanceof()
[all …]
H A Dzend_execute.c2217 if (opline->op2_type == IS_UNUSED) { in zend_binary_assign_op_dim_slow()
3255 zend_uchar op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3257 if (EXPECTED(op2_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3273 if (EXPECTED(op2_type == IS_UNUSED)) { in zend_fetch_static_property_address_ex()
3332 …if (opline->op1_type == IS_CONST && (opline->op2_type == IS_CONST || (opline->op2_type == IS_UNUSE… in zend_fetch_static_property_address()
4138 if (opline->op2_type != IS_CONST) { in zend_unfinished_calls_gc()
4273 if (opline->op2_type != IS_CONST) { in cleanup_unfinished_calls()
4532 op->op1_type = op->op2_type; in zend_swap_operands()
4534 op->op2_type = tmp_type; in zend_swap_operands()

Completed in 181 milliseconds

12