2008年11月26日水曜日

アセンブリが出るまで

  1. MAIN.C      : main()
  2. TOPLEV.C    :  toplev_main()
  3. TOPLEV.C    :   do_compile()
  4. TOPLEV.C    :    compile_file()
  5. C-OPTS.C     :    c_common_parse_file()
  6. C-PARSER.C    :     c_parse_file()
  7. C-PARSER.C    :      c_parser_translation_unit()
  8. C-PARSER.C    :       c_parser_external_declaration()
  9. C-PARSER.C    :        c_parser_declaration_or_fndef()
  10. C-DECL.C     :         finish_function()
  11. CGRAPHUNIT.C  :          cgraph_finalize_function()
  12. CGRAPHUNIT.C  :           cgraph_assemble_pending_functions()
  13. CGRAPHUNIT.C  :           cgraph_expand_function()
  14. TREE-OPTIMIZE.C :            tree_rest_of_compilation()
  15. PASSES.C     :               execute_pass_list() // 最適化パスのリスト実行
  16. PASSES.C     :                execute_one_pass()
  17. FINAL.C      :                 rest_of_handle_final() // Turn the RTL into assembly. struct tree_opt_pass pass_final->execute()
  18. FINAL.C      :                  final() // バックエンドも最後のパス
  19. FINAL.C      :                   final_scan_insn()
  20. FINAL.C      :                    output_asm_insn()

0 件のコメント: