aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/llvm-mca/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/clang/llvm-mca/Makefile')
-rw-r--r--usr.bin/clang/llvm-mca/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.bin/clang/llvm-mca/Makefile b/usr.bin/clang/llvm-mca/Makefile
new file mode 100644
index 000000000000..274b7a43e5fe
--- /dev/null
+++ b/usr.bin/clang/llvm-mca/Makefile
@@ -0,0 +1,21 @@
+PROG_CXX= llvm-mca
+
+SRCDIR= llvm/tools/llvm-mca
+SRCS+= CodeRegion.cpp
+SRCS+= CodeRegionGenerator.cpp
+SRCS+= PipelinePrinter.cpp
+SRCS+= Views/BottleneckAnalysis.cpp
+SRCS+= Views/DispatchStatistics.cpp
+SRCS+= Views/InstructionInfoView.cpp
+SRCS+= Views/InstructionView.cpp
+SRCS+= Views/RegisterFileStatistics.cpp
+SRCS+= Views/ResourcePressureView.cpp
+SRCS+= Views/RetireControlUnitStatistics.cpp
+SRCS+= Views/SchedulerStatistics.cpp
+SRCS+= Views/SummaryView.cpp
+SRCS+= Views/TimelineView.cpp
+SRCS+= llvm-mca.cpp
+
+CFLAGS+= -I${LLVM_BASE}/${SRCDIR}
+
+.include "../llvm.prog.mk"