Lines Matching refs:target
410 int target = get_const_switch_target(cfg, op_array, block, opline, &ZEND_OP1_LITERAL(opline)); in zend_optimize_block() local
417 block->successors[0] = target; in zend_optimize_block()
1162 static zend_always_inline bool in_hitlist(int target, int *jmp_hitlist, int jmp_hitlist_count) in in_hitlist() argument
1167 if (jmp_hitlist[i] == target) { in in_hitlist()
1174 #define CHECK_LOOP(target) \ argument
1175 if (EXPECTED(!in_hitlist(target, jmp_hitlist, jmp_hitlist_count))) { \
1176 jmp_hitlist[jmp_hitlist_count++] = target; \
1185 zend_op *last_op, *target; in zend_jmp_optimization() local
1199 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1200 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1219 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1220 if ((target->opcode == ZEND_RETURN || in zend_jmp_optimization()
1221 target->opcode == ZEND_RETURN_BY_REF || in zend_jmp_optimization()
1222 target->opcode == ZEND_GENERATOR_RETURN || in zend_jmp_optimization()
1223 target->opcode == ZEND_EXIT) && in zend_jmp_optimization()
1226 *last_op = *target; in zend_jmp_optimization()
1245 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1247 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1266 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1268 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1271 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1272 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1275 } else if (target->opcode == INV_COND(last_op->opcode) && in zend_jmp_optimization()
1276 SAME_VAR(target->op1, last_op->op1)) { in zend_jmp_optimization()
1298 target = op_array->opcodes + follow_block->start; in zend_jmp_optimization()
1299 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1322 MAKE_NOP(target); in zend_jmp_optimization()
1340 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1342 if (target->opcode == ZEND_JMP) { in zend_jmp_optimization()
1345 } else if (target->opcode == last_op->opcode-3 && in zend_jmp_optimization()
1346 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1347 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1350 } else if (target->opcode == last_op->opcode && in zend_jmp_optimization()
1351 target->result.var == last_op->result.var && in zend_jmp_optimization()
1352 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1353 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1356 } else if (target->opcode == INV_EX_COND(last_op->opcode) && in zend_jmp_optimization()
1357 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1358 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1361 } else if (target->opcode == INV_EX_COND_EX(last_op->opcode) && in zend_jmp_optimization()
1362 target->result.var == last_op->result.var && in zend_jmp_optimization()
1363 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1364 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1367 } else if (target->opcode == ZEND_BOOL && in zend_jmp_optimization()
1368 (SAME_VAR(target->op1, last_op->result) || in zend_jmp_optimization()
1369 SAME_VAR(target->op1, last_op->op1))) { in zend_jmp_optimization()
1381 last_op->result.var = target->result.var; in zend_jmp_optimization()