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
149 …_op *opline, uint32_t k, uint32_t build_flags, int ssa_vars_count, zend_ssa_op *ssa_ops, int *var);
151 int zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var);
160 static zend_always_inline void _zend_ssa_remove_def(zend_ssa_var *var) in _zend_ssa_remove_def() argument
162 ZEND_ASSERT(var->definition >= 0); in _zend_ssa_remove_def()
163 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def()
164 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def()
165 var->definition = -1; in _zend_ssa_remove_def()
170 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def() local
171 _zend_ssa_remove_def(var); in zend_ssa_remove_result_def()
177 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() local
178 _zend_ssa_remove_def(var); in zend_ssa_remove_op1_def()
184 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def() local
185 _zend_ssa_remove_def(var); in zend_ssa_remove_op2_def()
191 static zend_always_inline int zend_ssa_next_use(const zend_ssa_op *ssa_op, int var, int use) in END_EXTERN_C()
194 if (ssa_op->op1_use == var) { in END_EXTERN_C()
196 } else if (ssa_op->op2_use == var) { in END_EXTERN_C()
203 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
210 if (p->sources[j] == var) { in zend_ssa_next_use_phi()
218 …_inline zend_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
224 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
227 return ssa_op->op2_use == var && ssa_op->op1_use != var; in zend_ssa_is_no_val_use()
229 if (ssa_op->result_use == var in zend_ssa_is_no_val_use()
232 return ssa_op->op1_use != var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
267 #define FOREACH_USE(var, use) do { \ argument
268 int _var_num = (var) - ssa->vars, next; \
269 for (use = (var)->use_chain; use >= 0; use = next) { \
275 #define FOREACH_PHI_USE(var, phi) do { \ argument
276 int _var_num = (var) - ssa->vars; \
278 for (phi = (var)->phi_use_chain; phi; phi = next_phi) { \