Lines Matching refs:vars
201 if (ssa->vars[j].definition >= 0) { in zend_ssa_remove_nops()
202 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops()
204 if (ssa->vars[j].use_chain >= 0) { in zend_ssa_remove_nops()
205 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops()
376 && zend_may_throw(opline, &ssa->ops[ssa->vars[src_var].definition], op_array, ssa)) { in opline_supports_assign_contraction()
387 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range()
388 (ssa_op->op2_def >= 0 && ssa->vars[ssa_op->op2_def].var == var) || in variable_defined_or_used_in_range()
389 (ssa_op->result_def >= 0 && ssa->vars[ssa_op->result_def].var == var) || in variable_defined_or_used_in_range()
390 (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].var == var) || in variable_defined_or_used_in_range()
391 (ssa_op->op2_use >= 0 && ssa->vars[ssa_op->op2_use].var == var) || in variable_defined_or_used_in_range()
392 (ssa_op->result_use >= 0 && ssa->vars[ssa_op->result_use].var == var) in variable_defined_or_used_in_range()
480 zend_ssa_var *var = ssa->vars + var_num; in zend_dfa_optimize_calls()
514 int use = ssa->vars[var].use_chain; in zend_dfa_optimize_calls()
519 if (ssa->vars[var].phi_use_chain == NULL in zend_dfa_optimize_calls()
857 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
858 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
871 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
872 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
885 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
886 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
903 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_dfa_optimize_jmps()
925 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_dfa_optimize_jmps()
1024 uint32_t cv = EX_NUM_TO_VAR(ssa->vars[cv_var].var); in zend_dfa_try_to_replace_result()
1028 && ssa->vars[cv_var].alias == NO_ALIAS in zend_dfa_try_to_replace_result()
1029 && ssa->vars[result_var].phi_use_chain == NULL in zend_dfa_try_to_replace_result()
1030 && ssa->vars[result_var].sym_use_chain == NULL) { in zend_dfa_try_to_replace_result()
1031 int use = ssa->vars[result_var].use_chain; in zend_dfa_try_to_replace_result()
1055 ssa->vars[result_var].definition = -1; in zend_dfa_try_to_replace_result()
1056 ssa->vars[result_var].use_chain = -1; in zend_dfa_try_to_replace_result()
1064 ssa->ops[use].op1_use_chain = ssa->vars[cv_var].use_chain; in zend_dfa_try_to_replace_result()
1065 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result()
1071 ssa->ops[use].op2_use_chain = ssa->vars[cv_var].use_chain; in zend_dfa_try_to_replace_result()
1072 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result()
1078 ssa->ops[use].res_use_chain = ssa->vars[cv_var].use_chain; in zend_dfa_try_to_replace_result()
1079 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result()
1153 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array()
1308 int ret = ssa->vars[v].use_chain; in zend_dfa_optimize_op_array()
1319 ssa->ops[ret].op1_use_chain = ssa->vars[orig_var].use_chain; in zend_dfa_optimize_op_array()
1320 ssa->vars[orig_var].use_chain = ret; in zend_dfa_optimize_op_array()
1323 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array()
1324 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array()
1343 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array()
1344 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array()
1366 && ssa->vars[src_var].definition >= 0 in zend_dfa_optimize_op_array()
1367 && ssa->ops[ssa->vars[src_var].definition].result_def == src_var in zend_dfa_optimize_op_array()
1368 && ssa->ops[ssa->vars[src_var].definition].result_use < 0 in zend_dfa_optimize_op_array()
1369 && ssa->vars[src_var].use_chain == op_1 in zend_dfa_optimize_op_array()
1371 && !ssa->vars[src_var].phi_use_chain in zend_dfa_optimize_op_array()
1372 && !ssa->vars[src_var].sym_use_chain in zend_dfa_optimize_op_array()
1374 op_array, ssa, &op_array->opcodes[ssa->vars[src_var].definition], in zend_dfa_optimize_op_array()
1377 ssa->vars[src_var].definition+1, op_1) in zend_dfa_optimize_op_array()
1381 int op_2 = ssa->vars[src_var].definition; in zend_dfa_optimize_op_array()
1391 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array()
1394 ssa->vars[src_var].definition = -1; in zend_dfa_optimize_op_array()
1395 ssa->vars[src_var].use_chain = -1; in zend_dfa_optimize_op_array()
1468 if (ssa->vars[v].var >= op_array->last_var) { in zend_dfa_optimize_op_array()
1485 int use = ssa->vars[result_var].use_chain; in zend_dfa_optimize_op_array()
1499 int use = ssa->vars[result_var].use_chain; in zend_dfa_optimize_op_array()
1526 && ssa->vars[src_var].definition >= 0 in zend_dfa_optimize_op_array()
1527 && ssa->ops[ssa->vars[src_var].definition].result_def == src_var in zend_dfa_optimize_op_array()
1528 && ssa->ops[ssa->vars[src_var].definition].result_use < 0 in zend_dfa_optimize_op_array()
1529 && ssa->vars[src_var].use_chain == op_1 in zend_dfa_optimize_op_array()
1531 && !ssa->vars[src_var].phi_use_chain in zend_dfa_optimize_op_array()
1532 && !ssa->vars[src_var].sym_use_chain in zend_dfa_optimize_op_array()
1534 op_array, ssa, &op_array->opcodes[ssa->vars[src_var].definition], in zend_dfa_optimize_op_array()
1537 ssa->vars[src_var].definition+1, op_1) in zend_dfa_optimize_op_array()
1540 int op_2 = ssa->vars[src_var].definition; in zend_dfa_optimize_op_array()
1547 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array()
1550 ssa->vars[src_var].definition = -1; in zend_dfa_optimize_op_array()
1551 ssa->vars[src_var].use_chain = -1; in zend_dfa_optimize_op_array()