LEFT | RIGHT |
(no file at all) | |
1 /* Code to analyze doloop loops in order for targets to perform late | 1 /* Code to analyze doloop loops in order for targets to perform late |
2 optimizations converting doloops to other forms of hardware loops. | 2 optimizations converting doloops to other forms of hardware loops. |
3 Copyright (C) 2011-2013 Free Software Foundation, Inc. | 3 Copyright (C) 2011-2013 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
8 the terms of the GNU General Public License as published by the Free | 8 the terms of the GNU General Public License as published by the Free |
9 Software Foundation; either version 3, or (at your option) any later | 9 Software Foundation; either version 3, or (at your option) any later |
10 version. | 10 version. |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 loops = loops->next; | 540 loops = loops->next; |
541 } | 541 } |
542 ·· | 542 ·· |
543 FOR_EACH_BB (bb) | 543 FOR_EACH_BB (bb) |
544 { | 544 { |
545 if (bb->next_bb != EXIT_BLOCK_PTR) | 545 if (bb->next_bb != EXIT_BLOCK_PTR) |
546 bb->aux = bb->next_bb; | 546 bb->aux = bb->next_bb; |
547 else | 547 else |
548 bb->aux = NULL; | 548 bb->aux = NULL; |
549 } | 549 } |
550 cfg_layout_finalize (); | 550 cfg_layout_finalize (false); |
551 clear_aux_for_blocks (); | 551 clear_aux_for_blocks (); |
552 df_analyze (); | 552 df_analyze (); |
553 } | 553 } |
554 | 554 |
555 /* Call the OPT function for LOOP and all of its sub-loops. This is | 555 /* Call the OPT function for LOOP and all of its sub-loops. This is |
556 done in a depth-first search; innermost loops are visited first. | 556 done in a depth-first search; innermost loops are visited first. |
557 OPTIMIZE and FAIL are the functions passed to reorg_loops by the | 557 OPTIMIZE and FAIL are the functions passed to reorg_loops by the |
558 target's reorg pass. */ | 558 target's reorg pass. */ |
559 static void | 559 static void |
560 optimize_loop (hwloop_info loop, struct hw_doloop_hooks *hooks) | 560 optimize_loop (hwloop_info loop, struct hw_doloop_hooks *hooks) |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 fprintf (dump_file, ";; After hardware loops optimization:\n\n"); | 662 fprintf (dump_file, ";; After hardware loops optimization:\n\n"); |
663 dump_hwloops (loops); | 663 dump_hwloops (loops); |
664 } | 664 } |
665 | 665 |
666 free_loops (loops); | 666 free_loops (loops); |
667 | 667 |
668 if (dump_file) | 668 if (dump_file) |
669 print_rtl (dump_file, get_insns ()); | 669 print_rtl (dump_file, get_insns ()); |
670 } | 670 } |
671 #endif | 671 #endif |
LEFT | RIGHT |