[llvm-exegesis][NFC] Return many CodeTemplates instead of one.
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 15 Oct 2018 09:09:19 +0000 (09:09 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 15 Oct 2018 09:09:19 +0000 (09:09 +0000)
commit296a862cbeb34eeacd340a130962256d99bd06bc
treeba622b1ea13e32716f115f9f52d62493ec242c9b
parent064944352e6433e24cd2fd55148583d43a99904b
[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

llvm-svn: 344493
llvm/tools/llvm-exegesis/lib/Latency.cpp
llvm/tools/llvm-exegesis/lib/Latency.h
llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp
llvm/tools/llvm-exegesis/lib/SnippetGenerator.h
llvm/tools/llvm-exegesis/lib/Uops.cpp
llvm/tools/llvm-exegesis/lib/Uops.h
llvm/tools/llvm-exegesis/lib/X86/Target.cpp
llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp