hw-doloop.c 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. /* Code to analyze doloop loops in order for targets to perform late
  2. optimizations converting doloops to other forms of hardware loops.
  3. Copyright (C) 2011-2015 Free Software Foundation, Inc.
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify it under
  6. the terms of the GNU General Public License as published by the Free
  7. Software Foundation; either version 3, or (at your option) any later
  8. version.
  9. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. #include "config.h"
  17. #include "system.h"
  18. #include "coretypes.h"
  19. #include "tm.h"
  20. #include "rtl.h"
  21. #include "flags.h"
  22. #include "symtab.h"
  23. #include "hashtab.h"
  24. #include "hash-set.h"
  25. #include "vec.h"
  26. #include "machmode.h"
  27. #include "hard-reg-set.h"
  28. #include "input.h"
  29. #include "function.h"
  30. #include "statistics.h"
  31. #include "double-int.h"
  32. #include "real.h"
  33. #include "fixed-value.h"
  34. #include "alias.h"
  35. #include "wide-int.h"
  36. #include "inchash.h"
  37. #include "tree.h"
  38. #include "insn-config.h"
  39. #include "expmed.h"
  40. #include "dojump.h"
  41. #include "explow.h"
  42. #include "calls.h"
  43. #include "emit-rtl.h"
  44. #include "varasm.h"
  45. #include "stmt.h"
  46. #include "expr.h"
  47. #include "regs.h"
  48. #include "predict.h"
  49. #include "dominance.h"
  50. #include "cfg.h"
  51. #include "cfgrtl.h"
  52. #include "basic-block.h"
  53. #include "tm_p.h"
  54. #include "df.h"
  55. #include "cfgloop.h"
  56. #include "recog.h"
  57. #include "target.h"
  58. #include "hw-doloop.h"
  59. #include "dumpfile.h"
  60. #ifdef HAVE_doloop_end
  61. /* Dump information collected in LOOPS. */
  62. static void
  63. dump_hwloops (hwloop_info loops)
  64. {
  65. hwloop_info loop;
  66. for (loop = loops; loop; loop = loop->next)
  67. {
  68. hwloop_info i;
  69. basic_block b;
  70. unsigned ix;
  71. fprintf (dump_file, ";; loop %d: ", loop->loop_no);
  72. if (loop->bad)
  73. fprintf (dump_file, "(bad) ");
  74. fprintf (dump_file, "{head:%d, depth:%d, reg:%u}",
  75. loop->head == NULL ? -1 : loop->head->index,
  76. loop->depth, REGNO (loop->iter_reg));
  77. fprintf (dump_file, " blocks: [ ");
  78. for (ix = 0; loop->blocks.iterate (ix, &b); ix++)
  79. fprintf (dump_file, "%d ", b->index);
  80. fprintf (dump_file, "] ");
  81. fprintf (dump_file, " inner loops: [ ");
  82. for (ix = 0; loop->loops.iterate (ix, &i); ix++)
  83. fprintf (dump_file, "%d ", i->loop_no);
  84. fprintf (dump_file, "]\n");
  85. }
  86. fprintf (dump_file, "\n");
  87. }
  88. /* Return true if BB is part of LOOP. */
  89. static bool
  90. bb_in_loop_p (hwloop_info loop, basic_block bb)
  91. {
  92. return bitmap_bit_p (loop->block_bitmap, bb->index);
  93. }
  94. /* Scan the blocks of LOOP (and its inferiors), and record things such as
  95. hard registers set, jumps out of and within the loop. */
  96. static void
  97. scan_loop (hwloop_info loop)
  98. {
  99. unsigned ix;
  100. basic_block bb;
  101. if (loop->bad)
  102. return;
  103. if (REGNO_REG_SET_P (df_get_live_in (loop->successor),
  104. REGNO (loop->iter_reg)))
  105. loop->iter_reg_used_outside = true;
  106. for (ix = 0; loop->blocks.iterate (ix, &bb); ix++)
  107. {
  108. rtx_insn *insn;
  109. edge e;
  110. edge_iterator ei;
  111. if (bb != loop->tail)
  112. FOR_EACH_EDGE (e, ei, bb->succs)
  113. {
  114. if (bb_in_loop_p (loop, e->dest))
  115. {
  116. if (!(e->flags & EDGE_FALLTHRU))
  117. loop->jumps_within = true;
  118. }
  119. else
  120. {
  121. loop->jumps_outof = true;
  122. if (!loop->bad)
  123. gcc_assert (!REGNO_REG_SET_P (df_get_live_in (e->dest),
  124. REGNO (loop->iter_reg)));
  125. }
  126. }
  127. for (insn = BB_HEAD (bb);
  128. insn != NEXT_INSN (BB_END (bb));
  129. insn = NEXT_INSN (insn))
  130. {
  131. df_ref def;
  132. HARD_REG_SET set_this_insn;
  133. if (!NONDEBUG_INSN_P (insn))
  134. continue;
  135. if (recog_memoized (insn) < 0
  136. && (GET_CODE (PATTERN (insn)) == ASM_INPUT
  137. || asm_noperands (PATTERN (insn)) >= 0))
  138. loop->has_asm = true;
  139. CLEAR_HARD_REG_SET (set_this_insn);
  140. FOR_EACH_INSN_DEF (def, insn)
  141. {
  142. rtx dreg = DF_REF_REG (def);
  143. if (!REG_P (dreg))
  144. continue;
  145. add_to_hard_reg_set (&set_this_insn, GET_MODE (dreg),
  146. REGNO (dreg));
  147. }
  148. if (insn == loop->loop_end)
  149. CLEAR_HARD_REG_BIT (set_this_insn, REGNO (loop->iter_reg));
  150. else if (reg_mentioned_p (loop->iter_reg, PATTERN (insn)))
  151. loop->iter_reg_used = true;
  152. IOR_HARD_REG_SET (loop->regs_set_in_loop, set_this_insn);
  153. }
  154. }
  155. }
  156. /* Compute the incoming_dest and incoming_src members of LOOP by
  157. identifying the edges that jump into the loop. If there is more
  158. than one block that jumps into the loop, incoming_src will be set
  159. to NULL; likewise, if there is more than one block in the loop that
  160. is the destination of an incoming edge, incoming_dest will be NULL.
  161. Return true if either of these two fields is nonnull, false
  162. otherwise. */
  163. static bool
  164. process_incoming_edges (hwloop_info loop)
  165. {
  166. edge e;
  167. edge_iterator ei;
  168. bool first = true;
  169. FOR_EACH_EDGE (e, ei, loop->incoming)
  170. {
  171. if (first)
  172. {
  173. loop->incoming_src = e->src;
  174. loop->incoming_dest = e->dest;
  175. first = false;
  176. }
  177. else
  178. {
  179. if (e->dest != loop->incoming_dest)
  180. loop->incoming_dest = NULL;
  181. if (e->src != loop->incoming_src)
  182. loop->incoming_src = NULL;
  183. }
  184. }
  185. if (loop->incoming_src == NULL && loop->incoming_dest == NULL)
  186. return false;
  187. return true;
  188. }
  189. /* Try to identify a forwarder block that jump into LOOP, and add it to
  190. the set of blocks in the loop, updating the vector of incoming blocks as
  191. well. This transformation gives a second chance to loops we couldn't
  192. otherwise handle by increasing the chance that we'll end up with one
  193. incoming_src block.
  194. Return true if we made a change, false otherwise. */
  195. static bool
  196. add_forwarder_blocks (hwloop_info loop)
  197. {
  198. edge e;
  199. edge_iterator ei;
  200. FOR_EACH_EDGE (e, ei, loop->incoming)
  201. {
  202. if (forwarder_block_p (e->src))
  203. {
  204. edge e2;
  205. edge_iterator ei2;
  206. if (dump_file)
  207. fprintf (dump_file,
  208. ";; Adding forwarder block %d to loop %d and retrying\n",
  209. e->src->index, loop->loop_no);
  210. loop->blocks.safe_push (e->src);
  211. bitmap_set_bit (loop->block_bitmap, e->src->index);
  212. FOR_EACH_EDGE (e2, ei2, e->src->preds)
  213. vec_safe_push (loop->incoming, e2);
  214. loop->incoming->unordered_remove (ei.index);
  215. return true;
  216. }
  217. }
  218. return false;
  219. }
  220. /* Called from reorg_loops when a potential loop end is found. LOOP is
  221. a newly set up structure describing the loop, it is this function's
  222. responsibility to fill most of it. TAIL_BB and TAIL_INSN point to the
  223. loop_end insn and its enclosing basic block. REG is the loop counter
  224. register.
  225. For our purposes, a loop is defined by the set of blocks reachable from
  226. the loop head in which the loop counter register is live. This matches
  227. the expected use; targets that call into this code usually replace the
  228. loop counter with a different special register. */
  229. static void
  230. discover_loop (hwloop_info loop, basic_block tail_bb, rtx_insn *tail_insn, rtx reg)
  231. {
  232. bool found_tail;
  233. unsigned dwork = 0;
  234. basic_block bb;
  235. loop->tail = tail_bb;
  236. loop->loop_end = tail_insn;
  237. loop->iter_reg = reg;
  238. vec_alloc (loop->incoming, 2);
  239. loop->start_label = as_a <rtx_insn *> (JUMP_LABEL (tail_insn));
  240. if (EDGE_COUNT (tail_bb->succs) != 2)
  241. {
  242. loop->bad = true;
  243. return;
  244. }
  245. loop->head = BRANCH_EDGE (tail_bb)->dest;
  246. loop->successor = FALLTHRU_EDGE (tail_bb)->dest;
  247. auto_vec<basic_block, 20> works;
  248. works.safe_push (loop->head);
  249. found_tail = false;
  250. for (dwork = 0; works.iterate (dwork, &bb); dwork++)
  251. {
  252. edge e;
  253. edge_iterator ei;
  254. if (bb == EXIT_BLOCK_PTR_FOR_FN (cfun))
  255. {
  256. /* We've reached the exit block. The loop must be bad. */
  257. if (dump_file)
  258. fprintf (dump_file,
  259. ";; Loop is bad - reached exit block while scanning\n");
  260. loop->bad = true;
  261. break;
  262. }
  263. if (bitmap_bit_p (loop->block_bitmap, bb->index))
  264. continue;
  265. /* We've not seen this block before. Add it to the loop's
  266. list and then add each successor to the work list. */
  267. loop->blocks.safe_push (bb);
  268. bitmap_set_bit (loop->block_bitmap, bb->index);
  269. if (bb == tail_bb)
  270. found_tail = true;
  271. else
  272. {
  273. FOR_EACH_EDGE (e, ei, bb->succs)
  274. {
  275. basic_block succ = EDGE_SUCC (bb, ei.index)->dest;
  276. if (REGNO_REG_SET_P (df_get_live_in (succ),
  277. REGNO (loop->iter_reg)))
  278. works.safe_push (succ);
  279. }
  280. }
  281. }
  282. if (!found_tail)
  283. loop->bad = true;
  284. /* Find the predecessor, and make sure nothing else jumps into this loop. */
  285. if (!loop->bad)
  286. {
  287. FOR_EACH_VEC_ELT (loop->blocks, dwork, bb)
  288. {
  289. edge e;
  290. edge_iterator ei;
  291. FOR_EACH_EDGE (e, ei, bb->preds)
  292. {
  293. basic_block pred = e->src;
  294. if (!bb_in_loop_p (loop, pred))
  295. {
  296. if (dump_file)
  297. fprintf (dump_file, ";; Loop %d: incoming edge %d -> %d\n",
  298. loop->loop_no, pred->index,
  299. e->dest->index);
  300. vec_safe_push (loop->incoming, e);
  301. }
  302. }
  303. }
  304. if (!process_incoming_edges (loop))
  305. {
  306. if (dump_file)
  307. fprintf (dump_file,
  308. ";; retrying loop %d with forwarder blocks\n",
  309. loop->loop_no);
  310. if (!add_forwarder_blocks (loop))
  311. {
  312. if (dump_file)
  313. fprintf (dump_file, ";; No forwarder blocks found\n");
  314. loop->bad = true;
  315. }
  316. else if (!process_incoming_edges (loop))
  317. {
  318. if (dump_file)
  319. fprintf (dump_file,
  320. ";; can't find suitable entry for loop %d\n",
  321. loop->loop_no);
  322. }
  323. }
  324. }
  325. }
  326. /* Analyze the structure of the loops in the current function. Use
  327. LOOP_STACK for bitmap allocations. Returns all the valid candidates for
  328. hardware loops found in this function. HOOKS is the argument
  329. passed to reorg_loops, used here to find the iteration registers
  330. from a loop_end pattern. */
  331. static hwloop_info
  332. discover_loops (bitmap_obstack *loop_stack, struct hw_doloop_hooks *hooks)
  333. {
  334. hwloop_info loops = NULL;
  335. hwloop_info loop;
  336. basic_block bb;
  337. int nloops = 0;
  338. /* Find all the possible loop tails. This means searching for every
  339. loop_end instruction. For each one found, create a hwloop_info
  340. structure and add the head block to the work list. */
  341. FOR_EACH_BB_FN (bb, cfun)
  342. {
  343. rtx_insn *tail = BB_END (bb);
  344. rtx_insn *insn;
  345. rtx reg;
  346. while (tail && NOTE_P (tail) && tail != BB_HEAD (bb))
  347. tail = PREV_INSN (tail);
  348. if (tail == NULL_RTX)
  349. continue;
  350. if (!JUMP_P (tail))
  351. continue;
  352. reg = hooks->end_pattern_reg (tail);
  353. if (reg == NULL_RTX)
  354. continue;
  355. /* A possible loop end */
  356. /* There's a degenerate case we can handle - an empty loop consisting
  357. of only a back branch. Handle that by deleting the branch. */
  358. insn = JUMP_LABEL_AS_INSN (tail);
  359. while (insn && !NONDEBUG_INSN_P (insn))
  360. insn = NEXT_INSN (insn);
  361. if (insn == tail)
  362. {
  363. basic_block succ = FALLTHRU_EDGE (bb)->dest;
  364. if (dump_file)
  365. {
  366. fprintf (dump_file, ";; degenerate loop ending at\n");
  367. print_rtl_single (dump_file, tail);
  368. }
  369. if (!REGNO_REG_SET_P (df_get_live_in (succ), REGNO (reg)))
  370. {
  371. if (dump_file)
  372. fprintf (dump_file, ";; deleting it\n");
  373. delete_insn_and_edges (tail);
  374. continue;
  375. }
  376. }
  377. loop = XCNEW (struct hwloop_info_d);
  378. loop->next = loops;
  379. loops = loop;
  380. loop->loop_no = nloops++;
  381. loop->blocks.create (20);
  382. loop->block_bitmap = BITMAP_ALLOC (loop_stack);
  383. if (dump_file)
  384. {
  385. fprintf (dump_file, ";; potential loop %d ending at\n",
  386. loop->loop_no);
  387. print_rtl_single (dump_file, tail);
  388. }
  389. discover_loop (loop, bb, tail, reg);
  390. }
  391. /* Compute loop nestings. Given two loops A and B, either the sets
  392. of their blocks don't intersect at all, or one is the subset of
  393. the other, or the blocks don't form a good nesting structure. */
  394. for (loop = loops; loop; loop = loop->next)
  395. {
  396. hwloop_info other;
  397. if (loop->bad)
  398. continue;
  399. for (other = loops; other; other = other->next)
  400. {
  401. if (other->bad)
  402. continue;
  403. if (!bitmap_intersect_p (other->block_bitmap, loop->block_bitmap))
  404. continue;
  405. if (!bitmap_intersect_compl_p (other->block_bitmap,
  406. loop->block_bitmap))
  407. loop->loops.safe_push (other);
  408. else if (!bitmap_intersect_compl_p (loop->block_bitmap,
  409. other->block_bitmap))
  410. other->loops.safe_push (loop);
  411. else
  412. {
  413. if (dump_file)
  414. fprintf (dump_file,
  415. ";; can't find suitable nesting for loops %d and %d\n",
  416. loop->loop_no, other->loop_no);
  417. loop->bad = other->bad = true;
  418. }
  419. }
  420. }
  421. if (dump_file)
  422. dump_hwloops (loops);
  423. return loops;
  424. }
  425. /* Free up the loop structures in LOOPS. */
  426. static void
  427. free_loops (hwloop_info loops)
  428. {
  429. while (loops)
  430. {
  431. hwloop_info loop = loops;
  432. loops = loop->next;
  433. loop->loops.release ();
  434. loop->blocks.release ();
  435. BITMAP_FREE (loop->block_bitmap);
  436. XDELETE (loop);
  437. }
  438. }
  439. #define BB_AUX_INDEX(BB) ((intptr_t) (BB)->aux)
  440. /* Initialize the aux fields to give ascending indices to basic blocks. */
  441. static void
  442. set_bb_indices (void)
  443. {
  444. basic_block bb;
  445. intptr_t index;
  446. index = 0;
  447. FOR_EACH_BB_FN (bb, cfun)
  448. bb->aux = (void *) index++;
  449. }
  450. /* The taken-branch edge from the loop end can actually go forward.
  451. If the target's hardware loop support requires that the loop end be
  452. after the loop start, try to reorder a loop's basic blocks when we
  453. find such a case.
  454. This is not very aggressive; it only moves at most one block. It
  455. does not introduce new branches into loops; it may remove them, or
  456. it may switch fallthru/jump edges. */
  457. static void
  458. reorder_loops (hwloop_info loops)
  459. {
  460. basic_block bb;
  461. hwloop_info loop;
  462. cfg_layout_initialize (0);
  463. set_bb_indices ();
  464. for (loop = loops; loop; loop = loop->next)
  465. {
  466. edge e;
  467. edge_iterator ei;
  468. if (loop->bad)
  469. continue;
  470. if (BB_AUX_INDEX (loop->head) <= BB_AUX_INDEX (loop->tail))
  471. continue;
  472. FOR_EACH_EDGE (e, ei, loop->head->succs)
  473. {
  474. if (bitmap_bit_p (loop->block_bitmap, e->dest->index)
  475. && BB_AUX_INDEX (e->dest) < BB_AUX_INDEX (loop->tail))
  476. {
  477. basic_block start_bb = e->dest;
  478. basic_block start_prev_bb = start_bb->prev_bb;
  479. if (dump_file)
  480. fprintf (dump_file, ";; Moving block %d before block %d\n",
  481. loop->head->index, start_bb->index);
  482. loop->head->prev_bb->next_bb = loop->head->next_bb;
  483. loop->head->next_bb->prev_bb = loop->head->prev_bb;
  484. loop->head->prev_bb = start_prev_bb;
  485. loop->head->next_bb = start_bb;
  486. start_prev_bb->next_bb = start_bb->prev_bb = loop->head;
  487. set_bb_indices ();
  488. break;
  489. }
  490. }
  491. loops = loops->next;
  492. }
  493. FOR_EACH_BB_FN (bb, cfun)
  494. {
  495. if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun))
  496. bb->aux = bb->next_bb;
  497. else
  498. bb->aux = NULL;
  499. }
  500. cfg_layout_finalize ();
  501. clear_aux_for_blocks ();
  502. df_analyze ();
  503. }
  504. /* Call the OPT function for LOOP and all of its sub-loops. This is
  505. done in a depth-first search; innermost loops are visited first.
  506. OPTIMIZE and FAIL are the functions passed to reorg_loops by the
  507. target's reorg pass. */
  508. static void
  509. optimize_loop (hwloop_info loop, struct hw_doloop_hooks *hooks)
  510. {
  511. int ix;
  512. hwloop_info inner;
  513. int inner_depth = 0;
  514. if (loop->visited)
  515. return;
  516. loop->visited = 1;
  517. if (loop->bad)
  518. {
  519. if (dump_file)
  520. fprintf (dump_file, ";; loop %d bad when found\n", loop->loop_no);
  521. goto bad_loop;
  522. }
  523. /* Every loop contains in its list of inner loops every loop nested inside
  524. it, even if there are intermediate loops. This works because we're doing
  525. a depth-first search here and never visit a loop more than once.
  526. Recursion depth is effectively limited by the number of available
  527. hardware registers. */
  528. for (ix = 0; loop->loops.iterate (ix, &inner); ix++)
  529. {
  530. optimize_loop (inner, hooks);
  531. if (!inner->bad && inner_depth < inner->depth)
  532. inner_depth = inner->depth;
  533. /* The set of registers may be changed while optimizing the inner
  534. loop. */
  535. IOR_HARD_REG_SET (loop->regs_set_in_loop, inner->regs_set_in_loop);
  536. }
  537. loop->depth = inner_depth + 1;
  538. if (hooks->opt (loop))
  539. return;
  540. bad_loop:
  541. if (dump_file)
  542. fprintf (dump_file, ";; loop %d is bad\n", loop->loop_no);
  543. loop->bad = true;
  544. hooks->fail (loop);
  545. }
  546. /* This function can be used from a port's machine_dependent_reorg to
  547. find and analyze loops that end in loop_end instructions. It uses
  548. a set of function pointers in HOOKS to call back into the
  549. target-specific functions to perform the actual machine-specific
  550. transformations.
  551. Such transformations typically involve additional set-up
  552. instructions before the loop, to define loop bounds or set up a
  553. special loop counter register.
  554. DO_REORDER should be set to true if we should try to use the
  555. reorder_loops function to ensure the loop end occurs after the loop
  556. start. This is for use by targets where the loop hardware requires
  557. this condition.
  558. HOOKS is used to pass in target specific hooks; see
  559. hw-doloop.h. */
  560. void
  561. reorg_loops (bool do_reorder, struct hw_doloop_hooks *hooks)
  562. {
  563. hwloop_info loops = NULL;
  564. hwloop_info loop;
  565. bitmap_obstack loop_stack;
  566. df_live_add_problem ();
  567. df_live_set_all_dirty ();
  568. df_analyze ();
  569. bitmap_obstack_initialize (&loop_stack);
  570. if (dump_file)
  571. fprintf (dump_file, ";; Find loops, first pass\n\n");
  572. loops = discover_loops (&loop_stack, hooks);
  573. /* We can't enter cfglayout mode anymore if basic block partitioning
  574. already happened. */
  575. if (do_reorder && !flag_reorder_blocks_and_partition)
  576. {
  577. reorder_loops (loops);
  578. free_loops (loops);
  579. if (dump_file)
  580. fprintf (dump_file, ";; Find loops, second pass\n\n");
  581. loops = discover_loops (&loop_stack, hooks);
  582. }
  583. for (loop = loops; loop; loop = loop->next)
  584. scan_loop (loop);
  585. /* Now apply the optimizations. */
  586. for (loop = loops; loop; loop = loop->next)
  587. optimize_loop (loop, hooks);
  588. if (dump_file)
  589. {
  590. fprintf (dump_file, ";; After hardware loops optimization:\n\n");
  591. dump_hwloops (loops);
  592. }
  593. free_loops (loops);
  594. bitmap_obstack_release (&loop_stack);
  595. if (dump_file)
  596. print_rtl (dump_file, get_insns ());
  597. }
  598. #endif