/php-src/Zend/Optimizer/ |
H A D | compact_literals.c | 188 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 196 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 217 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 236 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 245 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 257 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 276 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 288 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 499 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 548 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() [all …]
|
H A D | pass1.c | 47 if (opline->op2_type == IS_CONST) { in replace_by_const_or_qm_assign() 75 if (opline->op2_type == IS_CONST && Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass1() 100 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1() 107 if (opline->extended_value == ZEND_CONCAT && opline->op2_type == IS_CONST in zend_optimizer_pass1() 129 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 149 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 217 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1() 238 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
|
H A D | optimize_func_calls.c | 259 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls() 275 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 287 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 301 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 310 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 325 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 343 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
|
H A D | block_pass.c | 192 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() 974 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 D | zend_dfg.c | 33 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() 225 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
|
H A D | dfa_pass.c | 1165 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 1224 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() 1226 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1246 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() 1275 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1291 opline->op2_type = opline->op1_type; in zend_dfa_optimize_op_array() 1619 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 1644 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() 1646 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1655 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | compact_vars.c | 42 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 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() 190 if (opline->op2_type != IS_CONST in may_have_side_effects() 255 if ((opline->extended_value & ZEND_BIND_REF) && opline->op2_type != IS_UNUSED) { 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 D | zend_ssa.c | 207 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() 745 if (opline->op2_type != IS_CV) { in _zend_ssa_rename_op() [all …]
|
H A D | zend_optimizer.c | 335 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() 940 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func() 954 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func() 972 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func() 1195 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two() 1245 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two() [all …]
|
H A D | escape_analysis.c | 200 if (opline->op2_type == IS_CONST in is_allocation_def() 204 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
H A D | zend_inference.c | 2432 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info() 2457 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info() 3141 if (opline->op2_type == IS_CV) { in _zend_update_type_info() 3336 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info() 3436 && (opline->op2_type == IS_UNUSED in _zend_update_type_info() 3498 if (opline->op2_type == IS_CV) { in _zend_update_type_info() 3506 if (opline->op2_type != IS_CV) { in _zend_update_type_info() 3521 if (opline->op2_type != IS_CV) { in _zend_update_type_info() 3735 opline->op2_type == IS_UNUSED); in _zend_update_type_info() 4975 if (opline->op2_type == IS_CV) { in zend_may_throw_ex() [all …]
|
H A D | optimize_temp_vars_5.c | 139 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
|
H A D | zend_dump.c | 658 if (opline->op2_type == IS_CONST) { in zend_dump_op() 685 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 690 …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() 693 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op() 697 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op() 703 …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 D | zend_call_graph.c | 148 if (opline->op2_type == IS_CONST) { in zend_analyze_calls()
|
H A D | sccp.c | 200 if (opline->op2_type == IS_CONST) { in get_op2_value() 2224 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition() 2291 if (opline->op2_type == IS_UNUSED) { in try_remove_definition() 2317 if (opline->op2_type == IS_CONST) { in try_remove_definition() 2347 opline->op2_type = IS_CONST; in try_remove_definition()
|
/php-src/Zend/ |
H A D | zend_verify_type_inference.h | 139 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use() 140 …zend_verify_type_inference(EX_VAR(opline->op2.var), opline->op2_use_type, opline->op2_type, execut… in zend_verify_inference_use() 167 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def() 171 …zend_verify_type_inference(EX_VAR(opline->op2.var), opline->op2_def_type, opline->op2_type, execut… in zend_verify_inference_def()
|
H A D | zend_opcode.c | 870 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range() 977 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges() 1191 if (opline->op2_type == IS_CONST) { in pass_two() 1193 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.c | 3234 opline->op2_type = IS_CONST; in zend_compile_static_prop() 3905 opline->op2_type = IS_CONST; in zend_compile_args() 4249 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func() 4752 opline->op2_type = IS_CONST; in zend_compile_ns_call() 5248 opline->op2_type = IS_CONST; in zend_compile_method_call() 5338 opline->op2_type = IS_CONST; in zend_compile_static_call() 6091 opline->op2_type = IS_VAR; in zend_compile_foreach() 7879 opline->op2_type = IS_CV; in zend_compile_closure_binding() 7982 opline->op2_type = IS_CV; in compile_implicit_lexical_binds() 9152 opline->op2_type = IS_CONST; in zend_compile_class_decl() [all …]
|
H A D | zend_execute.c | 1603 …case 2: frameless_observed_call_copy(call, 1, zend_get_zval_ptr(opline, opline->op2_type, &opline-… in zend_frameless_observed_call() 2518 if (opline->op2_type == IS_UNUSED) { in zend_binary_assign_op_dim_slow() 3541 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local 3543 if (EXPECTED(op2_type == IS_CONST)) { in zend_fetch_static_property_address_ex() 3559 if (EXPECTED(op2_type == IS_UNUSED)) { in zend_fetch_static_property_address_ex() 3618 && (opline->op2_type == IS_CONST in zend_fetch_static_property_address() 3619 || (opline->op2_type == IS_UNUSED in zend_fetch_static_property_address() 4503 if (opline->op2_type != IS_CONST) { in zend_unfinished_calls_gc() 4640 if (opline->op2_type != IS_CONST) { in cleanup_unfinished_calls() 4881 op->op1_type = op->op2_type; in zend_swap_operands() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 203 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_long_key() 229 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_string_key() 736 && (opline->op2_type == IS_CV 742 op2_type = Z_TYPE_P(zv); 743 if (op2_type == IS_INDIRECT) { 745 op2_type = Z_TYPE_P(zv); 748 if (op2_type == IS_REFERENCE) { 750 op2_type = Z_TYPE_P(zv); 756 op2_type |= flags; 813 && opline->op2_type != IS_UNDEF) { [all …]
|
H A D | zend_jit_internal.h | 88 OP_ADDR(opline, op2_type, op2) 97 OP_REG_ADDR(opline, ssa_op, op2_type, op2, op2_use) 106 OP_REG_ADDR(opline, ssa_op, op2_type, op2, op2_def) 402 uint8_t op2_type;/* recorded zval op2_type for ZEND_JIT_TRACE_VM */ 697 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call() 699 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
|
H A D | zend_jit_trace.c | 1821 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa() 1830 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa() 1889 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa() 2085 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa() 2279 if (op2_type == IS_STRING) { in zend_jit_trace_build_tssa() 2372 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa() 3463 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this() 4386 uint8_t op2_type = p->op2_type; in zend_jit_trace() local 4404 op2_type = IS_UNKNOWN; in zend_jit_trace() 7848 op2_type = p->op2_type; in zend_jit_dump_trace() [all …]
|
H A D | zend_jit.c | 519 && opline->op2_type == IS_CONST in zend_jit_may_avoid_refcounting() 1346 && (opline+1)->op2_type != IS_CONST in zend_jit_next_is_send_result() 1849 if (opline->op2_type != IS_CONST in zend_jit() 1896 if (opline->op2_type != IS_CONST in zend_jit() 1944 if (opline->op2_type != IS_CONST in zend_jit() 2059 if (opline->op2_type == IS_CONST) { in zend_jit() 2073 if (opline->op2_type == IS_CONST) { in zend_jit() 2424 if (opline->op2_type != IS_CONST in zend_jit() 2471 && (opline->op2_type == IS_CONST in zend_jit() 2595 if (opline->op2_type != IS_CONST in zend_jit() [all …]
|
H A D | zend_jit_ir.c | 7357 if (opline->op2_type != IS_CONST) { in zend_jit_identical() 8574 if (opline->op2_type == IS_CV) { 11665 if (opline->op2_type == IS_CONST) { 11681 if (opline->op2_type == IS_CV) { 12180 if (opline->op2_type != IS_CONST) { 12211 if (opline->op2_type != IS_CONST) { 12882 if (opline->op2_type == IS_UNUSED) { 13269 if (opline->op2_type == IS_UNUSED) { 13435 if (opline->op2_type == IS_UNUSED) { 13960 if (opline->op2_type == IS_CV) { [all …]
|