[llvm-exegesis] Cleaner design without mutable data.
commite20733df7c785b88005241fcc9ce42fd0fae716b
authorGuillaume Chatelet <gchatelet@google.com>
Wed, 13 Jun 2018 13:24:41 +0000 (13 13:24 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Wed, 13 Jun 2018 13:24:41 +0000 (13 13:24 +0000)
tree2a4467f1a0fcefb19322839106a880f36c737913
parentb91ce82614589647fec80a890e0ae450c9bbd33d
[llvm-exegesis] Cleaner design without mutable data.

Summary: Previous design was relying on the 'mutate' keyword and was quite confusing. This version separate mutable from immutable data and makes it clearer what changes and what doesn't.

Reviewers: courbet

Subscribers: tschuett, llvm-commits

Differential Revision: https://reviews.llvm.org/D48020

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334596 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
tools/llvm-exegesis/lib/BenchmarkRunner.h
tools/llvm-exegesis/lib/Latency.cpp
tools/llvm-exegesis/lib/Latency.h
tools/llvm-exegesis/lib/MCInstrDescView.cpp
tools/llvm-exegesis/lib/MCInstrDescView.h
tools/llvm-exegesis/lib/RegisterAliasing.cpp
tools/llvm-exegesis/lib/RegisterAliasing.h
tools/llvm-exegesis/lib/Uops.cpp
tools/llvm-exegesis/lib/Uops.h
unittests/tools/llvm-exegesis/X86/CMakeLists.txt
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp [new file with mode: 0644]