mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
8482e48d19
Summary: This patch computes the synthetic function entry count on the whole program callgraph (based on module summary) and writes the entry counts to the summary. After function importing, this count gets attached to the IR as metadata. Since it adds a new field to the summary, this bumps up the version. Reviewers: tejohnson Subscribers: mehdi_amini, inglorion, llvm-commits Differential Revision: https://reviews.llvm.org/D43521 llvm-svn: 349076
18 lines
302 B
CMake
18 lines
302 B
CMake
add_llvm_library(LLVMLTO
|
|
Caching.cpp
|
|
LTO.cpp
|
|
LTOBackend.cpp
|
|
LTOModule.cpp
|
|
LTOCodeGenerator.cpp
|
|
SummaryBasedOptimizations.cpp
|
|
UpdateCompilerUsed.cpp
|
|
ThinLTOCodeGenerator.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
llvm_vcsrevision_h
|
|
)
|