summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-05-04 22:03:10 +0000
committerLang Hames <lhames@gmail.com>2015-05-04 22:03:10 +0000
commita68970dfd58dab5443707efc13ed682d6fbd076c (patch)
tree4a664eb98590f969cb1c9c0acfea1a8f6451ebd9 /clang/lib
parent19ffc26c5e375ae6682a3877a959d195dbcf7524 (diff)
downloadbcm5719-llvm-a68970dfd58dab5443707efc13ed682d6fbd076c.tar.gz
bcm5719-llvm-a68970dfd58dab5443707efc13ed682d6fbd076c.zip
[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
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud