summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
committerpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
commitbd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch)
tree309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp
parentkillp -a should not kill the window if only one pane. (diff)
downloadwireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz
wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp')
-rw-r--r--gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp b/gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp
index 3c485d4c964..6fb8bd61982 100644
--- a/gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp
+++ b/gnu/llvm/examples/ParallelJIT/ParallelJIT.cpp
@@ -16,17 +16,33 @@
// wakes them up. This complicated work is performed so that all three threads
// 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.
+//
+//===----------------------------------------------------------------------===//
+#include "llvm/ADT/APInt.h"
#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/InstrTypes.h"
+#include "llvm/IR/Instruction.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/TargetSelect.h"
+#include <algorithm>
+#include <cassert>
+#include <cstddef>
+#include <cstdint>
#include <iostream>
+#include <memory>
+#include <vector>
#include <pthread.h>
using namespace llvm;