[PATCH] D46741: [llvm-mca] Introduce a pipeline Stage class and FetchStage.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 10:31:38 PDT 2018


mattd updated this revision to Diff 146353.
mattd added a comment.

Store each stage in the pipeline as a unique_ptr. There should only be a single owner of a stage.  The initial stage is owned by the backend, and all subsequent stages are owned by their predecessor stage.


https://reviews.llvm.org/D46741

Files:
  tools/llvm-mca/Backend.cpp
  tools/llvm-mca/Backend.h
  tools/llvm-mca/CMakeLists.txt
  tools/llvm-mca/Dispatch.cpp
  tools/llvm-mca/FetchStage.cpp
  tools/llvm-mca/FetchStage.h
  tools/llvm-mca/InstrBuilder.cpp
  tools/llvm-mca/InstrBuilder.h
  tools/llvm-mca/Instruction.h
  tools/llvm-mca/InstructionTables.cpp
  tools/llvm-mca/Scheduler.cpp
  tools/llvm-mca/Scheduler.h
  tools/llvm-mca/Stage.h
  tools/llvm-mca/llvm-mca.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46741.146353.patch
Type: text/x-patch
Size: 19114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180511/9db6a1dc/attachment.bin>


More information about the llvm-commits mailing list