Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/opcache/Optimizer/
H A Doptimize_func_calls.c36 (opline->op2_type == IS_CONST && \
243 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
260 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
275 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
288 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
303 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
320 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
H A Dcompact_literals.c187 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
195 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
233 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
242 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
269 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
285 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
304 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
316 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
532 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
581 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
[all …]
H A Dpass1.c55 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass1()
87 opline->op2_type == IS_CONST) { in zend_optimizer_pass1()
107 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass1()
175 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
203 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
229 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
259 ((opline - 1)->op2_type == IS_UNUSED && in zend_optimizer_pass1()
337 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1()
361 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
570 ((opline + 1)->op2_type != IS_CONST || in zend_optimizer_pass1()
[all …]
H A Dzend_dfg.c34 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op()
37 || (opline->op2_type == IS_CV)) { in _zend_dfg_add_use_def_op()
54 if ((build_flags & ZEND_SSA_RC_INFERENCE) && opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
63 if (opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
224 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
H A Dblock_pass.c183 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block()
389 opline->op2_type = IS_UNUSED; in zend_optimize_block()
408 opline->op2_type == IS_CONST) { in zend_optimize_block()
516 src->op2_type = tmp_type; in zend_optimize_block()
534 src->op2_type = tmp_type; in zend_optimize_block()
715 src->op2_type == IS_CONST) { in zend_optimize_block()
783 opline->op2_type = IS_UNUSED; in zend_optimize_block()
793 opline->op2_type = IS_UNUSED; in zend_optimize_block()
1005 if (op->op2_type == IS_CONST) { in assemble_code_blocks()
1616 if (opline->op2_type == IS_VAR) { in zend_t_usage()
[all …]
H A Ddfa_pass.c1099 op_array->opcodes[use].op2_type = IS_CV; in zend_dfa_try_to_replace_result()
1190 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1249 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1251 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1282 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1487 if ((opline->op2_type & (IS_TMP_VAR|IS_VAR)) in zend_dfa_optimize_op_array()
1584 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1609 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1611 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1620 && 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()
410 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
419 free_var_type = opline->op2_type; in dce_instr()
497 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
H A Dzend_optimizer.c242 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
251 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
325 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
521 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const()
663 if (opline->op2_type == type && in zend_optimizer_replace_by_const()
816 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
833 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
851 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func()
1049 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two()
1099 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Dzend_ssa.c208 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
215 } else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) { in find_adjusted_tmp_var()
224 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
315 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis()
317 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis()
333 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis()
528 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
556 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
584 if (opline->op2_type == IS_CV) { in _zend_ssa_rename_op()
749 if (opline->op2_type != IS_CV) { in _zend_ssa_rename_op()
[all …]
H A Descape_analysis.c210 if (opline->op2_type == IS_CONST in is_allocation_def()
214 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
357 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dzend_inference.c2111 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info()
2136 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info()
2774 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
2965 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info()
3043 && (opline->op2_type == IS_UNUSED in _zend_update_type_info()
3321 opline->op2_type == IS_UNUSED); in _zend_update_type_info()
4307 if (opline->op2_type == IS_CV) { in zend_may_throw_ex()
4368 return opline->op2_type == IS_CONST; in zend_may_throw_ex()
4528 if (opline->op2_type != IS_CONST) { in zend_may_throw_ex()
4616 if (opline->op2_type == IS_CV in zend_may_throw_ex()
[all …]
H A Doptimize_temp_vars_5.c142 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
H A Dzend_dump.c616 if (opline->op2_type == IS_CONST) { in zend_dump_op()
643 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
648 …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()
651 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
655 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
661 …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.c202 if (opline->op2_type == IS_CONST) { in get_op2_value()
326 opline->op2_type = IS_UNUSED; in try_replace_op1()
2312 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition()
2369 if (opline->op2_type == IS_UNUSED) { in try_remove_definition()
2395 if (opline->op2_type == IS_CONST) { in try_remove_definition()
2425 opline->op2_type = IS_CONST; in try_remove_definition()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c361 trace_buffer[idx].op2_type = _op2_type; \
557 uint8_t trace_flags, op1_type, op2_type, op3_type; local
619 op1_type = op2_type = op3_type = IS_UNKNOWN;
649 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)
666 && (opline->op2_type == IS_CV
672 op2_type = Z_TYPE_P(zv);
673 if (op2_type == IS_INDIRECT) {
675 op2_type = Z_TYPE_P(zv);
678 if (op2_type == IS_REFERENCE) {
680 op2_type = Z_TYPE_P(zv);
[all …]
H A Dzend_jit_x86.h293 OP_ADDR(opline, op2_type, op2)
306 OP_REG_ADDR(opline, op2_type, op2, op2_use)
315 OP_REG_ADDR(opline, op2_type, op2, op2_def)
H A Dzend_jit_trace.c1551 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa()
1560 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1637 if (opline->op2_type != IS_CONST in zend_jit_trace_build_tssa()
1777 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
3252 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this()
3976 uint8_t op2_type = p->op2_type; in zend_jit_trace() local
3979 uint8_t orig_op2_type = op2_type; in zend_jit_trace()
3992 op2_type = IS_UNKNOWN; in zend_jit_trace()
4781 if (opline->op2_type == IS_CV in zend_jit_trace()
6929 op2_type = p->op2_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_internal.h283 uint8_t op2_type;/* recorded zval op2_type for ZEND_JIT_TRACE_VM */
521 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
523 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_x86.dasc2009 | cmp byte OP:r0->op2_type, IS_CONST
2069 | cmp byte OP:r0->op2_type, IS_CONST
5049 && opline->op2_type != IS_CONST) {
6523 if (opline->op2_type == IS_UNUSED) {
8231 if (opline->op2_type != IS_CONST) {
8265 if (opline->op2_type != IS_CONST) {
8453 if (opline->op2_type == IS_CONST) {
9233 if (opline->op2_type == IS_CV) {
11982 && opline->op2_type == IS_CONST
15344 if (opline->op2_type == IS_CV) {
[all …]
H A Dzend_jit.c2402 && (opline+1)->op2_type != IS_CONST in zend_jit()
2460 && (opline+1)->op2_type != IS_CONST in zend_jit()
2593 if (opline->op2_type != IS_CONST in zend_jit()
2636 if (opline->op2_type != IS_CONST in zend_jit()
2680 if (opline->op2_type != IS_CONST in zend_jit()
2792 if (opline->op2_type == IS_CONST) { in zend_jit()
2806 if (opline->op2_type == IS_CONST) { in zend_jit()
2820 if (opline->op2_type == IS_CONST) { in zend_jit()
2843 if (opline->op2_type == IS_CONST) { in zend_jit()
3189 if (opline->op2_type != IS_CONST in zend_jit()
[all …]
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_opcode.c107 ops, opline, opline->op2, opline->op2_type, ZEND_VM_OP2_FLAGS(flags)); in phpdbg_decode_opline()
/PHP-8.0/Zend/
H A Dzend_opcode.c767 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range()
874 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges()
1088 if (opline->op2_type == IS_CONST) { in pass_two()
1090 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.h38 (opline)->op2_type = IS_UNUSED; \
151 zend_uchar op2_type; member

Completed in 118 milliseconds

12