Lines Matching refs:opline
22 …d _zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_t build_fl… in _zend_dfg_add_use_def_op() argument
27 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
28 var_num = EX_VAR_TO_NUM(opline->op1.var); in _zend_dfg_add_use_def_op()
33 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op()
34 && opline->opcode != ZEND_FE_FETCH_R in _zend_dfg_add_use_def_op()
35 && opline->opcode != ZEND_FE_FETCH_RW) in _zend_dfg_add_use_def_op()
36 || (opline->op2_type == IS_CV)) { in _zend_dfg_add_use_def_op()
37 var_num = EX_VAR_TO_NUM(opline->op2.var); in _zend_dfg_add_use_def_op()
43 && opline->result_type == IS_CV in _zend_dfg_add_use_def_op()
44 && opline->opcode != ZEND_RECV) { in _zend_dfg_add_use_def_op()
45 var_num = EX_VAR_TO_NUM(opline->result.var); in _zend_dfg_add_use_def_op()
51 switch (opline->opcode) { in _zend_dfg_add_use_def_op()
53 if ((build_flags & ZEND_SSA_RC_INFERENCE) && opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
54 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op2.var)); in _zend_dfg_add_use_def_op()
56 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
58 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op1.var)); in _zend_dfg_add_use_def_op()
62 if (opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op()
63 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op2.var)); in _zend_dfg_add_use_def_op()
65 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
71 next = opline + 1; in _zend_dfg_add_use_def_op()
81 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
86 next = opline + 1; in _zend_dfg_add_use_def_op()
96 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
101 next = opline + 1; in _zend_dfg_add_use_def_op()
113 next = opline + 1; in _zend_dfg_add_use_def_op()
126 next = opline + 1; in _zend_dfg_add_use_def_op()
136 next = opline + 1; in _zend_dfg_add_use_def_op()
143 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
174 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
184 if ((build_flags & ZEND_SSA_RC_INFERENCE) && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
189 var_num = EX_VAR_TO_NUM(opline->result.var); in _zend_dfg_add_use_def_op()
195 var_num = EX_VAR_TO_NUM(opline->result.var); in _zend_dfg_add_use_def_op()
202 || (opline->extended_value & ZEND_ARRAY_ELEMENT_REF)) in _zend_dfg_add_use_def_op()
203 && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
208 if (opline->op1_type == IS_CV in _zend_dfg_add_use_def_op()
217 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) { in _zend_dfg_add_use_def_op()
225 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
229 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op2.var)); in _zend_dfg_add_use_def_op()
232 if ((opline->extended_value & ZEND_BIND_REF) || (build_flags & ZEND_SSA_RC_INFERENCE)) { in _zend_dfg_add_use_def_op()
233 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op2.var)); in _zend_dfg_add_use_def_op()
240 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
241 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->result.var)); in _zend_dfg_add_use_def_op()
246 ZEND_API void zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_… in zend_dfg_add_use_def_op() argument
248 _zend_dfg_add_use_def_op(op_array, opline, build_flags, use, def); in zend_dfg_add_use_def_op()
270 zend_op *opline, *end; in zend_build_dfg() local
277 opline = op_array->opcodes + blocks[j].start; in zend_build_dfg()
278 end = opline + blocks[j].len; in zend_build_dfg()
281 for (; opline < end; opline++) { in zend_build_dfg()
282 if (opline->opcode != ZEND_OP_DATA) { in zend_build_dfg()
283 _zend_dfg_add_use_def_op(op_array, opline, build_flags, b_use, b_def); in zend_build_dfg()