diff options
author | Fedor Sergeev <fedor.sergeev@azul.com> | 2018-09-26 13:01:43 +0000 |
---|---|---|
committer | Fedor Sergeev <fedor.sergeev@azul.com> | 2018-09-26 13:01:43 +0000 |
commit | a43fd9522d2bfe80c3ecaf525f281c7f6e8868b5 (patch) | |
tree | 86b5b3c9b28e5e3b0ff3864a4c6cf02385730eda /llvm/lib/LTO/ThinLTOCodeGenerator.cpp | |
parent | 00b88bbcaf19e75e8f6a500c9da47e92aec464a6 (diff) | |
download | bcm5719-llvm-a43fd9522d2bfe80c3ecaf525f281c7f6e8868b5.tar.gz bcm5719-llvm-a43fd9522d2bfe80c3ecaf525f281c7f6e8868b5.zip |
[PassTiming] cleaning up legacy PassTimingInfo interface. NFCI.
During D51276 discussion it was decided that legacy PassTimingInfo
interface can not be reused for new pass manager's implementation
of -time-passes.
This is a cleanup in preparation for D51276 to make legacy interface
as concise as possible, moving the PassTimingInfo from the header
into the anonymous legacy namespace in .cpp.
It is rather close to a revert of rL340872 in a sense that it hides
the interface and gets rid of templates. However as compared to
a complete revert it resides in a different translation unit and has
an additional pass-instance counting funcitonality (PassIDCountMap).
Reviewers: philip.pfaffe
Differential Revision: https://reviews.llvm.org/D52356
llvm-svn: 343104
Diffstat (limited to 'llvm/lib/LTO/ThinLTOCodeGenerator.cpp')
-rw-r--r-- | llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp index 0b599b53193..4e47239f49d 100644 --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp @@ -29,6 +29,7 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/Mangler.h" +#include "llvm/IR/PassTimingInfo.h" #include "llvm/IR/Verifier.h" #include "llvm/IRReader/IRReader.h" #include "llvm/LTO/LTO.h" |