reland r332579: [llvm-exegesis] Update to cover latency through another opcode.
Restructuring the code to measure latency and uops.
The end goal is to have this program spawn another process to deal with SIGILL and other malformed programs. It is not yet the case in this redesign, it is still the main program that runs the code (and may crash).
It now uses BitVector instead of Graph for performance reasons.
https://reviews.llvm.org/D46821
(with fixed ARM tests)
Authored by Guillaume Chatelet
llvm-svn: 332592
diff --git a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
index fae0bcd..b326757 100644
--- a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
+++ b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
@@ -1,15 +1,15 @@
add_library(LLVMExegesis
STATIC
Analysis.cpp
+ Assembler.cpp
BenchmarkResult.cpp
BenchmarkRunner.cpp
Clustering.cpp
- InMemoryAssembler.cpp
- InstructionSnippetGenerator.cpp
Latency.cpp
LlvmState.cpp
- OperandGraph.cpp
+ MCInstrDescView.cpp
PerfHelper.cpp
+ RegisterAliasing.cpp
Uops.cpp
X86.cpp
)