Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in...
authorEli Bendersky <eli.bendersky@intel.com>
Tue, 13 Mar 2012 08:33:15 +0000 (08:33 +0000)
committerEli Bendersky <eli.bendersky@intel.com>
Tue, 13 Mar 2012 08:33:15 +0000 (08:33 +0000)
commit61b1851a205cb8dd29c1d3d4231efb8f8f7da283
tree8282d3ba79077e426d5875c82f3c6f97513f0b77
parentc007ba86f31ebe3a1c4cdba5fa23260caaf81e0f
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152620 91177308-0d34-0410-b5e6-96231b3b80d8
35 files changed:
CMakeLists.txt
Makefile.config.in
autoconf/configure.ac
configure
docs/CMake.html
include/llvm/Config/config.h.cmake
include/llvm/Config/config.h.in
include/llvm/ExecutionEngine/IntelJITEventsWrapper.h [new file with mode: 0644]
include/llvm/ExecutionEngine/JITEventListener.h
include/llvm/ExecutionEngine/OProfileWrapper.h [new file with mode: 0644]
lib/ExecutionEngine/CMakeLists.txt
lib/ExecutionEngine/EventListenerCommon.h [new file with mode: 0644]
lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt [new file with mode: 0644]
lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp [new file with mode: 0644]
lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt [new file with mode: 0644]
lib/ExecutionEngine/IntelJITEvents/Makefile [new file with mode: 0644]
lib/ExecutionEngine/JIT/CMakeLists.txt
lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp [deleted file]
lib/ExecutionEngine/LLVMBuild.txt
lib/ExecutionEngine/Makefile
lib/ExecutionEngine/OProfileJIT/CMakeLists.txt [new file with mode: 0644]
lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt [new file with mode: 0644]
lib/ExecutionEngine/OProfileJIT/Makefile [new file with mode: 0644]
lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp [new file with mode: 0644]
lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp [new file with mode: 0644]
tools/lli/CMakeLists.txt
tools/lli/Makefile
tools/lli/lli.cpp
unittests/CMakeLists.txt
unittests/ExecutionEngine/IntelJITEventListenerTest.cpp [new file with mode: 0644]
unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
unittests/ExecutionEngine/JITEventListenerTest.cpp [new file with mode: 0644]
unittests/ExecutionEngine/JITEventListenerTestCommon.h [new file with mode: 0644]
unittests/ExecutionEngine/Makefile
unittests/ExecutionEngine/OProfileJITEventListenerTest.cpp [new file with mode: 0644]