Lines Matching refs:var
25 static inline zend_bool is_in_use_chain(zend_ssa *ssa, int var, int check) { in is_in_use_chain() argument
27 FOREACH_USE(&ssa->vars[var], use) { in is_in_use_chain()
35 static inline zend_bool is_in_phi_use_chain(zend_ssa *ssa, int var, zend_ssa_phi *check) { in is_in_phi_use_chain() argument
37 FOREACH_PHI_USE(&ssa->vars[var], phi) { in is_in_phi_use_chain()
105 (i), (ssa->vars[i].var < op_array->last_var ? "CV $" : "TMP"), \
106 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "")
119 zend_ssa_var *var = &ssa->vars[i]; in ssa_verify_integrity() local
123 if (var->definition < 0 && !var->definition_phi && i > op_array->last_var) { in ssa_verify_integrity()
124 if (var->use_chain >= 0) { in ssa_verify_integrity()
127 if (var->phi_use_chain) { in ssa_verify_integrity()
131 if (var->definition >= 0 && var->definition_phi) { in ssa_verify_integrity()
134 if (var->definition >= 0) { in ssa_verify_integrity()
135 if (!is_defined_by_op(ssa, var->definition, i)) { in ssa_verify_integrity()
137 VAR(i), INSTR(var->definition)); in ssa_verify_integrity()
140 if (var->definition_phi) { in ssa_verify_integrity()
141 if (var->definition_phi->ssa_var != i) { in ssa_verify_integrity()
147 FOREACH_USE(var, use) { in ssa_verify_integrity()
158 FOREACH_PHI_USE(var, phi) { in ssa_verify_integrity()
216 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_use].var) { in ssa_verify_integrity()
218 VAR(ssa_op->op1_use), VAR_NUM(opline->op1.var), INSTR(i)); in ssa_verify_integrity()
229 if (VAR_NUM(opline->op2.var) != ssa->vars[ssa_op->op2_use].var) { in ssa_verify_integrity()
231 VAR(ssa_op->op2_use), VAR_NUM(opline->op2.var), INSTR(i)); in ssa_verify_integrity()
242 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_use].var) { in ssa_verify_integrity()
244 VAR(ssa_op->result_use), VAR_NUM(opline->result.var), INSTR(i)); in ssa_verify_integrity()
255 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_def].var) { in ssa_verify_integrity()
257 VAR(ssa_op->op1_def), VAR_NUM(opline->op1.var), INSTR(i)); in ssa_verify_integrity()
268 if (VAR_NUM(opline->op2.var) != ssa->vars[ssa_op->op2_def].var) { in ssa_verify_integrity()
270 VAR(ssa_op->op2_def), VAR_NUM(opline->op2.var), INSTR(i)); in ssa_verify_integrity()
281 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_def].var) { in ssa_verify_integrity()
283 VAR(ssa_op->result_def), VAR_NUM(opline->result.var), INSTR(i)); in ssa_verify_integrity()
299 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity()