1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools/llvm-mca/CMakeLists.txt
Adrian Prantl 2c278dae12 Revert "Work around a linker error caused by https://reviews.llvm.org/D56084."
This reverts commit r350650

llvm-svn: 350653
2019-01-08 21:05:08 +00:00

32 lines
625 B
CMake

include_directories(include)
set(LLVM_LINK_COMPONENTS
AllTargetsAsmPrinters
AllTargetsAsmParsers
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
MCA
MC
MCParser
Support
)
add_llvm_tool(llvm-mca
llvm-mca.cpp
CodeRegion.cpp
CodeRegionGenerator.cpp
PipelinePrinter.cpp
Views/DispatchStatistics.cpp
Views/InstructionInfoView.cpp
Views/RegisterFileStatistics.cpp
Views/ResourcePressureView.cpp
Views/RetireControlUnitStatistics.cpp
Views/SchedulerStatistics.cpp
Views/SummaryView.cpp
Views/TimelineView.cpp
Views/View.cpp
)
set(LLVM_MCA_SOURCE_DIR ${CURRENT_SOURCE_DIR})