[llvm-exegesis][NFC] Return many CodeTemplates instead of one.
commit919972ec1f052ca0b29942c71745336298d694ef
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 15 Oct 2018 09:09:19 +0000 (15 09:09 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 15 Oct 2018 09:09:19 +0000 (15 09:09 +0000)
tree76d5da0669366373611ef799db1d322496b539fc
parentffc5ec8c8122b984871c59516426cdd8ad18e7ea
[llvm-exegesis][NFC] Return many CodeTemplates instead of one.

Summary: This is part one of the change where I simply changed the signature of the functions. More work need to be done to actually produce more than one CodeTemplate per instruction.

Reviewers: courbet

Subscribers: tschuett, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344493 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-exegesis/lib/Latency.cpp
tools/llvm-exegesis/lib/Latency.h
tools/llvm-exegesis/lib/SnippetGenerator.cpp
tools/llvm-exegesis/lib/SnippetGenerator.h
tools/llvm-exegesis/lib/Uops.cpp
tools/llvm-exegesis/lib/Uops.h
tools/llvm-exegesis/lib/X86/Target.cpp
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp