-
- /* check that all delay branches are filled (at least with NOPs) */
- if (cfchange_found && delay_branches != 0) {
- ir_fprintf(stderr, "Verify warning: Not all delay slots filled after jump (%d/%d) in block %+F (%s)\n",
- block, get_irg_dump_name(env->irg));
- env->problem_found = 1;
- }
-}
-
-static int should_be_scheduled(ir_node *node)
-{
- switch (get_irn_opcode(node)) {
- case iro_Bad:
- case iro_Block:
- case iro_End:
- case iro_NoMem:
- case iro_Pin:
- case iro_Proj:
- case iro_Sync:
- case iro_Unknown:
- return 0;
- case iro_Phi:
- if (get_irn_mode(node) == mode_M)
- return 0;
- break;
- case iro_Start:
- case iro_Jmp:
- case beo_Return:
- return 1;
- default:
- break;
- }
-
- if (get_irn_mode(node) != mode_T) {
- if (arch_irn_is_ignore(node))
- return -1;
- }
-
- return 1;