Home
last modified time | relevance | path

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

12

/PHP-8.1/Zend/Optimizer/
H A Dcompact_literals.c186 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
194 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
232 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
241 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
268 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
281 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
300 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
312 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
523 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
572 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
[all …]
H A Doptimize_func_calls.c35 (opline->op2_type == IS_CONST && \
271 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
287 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
302 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
316 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
325 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
340 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
358 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
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->extended_value == ZEND_CONCAT && opline->op2_type == IS_CONST in zend_optimizer_pass1()
151 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
179 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
205 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
231 ((opline - 1)->op2_type == IS_UNUSED && in zend_optimizer_pass1()
309 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1()
332 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
541 ((opline + 1)->op2_type != IS_CONST || in zend_optimizer_pass1()
[all …]
H A Dzend_dfg.c33 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()
223 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
H A Ddfa_pass.c1212 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1271 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1273 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1293 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1322 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1338 opline->op2_type = opline->op1_type; in zend_dfa_optimize_op_array()
1644 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1669 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1671 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1680 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Dblock_pass.c192 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block()
408 opline->op2_type = IS_UNUSED; in zend_optimize_block()
535 src->op2_type = tmp_type; in zend_optimize_block()
553 src->op2_type = tmp_type; in zend_optimize_block()
734 src->op2_type == IS_CONST) { in zend_optimize_block()
802 opline->op2_type = IS_UNUSED; in zend_optimize_block()
812 opline->op2_type = IS_UNUSED; in zend_optimize_block()
1016 if (op->op2_type == IS_CONST) { in assemble_code_blocks()
1627 if (opline->op2_type == IS_VAR) { in zend_t_usage()
1773 if (opline->op2_type == IS_VAR) { in zend_t_usage()
[all …]
H A Dcompact_vars.c41 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
89 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()
185 if (opline->op2_type != IS_CONST in may_have_side_effects()
437 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
446 free_var_type = opline->op2_type; in dce_instr()
524 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
H A Dzend_optimizer.c239 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
248 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
329 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
525 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const()
633 if (opline->op2_type == type && in zend_optimizer_replace_by_const()
788 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
805 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
823 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func()
1021 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two()
1071 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Dzend_ssa.c207 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()
314 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis()
316 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis()
332 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis()
527 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
552 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
580 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 Descape_analysis.c194 if (opline->op2_type == IS_CONST in is_allocation_def()
198 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
342 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dzend_inference.c2416 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info()
2441 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info()
3080 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3271 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info()
3352 && (opline->op2_type == IS_UNUSED in _zend_update_type_info()
3414 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3422 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3437 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3645 opline->op2_type == IS_UNUSED); in _zend_update_type_info()
4797 if (opline->op2_type == IS_CV) { in zend_may_throw_ex()
[all …]
H A Dzend_dump.c635 if (opline->op2_type == IS_CONST) { in zend_dump_op()
662 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
667 …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()
670 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
674 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
680 …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 Doptimize_temp_vars_5.c141 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
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()
2293 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition()
2355 if (opline->op2_type == IS_UNUSED) { in try_remove_definition()
2381 if (opline->op2_type == IS_CONST) { in try_remove_definition()
2411 opline->op2_type = IS_CONST; in try_remove_definition()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c371 trace_buffer[idx].op2_type = _op2_type; \
671 && (opline->op2_type == IS_CV
677 op2_type = Z_TYPE_P(zv);
678 if (op2_type == IS_INDIRECT) {
680 op2_type = Z_TYPE_P(zv);
683 if (op2_type == IS_REFERENCE) {
685 op2_type = Z_TYPE_P(zv);
691 op2_type |= flags;
748 && opline->op2_type != IS_UNDEF) {
752 if (opline->op2_type == IS_CONST) {
[all …]
H A Dzend_jit_internal.h184 OP_ADDR(opline, op2_type, op2)
197 OP_REG_ADDR(opline, op2_type, op2, op2_use)
206 OP_REG_ADDR(opline, op2_type, op2, op2_def)
486 uint8_t op2_type;/* recorded zval op2_type for ZEND_JIT_TRACE_VM */
754 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
756 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_trace.c1663 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa()
1672 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1741 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
1918 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
2112 if (op2_type == IS_STRING) { in zend_jit_trace_build_tssa()
2205 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
3520 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this()
4280 uint8_t op2_type = p->op2_type; in zend_jit_trace() local
4298 op2_type = IS_UNKNOWN; in zend_jit_trace()
7384 op2_type = p->op2_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_x86.dasc1965 | cmp byte OP:r0->op2_type, IS_CONST
2025 | cmp byte OP:r0->op2_type, IS_CONST
5152 && opline->op2_type != IS_CONST) {
8319 if (opline->op2_type != IS_CONST) {
8352 if (opline->op2_type != IS_CONST) {
8554 if (opline->op2_type == IS_CONST) {
9339 if (opline->op2_type == IS_CV) {
15624 if (opline->op2_type == IS_CV) {
15776 if (opline->op2_type == IS_CONST) {
15790 if (opline->op2_type == IS_CV) {
[all …]
H A Dzend_jit_arm64.dasc1868 | ldrb TMP1w, OP:RX->op2_type
1886 | ldrb TMP1w, OP:RX->op2_type
2038 | ldrb REG1w, OP:REG0->op2_type
2087 | ldrb REG1w, OP:REG0->op2_type
4695 && opline->op2_type != IS_CONST) {
7702 if (opline->op2_type != IS_CONST) {
7735 if (opline->op2_type != IS_CONST) {
8715 if (opline->op2_type == IS_CV) {
14673 if (opline->op2_type == IS_CV) {
14822 if (opline->op2_type == IS_CONST) {
[all …]
/PHP-8.1/Zend/
H A Dzend_opcode.c832 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range()
939 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges()
1153 if (opline->op2_type == IS_CONST) { in pass_two()
1155 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.h38 (opline)->op2_type = IS_UNUSED; \
142 zend_uchar op2_type; member
H A Dzend_execute.c1643 if (opline->op2_type == IS_VAR && opline->op2.var == var) { in zend_wrong_string_offset_error()
2254 if (opline->op2_type == IS_UNUSED) { in zend_binary_assign_op_dim_slow()
3287 zend_uchar op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3289 if (EXPECTED(op2_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3305 if (EXPECTED(op2_type == IS_UNUSED)) { in zend_fetch_static_property_address_ex()
3364 …if (opline->op1_type == IS_CONST && (opline->op2_type == IS_CONST || (opline->op2_type == IS_UNUSE… in zend_fetch_static_property_address()
4171 if (opline->op2_type != IS_CONST) { in zend_unfinished_calls_gc()
4304 if (opline->op2_type != IS_CONST) { in cleanup_unfinished_calls()
4549 op->op1_type = op->op2_type; in zend_swap_operands()
4551 op->op2_type = tmp_type; in zend_swap_operands()
H A Dzend_compile.c3011 opline->op2_type = IS_CONST; in zend_compile_static_prop()
3784 opline->op2_type = IS_CONST; in zend_compile_ns_call()
4013 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func()
4597 opline->op2_type = IS_CONST; in zend_compile_method_call()
4683 opline->op2_type = IS_CONST; in zend_compile_static_call()
5397 opline->op2_type = IS_VAR; in zend_compile_foreach()
6936 opline->op2_type = IS_CV; in zend_compile_closure_binding()
7039 opline->op2_type = IS_CV; in compile_implicit_lexical_binds()
7863 opline->op2_type = IS_CONST; in zend_compile_class_decl()
9253 opline->op2_type = IS_CONST; in zend_compile_instanceof()
[all …]

Completed in 182 milliseconds

12