summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-20 18:20:39 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-20 18:20:39 +0000
commita3f2e483dda162cb5cd284c87bc09d72812b4dd4 (patch)
treed517050ae860bf612c4642f5d3105cfe396b3538 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
parent7baac21bce17ece1f4ca7e68a0bc2fb19dd6c99a (diff)
downloadbcm5719-llvm-a3f2e483dda162cb5cd284c87bc09d72812b4dd4.tar.gz
bcm5719-llvm-a3f2e483dda162cb5cd284c87bc09d72812b4dd4.zip
[llvm-mca] Move the logic that computes the scheduler's queue usage to the BackendStatistics view.
This patch introduces two new callbacks in the event listener interface to handle the "buffered resource reserved" event and the "buffered resource released" event. Every time a buffered resource is used, an event is generated. Before this patch, the Scheduler (with the help of the ResourceManager) was responsible for tracking the scheduler's queue usage. However, that design forced the Scheduler to 'publish' scheduler's queue pressure information through the Backend interface. The goal of this patch is to break the dependency between the BackendStatistics view, and the Backend. Now the Scheduler knows how to notify "buffer reserved/released" events. The scheduler's queue usage analysis has been moved to the BackendStatistics. Differential Revision: https://reviews.llvm.org/D44686 llvm-svn: 328011
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud