tree: e099748221fedf83e2380027db249104d2967b26 [path history] [tgz]
  1. README.md
  2. aot/
  3. assembler/
  4. backend/
  5. call_specializer.cc
  6. call_specializer.h
  7. cha.cc
  8. cha.h
  9. cha_test.cc
  10. compiler_pass.cc
  11. compiler_pass.h
  12. compiler_sources.gni
  13. compiler_state.h
  14. frontend/
  15. intrinsifier.cc
  16. intrinsifier.h
  17. intrinsifier_arm.cc
  18. intrinsifier_arm64.cc
  19. intrinsifier_dbc.cc
  20. intrinsifier_ia32.cc
  21. intrinsifier_x64.cc
  22. jit/
  23. method_recognizer.cc
  24. method_recognizer.h
  25. result_type_pragma.md
runtime/vm/compiler/README.md

Dart VM Compilation Pipeline

This folder contains Dart VM compilation pipeline.

Compilation pipeline is mainly responsible for converting AST or Kernel AST into IL flow graphs and then generating native code from IL.

It has the following structure:

DirectoryWhat goes there
assembler/Assemblers and disassemblers
backend/IL based compilation backend: optimization passes and architecture specific code generation rules
frontend/Frontends responsible for converting AST into IL
jit/JIT specific passes and compilation pipeline entry points
aot/AOT specific passes and compilation pipeline entry points
.Shared code or code without clear designation.

Currently there are no layering restrictions and components from different subfolders can reference each other.