diff options
Diffstat (limited to 'llvm/examples')
4 files changed, 7 insertions, 3 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h index 653e2fd302b..4b7fd7f1c22 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h @@ -17,19 +17,20 @@  #include "llvm/ADT/STLExtras.h"  #include "llvm/ExecutionEngine/ExecutionEngine.h"  #include "llvm/ExecutionEngine/JITSymbol.h" -#include "llvm/ExecutionEngine/RTDyldMemoryManager.h" -#include "llvm/ExecutionEngine/SectionMemoryManager.h"  #include "llvm/ExecutionEngine/Orc/CompileUtils.h"  #include "llvm/ExecutionEngine/Orc/IRCompileLayer.h"  #include "llvm/ExecutionEngine/Orc/IRTransformLayer.h"  #include "llvm/ExecutionEngine/Orc/LambdaResolver.h"  #include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h" +#include "llvm/ExecutionEngine/RTDyldMemoryManager.h" +#include "llvm/ExecutionEngine/SectionMemoryManager.h"  #include "llvm/IR/DataLayout.h"  #include "llvm/IR/LegacyPassManager.h"  #include "llvm/IR/Mangler.h"  #include "llvm/Support/DynamicLibrary.h" -#include "llvm/Target/TargetMachine.h"  #include "llvm/Support/raw_ostream.h" +#include "llvm/Target/TargetMachine.h" +#include "llvm/Transforms/InstCombine/InstCombine.h"  #include "llvm/Transforms/Scalar.h"  #include "llvm/Transforms/Scalar/GVN.h"  #include <algorithm> diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h index fa306c61789..0dc1faef185 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h @@ -32,6 +32,7 @@  #include "llvm/Support/DynamicLibrary.h"  #include "llvm/Support/raw_ostream.h"  #include "llvm/Target/TargetMachine.h" +#include "llvm/Transforms/InstCombine/InstCombine.h"  #include "llvm/Transforms/Scalar.h"  #include "llvm/Transforms/Scalar/GVN.h"  #include <algorithm> diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h index c4ddc5094c4..f0f016c8be1 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h @@ -32,6 +32,7 @@  #include "llvm/Support/Error.h"  #include "llvm/Support/raw_ostream.h"  #include "llvm/Target/TargetMachine.h" +#include "llvm/Transforms/InstCombine/InstCombine.h"  #include "llvm/Transforms/Scalar.h"  #include "llvm/Transforms/Scalar/GVN.h"  #include <algorithm> diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h index d41cce717d4..1b503e40fa6 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h @@ -34,6 +34,7 @@  #include "llvm/Support/Error.h"  #include "llvm/Support/raw_ostream.h"  #include "llvm/Target/TargetMachine.h" +#include "llvm/Transforms/InstCombine/InstCombine.h"  #include "llvm/Transforms/Scalar.h"  #include "llvm/Transforms/Scalar/GVN.h"  #include <algorithm>  | 

