summaryrefslogtreecommitdiffstats
path: root/llvm/examples/HowToUseJIT
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-05-25 01:18:36 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-05-25 01:18:36 +0000
commit2b8e41705e26f2eba369037ef6f7ba83a47cdf4e (patch)
tree7af0429860e618a3dbdd78a7656ec92df33ec28b /llvm/examples/HowToUseJIT
parent4c994ee42b8a959d9067746519dddc359eca9b5a (diff)
downloadbcm5719-llvm-2b8e41705e26f2eba369037ef6f7ba83a47cdf4e.tar.gz
bcm5719-llvm-2b8e41705e26f2eba369037ef6f7ba83a47cdf4e.zip
Fix some Include What You Use warnings in examples; other minor fixes.
Differential revision: http://reviews.llvm.org/D20607 llvm-svn: 270645
Diffstat (limited to 'llvm/examples/HowToUseJIT')
-rw-r--r--llvm/examples/HowToUseJIT/HowToUseJIT.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
index e0bf6a00bf0..0050d27b45d 100644
--- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -35,22 +35,30 @@
//===----------------------------------------------------------------------===//
#include "llvm/ADT/STLExtras.h"
+#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/GenericValue.h"
-#include "llvm/ExecutionEngine/Interpreter.h"
+#include "llvm/IR/Argument.h"
+#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
+#include "llvm/IR/Type.h"
+#include "llvm/Support/Casting.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
+#include <algorithm>
+#include <cassert>
+#include <memory>
+#include <vector>
using namespace llvm;
int main() {
-
InitializeNativeTarget();
LLVMContext Context;
OpenPOWER on IntegriCloud