1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/examples/Kaleidoscope
Lang Hames 63e2fcbb79 [Orc] Refactor the compile-on-demand layer to make module partitioning lazy,
and avoid cloning unused decls into every partition.

Module partitioning showed up as a source of significant overhead when I
profiled some trivial test cases. Avoiding the overhead of partitionging
for uncalled functions helps to mitigate this.

This change also means that it is no longer necessary to have a
LazyEmittingLayer underneath the CompileOnDemand layer, since the
CompileOnDemandLayer will not extract or emit function bodies until they are
called.

llvm-svn: 236465
2015-05-04 22:03:10 +00:00
..
Chapter2 cmake: Add Kaleidoscope target 2015-01-06 23:39:37 +00:00
Chapter3 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Chapter4 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Chapter5 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Chapter6 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Chapter7 [Kaleidoscope] Fix incorrect use of reinterpret_cast. 2015-04-22 20:58:34 +00:00
Chapter8 IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
MCJIT [Kaleidoscope] Fix incorrect use of reinterpret_cast. 2015-04-22 20:58:34 +00:00
Orc [Orc] Refactor the compile-on-demand layer to make module partitioning lazy, 2015-05-04 22:03:10 +00:00
CMakeLists.txt Add CMake build support for Orc examples (& fix some clang -Werror build 2015-02-08 07:20:04 +00:00
Makefile Add Chapter 8 to the Kaleidoscope tutorial. This chapter adds 2014-12-08 18:00:47 +00:00