From 5c73220fa57679085a1c75df30c5e084e01aa772 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 14 Jul 2016 21:21:16 +0000 Subject: [PATCH] Move legacy LTO interface headers to legacy/ directory. Differential Revision: https://reviews.llvm.org/D22173 llvm-svn: 275476 --- llvm/include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h | 0 llvm/include/llvm/LTO/{ => legacy}/LTOModule.h | 0 llvm/include/llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h | 0 llvm/include/llvm/LTO/{ => legacy}/UpdateCompilerUsed.h | 0 llvm/lib/LTO/LTOCodeGenerator.cpp | 6 +++--- llvm/lib/LTO/LTOModule.cpp | 2 +- llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 2 +- llvm/lib/LTO/UpdateCompilerUsed.cpp | 2 +- llvm/tools/llvm-lto/llvm-lto.cpp | 6 +++--- llvm/tools/lto/lto.cpp | 6 +++--- 10 files changed, 12 insertions(+), 12 deletions(-) rename llvm/include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h (100%) rename llvm/include/llvm/LTO/{ => legacy}/LTOModule.h (100%) rename llvm/include/llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h (100%) rename llvm/include/llvm/LTO/{ => legacy}/UpdateCompilerUsed.h (100%) diff --git a/llvm/include/llvm/LTO/LTOCodeGenerator.h b/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h similarity index 100% rename from llvm/include/llvm/LTO/LTOCodeGenerator.h rename to llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h diff --git a/llvm/include/llvm/LTO/LTOModule.h b/llvm/include/llvm/LTO/legacy/LTOModule.h similarity index 100% rename from llvm/include/llvm/LTO/LTOModule.h rename to llvm/include/llvm/LTO/legacy/LTOModule.h diff --git a/llvm/include/llvm/LTO/ThinLTOCodeGenerator.h b/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h similarity index 100% rename from llvm/include/llvm/LTO/ThinLTOCodeGenerator.h rename to llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h diff --git a/llvm/include/llvm/LTO/UpdateCompilerUsed.h b/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h similarity index 100% rename from llvm/include/llvm/LTO/UpdateCompilerUsed.h rename to llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index df4f230..1da2d18 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -12,8 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "llvm/LTO/LTOCodeGenerator.h" -#include "llvm/LTO/UpdateCompilerUsed.h" +#include "llvm/LTO/legacy/LTOCodeGenerator.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" @@ -36,7 +35,8 @@ #include "llvm/IR/Module.h" #include "llvm/IR/Verifier.h" #include "llvm/InitializePasses.h" -#include "llvm/LTO/LTOModule.h" +#include "llvm/LTO/legacy/LTOModule.h" +#include "llvm/LTO/legacy/UpdateCompilerUsed.h" #include "llvm/Linker/Linker.h" #include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCContext.h" diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp index fca6ca8..a1d6f93 100644 --- a/llvm/lib/LTO/LTOModule.cpp +++ b/llvm/lib/LTO/LTOModule.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "llvm/LTO/LTOModule.h" +#include "llvm/LTO/legacy/LTOModule.h" #include "llvm/ADT/Triple.h" #include "llvm/Bitcode/ReaderWriter.h" #include "llvm/CodeGen/Analysis.h" diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp index 2aa1e3f..bfb0980 100644 --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "llvm/LTO/ThinLTOCodeGenerator.h" +#include "llvm/LTO/legacy/ThinLTOCodeGenerator.h" #ifdef HAVE_LLVM_REVISION #include "LLVMLTORevision.h" diff --git a/llvm/lib/LTO/UpdateCompilerUsed.cpp b/llvm/lib/LTO/UpdateCompilerUsed.cpp index 83cdfef..a574db6 100644 --- a/llvm/lib/LTO/UpdateCompilerUsed.cpp +++ b/llvm/lib/LTO/UpdateCompilerUsed.cpp @@ -11,10 +11,10 @@ // //===----------------------------------------------------------------------===// +#include "llvm/LTO/legacy/UpdateCompilerUsed.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/Mangler.h" -#include "llvm/LTO/UpdateCompilerUsed.h" #include "llvm/Target/TargetLowering.h" #include "llvm/Target/TargetSubtargetInfo.h" #include "llvm/Transforms/IPO/Internalize.h" diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp index 84dce23..b3b617b 100644 --- a/llvm/tools/llvm-lto/llvm-lto.cpp +++ b/llvm/tools/llvm-lto/llvm-lto.cpp @@ -19,9 +19,9 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Verifier.h" #include "llvm/IRReader/IRReader.h" -#include "llvm/LTO/LTOCodeGenerator.h" -#include "llvm/LTO/LTOModule.h" -#include "llvm/LTO/ThinLTOCodeGenerator.h" +#include "llvm/LTO/legacy/LTOCodeGenerator.h" +#include "llvm/LTO/legacy/LTOModule.h" +#include "llvm/LTO/legacy/ThinLTOCodeGenerator.h" #include "llvm/Object/ModuleSummaryIndexObjectFile.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/FileSystem.h" diff --git a/llvm/tools/lto/lto.cpp b/llvm/tools/lto/lto.cpp index 0c36c99..7109cf4 100644 --- a/llvm/tools/lto/lto.cpp +++ b/llvm/tools/lto/lto.cpp @@ -19,9 +19,9 @@ #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/DiagnosticPrinter.h" #include "llvm/IR/LLVMContext.h" -#include "llvm/LTO/LTOCodeGenerator.h" -#include "llvm/LTO/LTOModule.h" -#include "llvm/LTO/ThinLTOCodeGenerator.h" +#include "llvm/LTO/legacy/LTOCodeGenerator.h" +#include "llvm/LTO/legacy/LTOModule.h" +#include "llvm/LTO/legacy/ThinLTOCodeGenerator.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Signals.h" #include "llvm/Support/TargetSelect.h" -- 2.7.4