[PATCH] D48691: [llvm-mca] Add a HardwareUnit and Context classes.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 14:38:17 PDT 2018


mattd updated this revision to Diff 153801.
mattd marked 5 inline comments as done.
mattd added a comment.

- Pinned HardwareUnit's vtable using the dtor.
- Updated the text to refer to "unit" instead of "component" in certain places.
- Moved the Context construction outside of the code-region loop.


https://reviews.llvm.org/D48691

Files:
  tools/llvm-mca/CMakeLists.txt
  tools/llvm-mca/Context.cpp
  tools/llvm-mca/Context.h
  tools/llvm-mca/HardwareUnit.cpp
  tools/llvm-mca/HardwareUnit.h
  tools/llvm-mca/RegisterFile.h
  tools/llvm-mca/RetireControlUnit.h
  tools/llvm-mca/Scheduler.h
  tools/llvm-mca/llvm-mca.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48691.153801.patch
Type: text/x-patch
Size: 12206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180702/e81c7e48/attachment.bin>


More information about the llvm-commits mailing list