Lines Matching refs:target

434 					int target = get_const_switch_target(cfg, op_array, block, opline, &ZEND_OP1_LITERAL(opline));  in zend_optimize_block()  local
441 block->successors[0] = target; in zend_optimize_block()
1143 zend_op *target = op_array->opcodes + target_block->start; in zend_jmp_optimization() local
1159 if (target->opcode == ZEND_JMP && in zend_jmp_optimization()
1163 *last_op = *target; in zend_jmp_optimization()
1168 } else if (target->opcode == ZEND_JMPZNZ && in zend_jmp_optimization()
1171 *last_op = *target; in zend_jmp_optimization()
1184 } else if ((target->opcode == ZEND_RETURN || in zend_jmp_optimization()
1185 target->opcode == ZEND_RETURN_BY_REF || in zend_jmp_optimization()
1186 target->opcode == ZEND_EXIT) && in zend_jmp_optimization()
1189 *last_op = *target; in zend_jmp_optimization()
1203 target->opcode != ZEND_FREE) { in zend_jmp_optimization()
1302 zend_op *target; in zend_jmp_optimization() local
1307 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1308 target_end = target + target_block->len; in zend_jmp_optimization()
1309 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1310 target++; in zend_jmp_optimization()
1314 if (target == target_end) { in zend_jmp_optimization()
1318 } else if (target->opcode == INV_COND(last_op->opcode) && in zend_jmp_optimization()
1320 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1321 same_type == target->op1_type && in zend_jmp_optimization()
1322 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1329 } else if (target->opcode == INV_COND_EX(last_op->opcode) && in zend_jmp_optimization()
1330 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1331 same_type == target->op1_type && in zend_jmp_optimization()
1332 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1336 COPY_NODE(last_op->result, target->result); in zend_jmp_optimization()
1341 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1342 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1343 same_type == target->op1_type && in zend_jmp_optimization()
1344 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1351 } else if (target->opcode == ZEND_JMP && in zend_jmp_optimization()
1358 } else if (target->opcode == ZEND_JMPZNZ && in zend_jmp_optimization()
1359 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1360 same_type == target->op1_type && in zend_jmp_optimization()
1361 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1376 zend_op *target; in zend_jmp_optimization() local
1382 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1384 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1385 target++; in zend_jmp_optimization()
1389 if (target == target_end && !(target_block->flags & ZEND_BB_PROTECTED)) { in zend_jmp_optimization()
1399 if (target->opcode == ZEND_JMP && in zend_jmp_optimization()
1440 zend_op *target, *target_end; in zend_jmp_optimization() local
1452 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1453 target_end = target + target_block->len; in zend_jmp_optimization()
1454 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1455 target++; in zend_jmp_optimization()
1458 if (target == target_end) { in zend_jmp_optimization()
1462 } else if (target->opcode == last_op->opcode-3 && in zend_jmp_optimization()
1463 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1464 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1471 } else if (target->opcode == INV_EX_COND(last_op->opcode) && in zend_jmp_optimization()
1472 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1473 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1480 } else if (target->opcode == INV_EX_COND_EX(last_op->opcode) && in zend_jmp_optimization()
1481 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1482 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1483 (same_t[VAR_NUM_EX(target->result)] & target->result_type) != 0 && in zend_jmp_optimization()
1490 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1491 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1492 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1493 (same_t[VAR_NUM_EX(target->result)] & target->result_type) != 0 && in zend_jmp_optimization()
1500 } else if (target->opcode == ZEND_JMP && in zend_jmp_optimization()
1507 } else if (target->opcode == ZEND_JMPZNZ && in zend_jmp_optimization()
1508 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1509 (same_t[VAR_NUM_EX(target->op1)] & target->op1_type) != 0 && in zend_jmp_optimization()
1581 zend_op *target; in zend_jmp_optimization() local
1586 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1587 target_end = target + target_block->len; in zend_jmp_optimization()
1588 while (target < target_end && target->opcode == ZEND_NOP) { in zend_jmp_optimization()
1589 target++; in zend_jmp_optimization()
1592 if (target == target_end) { in zend_jmp_optimization()
1596 } else if ((target->opcode == ZEND_JMPZ || target->opcode == ZEND_JMPZNZ) && in zend_jmp_optimization()
1597 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1598 same_type == target->op1_type && in zend_jmp_optimization()
1599 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1606 } else if (target->opcode == ZEND_JMPNZ && in zend_jmp_optimization()
1607 (target->op1_type & (IS_TMP_VAR|IS_CV)) && in zend_jmp_optimization()
1608 same_type == target->op1_type && in zend_jmp_optimization()
1609 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1616 } else if (target->opcode == ZEND_JMP && in zend_jmp_optimization()