llvm-project/llvm/tools/llvm-mca/lib/HardwareUnits
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
..
HardwareUnit.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
LSUnit.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
RegisterFile.cpp [llvm-mca] Fix an invalid memory read introduced by r346487. 2018-11-22 12:48:57 +00:00
ResourceManager.cpp [llvm-mca] Speedup the default resource selection strategy. 2018-11-30 17:15:52 +00:00
RetireControlUnit.cpp [llvm-mca] Use a small vector for instructions in the EntryStage. 2018-11-09 12:29:57 +00:00
Scheduler.cpp [llvm-mca] Simplify code in class Scheduler. NFCI 2018-11-30 12:49:30 +00:00