summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Makefile
diff options
context:
space:
mode:
authorEli Bendersky <eli.bendersky@intel.com>2012-03-13 08:33:15 +0000
committerEli Bendersky <eli.bendersky@intel.com>2012-03-13 08:33:15 +0000
commit5262ad2afa9ee73e2554128f3bfa5f29c5907907 (patch)
treef4ee7b6427cf9ab20b8b22d6e005baa8022d533a /llvm/lib/ExecutionEngine/Makefile
parentd0e1c95dccd4944064d4abac7aa12b4bce770170 (diff)
downloadbcm5719-llvm-5262ad2afa9ee73e2554128f3bfa5f29c5907907.tar.gz
bcm5719-llvm-5262ad2afa9ee73e2554128f3bfa5f29c5907907.zip
Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM.
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach llvm-svn: 152620
Diffstat (limited to 'llvm/lib/ExecutionEngine/Makefile')
-rw-r--r--llvm/lib/ExecutionEngine/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Makefile b/llvm/lib/ExecutionEngine/Makefile
index 9a649a52cf9..c26e0ada5bc 100644
--- a/llvm/lib/ExecutionEngine/Makefile
+++ b/llvm/lib/ExecutionEngine/Makefile
@@ -8,6 +8,17 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = LLVMExecutionEngine
+
+include $(LEVEL)/Makefile.config
+
PARALLEL_DIRS = Interpreter JIT MCJIT RuntimeDyld
-include $(LEVEL)/Makefile.common
+ifeq ($(USE_INTEL_JITEVENTS), 1)
+PARALLEL_DIRS += IntelJITEvents
+endif
+
+ifeq ($(USE_OPROFILE), 1)
+PARALLEL_DIRS += OProfileJIT
+endif
+
+include $(LLVM_SRC_ROOT)/Makefile.rules
OpenPOWER on IntegriCloud