Home
last modified time | relevance | path

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

12

/php-src/Zend/Optimizer/
H A Dcompact_literals.c188 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
196 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
214 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()
254 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
273 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
285 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
496 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
545 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals()
[all …]
H A Dpass1.c41 if (opline->op2_type == IS_CONST) { in replace_by_const_or_qm_assign()
69 if (opline->op2_type == IS_CONST && Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass1()
94 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1()
101 if (opline->extended_value == ZEND_CONCAT && opline->op2_type == IS_CONST in zend_optimizer_pass1()
123 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
143 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1()
211 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1()
232 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
H A Doptimize_func_calls.c254 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
270 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
282 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
296 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
305 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
320 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
338 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
H A Dblock_pass.c192 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block()
415 opline->op2_type = IS_UNUSED; in zend_optimize_block()
542 src->op2_type = tmp_type; in zend_optimize_block()
560 src->op2_type = tmp_type; in zend_optimize_block()
694 src->op2_type == IS_CONST) { in zend_optimize_block()
762 opline->op2_type = IS_UNUSED; in zend_optimize_block()
772 opline->op2_type = IS_UNUSED; in zend_optimize_block()
975 if (op->op2_type == IS_CONST) { in assemble_code_blocks()
1455 if (opline->op2_type == IS_VAR) { in zend_t_usage()
1590 if (opline->op2_type == IS_VAR) { in zend_t_usage()
[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()
225 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
H A Ddfa_pass.c1152 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1211 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1213 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1233 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1262 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1278 opline->op2_type = opline->op1_type; in zend_dfa_optimize_op_array()
1606 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
1631 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
1633 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
1642 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
[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()
190 if (opline->op2_type != IS_CONST in may_have_side_effects()
255 if ((opline->extended_value & ZEND_BIND_REF) && opline->op2_type != IS_UNUSED) { in may_have_side_effects()
436 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
445 free_var_type = opline->op2_type; in dce_instr()
523 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
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()
313 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis()
315 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis()
331 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis()
526 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
551 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
579 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 Dzend_optimizer.c336 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
345 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const()
423 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
614 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const()
696 if (opline->op2_type == type && in zend_optimizer_replace_by_const()
916 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
933 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func()
951 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func()
1152 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two()
1206 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Descape_analysis.c200 if (opline->op2_type == IS_CONST in is_allocation_def()
204 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def()
354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dzend_inference.c2442 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info()
2467 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info()
3151 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3346 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info()
3446 && (opline->op2_type == IS_UNUSED in _zend_update_type_info()
3508 if (opline->op2_type == IS_CV) { in _zend_update_type_info()
3516 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3531 if (opline->op2_type != IS_CV) { in _zend_update_type_info()
3745 opline->op2_type == IS_UNUSED); in _zend_update_type_info()
4982 if (opline->op2_type == IS_CV) { in zend_may_throw_ex()
[all …]
H A Doptimize_temp_vars_5.c138 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
H A Dzend_dump.c658 if (opline->op2_type == IS_CONST) { in zend_dump_op()
685 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
690 …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()
693 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
697 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
703 …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.c146 if (opline->op2_type == IS_CONST) { in zend_analyze_calls()
H A Dsccp.c200 if (opline->op2_type == IS_CONST) { in get_op2_value()
2224 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition()
2291 if (opline->op2_type == IS_UNUSED) { in try_remove_definition()
2317 if (opline->op2_type == IS_CONST) { in try_remove_definition()
2347 opline->op2_type = IS_CONST; in try_remove_definition()
/php-src/Zend/
H A Dzend_verify_type_inference.h139 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use()
140 …zend_verify_type_inference(EX_VAR(opline->op2.var), opline->op2_use_type, opline->op2_type, execut… in zend_verify_inference_use()
167 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
171 …zend_verify_type_inference(EX_VAR(opline->op2.var), opline->op2_def_type, opline->op2_type, execut… in zend_verify_inference_def()
H A Dzend_opcode.c861 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range()
968 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges()
1182 if (opline->op2_type == IS_CONST) { in pass_two()
1184 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.c3165 opline->op2_type = IS_CONST; in zend_compile_static_prop()
4178 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func()
4679 opline->op2_type = IS_CONST; in zend_compile_ns_call()
4914 opline->op2_type = IS_CONST; in zend_compile_method_call()
5000 opline->op2_type = IS_CONST; in zend_compile_static_call()
5757 opline->op2_type = IS_VAR; in zend_compile_foreach()
7454 opline->op2_type = IS_CV; in zend_compile_closure_binding()
7557 opline->op2_type = IS_CV; in compile_implicit_lexical_binds()
8446 opline->op2_type = IS_CONST; in zend_compile_class_decl()
9799 opline->op2_type = IS_CONST; in zend_compile_instanceof()
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c203 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_long_key()
220 if (opline->op2_type == IS_CONST) { in zend_jit_undefined_string_key()
713 && (opline->op2_type == IS_CV
719 op2_type = Z_TYPE_P(zv);
720 if (op2_type == IS_INDIRECT) {
722 op2_type = Z_TYPE_P(zv);
725 if (op2_type == IS_REFERENCE) {
727 op2_type = Z_TYPE_P(zv);
733 op2_type |= flags;
790 && opline->op2_type != IS_UNDEF) {
[all …]
H A Dzend_jit_internal.h88 OP_ADDR(opline, op2_type, op2)
97 OP_REG_ADDR(opline, op2_type, op2, op2_use)
106 OP_REG_ADDR(opline, op2_type, op2, op2_def)
392 uint8_t op2_type;/* recorded zval op2_type for ZEND_JIT_TRACE_VM */
701 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
703 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_trace.c1727 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa()
1736 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
1805 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
2000 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
2194 if (op2_type == IS_STRING) { in zend_jit_trace_build_tssa()
2287 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa()
3376 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this()
4273 uint8_t op2_type = p->op2_type; in zend_jit_trace() local
4291 op2_type = IS_UNKNOWN; in zend_jit_trace()
7619 op2_type = p->op2_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_ir.c7145 if (opline->op2_type != IS_CONST) { in zend_jit_identical()
8337 if (opline->op2_type == IS_CV) {
11234 if (opline->op2_type == IS_CONST) {
11250 if (opline->op2_type == IS_CV) {
11749 if (opline->op2_type != IS_CONST) {
11780 if (opline->op2_type != IS_CONST) {
11832 if (opline->op2_type != IS_CONST) {
12448 if (opline->op2_type == IS_UNUSED) {
12819 if (opline->op2_type == IS_UNUSED) {
12966 if (opline->op2_type == IS_UNUSED) {
[all …]
H A Dzend_jit.c514 && opline->op2_type == IS_CONST in zend_jit_may_avoid_refcounting()
1228 && (opline+1)->op2_type != IS_CONST in zend_jit_next_is_send_result()
1714 if (opline->op2_type != IS_CONST in zend_jit()
1758 if (opline->op2_type != IS_CONST in zend_jit()
1803 if (opline->op2_type != IS_CONST in zend_jit()
1914 if (opline->op2_type == IS_CONST) { in zend_jit()
1928 if (opline->op2_type == IS_CONST) { in zend_jit()
1942 if (opline->op2_type == IS_CONST) { in zend_jit()
1965 if (opline->op2_type == IS_CONST) { in zend_jit()
2275 if (opline->op2_type != IS_CONST in zend_jit()
[all …]
/php-src/ext/opcache/
H A Dzend_file_cache.c532 if (opline->op2_type == IS_CONST) {
539 if (opline->op2_type == IS_CONST) {
1384 if (opline->op2_type == IS_CONST) {
1391 if (opline->op2_type == IS_CONST) {

Completed in 199 milliseconds

12