From: Misha Brukman Date: Thu, 7 Aug 2003 21:19:30 +0000 (+0000) Subject: Re-grouped and alphabetized headers for easier reading and cleaner style. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e49603d79d220a795bd50684c8b1f503ee40f97f;p=oota-llvm.git Re-grouped and alphabetized headers for easier reading and cleaner style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7689 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 9b9c2ec6cec..4d1ce462a1b 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -7,13 +7,13 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "llvm/Module.h" -#include "llvm/Bytecode/Reader.h" +#include "llvm/Pass.h" #include "llvm/Assembly/Parser.h" +#include "llvm/Bytecode/Reader.h" #include "llvm/Transforms/Utils/Linker.h" -#include "llvm/Pass.h" #include "Support/CommandLine.h" +#include "Support/SystemUtils.h" #include // Anonymous namespace to define command line options for debugging. diff --git a/tools/bugpoint/CodeGeneratorBug.cpp b/tools/bugpoint/CodeGeneratorBug.cpp index da990c7f725..c11f123fc06 100644 --- a/tools/bugpoint/CodeGeneratorBug.cpp +++ b/tools/bugpoint/CodeGeneratorBug.cpp @@ -5,7 +5,6 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "ListReducer.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" @@ -23,6 +22,7 @@ #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/StringExtras.h" +#include "Support/SystemUtils.h" #include #include diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 048e54a9891..cd4ed1e0c70 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -5,20 +5,20 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "ListReducer.h" -#include "llvm/Module.h" -#include "llvm/PassManager.h" -#include "llvm/Pass.h" #include "llvm/Constant.h" #include "llvm/iTerminators.h" -#include "llvm/Type.h" +#include "llvm/Module.h" +#include "llvm/Pass.h" +#include "llvm/PassManager.h" #include "llvm/SymbolTable.h" -#include "llvm/Support/CFG.h" +#include "llvm/Type.h" #include "llvm/Analysis/Verifier.h" +#include "llvm/Bytecode/Writer.h" +#include "llvm/Support/CFG.h" #include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/Cloning.h" -#include "llvm/Bytecode/Writer.h" +#include "Support/SystemUtils.h" #include #include diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 90f705d7e15..6a62233f92c 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -15,10 +15,10 @@ BUGPOINT NOTES: */ #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/FileUtilities.h" +#include "Support/SystemUtils.h" #include #include diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp index 9cb922a55d4..214833894b1 100644 --- a/tools/bugpoint/ExtractFunction.cpp +++ b/tools/bugpoint/ExtractFunction.cpp @@ -6,14 +6,14 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" +#include "llvm/Constant.h" #include "llvm/Module.h" #include "llvm/PassManager.h" +#include "llvm/Type.h" +#include "llvm/Analysis/Verifier.h" #include "llvm/Transforms/IPO.h" #include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/Cloning.h" -#include "llvm/Analysis/Verifier.h" -#include "llvm/Type.h" -#include "llvm/Constant.h" #include "Support/CommandLine.h" bool DisableSimplifyCFG = false; diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index d60ce7ee100..bd500c5f8b8 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -5,12 +5,12 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "ListReducer.h" -#include "llvm/Pass.h" #include "llvm/Module.h" +#include "llvm/Pass.h" #include "llvm/Transforms/Utils/Cloning.h" #include "llvm/Transforms/Utils/Linker.h" +#include "Support/SystemUtils.h" class ReduceMiscompilingPasses : public ListReducer { BugDriver &BD; diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index 3a29d5d97dc..bc3489fd1d6 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/tools/bugpoint/OptimizerDriver.cpp @@ -9,16 +9,16 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/SystemUtils.h" #include "llvm/PassManager.h" #include "llvm/Analysis/Verifier.h" #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/Target/TargetData.h" +#include "Support/SystemUtils.h" +#include +#include +#include #include #include -#include -#include -#include /// writeProgramToFile - This writes the current "Program" to the named bytecode /// file. If an error occurs, true is returned. diff --git a/tools/bugpoint/TestPasses.cpp b/tools/bugpoint/TestPasses.cpp index b284b9d1d9b..32bca9555b6 100644 --- a/tools/bugpoint/TestPasses.cpp +++ b/tools/bugpoint/TestPasses.cpp @@ -5,11 +5,11 @@ // //===----------------------------------------------------------------------===// -#include "llvm/Pass.h" +#include "llvm/BasicBlock.h" +#include "llvm/Constant.h" #include "llvm/iOther.h" +#include "llvm/Pass.h" #include "llvm/Support/InstVisitor.h" -#include "llvm/Constant.h" -#include "llvm/BasicBlock.h" namespace { /// CrashOnCalls - This pass is used to test bugpoint. It intentionally diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index ea440889473..4a6ebaf7573 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/tools/bugpoint/bugpoint.cpp @@ -7,8 +7,8 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "Support/CommandLine.h" #include "llvm/Support/PassNameParser.h" +#include "Support/CommandLine.h" static cl::list InputFilenames(cl::Positional, cl::OneOrMore,