1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio dadc75adba Reapply "[llvm-mca] Return the total number of cycles from method Pipeline::run()."
This reapplies r347767 (originally reviewed at: https://reviews.llvm.org/D55000)
with a fix for the missing std::move of the Error returned by the call to
Pipeline::runCycle().

Below is the original commit message from r347767.

If a user only cares about the overall latency, then the best/quickest way is to
change method Pipeline::run() so that it returns the total number of cycles to
the caller.

When the simulation pipeline is run, the number of cycles (or an error) is
returned from method Pipeline::run().
The advantage is that no hardware event listener is needed for computing that
latency. So, the whole process should be faster (and simpler - at least for that
particular use case).

llvm-svn: 347795
2018-11-28 19:31:19 +00:00
..
include Reapply "[llvm-mca] Return the total number of cycles from method Pipeline::run()." 2018-11-28 19:31:19 +00:00
lib Reapply "[llvm-mca] Return the total number of cycles from method Pipeline::run()." 2018-11-28 19:31:19 +00:00
Views [llvm-mca][View] Improved Retire Control Unit Statistics. 2018-11-23 12:12:57 +00:00
CMakeLists.txt [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegion.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
CodeRegion.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.cpp [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
llvm-mca.cpp Reapply "[llvm-mca] Return the total number of cycles from method Pipeline::run()." 2018-11-28 19:31:19 +00:00
LLVMBuild.txt [llvm-mca] LLVM Machine Code Analyzer. 2018-03-08 13:05:02 +00:00
PipelinePrinter.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
PipelinePrinter.h [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00