0a2f2ceacf
Short-circuit the per-predecessor Join loop in ConstantPropagator::VisitPhi once the running join has reached top. Measured on a naive 49 KLOC generated lexer with --huge_method_cutoff gates lifted: AOT compile drops from ~21s to ~11s (about 47%). Work towards https://github.com/dart-lang/sdk/issues/63230 TEST=ci Change-Id: I3103253bdba93252d4b7abcb25819a52f75b2058 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505402 Auto-Submit: Modestas Valauskas <valauskasmodestas@gmail.com> Reviewed-by: Slava Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
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:
| Directory | What 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.