1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-mca/lib
Andrea Di Biagio fbafd058f1 [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
CMakeLists.txt
Context.cpp [llvm-mca] Simplify code in class Scheduler. NFCI 2018-11-30 12:49:30 +00:00
HWEventListener.cpp
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
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