Lines Matching refs:ssa_vars
79 zend_ssa_var *ssa_vars = ssa->vars; in zend_build_equi_escape_sets() local
93 if (ssa_vars[i].definition_phi) { in zend_build_equi_escape_sets()
94 p = ssa_vars[i].definition_phi; in zend_build_equi_escape_sets()
102 } else if (ssa_vars[i].definition >= 0) { in zend_build_equi_escape_sets()
103 int def = ssa_vars[i].definition; in zend_build_equi_escape_sets()
387 zend_ssa_var *ssa_vars = ssa->vars; in zend_ssa_escape_analysis() local
395 if (!ssa_vars) { in zend_ssa_escape_analysis()
401 if (ssa_vars[i].definition >= 0 in zend_ssa_escape_analysis()
403 && is_allocation_def(op_array, ssa, ssa_vars[i].definition, i, script)) { in zend_ssa_escape_analysis()
427 if (ssa_vars[root].escape_state > ESCAPE_STATE_NO_ESCAPE) { in zend_ssa_escape_analysis()
429 } else if (ssa_vars[i].alias && (ssa->var_info[i].type & MAY_BE_REF)) { in zend_ssa_escape_analysis()
430 if (ssa_vars[root].escape_state == ESCAPE_STATE_NO_ESCAPE) { in zend_ssa_escape_analysis()
433 ssa_vars[root].escape_state = ESCAPE_STATE_GLOBAL_ESCAPE; in zend_ssa_escape_analysis()
434 } else if (ssa_vars[i].definition >= 0 in zend_ssa_escape_analysis()
436 if (!is_local_def(op_array, ssa, ssa_vars[i].definition, i, script)) { in zend_ssa_escape_analysis()
437 if (ssa_vars[root].escape_state == ESCAPE_STATE_NO_ESCAPE) { in zend_ssa_escape_analysis()
440 ssa_vars[root].escape_state = ESCAPE_STATE_GLOBAL_ESCAPE; in zend_ssa_escape_analysis()
441 } else if (ssa_vars[root].escape_state == ESCAPE_STATE_UNKNOWN in zend_ssa_escape_analysis()
442 && is_allocation_def(op_array, ssa, ssa_vars[i].definition, i, script)) { in zend_ssa_escape_analysis()
443 ssa_vars[root].escape_state = ESCAPE_STATE_NO_ESCAPE; in zend_ssa_escape_analysis()
452 if (ssa_vars[i].use_chain >= 0) { in zend_ssa_escape_analysis()
454 if (ssa_vars[root].escape_state == ESCAPE_STATE_NO_ESCAPE) { in zend_ssa_escape_analysis()
455 FOREACH_USE(ssa_vars + i, use) { in zend_ssa_escape_analysis()
457 ssa_vars[root].escape_state = ESCAPE_STATE_GLOBAL_ESCAPE; in zend_ssa_escape_analysis()
477 if (ssa_vars[i].use_chain >= 0) { in zend_ssa_escape_analysis()
479 if (ssa_vars[root].escape_state == ESCAPE_STATE_NO_ESCAPE) { in zend_ssa_escape_analysis()
480 FOREACH_USE(ssa_vars + i, use) { in zend_ssa_escape_analysis()
501 if (ssa_vars[enclosing_root].escape_state == ESCAPE_STATE_UNKNOWN || in zend_ssa_escape_analysis()
502 ssa_vars[enclosing_root].escape_state > ssa_vars[root].escape_state) { in zend_ssa_escape_analysis()
503 if (ssa_vars[enclosing_root].escape_state == ESCAPE_STATE_UNKNOWN) { in zend_ssa_escape_analysis()
504 ssa_vars[root].escape_state = ESCAPE_STATE_GLOBAL_ESCAPE; in zend_ssa_escape_analysis()
506 ssa_vars[root].escape_state = ssa_vars[enclosing_root].escape_state; in zend_ssa_escape_analysis()
508 if (ssa_vars[root].escape_state == ESCAPE_STATE_GLOBAL_ESCAPE) { in zend_ssa_escape_analysis()
531 ssa_vars[i].escape_state = ssa_vars[root].escape_state; in zend_ssa_escape_analysis()