Home
last modified time | relevance | path

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

12

/php-src/Zend/
H A Dzend_verify_type_inference.h143 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use()
144 …inference(EX_VAR(opline->result.var), opline->result_use_type, opline->result_type, execute_data, … in zend_verify_inference_use()
174 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
191 …inference(EX_VAR(opline->result.var), opline->result_def_type, opline->result_type, execute_data, … in zend_verify_inference_def()
200 …ev_execute_data, opline->result.var), opline->result_def_type, opline->result_type, prev_execute_d… in zend_verify_inference_def()
H A Dzend_opcode.c943 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges()
1150 if (call->result_type == IS_UNUSED) { in pass_two()
1151 opline->result_type = IS_UNUSED; in pass_two()
1197 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.c807 if (opline->result_type == IS_VAR in zend_do_free()
830 if (opline->result_type == IS_VAR in zend_do_free()
2241 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type()
2251 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type()
2268 opline->result_type = IS_VAR; in zend_make_var_result()
2276 opline->result_type = IS_TMP_VAR; in zend_make_tmp_result()
3008 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var()
3016 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var()
3036 opline->result_type = IS_VAR; in zend_separate_if_call_and_write()
3488 opline->result_type = IS_TMP_VAR; in zend_compile_assign()
[all …]
H A Dzend.h55 (EX(prev_execute_data)->opline->result_type != IS_UNUSED))
/php-src/Zend/Optimizer/
H A Dcompact_vars.c45 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 Doptimize_temp_vars_5.c68 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
148 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
H A Ddfa_pass.c860 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps()
874 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps()
888 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps()
914 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps()
930 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps()
1059 op_array->opcodes[def].result_type = IS_UNUSED; in zend_dfa_try_to_replace_result()
1081 op_array->opcodes[use].result_type = IS_CV; in zend_dfa_try_to_replace_result()
1405 op_array->opcodes[op_2].result_type = opline->result_type; in zend_dfa_optimize_op_array()
1559 op_array->opcodes[op_2].result_type = opline->op1_type; in zend_dfa_optimize_op_array()
1642 opline->result_type = opline->op1_type; in zend_dfa_optimize_op_array()
[all …]
H A Dzend_cfg.h114 ((opline)->result_type != IS_UNUSED)
H A Dzend_dump.c449 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
452 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op()
454 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op()
728 if (opline->result_type == IS_CONST) { in zend_dump_op()
731 } else if (opline->result_type & IS_SMART_BRANCH_JMPZ) { in zend_dump_op()
733 } else if (opline->result_type & IS_SMART_BRANCH_JMPNZ) { in zend_dump_op()
737 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
742 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op()
746 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op()
752 …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 Dpass1.c50 …if (zend_optimizer_replace_by_const(op_array, opline + 1, opline->result_type, opline->result.var,… in replace_by_const_or_qm_assign()
239 opline->result_type = IS_UNUSED; in zend_optimizer_pass1()
H A Dblock_pass.c307 src->result_type = IS_UNUSED; in zend_optimize_block()
326 src->result_type = IS_UNUSED; in zend_optimize_block()
900 if (opline->op1_type == opline->result_type && in zend_optimize_block()
906 opline->result_type == IS_TMP_VAR && in zend_optimize_block()
927 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block()
1469 if (opline->result_type == IS_VAR) { in zend_t_usage()
1472 } else if (opline->result_type == IS_TMP_VAR) { in zend_t_usage()
1533 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_t_usage()
1548 opline->result_type = IS_UNUSED; in zend_t_usage()
1557 opline->result_type = IS_UNUSED; in zend_t_usage()
H A Dzend_dfg.c43 && opline->result_type == IS_CV in _zend_dfg_add_use_def_op()
240 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
H A Dzend_optimizer.c1060 if ((free_opline->result_type & (IS_TMP_VAR|IS_VAR)) && free_opline->result.var == var) { in zend_optimizer_get_loop_var_def()
1201 opline->result_type &= (IS_TMP_VAR|IS_VAR|IS_CV|IS_CONST); in zend_revert_pass_two()
1302 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two()
1308 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two()
1312 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two()
1363 …(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()
1424 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two_ex()
1430 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two_ex()
1434 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two_ex()
H A Dzend_optimizer_internal.h43 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED)
H A Dsccp.c2137 opline->result_type = IS_UNUSED; in try_remove_definition()
2168 opline->result_type = IS_UNUSED; in try_remove_definition()
2192 && (opline->result_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition()
2201 uint8_t old_type = opline->result_type; in try_remove_definition()
2218 opline->result_type = old_type; in try_remove_definition()
2240 opline->result_type = IS_UNUSED; in try_remove_definition()
2308 opline->result_type = IS_UNUSED; in try_remove_definition()
H A Descape_analysis.c354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dssa_integrity.c228 if (is_var_type(opline->result_type)) { in ssa_verify_integrity()
H A Ddce.c379 def_opline->result_type = IS_UNUSED; in try_remove_var_def()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c1183 zend_long result_type = PDO_FETCH_USE_DEFAULT; in pgsqlGetNotify_internal() local
1188 &result_type, &ms_timeout)) { in pgsqlGetNotify_internal()
1195 if (result_type == PDO_FETCH_USE_DEFAULT) { in pgsqlGetNotify_internal()
1196 result_type = dbh->default_fetch_type; in pgsqlGetNotify_internal()
1199 …if (result_type != PDO_FETCH_BOTH && result_type != PDO_FETCH_ASSOC && result_type != PDO_FETCH_NU… in pgsqlGetNotify_internal()
1239 if (result_type == PDO_FETCH_NUM || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal()
1246 if (result_type == PDO_FETCH_ASSOC || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal()
/php-src/ext/pgsql/
H A Dpgsql.c1989 result_type = PGSQL_ASSOC; in php_pgsql_fetch_hash()
1995 Z_PARAM_LONG(result_type) in php_pgsql_fetch_hash()
2004 if (!(result_type & PGSQL_BOTH)) { in php_pgsql_fetch_hash()
2033 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash()
2045 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash()
2127 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4302 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4334 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4353 if (result_type & PGSQL_NUM) { in PHP_FUNCTION()
4361 if (result_type & PGSQL_ASSOC) { in PHP_FUNCTION()
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c491 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
501 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
551 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
561 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
633 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
643 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
693 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
703 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
875 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_rw_helper()
2597 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec()
[all …]
H A Dzend_jit.c1375 if (opline->result_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1627 if (opline->result_type == IS_CV in zend_jit()
1685 if (opline->result_type == IS_CV in zend_jit()
1739 if (opline->result_type == IS_CV in zend_jit()
2164 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2200 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2232 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2255 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2314 if (opline->result_type == IS_UNDEF) { in zend_jit()
2332 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
[all …]
H A Dzend_jit_trace.c1848 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa()
1901 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa()
2650 if (opline->result_type != IS_UNDEF) { in zend_jit_trace_build_tssa()
3897 if (opline->result_type == IS_TMP_VAR in zend_jit_trace_next_is_send_result()
4431 if (opline->result_type == IS_CV) { in zend_jit_trace()
4468 if (opline->result_type != IS_UNUSED in zend_jit_trace()
4504 if (opline->result_type == IS_CV) { in zend_jit_trace()
4576 if (opline->result_type == IS_CV) { in zend_jit_trace()
5204 if (opline->result_type == IS_CV) { in zend_jit_trace()
6623 || opline->result_type != IS_CV in zend_jit_trace()
[all …]
H A Dzend_jit_internal.h90 OP_ADDR(opline, result_type, result)
99 OP_REG_ADDR(opline, ssa_op, result_type, result, result_def)
108 OP_REG_ADDR(opline, ssa_op, result_type, result, result_use)
H A Dzend_jit_ir.c1947 ir_ref ref, result_type, if_result_used; in zend_jit_exception_handler_undef_stub() local
1950 result_type = ir_LOAD_U8(ir_ADD_OFFSET(ir_LOAD_A(ref), offsetof(zend_op, result_type))); in zend_jit_exception_handler_undef_stub()
2950 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2955 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2960 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2965 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2970 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2975 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
5081 if (opline->result_type != IS_UNUSED) { in zend_jit_inc_dec()
17194 if (opline->result_type == IS_VAR || opline->result_type == IS_TMP_VAR) {
[all …]

Completed in 288 milliseconds

12