Lines Matching refs:target

384 					int target = get_const_switch_target(cfg, op_array, block, opline, &ZEND_OP1_LITERAL(opline));  in zend_optimize_block()  local
391 block->successors[0] = target; in zend_optimize_block()
1202 static zend_always_inline int in_hitlist(int target, int *jmp_hitlist, int jmp_hitlist_count) in in_hitlist() argument
1207 if (jmp_hitlist[i] == target) { in in_hitlist()
1214 #define CHECK_LOOP(target) \ argument
1215 if (EXPECTED(!in_hitlist(target, jmp_hitlist, jmp_hitlist_count))) { \
1216 jmp_hitlist[jmp_hitlist_count++] = target; \
1225 zend_op *last_op, *target; in zend_jmp_optimization() local
1239 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1240 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1259 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1260 if (target->opcode == ZEND_JMPZNZ) { in zend_jmp_optimization()
1262 *last_op = *target; in zend_jmp_optimization()
1273 } else if ((target->opcode == ZEND_RETURN || in zend_jmp_optimization()
1274 target->opcode == ZEND_RETURN_BY_REF || in zend_jmp_optimization()
1275 target->opcode == ZEND_GENERATOR_RETURN || in zend_jmp_optimization()
1276 target->opcode == ZEND_EXIT) && in zend_jmp_optimization()
1279 *last_op = *target; in zend_jmp_optimization()
1298 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1300 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1319 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1321 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1324 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1325 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1328 } else if (target->opcode == INV_COND(last_op->opcode) && in zend_jmp_optimization()
1329 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1332 } else if (target->opcode == ZEND_JMPZNZ && in zend_jmp_optimization()
1333 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1361 target = op_array->opcodes + follow_block->start; in zend_jmp_optimization()
1362 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1391 MAKE_NOP(target); in zend_jmp_optimization()
1419 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1421 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1424 } else if (target->opcode == last_op->opcode-3 && in zend_jmp_optimization()
1425 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1426 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1429 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1430 target->result.var == last_op->result.var && in zend_jmp_optimization()
1431 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1432 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1435 } else if (target->opcode == ZEND_JMPZNZ && in zend_jmp_optimization()
1436 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1437 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1440 } else if (target->opcode == INV_EX_COND(last_op->opcode) && in zend_jmp_optimization()
1441 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1442 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1445 } else if (target->opcode == INV_EX_COND_EX(last_op->opcode) && in zend_jmp_optimization()
1446 target->result.var == last_op->result.var && in zend_jmp_optimization()
1447 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1448 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1451 } else if (target->opcode == ZEND_BOOL && in zend_jmp_optimization()
1452 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1453 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1465 last_op->result.var = target->result.var; in zend_jmp_optimization()
1492 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1494 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1497 } else if ((target->opcode == ZEND_JMPZ || target->opcode == ZEND_JMPZNZ) && in zend_jmp_optimization()
1498 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1501 } else if (target->opcode == ZEND_JMPNZ && in zend_jmp_optimization()
1502 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1517 target = op_array->opcodes + follow_block->start; in zend_jmp_optimization()
1519 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1522 } else if (target->opcode == ZEND_JMPNZ && in zend_jmp_optimization()
1523 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1526 } else if ((target->opcode == ZEND_JMPZ || target->opcode == ZEND_JMPZNZ) && in zend_jmp_optimization()
1527 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()