llvm-project/llvm/tools/llvm-mca
Andrea Di Biagio 7e695b97d7 [llvm-mca] Speedup the default resource selection strategy.
This patch removes a (potentially) slow while loop in
DefaultResourceStrategy::select(). A better (and faster) approach is to do some
bit manipulation in order to shrink the range of candidate resources.
On a release build, this change gives an average speedup of ~10%.

llvm-svn: 348007
2018-11-30 17:15:52 +00:00
..
Views [llvm-mca][MC] Add the ability to declare which processor resources model load/store queues (PR36666). 2018-11-29 12:15:56 +00:00
include [llvm-mca] Speedup the default resource selection strategy. 2018-11-30 17:15:52 +00:00
lib [llvm-mca] Speedup the default resource selection strategy. 2018-11-30 17:15:52 +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
LLVMBuild.txt
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
llvm-mca.cpp [llvm-mca][MC] Add the ability to declare which processor resources model load/store queues (PR36666). 2018-11-29 12:15:56 +00:00