[all-commits] [llvm/llvm-project] fe0101: [MCA] Moved View.h and View.cpp from /tools/llvm-m...

Patrick Holland via All-commits all-commits at lists.llvm.org
Wed Aug 25 12:13:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe01014faa336d25543561fc65201dea7f424347
      https://github.com/llvm/llvm-project/commit/fe01014faa336d25543561fc65201dea7f424347
  Author: Patrick Holland <patrickeholland at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-mca.rst
    M llvm/include/llvm/MCA/CustomBehaviour.h
    A llvm/include/llvm/MCA/View.h
    M llvm/lib/MCA/CMakeLists.txt
    M llvm/lib/MCA/CustomBehaviour.cpp
    A llvm/lib/MCA/View.cpp
    M llvm/tools/llvm-mca/CMakeLists.txt
    M llvm/tools/llvm-mca/PipelinePrinter.cpp
    M llvm/tools/llvm-mca/PipelinePrinter.h
    M llvm/tools/llvm-mca/Views/DispatchStatistics.h
    M llvm/tools/llvm-mca/Views/InstructionView.h
    M llvm/tools/llvm-mca/Views/RegisterFileStatistics.h
    M llvm/tools/llvm-mca/Views/RetireControlUnitStatistics.h
    M llvm/tools/llvm-mca/Views/SchedulerStatistics.h
    M llvm/tools/llvm-mca/Views/SummaryView.h
    R llvm/tools/llvm-mca/Views/View.cpp
    R llvm/tools/llvm-mca/Views/View.h
    M llvm/tools/llvm-mca/llvm-mca.cpp

  Log Message:
  -----------
  [MCA] Moved View.h and View.cpp from /tools/llvm-mca/ to /lib/MCA/.

Moved View.h and View.cpp from /tools/llvm-mca/Views/ to /lib/MCA/ and
/include/llvm/MCA/. This is so that targets can define their own Views within
the /lib/Target/ directory (so that the View can use backend functionality).
To enable these Views within mca, targets will need to add them to the vector of
Views returned by their target's CustomBehaviour::getViews() methods.

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




More information about the All-commits mailing list