llvm-project/llvm/tools/llvm-mca/lib
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
..
HardwareUnits [llvm-mca] Speedup the default resource selection strategy. 2018-11-30 17:15:52 +00:00
Stages [llvm-mca] Use a small vector for instructions in the EntryStage. 2018-11-09 12:29:57 +00:00
CMakeLists.txt [llvm-mca] PR39261: Rename FetchStage to EntryStage. 2018-11-08 17:49:30 +00:00
Context.cpp [llvm-mca] Simplify code in class Scheduler. NFCI 2018-11-30 12:49:30 +00:00
HWEventListener.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
InstrBuilder.cpp [llvm-mca] Add support for instructions with a variadic number of operands. 2018-11-25 12:46:24 +00:00
Instruction.cpp [llvm-mca] Use a SmallVector instead of std::vector to track register reads/writes. NFCI 2018-11-22 14:48:53 +00:00
LLVMBuild.txt [MCA] Remove dependency on CodeGen. 2018-09-21 01:54:08 +00:00
Pipeline.cpp Reapply "[llvm-mca] Return the total number of cycles from method Pipeline::run()." 2018-11-28 19:31:19 +00:00
Support.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00