diff --git a/polly/lib/Analysis/Dependences.cpp b/polly/lib/Analysis/Dependences.cpp index 06d7578feda8..61b1c1b29023 100644 --- a/polly/lib/Analysis/Dependences.cpp +++ b/polly/lib/Analysis/Dependences.cpp @@ -21,12 +21,10 @@ //===----------------------------------------------------------------------===// // #include "polly/Dependences.h" - #include "polly/LinkAllPasses.h" #include "polly/Options.h" #include "polly/ScopInfo.h" #include "polly/Support/GICHelper.h" - #include #include #include diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 2e3ed06b3428..7aa629fb86ec 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -48,18 +48,17 @@ #include "polly/LinkAllPasses.h" #include "polly/Options.h" #include "polly/ScopDetection.h" -#include "polly/Support/ScopHelper.h" #include "polly/Support/SCEVValidator.h" - -#include "llvm/IR/LLVMContext.h" +#include "polly/Support/ScopHelper.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/RegionIterator.h" #include "llvm/Analysis/ScalarEvolution.h" #include "llvm/Analysis/ScalarEvolutionExpressions.h" -#include "llvm/DebugInfo.h" #include "llvm/Assembly/Writer.h" +#include "llvm/DebugInfo.h" +#include "llvm/IR/LLVMContext.h" #define DEBUG_TYPE "polly-detect" #include "llvm/Support/Debug.h" diff --git a/polly/lib/Analysis/ScopGraphPrinter.cpp b/polly/lib/Analysis/ScopGraphPrinter.cpp index c69ae686a97d..9a78f7a74725 100644 --- a/polly/lib/Analysis/ScopGraphPrinter.cpp +++ b/polly/lib/Analysis/ScopGraphPrinter.cpp @@ -16,7 +16,6 @@ #include "polly/LinkAllPasses.h" #include "polly/ScopDetection.h" - #include "llvm/Analysis/DOTGraphTraitsPass.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/RegionIterator.h" diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index e369708d37f0..cc28d33a32d5 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -21,17 +21,16 @@ #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" #include "polly/Support/GICHelper.h" -#include "polly/Support/ScopHelper.h" #include "polly/Support/SCEVValidator.h" +#include "polly/Support/ScopHelper.h" #include "polly/TempScopInfo.h" - -#include "llvm/Analysis/LoopInfo.h" -#include "llvm/Analysis/ScalarEvolutionExpressions.h" -#include "llvm/Analysis/RegionIterator.h" -#include "llvm/Assembly/Writer.h" -#include "llvm/ADT/Statistic.h" #include "llvm/ADT/SetVector.h" +#include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/Analysis/LoopInfo.h" +#include "llvm/Analysis/RegionIterator.h" +#include "llvm/Analysis/ScalarEvolutionExpressions.h" +#include "llvm/Assembly/Writer.h" #include "llvm/Support/CommandLine.h" #define DEBUG_TYPE "polly-scops" diff --git a/polly/lib/Analysis/TempScopInfo.cpp b/polly/lib/Analysis/TempScopInfo.cpp index c335aee55521..fe8edb1f00f6 100644 --- a/polly/lib/Analysis/TempScopInfo.cpp +++ b/polly/lib/Analysis/TempScopInfo.cpp @@ -14,20 +14,18 @@ //===----------------------------------------------------------------------===// #include "polly/TempScopInfo.h" - #include "polly/LinkAllPasses.h" #include "polly/Support/GICHelper.h" -#include "polly/Support/ScopHelper.h" #include "polly/Support/SCEVValidator.h" - +#include "polly/Support/ScopHelper.h" +#include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/AliasAnalysis.h" -#include "llvm/Analysis/RegionIterator.h" -#include "llvm/IR/DataLayout.h" -#include "llvm/Assembly/Writer.h" #include "llvm/Analysis/LoopInfo.h" +#include "llvm/Analysis/RegionIterator.h" #include "llvm/Analysis/ScalarEvolution.h" #include "llvm/Analysis/ScalarEvolutionExpressions.h" -#include "llvm/ADT/STLExtras.h" +#include "llvm/Assembly/Writer.h" +#include "llvm/IR/DataLayout.h" #define DEBUG_TYPE "polly-analyze-ir" #include "llvm/Support/Debug.h" diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp index d425daa5e8a0..436f721c0d14 100644 --- a/polly/lib/CodeGen/BlockGenerators.cpp +++ b/polly/lib/CodeGen/BlockGenerators.cpp @@ -14,21 +14,19 @@ //===----------------------------------------------------------------------===// #include "polly/ScopInfo.h" -#include "polly/CodeGen/CodeGeneration.h" +#include "isl/aff.h" +#include "isl/set.h" #include "polly/CodeGen/BlockGenerators.h" +#include "polly/CodeGen/CodeGeneration.h" #include "polly/Options.h" #include "polly/Support/GICHelper.h" #include "polly/Support/SCEVValidator.h" #include "polly/Support/ScopHelper.h" - #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/ScalarEvolution.h" #include "llvm/Analysis/ScalarEvolutionExpander.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" -#include "isl/aff.h" -#include "isl/set.h" - using namespace llvm; using namespace polly; diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp index 7fa0bc27c697..f9dc55b148d3 100644 --- a/polly/lib/CodeGen/IslAst.cpp +++ b/polly/lib/CodeGen/IslAst.cpp @@ -21,9 +21,8 @@ #include "polly/CodeGen/CodeGeneration.h" #include "polly/CodeGen/IslAst.h" - -#include "polly/LinkAllPasses.h" #include "polly/Dependences.h" +#include "polly/LinkAllPasses.h" #include "polly/Options.h" #include "polly/ScopInfo.h" diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 4a6ffd67b4d9..78e4e2dc7bd7 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -19,22 +19,20 @@ // //===----------------------------------------------------------------------===// #include "polly/Config/config.h" - +#include "polly/CodeGen/BlockGenerators.h" +#include "polly/CodeGen/CodeGeneration.h" +#include "polly/CodeGen/IslAst.h" +#include "polly/CodeGen/LoopGenerators.h" +#include "polly/CodeGen/Utils.h" #include "polly/Dependences.h" #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" -#include "polly/TempScopInfo.h" -#include "polly/CodeGen/IslAst.h" -#include "polly/CodeGen/BlockGenerators.h" -#include "polly/CodeGen/CodeGeneration.h" -#include "polly/CodeGen/LoopGenerators.h" -#include "polly/CodeGen/Utils.h" #include "polly/Support/GICHelper.h" #include "polly/Support/ScopHelper.h" - -#include "llvm/IR/Module.h" +#include "polly/TempScopInfo.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/ScalarEvolutionExpander.h" +#include "llvm/IR/Module.h" #define DEBUG_TYPE "polly-codegen-isl" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index 21fe8bf37b91..b2e91b547277 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -14,10 +14,9 @@ #include "polly/ScopDetection.h" #include "polly/CodeGen/LoopGenerators.h" - -#include "llvm/IR/Module.h" #include "llvm/Analysis/Dominators.h" #include "llvm/IR/DataLayout.h" +#include "llvm/IR/Module.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" using namespace llvm; diff --git a/polly/lib/CodeGen/Utils.cpp b/polly/lib/CodeGen/Utils.cpp index 2e569392efd6..c4ace6c19e21 100644 --- a/polly/lib/CodeGen/Utils.cpp +++ b/polly/lib/CodeGen/Utils.cpp @@ -12,9 +12,7 @@ //===----------------------------------------------------------------------===// #include "polly/CodeGen/Utils.h" - #include "polly/ScopInfo.h" - #include "llvm/IR/IRBuilder.h" #include "llvm/Support/Debug.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" diff --git a/polly/lib/CodePreparation.cpp b/polly/lib/CodePreparation.cpp index 8c162fd5e970..80652c569b3f 100644 --- a/polly/lib/CodePreparation.cpp +++ b/polly/lib/CodePreparation.cpp @@ -40,7 +40,6 @@ #include "polly/LinkAllPasses.h" #include "polly/CodeGen/BlockGenerators.h" #include "polly/Support/ScopHelper.h" - #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/ScalarEvolution.h" diff --git a/polly/lib/DeadCodeElimination.cpp b/polly/lib/DeadCodeElimination.cpp index f1d5a907e5a6..2a780e6ba669 100644 --- a/polly/lib/DeadCodeElimination.cpp +++ b/polly/lib/DeadCodeElimination.cpp @@ -20,11 +20,10 @@ //===----------------------------------------------------------------------===// #include "polly/Dependences.h" +#include "isl/union_map.h" #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" -#include "isl/union_map.h" - using namespace llvm; using namespace polly; diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index 25b660cec584..5dd589a2df12 100644 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -16,13 +16,12 @@ #include "polly/Options.h" #include "polly/ScopInfo.h" #include "polly/ScopPass.h" - -#include "llvm/Support/ToolOutputFile.h" -#include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/system_error.h" #include "llvm/ADT/OwningPtr.h" -#include "llvm/Assembly/Writer.h" #include "llvm/ADT/Statistic.h" +#include "llvm/Assembly/Writer.h" +#include "llvm/Support/MemoryBuffer.h" +#include "llvm/Support/ToolOutputFile.h" +#include "llvm/Support/system_error.h" #define DEBUG_TYPE "polly-import-jscop" diff --git a/polly/lib/Exchange/OpenScopImporter.cpp b/polly/lib/Exchange/OpenScopImporter.cpp index d9b76c30efd7..ac2ec8f9a5cc 100644 --- a/polly/lib/Exchange/OpenScopImporter.cpp +++ b/polly/lib/Exchange/OpenScopImporter.cpp @@ -13,7 +13,6 @@ //===----------------------------------------------------------------------===// #include "polly/LinkAllPasses.h" - #include "polly/Dependences.h" #include "polly/Options.h" #include "polly/ScopInfo.h" diff --git a/polly/lib/IndVarSimplify.cpp b/polly/lib/IndVarSimplify.cpp index 71c79b1d3e82..19265887027a 100644 --- a/polly/lib/IndVarSimplify.cpp +++ b/polly/lib/IndVarSimplify.cpp @@ -27,30 +27,29 @@ #define DEBUG_TYPE "indvars" #include "polly/LinkAllPasses.h" - -#include "llvm/Transforms/Scalar.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/Statistic.h" +#include "llvm/Analysis/Dominators.h" +#include "llvm/Analysis/IVUsers.h" +#include "llvm/Analysis/LoopInfo.h" +#include "llvm/Analysis/LoopPass.h" +#include "llvm/Analysis/ScalarEvolutionExpander.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Constants.h" +#include "llvm/IR/DataLayout.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Type.h" -#include "llvm/Analysis/Dominators.h" -#include "llvm/Analysis/IVUsers.h" -#include "llvm/Analysis/ScalarEvolutionExpander.h" -#include "llvm/Analysis/LoopInfo.h" -#include "llvm/Analysis/LoopPass.h" #include "llvm/Support/CFG.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Transforms/Utils/Local.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" +#include "llvm/Transforms/Utils/Local.h" #include "llvm/Transforms/Utils/SimplifyIndVar.h" -#include "llvm/IR/DataLayout.h" -#include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/Statistic.h" using namespace llvm; STATISTIC(NumRemoved, "Number of aux indvars removed"); diff --git a/polly/lib/IndependentBlocks.cpp b/polly/lib/IndependentBlocks.cpp index e3779e6ee74b..7760b9852285 100644 --- a/polly/lib/IndependentBlocks.cpp +++ b/polly/lib/IndependentBlocks.cpp @@ -12,16 +12,15 @@ //===----------------------------------------------------------------------===// // #include "polly/LinkAllPasses.h" -#include "polly/ScopDetection.h" -#include "polly/Support/ScopHelper.h" #include "polly/CodeGen/BlockGenerators.h" #include "polly/CodeGen/Cloog.h" - +#include "polly/ScopDetection.h" +#include "polly/Support/ScopHelper.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/ValueTracking.h" -#include "llvm/Transforms/Utils/Local.h" #include "llvm/Assembly/Writer.h" +#include "llvm/Transforms/Utils/Local.h" #define DEBUG_TYPE "polly-independent" #include "llvm/Support/Debug.h" diff --git a/polly/lib/MayAliasSet.cpp b/polly/lib/MayAliasSet.cpp index 9f66835612cc..0d47d8c437e9 100644 --- a/polly/lib/MayAliasSet.cpp +++ b/polly/lib/MayAliasSet.cpp @@ -13,16 +13,14 @@ #include "polly/TempScopInfo.h" #include "polly/MayAliasSet.h" - -#include "llvm/IR/LLVMContext.h" -#include "llvm/Analysis/RegionInfo.h" -#include "llvm/Analysis/RegionIterator.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/AliasSetTracker.h" +#include "llvm/Analysis/RegionInfo.h" +#include "llvm/Analysis/RegionIterator.h" #include "llvm/Assembly/Writer.h" -#include "llvm/Support/raw_ostream.h" - +#include "llvm/IR/LLVMContext.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; using namespace polly; diff --git a/polly/lib/RegisterPasses.cpp b/polly/lib/RegisterPasses.cpp index 6c7d315c74d7..e970cd3d91f9 100644 --- a/polly/lib/RegisterPasses.cpp +++ b/polly/lib/RegisterPasses.cpp @@ -20,21 +20,19 @@ //===----------------------------------------------------------------------===// #include "polly/RegisterPasses.h" -#include "polly/LinkAllPasses.h" - #include "polly/CodeGen/BlockGenerators.h" #include "polly/CodeGen/Cloog.h" #include "polly/CodeGen/CodeGeneration.h" #include "polly/Dependences.h" +#include "polly/LinkAllPasses.h" #include "polly/Options.h" #include "polly/ScopDetection.h" #include "polly/ScopInfo.h" #include "polly/TempScopInfo.h" - #include "llvm/Analysis/CFGPrinter.h" #include "llvm/PassManager.h" -#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Vectorize.h" using namespace llvm; diff --git a/polly/lib/ScheduleOptimizer.cpp b/polly/lib/ScheduleOptimizer.cpp index 76ca3db466aa..05336c7d9c0a 100644 --- a/polly/lib/ScheduleOptimizer.cpp +++ b/polly/lib/ScheduleOptimizer.cpp @@ -18,13 +18,6 @@ //===----------------------------------------------------------------------===// #include "polly/ScheduleOptimizer.h" - -#include "polly/CodeGen/CodeGeneration.h" -#include "polly/Dependences.h" -#include "polly/LinkAllPasses.h" -#include "polly/Options.h" -#include "polly/ScopInfo.h" - #include "isl/aff.h" #include "isl/band.h" #include "isl/constraint.h" @@ -32,6 +25,11 @@ #include "isl/options.h" #include "isl/schedule.h" #include "isl/space.h" +#include "polly/CodeGen/CodeGeneration.h" +#include "polly/Dependences.h" +#include "polly/LinkAllPasses.h" +#include "polly/Options.h" +#include "polly/ScopInfo.h" #define DEBUG_TYPE "polly-opt-isl" #include "llvm/Support/Debug.h" diff --git a/polly/lib/Support/GICHelper.cpp b/polly/lib/Support/GICHelper.cpp index 1ab16cc0f6c7..876e132ab720 100644 --- a/polly/lib/Support/GICHelper.cpp +++ b/polly/lib/Support/GICHelper.cpp @@ -11,13 +11,12 @@ // //===----------------------------------------------------------------------===// #include "polly/Support/GICHelper.h" - -#include "isl/set.h" -#include "isl/union_set.h" -#include "isl/map.h" -#include "isl/union_map.h" -#include "isl/schedule.h" #include "isl/aff.h" +#include "isl/map.h" +#include "isl/schedule.h" +#include "isl/set.h" +#include "isl/union_map.h" +#include "isl/union_set.h" using namespace llvm; diff --git a/polly/lib/Support/ScopHelper.cpp b/polly/lib/Support/ScopHelper.cpp index 97e2656276ea..f4476c1229bf 100644 --- a/polly/lib/Support/ScopHelper.cpp +++ b/polly/lib/Support/ScopHelper.cpp @@ -13,7 +13,6 @@ #include "polly/Support/ScopHelper.h" #include "polly/ScopInfo.h" - #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/ScalarEvolution.h"