Lines Matching refs:opcode

69 		switch (opline->opcode) {  in zend_optimizer_pass3()
85 while (next_opline < end && next_opline->opcode == ZEND_NOP) { in zend_optimizer_pass3()
89 if (next_opline >= end || next_opline->opcode != ZEND_ASSIGN) { in zend_optimizer_pass3()
99 (opline->opcode == ZEND_ADD || in zend_optimizer_pass3()
100 opline->opcode == ZEND_MUL || in zend_optimizer_pass3()
101 opline->opcode == ZEND_BW_OR || in zend_optimizer_pass3()
102 opline->opcode == ZEND_BW_AND || in zend_optimizer_pass3()
103 opline->opcode == ZEND_BW_XOR)) { in zend_optimizer_pass3()
107 if (opline->opcode != ZEND_ADD in zend_optimizer_pass3()
119 switch (opline->opcode) { in zend_optimizer_pass3()
121 opline->opcode = ZEND_ASSIGN_ADD; in zend_optimizer_pass3()
124 opline->opcode = ZEND_ASSIGN_SUB; in zend_optimizer_pass3()
127 opline->opcode = ZEND_ASSIGN_MUL; in zend_optimizer_pass3()
130 opline->opcode = ZEND_ASSIGN_DIV; in zend_optimizer_pass3()
133 opline->opcode = ZEND_ASSIGN_MOD; in zend_optimizer_pass3()
136 opline->opcode = ZEND_ASSIGN_POW; in zend_optimizer_pass3()
139 opline->opcode = ZEND_ASSIGN_CONCAT; in zend_optimizer_pass3()
142 opline->opcode = ZEND_ASSIGN_SL; in zend_optimizer_pass3()
145 opline->opcode = ZEND_ASSIGN_SR; in zend_optimizer_pass3()
148 opline->opcode = ZEND_ASSIGN_BW_OR; in zend_optimizer_pass3()
151 opline->opcode = ZEND_ASSIGN_BW_AND; in zend_optimizer_pass3()
154 opline->opcode = ZEND_ASSIGN_BW_XOR; in zend_optimizer_pass3()
178 && ZEND_OP1_JMP_ADDR(opline)->opcode == ZEND_JMP) { in zend_optimizer_pass3()
193 if (target->opcode == ZEND_JMP) { in zend_optimizer_pass3()
209 if (target->opcode == ZEND_JMP) { in zend_optimizer_pass3()
214 } else if (target->opcode == opline->opcode && in zend_optimizer_pass3()
220 } else if (target->opcode == opline->opcode + 3 && in zend_optimizer_pass3()
225 opline->opcode += 3; in zend_optimizer_pass3()
228 } else if (target->opcode == INV_COND(opline->opcode) && in zend_optimizer_pass3()
234 } else if (target->opcode == INV_COND_EX(opline->opcode) && in zend_optimizer_pass3()
239 opline->opcode += 3; in zend_optimizer_pass3()
263 opline->opcode = ZEND_BOOL; in zend_optimizer_pass3()
272 if (target->opcode == opline->opcode-3 && in zend_optimizer_pass3()
278 } else if (target->opcode == opline->opcode && in zend_optimizer_pass3()
285 } else if (target->opcode == ZEND_JMPZNZ && in zend_optimizer_pass3()
291 if (opline->opcode == ZEND_JMPZ_EX) { in zend_optimizer_pass3()
298 } else if ((target->opcode == INV_EX_COND_EX(opline->opcode) || in zend_optimizer_pass3()
299 target->opcode == INV_EX_COND(opline->opcode)) && in zend_optimizer_pass3()
305 } else if (target->opcode == INV_EX_COND(opline->opcode) && in zend_optimizer_pass3()
311 } else if (target->opcode == INV_EX_COND_EX(opline->opcode) && in zend_optimizer_pass3()
318 } else if (target->opcode == ZEND_BOOL && in zend_optimizer_pass3()
341 if(op->opcode == ZEND_JMP || in zend_optimizer_pass3()
342 op->opcode == ZEND_JMPZ || in zend_optimizer_pass3()
343 op->opcode == ZEND_JMPZ_EX || in zend_optimizer_pass3()
344 op->opcode == ZEND_JMPNZ || in zend_optimizer_pass3()
345 op->opcode == ZEND_JMPNZ_EX || in zend_optimizer_pass3()
346 op->opcode == ZEND_JMPZNZ || in zend_optimizer_pass3()
347 op->opcode == ZEND_CASE || in zend_optimizer_pass3()
348 op->opcode == ZEND_RETURN || in zend_optimizer_pass3()
349 op->opcode == ZEND_RETURN_BY_REF || in zend_optimizer_pass3()
350 op->opcode == ZEND_FAST_RET || in zend_optimizer_pass3()
351 op->opcode == ZEND_FE_FETCH_R || in zend_optimizer_pass3()
352 op->opcode == ZEND_FE_FETCH_RW || in zend_optimizer_pass3()
353 op->opcode == ZEND_EXIT) { in zend_optimizer_pass3()
375 if(op->opcode == ZEND_JMP || in zend_optimizer_pass3()
376 op->opcode == ZEND_JMPZ || in zend_optimizer_pass3()
377 op->opcode == ZEND_JMPZ_EX || in zend_optimizer_pass3()
378 op->opcode == ZEND_JMPNZ || in zend_optimizer_pass3()
379 op->opcode == ZEND_JMPNZ_EX || in zend_optimizer_pass3()
380 op->opcode == ZEND_JMPZNZ || in zend_optimizer_pass3()
381 op->opcode == ZEND_CASE || in zend_optimizer_pass3()
382 op->opcode == ZEND_RETURN || in zend_optimizer_pass3()
383 op->opcode == ZEND_RETURN_BY_REF || in zend_optimizer_pass3()
384 op->opcode == ZEND_FAST_RET || in zend_optimizer_pass3()
385 op->opcode == ZEND_FE_FETCH_R || in zend_optimizer_pass3()
386 op->opcode == ZEND_FE_FETCH_RW || in zend_optimizer_pass3()
387 op->opcode == ZEND_EXIT) { in zend_optimizer_pass3()
402 opline->opcode = opline->opcode-3; /* JMP_EX -> JMP */ in zend_optimizer_pass3()
417 && ZEND_OP2_JMP_ADDR(opline)->opcode == ZEND_JMP) { in zend_optimizer_pass3()
425 && ZEND_OFFSET_TO_OPLINE(opline, opline->extended_value)->opcode == ZEND_JMP) { in zend_optimizer_pass3()
442 if (next_op->opcode == ZEND_FREE && in zend_optimizer_pass3()
445 opline->opcode -= 2; in zend_optimizer_pass3()