Lines Matching refs:var
67 int var; /* Original CV, VAR or TMP variable index */ member
109 …int var; /* original var number; op.var for CVs and following number… member
150 …_op *opline, uint32_t k, uint32_t build_flags, int ssa_vars_count, zend_ssa_op *ssa_ops, int *var);
151 void zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var);
152 void zend_ssa_replace_use_chain(zend_ssa *ssa, int op, int new_op, int var);
163 static zend_always_inline void _zend_ssa_remove_def(zend_ssa_var *var) in _zend_ssa_remove_def() argument
165 ZEND_ASSERT(var->definition >= 0); in _zend_ssa_remove_def()
166 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def()
167 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def()
168 var->definition = -1; in _zend_ssa_remove_def()
173 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def() local
174 _zend_ssa_remove_def(var); in zend_ssa_remove_result_def()
180 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() local
181 _zend_ssa_remove_def(var); in zend_ssa_remove_op1_def()
187 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def() local
188 _zend_ssa_remove_def(var); in zend_ssa_remove_op2_def()
194 static zend_always_inline int zend_ssa_next_use(const zend_ssa_op *ssa_op, int var, int use) in END_EXTERN_C()
197 if (ssa_op->op1_use == var) { in END_EXTERN_C()
199 } else if (ssa_op->op2_use == var) { in END_EXTERN_C()
206 static zend_always_inline zend_ssa_phi* zend_ssa_next_use_phi(const zend_ssa *ssa, int var, const z… in zend_ssa_next_use_phi() argument
213 if (p->sources[j] == var) { in zend_ssa_next_use_phi()
221 …lways_inline bool zend_ssa_is_no_val_use(const zend_op *opline, const zend_ssa_op *ssa_op, int var) in zend_ssa_is_no_val_use() argument
227 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
230 return ssa_op->op2_use == var && ssa_op->op1_use != var; in zend_ssa_is_no_val_use()
232 if (ssa_op->result_use == var in zend_ssa_is_no_val_use()
235 return ssa_op->op1_use != var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
270 #define FOREACH_USE(var, use) do { \ argument
271 int _var_num = (var) - ssa->vars, next; \
272 for (use = (var)->use_chain; use >= 0; use = next) { \
278 #define FOREACH_PHI_USE(var, phi) do { \ argument
279 int _var_num = (var) - ssa->vars; \
281 for (phi = (var)->phi_use_chain; phi; phi = next_phi) { \