llvm-project/llvm/lib/MCA
Andrea Di Biagio 02974728dc [MCA] Speedup ResourceManager queries. NFCI
When a resource unit R is released, the ResourceManager notifies groups that
contain R. Before this patch, the logic in method ResourceManager::release()
implemented a potentially slow iterative search of dependent groups on the
entire set of processor resources.
This patch replaces that logic with a simpler (and often faster) lookup on array
`Resource2Groups`.  This patch gives an average speedup of ~3-4% (observed on a
release build when testing for target btver2).
No functional change intended.

llvm-svn: 353301
2019-02-06 14:57:28 +00:00
..
HardwareUnits [MCA] Speedup ResourceManager queries. NFCI 2019-02-06 14:57:28 +00:00
Stages [MCA] Moved the logic that updates register dependencies from DispatchStage to RegisterFile. NFC 2019-02-05 14:11:41 +00:00
CMakeLists.txt
Context.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HWEventListener.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstrBuilder.cpp [MC][X86] Correctly model additional operand latency caused by transfer delays from the integer to the floating point unit. 2019-01-23 16:35:07 +00:00
Instruction.cpp [MCA] Moved the logic that updates register dependencies from DispatchStage to RegisterFile. NFC 2019-02-05 14:11:41 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Pipeline.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Support.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00