Lines Matching refs:opline
51 zend_op *opline, *end; in optimize_temporary_variables() local
65 opline = &op_array->opcodes[op_array->last - 1]; in optimize_temporary_variables()
68 while (opline >= end) { in optimize_temporary_variables()
69 if (ZEND_RESULT_TYPE(opline) & (IS_VAR | IS_TMP_VAR)) { in optimize_temporary_variables()
70 start_of_T[VAR_NUM(ZEND_RESULT(opline).var) - offset] = opline; in optimize_temporary_variables()
72 opline--; in optimize_temporary_variables()
79 opline = &op_array->opcodes[op_array->last - 1]; in optimize_temporary_variables()
81 while (opline >= end) { in optimize_temporary_variables()
82 if ((ZEND_OP1_TYPE(opline) & (IS_VAR | IS_TMP_VAR))) { in optimize_temporary_variables()
83 currT = VAR_NUM(ZEND_OP1(opline).var) - offset; in optimize_temporary_variables()
84 if (opline->opcode == ZEND_ROPE_END) { in optimize_temporary_variables()
85 …int num = (((opline->extended_value + 1) * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zv… in optimize_temporary_variables()
97 ZEND_OP1(opline).var = NUM_VAR(var + offset); in optimize_temporary_variables()
111 (opline->opcode == ZEND_RETURN || in optimize_temporary_variables()
112 opline->opcode == ZEND_GENERATOR_RETURN || in optimize_temporary_variables()
113 opline->opcode == ZEND_RETURN_BY_REF || in optimize_temporary_variables()
114 opline->opcode == ZEND_FREE || in optimize_temporary_variables()
115 opline->opcode == ZEND_FE_FREE)) { in optimize_temporary_variables()
116 zend_op *curr = opline; in optimize_temporary_variables()
139 ZEND_OP1(opline).var = NUM_VAR(map_T[currT] + offset); in optimize_temporary_variables()
144 if (opline->opcode == ZEND_OP_DATA && in optimize_temporary_variables()
145 (opline-1)->opcode == ZEND_ASSIGN_DIM) { in optimize_temporary_variables()
146 opline--; in optimize_temporary_variables()
150 if ((ZEND_OP2_TYPE(opline) & (IS_VAR | IS_TMP_VAR))) { in optimize_temporary_variables()
151 currT = VAR_NUM(ZEND_OP2(opline).var) - offset; in optimize_temporary_variables()
157 ZEND_OP2(opline).var = NUM_VAR(map_T[currT] + offset); in optimize_temporary_variables()
160 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS || in optimize_temporary_variables()
161 opline->opcode == ZEND_DECLARE_ANON_INHERITED_CLASS || in optimize_temporary_variables()
162 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) { in optimize_temporary_variables()
163 currT = VAR_NUM(opline->extended_value) - offset; in optimize_temporary_variables()
169 opline->extended_value = NUM_VAR(map_T[currT] + offset); in optimize_temporary_variables()
173 if (opline->opcode == ZEND_ASSIGN_DIM && in optimize_temporary_variables()
174 (opline + 1)->opcode == ZEND_OP_DATA && in optimize_temporary_variables()
175 ZEND_OP2_TYPE(opline + 1) & (IS_VAR | IS_TMP_VAR)) { in optimize_temporary_variables()
176 currT = VAR_NUM(ZEND_OP2(opline + 1).var) - offset; in optimize_temporary_variables()
181 ZEND_OP2(opline + 1).var = NUM_VAR(i + offset); in optimize_temporary_variables()
185 if (ZEND_RESULT_TYPE(opline) & (IS_VAR | IS_TMP_VAR)) { in optimize_temporary_variables()
186 currT = VAR_NUM(ZEND_RESULT(opline).var) - offset; in optimize_temporary_variables()
188 if (start_of_T[currT] == opline) { in optimize_temporary_variables()
192 if (opline->opcode != ZEND_FAST_CALL) { in optimize_temporary_variables()
196 ZEND_RESULT(opline).var = NUM_VAR(map_T[currT] + offset); in optimize_temporary_variables()
197 if (opline->opcode == ZEND_ROPE_INIT) { in optimize_temporary_variables()
198 if (start_of_T[currT] == opline) { in optimize_temporary_variables()
199 …uint32_t num = ((opline->extended_value * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zva… in optimize_temporary_variables()
209 if (RESULT_UNUSED(opline)) { in optimize_temporary_variables()
216 ZEND_RESULT(opline).var = NUM_VAR(i + offset); in optimize_temporary_variables()
225 opline--; in optimize_temporary_variables()