From b54bee8ab7db6052f37a93f09f3ff4fe11571a74 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 --- include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h | 0 include/llvm/LTO/{ => legacy}/LTOModule.h | 0 include/llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h | 0 include/llvm/LTO/{ => legacy}/UpdateCompilerUsed.h | 0 lib/LTO/LTOCodeGenerator.cpp | 6 +++--- lib/LTO/LTOModule.cpp | 2 +- lib/LTO/ThinLTOCodeGenerator.cpp | 2 +- lib/LTO/UpdateCompilerUsed.cpp | 2 +- tools/llvm-lto/llvm-lto.cpp | 6 +++--- tools/lto/lto.cpp | 6 +++--- 10 files changed, 12 insertions(+), 12 deletions(-) rename include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h (100%) rename include/llvm/LTO/{ => legacy}/LTOModule.h (100%) rename include/llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h (100%) rename include/llvm/LTO/{ => legacy}/UpdateCompilerUsed.h (100%) diff --git a/include/llvm/LTO/LTOCodeGenerator.h b/include/llvm/LTO/legacy/LTOCodeGenerator.h similarity index 100% rename from include/llvm/LTO/LTOCodeGenerator.h rename to include/llvm/LTO/legacy/LTOCodeGenerator.h diff --git a/include/llvm/LTO/LTOModule.h b/include/llvm/LTO/legacy/LTOModule.h similarity index 100% rename from include/llvm/LTO/LTOModule.h rename to include/llvm/LTO/legacy/LTOModule.h diff --git a/include/llvm/LTO/ThinLTOCodeGenerator.h b/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h similarity index 100% rename from include/llvm/LTO/ThinLTOCodeGenerator.h rename to include/llvm/LTO/legacy/ThinLTOCodeGenerator.h diff --git a/include/llvm/LTO/UpdateCompilerUsed.h b/include/llvm/LTO/legacy/UpdateCompilerUsed.h similarity index 100% rename from include/llvm/LTO/UpdateCompilerUsed.h rename to include/llvm/LTO/legacy/UpdateCompilerUsed.h diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp index df4f230674e..1da2d18b7d1 100644 --- a/lib/LTO/LTOCodeGenerator.cpp +++ b/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/lib/LTO/LTOModule.cpp b/lib/LTO/LTOModule.cpp index fca6ca8011f..a1d6f93f087 100644 --- a/lib/LTO/LTOModule.cpp +++ b/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/lib/LTO/ThinLTOCodeGenerator.cpp b/lib/LTO/ThinLTOCodeGenerator.cpp index 2aa1e3f69a8..bfb0980bc16 100644 --- a/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/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/lib/LTO/UpdateCompilerUsed.cpp b/lib/LTO/UpdateCompilerUsed.cpp index 83cdfef507c..a574db6fb5a 100644 --- a/lib/LTO/UpdateCompilerUsed.cpp +++ b/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/tools/llvm-lto/llvm-lto.cpp b/tools/llvm-lto/llvm-lto.cpp index 84dce23aee2..b3b617b941d 100644 --- a/tools/llvm-lto/llvm-lto.cpp +++ b/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/tools/lto/lto.cpp b/tools/lto/lto.cpp index 0c36c99c07f..7109cf4d909 100644 --- a/tools/lto/lto.cpp +++ b/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"