1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/tools/llvm-mca/CMakeLists.txt
Andrea Di Biagio e2bef9a902 [llvm-mca] Move the logic that prints register file statistics to its own view. NFCI
Before this patch, the "BackendStatistics" view was responsible for printing the
register file usage (as well as many other statistics).

Now users can enable register file usage statistics using the command line flag
`-register-file-stats`. By default, the tool doesn't print register file
statistics.

llvm-svn: 329083
2018-04-03 16:46:23 +00:00

32 lines
537 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmPrinters
AllTargetsAsmParsers
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
MC
MCParser
Support
)
add_llvm_tool(llvm-mca
Backend.cpp
BackendPrinter.cpp
BackendStatistics.cpp
Dispatch.cpp
HWEventListener.cpp
InstrBuilder.cpp
Instruction.cpp
InstructionInfoView.cpp
InstructionTables.cpp
LSUnit.cpp
llvm-mca.cpp
RegisterFileStatistics.cpp
ResourcePressureView.cpp
Scheduler.cpp
Support.cpp
SummaryView.cpp
TimelineView.cpp
View.cpp
)