From 8a8466106cf3a53ee5eda010f3e7e784da77aaa2 Mon Sep 17 00:00:00 2001 From: Hongbin Zheng Date: Wed, 25 Apr 2012 13:18:28 +0000 Subject: [PATCH] Refactor: Move the code generation related header files to include/polly/CodeGen. llvm-svn: 155547 --- polly/include/polly/{ => CodeGen}/BlockGenerators.h | 0 polly/include/polly/{ => CodeGen}/CodeGeneration.h | 0 polly/include/polly/{ => CodeGen}/LoopGenerators.h | 0 polly/lib/CodeGen/BlockGenerators.cpp | 3 +-- polly/lib/CodeGen/CodeGeneration.cpp | 6 +++--- polly/lib/CodeGen/LoopGenerators.cpp | 2 +- polly/lib/ScheduleOptimizer.cpp | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) rename polly/include/polly/{ => CodeGen}/BlockGenerators.h (100%) rename polly/include/polly/{ => CodeGen}/CodeGeneration.h (100%) rename polly/include/polly/{ => CodeGen}/LoopGenerators.h (100%) diff --git a/polly/include/polly/BlockGenerators.h b/polly/include/polly/CodeGen/BlockGenerators.h similarity index 100% rename from polly/include/polly/BlockGenerators.h rename to polly/include/polly/CodeGen/BlockGenerators.h diff --git a/polly/include/polly/CodeGeneration.h b/polly/include/polly/CodeGen/CodeGeneration.h similarity index 100% rename from polly/include/polly/CodeGeneration.h rename to polly/include/polly/CodeGen/CodeGeneration.h diff --git a/polly/include/polly/LoopGenerators.h b/polly/include/polly/CodeGen/LoopGenerators.h similarity index 100% rename from polly/include/polly/LoopGenerators.h rename to polly/include/polly/CodeGen/LoopGenerators.h diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp index 889462f..95b8279 100644 --- a/polly/lib/CodeGen/BlockGenerators.cpp +++ b/polly/lib/CodeGen/BlockGenerators.cpp @@ -14,8 +14,7 @@ //===----------------------------------------------------------------------===// #include "polly/ScopInfo.h" -#include "polly/BlockGenerators.h" -#include "polly/CodeGeneration.h" +#include "polly/CodeGen/BlockGenerators.h" #include "polly/Support/GICHelper.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index b91d020..4f46c95 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -23,13 +23,13 @@ #define DEBUG_TYPE "polly-codegen" #include "polly/Cloog.h" -#include "polly/CodeGeneration.h" #include "polly/Dependences.h" #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" #include "polly/TempScopInfo.h" -#include "polly/BlockGenerators.h" -#include "polly/LoopGenerators.h" +#include "polly/CodeGen/CodeGeneration.h" +#include "polly/CodeGen/BlockGenerators.h" +#include "polly/CodeGen/LoopGenerators.h" #include "polly/Support/GICHelper.h" #include "llvm/Module.h" diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index 583bbe4..f56ec41 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#include "polly/LoopGenerators.h" #include "polly/ScopDetection.h" +#include "polly/CodeGen/LoopGenerators.h" #include "llvm/Module.h" #include "llvm/Analysis/Dominators.h" diff --git a/polly/lib/ScheduleOptimizer.cpp b/polly/lib/ScheduleOptimizer.cpp index 171ed20..899712e 100644 --- a/polly/lib/ScheduleOptimizer.cpp +++ b/polly/lib/ScheduleOptimizer.cpp @@ -19,7 +19,7 @@ #include "polly/ScheduleOptimizer.h" -#include "polly/CodeGeneration.h" +#include "polly/CodeGen/CodeGeneration.h" #include "polly/Dependences.h" #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" -- 2.7.4