/PHP-8.0/ext/opcache/Optimizer/ |
H A D | compact_vars.c | 45 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 93 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
|
H A D | zend_cfg.h | 115 ((opline)->result_type != IS_UNUSED)
|
H A D | optimize_temp_vars_5.c | 68 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables() 152 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
|
H A D | dfa_pass.c | 894 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 908 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 922 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 948 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 964 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 1084 op_array->opcodes[def].result_type = IS_UNUSED; in zend_dfa_try_to_replace_result() 1106 op_array->opcodes[use].result_type = IS_CV; in zend_dfa_try_to_replace_result() 1369 op_array->opcodes[op_2].result_type = opline->result_type; in zend_dfa_optimize_op_array() 1523 op_array->opcodes[op_2].result_type = opline->op1_type; in zend_dfa_optimize_op_array() 1607 opline->result_type = opline->op1_type; in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_dump.c | 415 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 418 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op() 420 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 686 if (opline->result_type == IS_CONST) { in zend_dump_op() 689 } else if (opline->result_type & IS_SMART_BRANCH_JMPZ) { in zend_dump_op() 691 } else if (opline->result_type & IS_SMART_BRANCH_JMPNZ) { in zend_dump_op() 695 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 700 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op() 704 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 710 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op()
|
H A D | zend_optimizer.c | 912 if ((free_opline->result_type & (IS_TMP_VAR|IS_VAR)) && free_opline->result.var == var) { in zend_optimizer_get_loop_var_def() 1053 opline->result_type &= (IS_TMP_VAR|IS_VAR|IS_CV|IS_CONST); in zend_revert_pass_two() 1155 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two() 1161 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two() 1165 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two() 1216 …(opline->result_type == IS_UNUSED ? 0 : (RES_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF|MAY_BE_A… in zend_redo_pass_two_ex() 1278 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two_ex() 1284 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two_ex() 1288 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two_ex()
|
H A D | zend_dfg.c | 44 && opline->result_type == IS_CV in _zend_dfg_add_use_def_op() 239 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
|
H A D | block_pass.c | 281 src->result_type = IS_UNUSED; in zend_optimize_block() 300 src->result_type = IS_UNUSED; in zend_optimize_block() 922 if (opline->op1_type == opline->result_type && in zend_optimize_block() 928 opline->result_type == IS_TMP_VAR && in zend_optimize_block() 949 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block() 1632 if (opline->result_type == IS_VAR) { in zend_t_usage() 1635 } else if (opline->result_type == IS_TMP_VAR) { in zend_t_usage() 1696 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_t_usage() 1711 opline->result_type = IS_UNUSED; in zend_t_usage() 1720 opline->result_type = IS_UNUSED; in zend_t_usage()
|
H A D | pass1.c | 144 …if (zend_optimizer_replace_by_const(op_array, opline + 1, opline->result_type, opline->result.var,… in zend_optimizer_pass1() 362 opline->result_type = IS_UNUSED; in zend_optimizer_pass1() 568 (opline + 1)->op1_type == opline->result_type && in zend_optimizer_pass1()
|
H A D | zend_optimizer_internal.h | 41 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED)
|
H A D | sccp.c | 2263 opline->result_type = IS_UNUSED; in try_remove_definition() 2287 && (opline->result_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition() 2295 zend_uchar old_type = opline->result_type; in try_remove_definition() 2306 opline->result_type = old_type; in try_remove_definition() 2328 opline->result_type = IS_UNUSED; in try_remove_definition() 2386 opline->result_type = IS_UNUSED; in try_remove_definition()
|
H A D | escape_analysis.c | 357 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_disasm_x86.c | 513 opline.result_type = IS_UNUSED; in zend_jit_disasm_init() 518 opline.result_type = IS_VAR; in zend_jit_disasm_init() 523 opline.result_type = IS_UNUSED; in zend_jit_disasm_init() 528 opline.result_type = IS_VAR; in zend_jit_disasm_init() 533 opline.result_type = IS_UNUSED; in zend_jit_disasm_init() 538 opline.result_type = IS_VAR; in zend_jit_disasm_init()
|
H A D | zend_jit_x86.h | 295 OP_ADDR(opline, result_type, result) 308 OP_REG_ADDR(opline, result_type, result, result_def) 317 OP_REG_ADDR(opline, result_type, result, result_use)
|
H A D | zend_jit.c | 2348 if (opline->result_type == IS_CV in zend_jit() 2398 && opline->result_type == IS_TMP_VAR in zend_jit() 2413 if (opline->result_type == IS_CV in zend_jit() 2456 && opline->result_type == IS_TMP_VAR in zend_jit() 2471 if (opline->result_type == IS_CV in zend_jit() 2518 && opline->result_type == IS_TMP_VAR in zend_jit() 2745 && opline->result_type == IS_TMP_VAR in zend_jit() 2875 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2911 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2937 if ((opline->result_type & IS_TMP_VAR) in zend_jit() [all …]
|
H A D | zend_jit_trace.c | 1594 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 1628 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 3826 && (opline-1)->result_type == IS_VAR in zend_jit_trace() 4042 if (opline->result_type == IS_CV) { in zend_jit_trace() 4080 if (opline->result_type != IS_UNUSED in zend_jit_trace() 4105 && opline->result_type == IS_TMP_VAR in zend_jit_trace() 4144 if (opline->result_type == IS_CV) { in zend_jit_trace() 4185 && opline->result_type == IS_TMP_VAR in zend_jit_trace() 4226 if (opline->result_type == IS_CV) { in zend_jit_trace() 4276 && opline->result_type == IS_TMP_VAR in zend_jit_trace() [all …]
|
H A D | zend_jit_helpers.c | 24 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in undef_result_after_exception() 484 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 494 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 585 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 595 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 761 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_rw_helper() 856 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_w_helper() 2313 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec() 2963 && throw_op->result_type & (IS_TMP_VAR|IS_VAR) in zend_jit_exception_in_interrupt_handler_helper()
|
H A D | zend_jit_x86.dasc | 2132 | cmp byte OP:r0->result_type, IS_UNUSED 3661 if (opline->result_type == IS_VAR || opline->result_type == IS_TMP_VAR) { 3668 if (opline->result_type == IS_VAR || opline->result_type == IS_TMP_VAR) { 4123 if (opline->result_type != IS_UNUSED) { 4145 opline->result_type != IS_UNUSED) { 4150 if (opline->result_type != IS_UNUSED) { 4156 opline->result_type != IS_UNUSED) { 4182 opline->result_type != IS_UNUSED) { 4303 if (opline->result_type != IS_UNUSED) { 6458 if (opline->result_type == IS_UNUSED) { [all …]
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1086 zend_long result_type = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local 1091 &result_type, &ms_timeout)) { in PHP_METHOD() 1098 if (result_type == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD() 1099 result_type = dbh->default_fetch_type; in PHP_METHOD() 1102 …if (result_type != PDO_FETCH_BOTH && result_type != PDO_FETCH_ASSOC && result_type != PDO_FETCH_NU… in PHP_METHOD() 1142 if (result_type == PDO_FETCH_NUM || result_type == PDO_FETCH_BOTH) { in PHP_METHOD() 1149 if (result_type == PDO_FETCH_ASSOC || result_type == PDO_FETCH_BOTH) { in PHP_METHOD()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 118 decode[3] = phpdbg_decode_op(ops, opline, &opline->result, opline->result_type); in phpdbg_decode_opline() 121 decode[3] = phpdbg_decode_op(ops, opline, &opline->result, opline->result_type); in phpdbg_decode_opline()
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.c | 1846 result_type = PGSQL_ASSOC; in php_pgsql_fetch_hash() 1858 if (!(result_type & PGSQL_BOTH)) { in php_pgsql_fetch_hash() 1889 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash() 1892 if (result_type & PGSQL_ASSOC) { in php_pgsql_fetch_hash() 1901 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash() 1905 if (result_type & PGSQL_ASSOC) { in php_pgsql_fetch_hash() 2011 if (!(result_type & PGSQL_BOTH)) { in PHP_FUNCTION() 4052 if (!(result_type & PGSQL_BOTH)) { in PHP_FUNCTION() 4064 if (result_type & PGSQL_NUM) { in PHP_FUNCTION() 4072 if (result_type & PGSQL_ASSOC) { in PHP_FUNCTION() [all …]
|
/PHP-8.0/Zend/ |
H A D | zend_opcode.c | 839 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges() 1046 if (call->result_type == IS_UNUSED) { in pass_two() 1047 opline->result_type = IS_UNUSED; in pass_two() 1093 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.c | 727 opline->result_type = IS_UNUSED; in zend_do_free() 743 opline->result_type = IS_UNUSED; in zend_do_free() 756 if (opline->result_type == IS_VAR in zend_do_free() 760 opline->result_type = IS_UNUSED; in zend_do_free() 762 opline->result_type = IS_UNUSED; in zend_do_free() 773 if (opline->result_type == IS_VAR in zend_do_free() 2007 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2017 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2034 opline->result_type = IS_VAR; in zend_make_var_result() 2042 opline->result_type = IS_TMP_VAR; in zend_make_tmp_result() [all …]
|
H A D | zend.h | 54 (EX(prev_execute_data)->opline->result_type != IS_UNUSED))
|
H A D | zend_compile.h | 39 (opline)->result_type = IS_UNUSED; \ 152 zend_uchar result_type; member
|