Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Sort the #include lines of the examples/... tree.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169249 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chandlerc committed Dec 4, 2012
1 parent 96ad0e8 commit 4ca7e09
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion examples/BrainF/BrainF.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
//===--------------------------------------------------------------------===// //===--------------------------------------------------------------------===//


#include "BrainF.h" #include "BrainF.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Constants.h" #include "llvm/Constants.h"
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/Intrinsics.h" #include "llvm/Intrinsics.h"
#include "llvm/ADT/STLExtras.h"
#include <iostream> #include <iostream>
using namespace llvm; using namespace llvm;


Expand Down
4 changes: 2 additions & 2 deletions examples/BrainF/BrainFDriver.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
//===--------------------------------------------------------------------===// //===--------------------------------------------------------------------===//


#include "BrainF.h" #include "BrainF.h"
#include "llvm/Constants.h"
#include "llvm/Analysis/Verifier.h" #include "llvm/Analysis/Verifier.h"
#include "llvm/Bitcode/ReaderWriter.h" #include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/Constants.h"
#include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h" #include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include <iostream>
#include <fstream> #include <fstream>
#include <iostream>
using namespace llvm; using namespace llvm;


//Command line options //Command line options
Expand Down
12 changes: 6 additions & 6 deletions examples/ExceptionDemo/ExceptionDemo.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//


#include "llvm/LLVMContext.h" #include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/Intrinsics.h"
#include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Intrinsics.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/Dwarf.h" #include "llvm/Support/Dwarf.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar.h"


// FIXME: Although all systems tested with (Linux, OS X), do not need this // FIXME: Although all systems tested with (Linux, OS X), do not need this
// header file included. A user on ubuntu reported, undefined symbols // header file included. A user on ubuntu reported, undefined symbols
Expand Down
16 changes: 8 additions & 8 deletions examples/Fibonacci/fibonacci.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//


#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Analysis/Verifier.h" #include "llvm/Analysis/Verifier.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/Constants.h"
#include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/Instructions.h"
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm; using namespace llvm;


static Function *CreateFibFunction(Module *M, LLVMContext &Context) { static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
Expand Down
8 changes: 4 additions & 4 deletions examples/HowToUseJIT/HowToUseJIT.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@


#include "llvm/Constants.h" #include "llvm/Constants.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/ManagedStatic.h" #include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"


using namespace llvm; using namespace llvm;
Expand Down
2 changes: 1 addition & 1 deletion examples/Kaleidoscope/Chapter2/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>


//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
Expand Down
4 changes: 2 additions & 2 deletions examples/Kaleidoscope/Chapter3/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "llvm/Analysis/Verifier.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Analysis/Verifier.h"
#include <cstdio> #include <cstdio>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>
using namespace llvm; using namespace llvm;


Expand Down
10 changes: 5 additions & 5 deletions examples/Kaleidoscope/Chapter4/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,18 +1,18 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/DataLayout.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
#include <cstdio> #include <cstdio>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>
using namespace llvm; using namespace llvm;


Expand Down
10 changes: 5 additions & 5 deletions examples/Kaleidoscope/Chapter5/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,18 +1,18 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/DataLayout.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
#include <cstdio> #include <cstdio>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>
using namespace llvm; using namespace llvm;


Expand Down
10 changes: 5 additions & 5 deletions examples/Kaleidoscope/Chapter6/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,18 +1,18 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/DataLayout.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
#include <cstdio> #include <cstdio>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>
using namespace llvm; using namespace llvm;


Expand Down
10 changes: 5 additions & 5 deletions examples/Kaleidoscope/Chapter7/toy.cpp
Original file line number Original file line Diff line number Diff line change
@@ -1,18 +1,18 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/DataLayout.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/DataLayout.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
#include <cstdio> #include <cstdio>
#include <string>
#include <map> #include <map>
#include <string>
#include <vector> #include <vector>
using namespace llvm; using namespace llvm;


Expand Down
8 changes: 4 additions & 4 deletions examples/ModuleMaker/ModuleMaker.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//


#include "llvm/LLVMContext.h" #include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Constants.h" #include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/Bitcode/ReaderWriter.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
using namespace llvm; using namespace llvm;


Expand Down
12 changes: 6 additions & 6 deletions examples/ParallelJIT/ParallelJIT.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
// call into the JIT at the same time (or the best possible approximation of the // call into the JIT at the same time (or the best possible approximation of the
// same time). This test had assertion errors until I got the locking right. // same time). This test had assertion errors until I got the locking right.


#include <pthread.h>
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Constants.h" #include "llvm/Constants.h"
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/ExecutionEngine/Interpreter.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/Instructions.h"
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include <iostream> #include <iostream>
#include <pthread.h>
using namespace llvm; using namespace llvm;


static Function* createAdd1(Module *M) { static Function* createAdd1(Module *M) {
Expand Down

0 comments on commit 4ca7e09

Please sign in to comment.