/PHP-7.2/ext/opcache/Optimizer/ |
H A D | pass2.c | 48 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 79 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 109 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 135 if (opline->op1_type == IS_TMP_VAR && in zend_optimizer_pass2() 144 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 158 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 165 opline->op1_type = IS_UNUSED; in zend_optimizer_pass2() 179 if (opline->op1_type == IS_CV) { in zend_optimizer_pass2() 182 } else if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_pass2() 201 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() [all …]
|
H A D | block_pass.c | 181 src->op1_type == IS_CONST in zend_optimize_block() 256 src->op1_type == IS_CONST) { in zend_optimize_block() 367 if((opline->op1_type & IS_VAR) && in zend_optimize_block() 388 opline->op1_type = IS_CONST; in zend_optimize_block() 398 opline->op1_type = IS_CONST; in zend_optimize_block() 406 opline->op1_type = IS_CONST; in zend_optimize_block() 432 opline->op1_type = IS_UNUSED; in zend_optimize_block() 548 tmp_type = src->op1_type; in zend_optimize_block() 565 tmp_type = src->op1_type; in zend_optimize_block() 838 if ((op->op1_type == opline->op1_type in zend_optimize_block() [all …]
|
H A D | compact_literals.c | 150 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 156 opline->op1_type, in zend_optimizer_compact_literals() 164 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 170 opline->op1_type, in zend_optimizer_compact_literals() 191 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 196 opline->op1_type, in zend_optimizer_compact_literals() 213 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 232 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 252 opline->op1_type, in zend_optimizer_compact_literals() 275 opline->op1_type, in zend_optimizer_compact_literals() [all …]
|
H A D | pass1_5.c | 72 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 92 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 118 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 267 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 285 opline->op1_type == IS_UNUSED && in zend_optimizer_pass1() 290 opline->op1_type == IS_VAR && in zend_optimizer_pass1() 292 ((opline - 1)->op1_type == IS_UNUSED && in zend_optimizer_pass1() 320 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 349 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1() 395 opline->op1_type = IS_CONST; in zend_optimizer_pass1() [all …]
|
H A D | optimize_func_calls.c | 33 (opline->op1_type == IS_CONST && \ 75 if (opline->op1_type == IS_CONST) { in zend_delete_call_instructions() 77 } else if (opline->op1_type == IS_CV) { in zend_delete_call_instructions() 102 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call() 106 if (fcall->opcode == ZEND_INIT_METHOD_CALL && fcall->op1_type == IS_UNUSED) { in zend_try_inline_call() 138 opline->op1_type = IS_CONST; in zend_try_inline_call()
|
H A D | zend_ssa.c | 186 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 191 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 568 if (next->op1_type == IS_CV) { in zend_ssa_rename() 607 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 622 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 631 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 640 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 684 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 715 if (opline->op1_type == IS_CV) { in zend_ssa_rename() 737 if (opline->op1_type == IS_CV) { in zend_ssa_rename() [all …]
|
H A D | compact_vars.c | 39 if (opline->op1_type == IS_CV) { in zend_optimizer_compact_vars() 71 if (opline->op1_type == IS_CV) { in zend_optimizer_compact_vars() 73 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
|
H A D | dfa_pass.c | 391 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls() 454 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls() 508 if (opline->op1_type & (IS_CV|IS_CONST)) { in zend_dfa_optimize_jmps() 522 if (opline->op1_type & (IS_CV|IS_CONST)) { in zend_dfa_optimize_jmps() 529 opline->op1_type = IS_UNUSED; in zend_dfa_optimize_jmps() 630 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 651 if (opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 663 } else if (opline->op1_type != IS_CONST in zend_dfa_optimize_op_array() 762 opline->result_type = opline->op1_type; in zend_dfa_optimize_op_array() 764 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() [all …]
|
H A D | pass3.c | 102 zend_uchar tmp_type = opline->op1_type; in zend_optimizer_pass3() 106 || (opline->op1_type == IS_CONST in zend_optimizer_pass3() 113 if ((opline->op1_type & (IS_VAR | IS_CV)) in zend_optimizer_pass3() 115 && opline->op1_type == next_opline->op1_type) { in zend_optimizer_pass3() 354 if(op->op1_type == IS_TMP_VAR && in zend_optimizer_pass3() 388 if(op->op1_type == IS_TMP_VAR && in zend_optimizer_pass3()
|
H A D | zend_optimizer.c | 327 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const() 567 if (opline->op1_type == type && in zend_optimizer_replace_by_const() 605 m->op1_type == type && in zend_optimizer_replace_by_const() 614 m->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 657 if (m->op1_type == type && in zend_optimizer_replace_by_const() 669 m->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 814 if (opline->op1_type == IS_CONST) { in get_class_entry_from_op1() 890 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func() 1083 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two() 1100 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two() [all …]
|
H A D | dce.c | 357 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr() 362 free_var_type = opline->op1_type; in dce_instr() 386 opline->op1_type = free_var_type; in dce_instr() 449 if (opline->op1_type != IS_CONST) { in simplify_jumps() 459 opline->op1_type = IS_UNUSED; in simplify_jumps() 470 opline->op1_type = IS_UNUSED; in simplify_jumps() 488 opline->op1_type = IS_UNUSED; in simplify_jumps()
|
H A D | zend_dfg.c | 53 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_build_dfg() 66 if (opline->op1_type == IS_CV) { in zend_build_dfg() 143 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in zend_build_dfg()
|
H A D | zend_inference.c | 2371 (opline->op1_type == IS_CV) && in zend_update_type_info() 2376 (opline->op1_type == IS_CV) && in zend_update_type_info() 2432 if (opline->op1_type == IS_CV) { in zend_update_type_info() 2489 if (opline->op1_type == IS_CV) { in zend_update_type_info() 2495 if (opline->op1_type == IS_CV) { in zend_update_type_info() 2651 if (opline->op1_type == IS_CV) { in zend_update_type_info() 2698 if (opline->op1_type == IS_CV) { in zend_update_type_info() 2715 if ((opline+1)->op1_type == IS_CV) { in zend_update_type_info() 2979 if (opline->op1_type == IS_CONST && in zend_update_type_info() 3892 if (opline->op1_type == IS_CONST) { in zend_func_return_info() [all …]
|
H A D | zend_dump.c | 544 if (opline->op1_type == IS_CONST) { in zend_dump_op() 546 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 551 …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() 554 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 558 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 564 …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 D | optimize_temp_vars_5.c | 82 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
|
H A D | ssa_integrity.c | 180 if (is_var_type(opline->op1_type)) { in ssa_verify_integrity()
|
H A D | sccp.c | 122 if (opline->op1_type == IS_CONST) { in get_op1_value() 318 opline->op1_type = IS_UNUSED; in try_replace_op1() 337 opline->op1_type = IS_CONST; in try_replace_op1()
|
H A D | zend_cfg.c | 135 && (op_array->opcodes[b->start + 1].op1_type & (IS_CV|IS_CONST)) in zend_mark_reachable_blocks()
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 109 ops, opline, opline->op1, opline->op1_type, ZEND_VM_OP1_FLAGS(flags)); in phpdbg_decode_opline()
|
/PHP-7.2/Zend/ |
H A D | zend_compile.c | 2478 opline->op1_type = IS_CONST; in zend_set_class_name_op1() 3344 opline->op1_type = IS_CONST; in zend_compile_dynamic_call() 3457 opline->op1_type = IS_CONST; in zend_compile_func_defined() 3551 opline->op1_type = IS_CONST; in zend_compile_init_user_func() 4184 opline->op1_type = IS_CONST; in zend_compile_new() 4276 opline->op1_type = IS_CV; in zend_compile_static_var_common() 5149 opline->op1_type = IS_CONST; in zend_compile_try() 5220 opline->op1_type = IS_TMP_VAR; in zend_compile_try() 5913 opline->op1_type = IS_CONST; in zend_begin_func_decl() 5918 opline->op1_type = IS_CONST; in zend_begin_func_decl() [all …]
|
H A D | zend.c | 501 EG(exception_op)[0].op1_type = IS_UNUSED; in zend_init_exception_op() 506 EG(exception_op)[1].op1_type = IS_UNUSED; in zend_init_exception_op() 511 EG(exception_op)[2].op1_type = IS_UNUSED; in zend_init_exception_op() 522 EG(call_trampoline_op).op1_type = IS_UNUSED; in zend_init_call_trampoline_op()
|
H A D | zend_compile.h | 41 (opline)->op1_type = IS_UNUSED; \ 151 zend_uchar op1_type; member
|
H A D | zend_opcode.c | 673 if (opline->op1_type == IS_CONST) { in pass_two() 675 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_vm_gen.php | 194 $op1_type = array( variable 685 global $op1_type, $op2_type, $op1_get_zval_ptr, $op2_get_zval_ptr, 759 $op1_type[$op1],
|
/PHP-7.2/ext/opcache/ |
H A D | zend_file_cache.c | 421 if (opline->op1_type == IS_CONST) { 1070 if (opline->op1_type == IS_CONST) {
|