passes.def 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. /* Description of pass structure
  2. Copyright (C) 1987-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. /*
  16. Macros that should be defined when using this file:
  17. INSERT_PASSES_AFTER (PASS)
  18. PUSH_INSERT_PASSES_WITHIN (PASS)
  19. POP_INSERT_PASSES ()
  20. NEXT_PASS (PASS)
  21. TERMINATE_PASS_LIST ()
  22. */
  23. /* All passes needed to lower the function into shape optimizers can
  24. operate on. These passes are always run first on the function, but
  25. backend might produce already lowered functions that are not processed
  26. by these passes. */
  27. INSERT_PASSES_AFTER (all_lowering_passes)
  28. NEXT_PASS (pass_warn_unused_result);
  29. NEXT_PASS (pass_diagnose_omp_blocks);
  30. NEXT_PASS (pass_diagnose_tm_blocks);
  31. NEXT_PASS (pass_lower_omp);
  32. NEXT_PASS (pass_lower_cf);
  33. NEXT_PASS (pass_lower_tm);
  34. NEXT_PASS (pass_refactor_eh);
  35. NEXT_PASS (pass_lower_eh);
  36. NEXT_PASS (pass_build_cfg);
  37. NEXT_PASS (pass_warn_function_return);
  38. NEXT_PASS (pass_expand_omp);
  39. NEXT_PASS (pass_build_cgraph_edges);
  40. TERMINATE_PASS_LIST ()
  41. /* Interprocedural optimization passes. */
  42. INSERT_PASSES_AFTER (all_small_ipa_passes)
  43. NEXT_PASS (pass_ipa_free_lang_data);
  44. NEXT_PASS (pass_ipa_function_and_variable_visibility);
  45. NEXT_PASS (pass_ipa_chkp_versioning);
  46. NEXT_PASS (pass_ipa_chkp_early_produce_thunks);
  47. NEXT_PASS (pass_build_ssa_passes);
  48. PUSH_INSERT_PASSES_WITHIN (pass_build_ssa_passes)
  49. NEXT_PASS (pass_fixup_cfg);
  50. NEXT_PASS (pass_init_datastructures);
  51. NEXT_PASS (pass_build_ssa);
  52. NEXT_PASS (pass_ubsan);
  53. NEXT_PASS (pass_early_warn_uninitialized);
  54. NEXT_PASS (pass_nothrow);
  55. POP_INSERT_PASSES ()
  56. NEXT_PASS (pass_chkp_instrumentation_passes);
  57. PUSH_INSERT_PASSES_WITHIN (pass_chkp_instrumentation_passes)
  58. NEXT_PASS (pass_fixup_cfg);
  59. NEXT_PASS (pass_chkp);
  60. NEXT_PASS (pass_rebuild_cgraph_edges);
  61. POP_INSERT_PASSES ()
  62. NEXT_PASS (pass_local_optimization_passes);
  63. PUSH_INSERT_PASSES_WITHIN (pass_local_optimization_passes)
  64. NEXT_PASS (pass_fixup_cfg);
  65. NEXT_PASS (pass_rebuild_cgraph_edges);
  66. NEXT_PASS (pass_inline_parameters);
  67. NEXT_PASS (pass_early_inline);
  68. NEXT_PASS (pass_all_early_optimizations);
  69. PUSH_INSERT_PASSES_WITHIN (pass_all_early_optimizations)
  70. NEXT_PASS (pass_remove_cgraph_callee_edges);
  71. NEXT_PASS (pass_rename_ssa_copies);
  72. NEXT_PASS (pass_object_sizes);
  73. NEXT_PASS (pass_ccp);
  74. /* After CCP we rewrite no longer addressed locals into SSA
  75. form if possible. */
  76. NEXT_PASS (pass_forwprop);
  77. NEXT_PASS (pass_sra_early);
  78. /* pass_build_ealias is a dummy pass that ensures that we
  79. execute TODO_rebuild_alias at this point. */
  80. NEXT_PASS (pass_build_ealias);
  81. NEXT_PASS (pass_fre);
  82. NEXT_PASS (pass_merge_phi);
  83. NEXT_PASS (pass_cd_dce);
  84. NEXT_PASS (pass_early_ipa_sra);
  85. NEXT_PASS (pass_tail_recursion);
  86. NEXT_PASS (pass_convert_switch);
  87. NEXT_PASS (pass_cleanup_eh);
  88. NEXT_PASS (pass_profile);
  89. NEXT_PASS (pass_local_pure_const);
  90. /* Split functions creates parts that are not run through
  91. early optimizations again. It is thus good idea to do this
  92. late. */
  93. NEXT_PASS (pass_split_functions);
  94. POP_INSERT_PASSES ()
  95. NEXT_PASS (pass_release_ssa_names);
  96. NEXT_PASS (pass_rebuild_cgraph_edges);
  97. NEXT_PASS (pass_inline_parameters);
  98. POP_INSERT_PASSES ()
  99. NEXT_PASS (pass_ipa_chkp_produce_thunks);
  100. NEXT_PASS (pass_ipa_auto_profile);
  101. NEXT_PASS (pass_ipa_free_inline_summary);
  102. NEXT_PASS (pass_ipa_tree_profile);
  103. PUSH_INSERT_PASSES_WITHIN (pass_ipa_tree_profile)
  104. NEXT_PASS (pass_feedback_split_functions);
  105. POP_INSERT_PASSES ()
  106. NEXT_PASS (pass_ipa_increase_alignment);
  107. NEXT_PASS (pass_ipa_tm);
  108. NEXT_PASS (pass_ipa_lower_emutls);
  109. TERMINATE_PASS_LIST ()
  110. INSERT_PASSES_AFTER (all_regular_ipa_passes)
  111. NEXT_PASS (pass_ipa_whole_program_visibility);
  112. NEXT_PASS (pass_ipa_profile);
  113. NEXT_PASS (pass_ipa_icf);
  114. NEXT_PASS (pass_ipa_devirt);
  115. NEXT_PASS (pass_ipa_cp);
  116. NEXT_PASS (pass_ipa_cdtor_merge);
  117. NEXT_PASS (pass_ipa_inline);
  118. NEXT_PASS (pass_ipa_pure_const);
  119. NEXT_PASS (pass_ipa_reference);
  120. /* This pass needs to be scheduled after any IP code duplication. */
  121. NEXT_PASS (pass_ipa_single_use);
  122. /* Comdat privatization come last, as direct references to comdat local
  123. symbols are not allowed outside of the comdat group. Privatizing early
  124. would result in missed optimizations due to this restriction. */
  125. NEXT_PASS (pass_ipa_comdats);
  126. TERMINATE_PASS_LIST ()
  127. /* Simple IPA passes executed after the regular passes. In WHOPR mode the
  128. passes are executed after partitioning and thus see just parts of the
  129. compiled unit. */
  130. INSERT_PASSES_AFTER (all_late_ipa_passes)
  131. NEXT_PASS (pass_ipa_pta);
  132. NEXT_PASS (pass_omp_simd_clone);
  133. TERMINATE_PASS_LIST ()
  134. /* These passes are run after IPA passes on every function that is being
  135. output to the assembler file. */
  136. INSERT_PASSES_AFTER (all_passes)
  137. NEXT_PASS (pass_fixup_cfg);
  138. NEXT_PASS (pass_lower_eh_dispatch);
  139. NEXT_PASS (pass_all_optimizations);
  140. PUSH_INSERT_PASSES_WITHIN (pass_all_optimizations)
  141. NEXT_PASS (pass_remove_cgraph_callee_edges);
  142. /* Initial scalar cleanups before alias computation.
  143. They ensure memory accesses are not indirect wherever possible. */
  144. NEXT_PASS (pass_strip_predict_hints);
  145. NEXT_PASS (pass_rename_ssa_copies);
  146. NEXT_PASS (pass_ccp);
  147. /* After CCP we rewrite no longer addressed locals into SSA
  148. form if possible. */
  149. NEXT_PASS (pass_copy_prop);
  150. NEXT_PASS (pass_complete_unrolli);
  151. NEXT_PASS (pass_phiprop);
  152. NEXT_PASS (pass_forwprop);
  153. NEXT_PASS (pass_object_sizes);
  154. /* pass_build_alias is a dummy pass that ensures that we
  155. execute TODO_rebuild_alias at this point. */
  156. NEXT_PASS (pass_build_alias);
  157. NEXT_PASS (pass_return_slot);
  158. NEXT_PASS (pass_fre);
  159. NEXT_PASS (pass_merge_phi);
  160. NEXT_PASS (pass_vrp);
  161. NEXT_PASS (pass_chkp_opt);
  162. NEXT_PASS (pass_dce);
  163. NEXT_PASS (pass_call_cdce);
  164. NEXT_PASS (pass_cselim);
  165. NEXT_PASS (pass_copy_prop);
  166. NEXT_PASS (pass_tree_ifcombine);
  167. NEXT_PASS (pass_phiopt);
  168. NEXT_PASS (pass_tail_recursion);
  169. NEXT_PASS (pass_ch);
  170. NEXT_PASS (pass_stdarg);
  171. NEXT_PASS (pass_lower_complex);
  172. NEXT_PASS (pass_sra);
  173. NEXT_PASS (pass_rename_ssa_copies);
  174. /* The dom pass will also resolve all __builtin_constant_p calls
  175. that are still there to 0. This has to be done after some
  176. propagations have already run, but before some more dead code
  177. is removed, and this place fits nicely. Remember this when
  178. trying to move or duplicate pass_dominator somewhere earlier. */
  179. NEXT_PASS (pass_dominator);
  180. /* At this point the majority of const/copy propagations
  181. are exposed. Go ahead and identify paths that should never
  182. be executed in a conforming program and isolate those paths.
  183. This will expose more degenerate PHIs in the main path and
  184. expose more PRE/DOM optimization opportunities. */
  185. NEXT_PASS (pass_isolate_erroneous_paths);
  186. /* The only const/copy propagation opportunities left after
  187. DOM and erroneous path isolation should be due to degenerate PHI nodes.
  188. So rather than run the full propagators, run a specialized pass which
  189. only examines PHIs to discover const/copy propagation
  190. opportunities. */
  191. NEXT_PASS (pass_phi_only_cprop);
  192. NEXT_PASS (pass_dse);
  193. NEXT_PASS (pass_reassoc);
  194. NEXT_PASS (pass_dce);
  195. NEXT_PASS (pass_forwprop);
  196. NEXT_PASS (pass_phiopt);
  197. NEXT_PASS (pass_ccp);
  198. /* After CCP we rewrite no longer addressed locals into SSA
  199. form if possible. */
  200. NEXT_PASS (pass_copy_prop);
  201. NEXT_PASS (pass_cse_sincos);
  202. NEXT_PASS (pass_optimize_bswap);
  203. NEXT_PASS (pass_split_crit_edges);
  204. NEXT_PASS (pass_pre);
  205. NEXT_PASS (pass_sink_code);
  206. NEXT_PASS (pass_asan);
  207. NEXT_PASS (pass_tsan);
  208. /* Pass group that runs when 1) enabled, 2) there are loops
  209. in the function. Make sure to run pass_fix_loops before
  210. to discover/remove loops before running the gate function
  211. of pass_tree_loop. */
  212. NEXT_PASS (pass_fix_loops);
  213. NEXT_PASS (pass_tree_loop);
  214. PUSH_INSERT_PASSES_WITHIN (pass_tree_loop)
  215. NEXT_PASS (pass_tree_loop_init);
  216. NEXT_PASS (pass_lim);
  217. NEXT_PASS (pass_copy_prop);
  218. NEXT_PASS (pass_dce);
  219. NEXT_PASS (pass_tree_unswitch);
  220. NEXT_PASS (pass_scev_cprop);
  221. NEXT_PASS (pass_record_bounds);
  222. NEXT_PASS (pass_check_data_deps);
  223. NEXT_PASS (pass_loop_distribution);
  224. NEXT_PASS (pass_copy_prop);
  225. NEXT_PASS (pass_graphite);
  226. PUSH_INSERT_PASSES_WITHIN (pass_graphite)
  227. NEXT_PASS (pass_graphite_transforms);
  228. NEXT_PASS (pass_lim);
  229. NEXT_PASS (pass_copy_prop);
  230. NEXT_PASS (pass_dce);
  231. POP_INSERT_PASSES ()
  232. NEXT_PASS (pass_iv_canon);
  233. NEXT_PASS (pass_parallelize_loops);
  234. PUSH_INSERT_PASSES_WITHIN (pass_parallelize_loops)
  235. NEXT_PASS (pass_expand_omp_ssa);
  236. POP_INSERT_PASSES ()
  237. NEXT_PASS (pass_if_conversion);
  238. /* pass_vectorize must immediately follow pass_if_conversion.
  239. Please do not add any other passes in between. */
  240. NEXT_PASS (pass_vectorize);
  241. PUSH_INSERT_PASSES_WITHIN (pass_vectorize)
  242. NEXT_PASS (pass_dce);
  243. POP_INSERT_PASSES ()
  244. NEXT_PASS (pass_predcom);
  245. NEXT_PASS (pass_complete_unroll);
  246. NEXT_PASS (pass_slp_vectorize);
  247. NEXT_PASS (pass_loop_prefetch);
  248. /* Run IVOPTs after the last pass that uses data-reference analysis
  249. as that doesn't handle TARGET_MEM_REFs. */
  250. NEXT_PASS (pass_iv_optimize);
  251. NEXT_PASS (pass_lim);
  252. NEXT_PASS (pass_tree_loop_done);
  253. POP_INSERT_PASSES ()
  254. /* Pass group that runs when pass_tree_loop is disabled or there
  255. are no loops in the function. */
  256. NEXT_PASS (pass_tree_no_loop);
  257. PUSH_INSERT_PASSES_WITHIN (pass_tree_no_loop)
  258. NEXT_PASS (pass_slp_vectorize);
  259. POP_INSERT_PASSES ()
  260. NEXT_PASS (pass_simduid_cleanup);
  261. NEXT_PASS (pass_lower_vector_ssa);
  262. NEXT_PASS (pass_cse_reciprocals);
  263. NEXT_PASS (pass_reassoc);
  264. NEXT_PASS (pass_strength_reduction);
  265. NEXT_PASS (pass_tracer);
  266. NEXT_PASS (pass_dominator);
  267. NEXT_PASS (pass_strlen);
  268. NEXT_PASS (pass_vrp);
  269. /* The only const/copy propagation opportunities left after
  270. DOM and VRP should be due to degenerate PHI nodes. So rather than
  271. run the full propagators, run a specialized pass which
  272. only examines PHIs to discover const/copy propagation
  273. opportunities. */
  274. NEXT_PASS (pass_phi_only_cprop);
  275. NEXT_PASS (pass_cd_dce);
  276. NEXT_PASS (pass_dse);
  277. NEXT_PASS (pass_forwprop);
  278. NEXT_PASS (pass_phiopt);
  279. NEXT_PASS (pass_fold_builtins);
  280. NEXT_PASS (pass_optimize_widening_mul);
  281. NEXT_PASS (pass_tail_calls);
  282. NEXT_PASS (pass_rename_ssa_copies);
  283. /* FIXME: If DCE is not run before checking for uninitialized uses,
  284. we may get false warnings (e.g., testsuite/gcc.dg/uninit-5.c).
  285. However, this also causes us to misdiagnose cases that should be
  286. real warnings (e.g., testsuite/gcc.dg/pr18501.c).
  287. To fix the false positives in uninit-5.c, we would have to
  288. account for the predicates protecting the set and the use of each
  289. variable. Using a representation like Gated Single Assignment
  290. may help. */
  291. /* Split critical edges before late uninit warning to reduce the
  292. number of false positives from it. */
  293. NEXT_PASS (pass_split_crit_edges);
  294. NEXT_PASS (pass_late_warn_uninitialized);
  295. NEXT_PASS (pass_uncprop);
  296. NEXT_PASS (pass_local_pure_const);
  297. POP_INSERT_PASSES ()
  298. NEXT_PASS (pass_all_optimizations_g);
  299. PUSH_INSERT_PASSES_WITHIN (pass_all_optimizations_g)
  300. NEXT_PASS (pass_remove_cgraph_callee_edges);
  301. NEXT_PASS (pass_strip_predict_hints);
  302. /* Lower remaining pieces of GIMPLE. */
  303. NEXT_PASS (pass_lower_complex);
  304. NEXT_PASS (pass_lower_vector_ssa);
  305. /* Perform simple scalar cleanup which is constant/copy propagation. */
  306. NEXT_PASS (pass_ccp);
  307. NEXT_PASS (pass_object_sizes);
  308. /* Fold remaining builtins. */
  309. NEXT_PASS (pass_fold_builtins);
  310. /* Copy propagation also copy-propagates constants, this is necessary
  311. to forward object-size and builtin folding results properly. */
  312. NEXT_PASS (pass_copy_prop);
  313. NEXT_PASS (pass_dce);
  314. NEXT_PASS (pass_asan);
  315. NEXT_PASS (pass_tsan);
  316. NEXT_PASS (pass_rename_ssa_copies);
  317. /* ??? We do want some kind of loop invariant motion, but we possibly
  318. need to adjust LIM to be more friendly towards preserving accurate
  319. debug information here. */
  320. /* Split critical edges before late uninit warning to reduce the
  321. number of false positives from it. */
  322. NEXT_PASS (pass_split_crit_edges);
  323. NEXT_PASS (pass_late_warn_uninitialized);
  324. NEXT_PASS (pass_uncprop);
  325. NEXT_PASS (pass_local_pure_const);
  326. POP_INSERT_PASSES ()
  327. NEXT_PASS (pass_tm_init);
  328. PUSH_INSERT_PASSES_WITHIN (pass_tm_init)
  329. NEXT_PASS (pass_tm_mark);
  330. NEXT_PASS (pass_tm_memopt);
  331. NEXT_PASS (pass_tm_edges);
  332. POP_INSERT_PASSES ()
  333. NEXT_PASS (pass_vtable_verify);
  334. NEXT_PASS (pass_lower_vector);
  335. NEXT_PASS (pass_lower_complex_O0);
  336. NEXT_PASS (pass_asan_O0);
  337. NEXT_PASS (pass_tsan_O0);
  338. NEXT_PASS (pass_sanopt);
  339. NEXT_PASS (pass_cleanup_eh);
  340. NEXT_PASS (pass_lower_resx);
  341. NEXT_PASS (pass_nrv);
  342. NEXT_PASS (pass_cleanup_cfg_post_optimizing);
  343. NEXT_PASS (pass_warn_function_noreturn);
  344. NEXT_PASS (pass_expand);
  345. NEXT_PASS (pass_rest_of_compilation);
  346. PUSH_INSERT_PASSES_WITHIN (pass_rest_of_compilation)
  347. NEXT_PASS (pass_instantiate_virtual_regs);
  348. NEXT_PASS (pass_into_cfg_layout_mode);
  349. NEXT_PASS (pass_jump);
  350. NEXT_PASS (pass_lower_subreg);
  351. NEXT_PASS (pass_df_initialize_opt);
  352. NEXT_PASS (pass_cse);
  353. NEXT_PASS (pass_rtl_fwprop);
  354. NEXT_PASS (pass_rtl_cprop);
  355. NEXT_PASS (pass_rtl_pre);
  356. NEXT_PASS (pass_rtl_hoist);
  357. NEXT_PASS (pass_rtl_cprop);
  358. NEXT_PASS (pass_rtl_store_motion);
  359. NEXT_PASS (pass_cse_after_global_opts);
  360. NEXT_PASS (pass_rtl_ifcvt);
  361. NEXT_PASS (pass_reginfo_init);
  362. /* Perform loop optimizations. It might be better to do them a bit
  363. sooner, but we want the profile feedback to work more
  364. efficiently. */
  365. NEXT_PASS (pass_loop2);
  366. PUSH_INSERT_PASSES_WITHIN (pass_loop2)
  367. NEXT_PASS (pass_rtl_loop_init);
  368. NEXT_PASS (pass_rtl_move_loop_invariants);
  369. NEXT_PASS (pass_rtl_unroll_loops);
  370. NEXT_PASS (pass_rtl_doloop);
  371. NEXT_PASS (pass_rtl_loop_done);
  372. TERMINATE_PASS_LIST ()
  373. POP_INSERT_PASSES ()
  374. NEXT_PASS (pass_web);
  375. NEXT_PASS (pass_rtl_cprop);
  376. NEXT_PASS (pass_cse2);
  377. NEXT_PASS (pass_rtl_dse1);
  378. NEXT_PASS (pass_rtl_fwprop_addr);
  379. NEXT_PASS (pass_inc_dec);
  380. NEXT_PASS (pass_initialize_regs);
  381. NEXT_PASS (pass_ud_rtl_dce);
  382. NEXT_PASS (pass_combine);
  383. NEXT_PASS (pass_if_after_combine);
  384. NEXT_PASS (pass_partition_blocks);
  385. NEXT_PASS (pass_outof_cfg_layout_mode);
  386. NEXT_PASS (pass_split_all_insns);
  387. NEXT_PASS (pass_lower_subreg2);
  388. NEXT_PASS (pass_df_initialize_no_opt);
  389. NEXT_PASS (pass_stack_ptr_mod);
  390. NEXT_PASS (pass_mode_switching);
  391. NEXT_PASS (pass_match_asm_constraints);
  392. NEXT_PASS (pass_sms);
  393. NEXT_PASS (pass_live_range_shrinkage);
  394. NEXT_PASS (pass_sched);
  395. NEXT_PASS (pass_ira);
  396. NEXT_PASS (pass_reload);
  397. NEXT_PASS (pass_postreload);
  398. PUSH_INSERT_PASSES_WITHIN (pass_postreload)
  399. NEXT_PASS (pass_postreload_cse);
  400. NEXT_PASS (pass_gcse2);
  401. NEXT_PASS (pass_split_after_reload);
  402. NEXT_PASS (pass_ree);
  403. NEXT_PASS (pass_compare_elim_after_reload);
  404. NEXT_PASS (pass_branch_target_load_optimize1);
  405. NEXT_PASS (pass_thread_prologue_and_epilogue);
  406. NEXT_PASS (pass_rtl_dse2);
  407. NEXT_PASS (pass_stack_adjustments);
  408. NEXT_PASS (pass_jump2);
  409. NEXT_PASS (pass_duplicate_computed_gotos);
  410. NEXT_PASS (pass_sched_fusion);
  411. NEXT_PASS (pass_peephole2);
  412. NEXT_PASS (pass_if_after_reload);
  413. NEXT_PASS (pass_regrename);
  414. NEXT_PASS (pass_cprop_hardreg);
  415. NEXT_PASS (pass_fast_rtl_dce);
  416. NEXT_PASS (pass_reorder_blocks);
  417. NEXT_PASS (pass_branch_target_load_optimize2);
  418. NEXT_PASS (pass_leaf_regs);
  419. NEXT_PASS (pass_split_before_sched2);
  420. NEXT_PASS (pass_sched2);
  421. NEXT_PASS (pass_stack_regs);
  422. PUSH_INSERT_PASSES_WITHIN (pass_stack_regs)
  423. NEXT_PASS (pass_split_before_regstack);
  424. NEXT_PASS (pass_stack_regs_run);
  425. POP_INSERT_PASSES ()
  426. POP_INSERT_PASSES ()
  427. NEXT_PASS (pass_late_compilation);
  428. PUSH_INSERT_PASSES_WITHIN (pass_late_compilation)
  429. NEXT_PASS (pass_compute_alignments);
  430. NEXT_PASS (pass_variable_tracking);
  431. NEXT_PASS (pass_free_cfg);
  432. NEXT_PASS (pass_machine_reorg);
  433. NEXT_PASS (pass_cleanup_barriers);
  434. NEXT_PASS (pass_delay_slots);
  435. NEXT_PASS (pass_split_for_shorten_branches);
  436. NEXT_PASS (pass_convert_to_eh_region_ranges);
  437. NEXT_PASS (pass_shorten_branches);
  438. NEXT_PASS (pass_set_nothrow_function_flags);
  439. NEXT_PASS (pass_dwarf2_frame);
  440. NEXT_PASS (pass_final);
  441. POP_INSERT_PASSES ()
  442. NEXT_PASS (pass_df_finish);
  443. POP_INSERT_PASSES ()
  444. NEXT_PASS (pass_clean_state);
  445. TERMINATE_PASS_LIST ()