[Mips][llvm-exegesis] Add a Mips target
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 11 Oct 2019 20:26:08 +0000 (20:26 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 11 Oct 2019 20:26:08 +0000 (20:26 +0000)
commitcf1ba238d4f752133897af1773e85056b1492803
tree72ae269f59cdc31ded2bfea67cd28e756f198541
parent9c36ec5941730364d4b9befd15e20365a039a2f1
[Mips][llvm-exegesis] Add a Mips target

The target does just enough to be able to run llvm-exegesis in latency
mode for at least some opcodes.

Patch by MiloÅ¡ Stojanović.

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

llvm-svn: 374590
llvm/lib/Target/Mips/CMakeLists.txt
llvm/lib/Target/Mips/Mips.td
llvm/lib/Target/Mips/MipsPfmCounters.td [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/Assembler.cpp
llvm/tools/llvm-exegesis/lib/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/Mips/LLVMBuild.txt [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/Mips/Target.cpp [new file with mode: 0644]
llvm/unittests/tools/llvm-exegesis/CMakeLists.txt
llvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp [new file with mode: 0644]