1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio ab0b923dab [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI
The goal of this patch is to simplify the Scheduler's interface in preparation
for D50929.
Some methods in the Scheduler's interface should not be exposed to external
users, since their presence makes it hard to both understand, and extend the
Scheduler's interface.

This patch removes the following two methods from the public Scheduler's API:
 - reclaimSimulatedResources()
 - updatePendingQueue()
Their logic has been migrated to a new method named 'cycleEvent()'.

Methods 'updateIssuedSet()' and 'promoteToReadySet()' still exist. However,
they are now private members of class Scheduler.

This simplifies the interaction with the Scheduler from the ExecuteStage.

llvm-svn: 340273
2018-08-21 12:40:15 +00:00
..
CMakeLists.txt [llvm-mca] Add HardwareUnit and Context classes. 2018-07-06 18:03:14 +00:00
CodeRegion.cpp [llvm-mca] Add the ability to mark regions of code for analysis (PR36875) 2018-04-09 16:39:52 +00:00
CodeRegion.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Context.cpp [llvm-mca] Make the LSUnit a HardwareUnit, and allow derived classes to implement a different memory consistency model. 2018-08-20 14:41:36 +00:00
Context.h [llvm-mca] Add HardwareUnit and Context classes. 2018-07-06 18:03:14 +00:00
DispatchStage.cpp [llvm-mca] Fix -Wpessimizing-move warnings introduced by r339923. 2018-08-16 19:45:13 +00:00
DispatchStage.h [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
DispatchStatistics.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
DispatchStatistics.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
ExecuteStage.cpp [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
ExecuteStage.h [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
FetchStage.cpp [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
FetchStage.h [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
HardwareUnit.cpp [llvm-mca] Add HardwareUnit and Context classes. 2018-07-06 18:03:14 +00:00
HardwareUnit.h [llvm-mca] Add HardwareUnit and Context classes. 2018-07-06 18:03:14 +00:00
HWEventListener.cpp [llvm-mca] run clang-format on all files. 2018-03-24 16:05:36 +00:00
HWEventListener.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
InstrBuilder.cpp [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
InstrBuilder.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
Instruction.cpp [llvm-mca][BtVer2] teach how to identify false dependencies on partially written 2018-07-15 11:01:38 +00:00
Instruction.h [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
InstructionInfoView.cpp [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
InstructionInfoView.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
InstructionTables.cpp [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
InstructionTables.h [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
llvm-mca.cpp [llvm-mca] Remove unused formal parameter. NFC. 2018-08-20 22:41:27 +00:00
LLVMBuild.txt
LSUnit.cpp [llvm-mca] Make the LSUnit a HardwareUnit, and allow derived classes to implement a different memory consistency model. 2018-08-20 14:41:36 +00:00
LSUnit.h [llvm-mca] Make the LSUnit a HardwareUnit, and allow derived classes to implement a different memory consistency model. 2018-08-20 14:41:36 +00:00
Pipeline.cpp [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
Pipeline.h [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
PipelinePrinter.cpp [llvm-mca] Turn InstructionTables into a Stage. 2018-07-14 23:52:50 +00:00
PipelinePrinter.h [llvm-mca] Rename Backend to Pipeline. NFC. 2018-06-25 16:53:00 +00:00
RegisterFile.cpp [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
RegisterFile.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
RegisterFileStatistics.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
RegisterFileStatistics.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
ResourcePressureView.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
ResourcePressureView.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
RetireControlUnit.cpp [llvm-mca] Removed wrong NDEBUG guards introduced by my last commit. 2018-06-26 11:00:21 +00:00
RetireControlUnit.h [llvm-mca] Improve code comments. NFC. 2018-08-01 10:49:01 +00:00
RetireControlUnitStatistics.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
RetireControlUnitStatistics.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
RetireStage.cpp [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
RetireStage.h [llvm-mca] Refactor how execution is orchestrated by the Pipeline. 2018-08-16 19:00:48 +00:00
Scheduler.cpp [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
Scheduler.h [llvm-mca] Add method cycleEvent() to class Scheduler. NFCI 2018-08-21 12:40:15 +00:00
SchedulerStatistics.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
SchedulerStatistics.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
SourceMgr.h [llvm-mca] Small refactoring in preparation for another patch that will improve the modularity of the Pipeline. NFCI 2018-08-16 15:43:09 +00:00
Stage.cpp [llvm-mca] Small refactoring in preparation for another patch that will improve the modularity of the Pipeline. NFCI 2018-08-16 15:43:09 +00:00
Stage.h [llvm-mca] Fix -Wpessimizing-move warnings introduced by r339923. 2018-08-16 19:45:13 +00:00
SummaryView.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
SummaryView.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
Support.cpp [llvm-mca] Rename Backend to Pipeline. NFC. 2018-06-25 16:53:00 +00:00
Support.h [llvm-mca] Rename Backend to Pipeline. NFC. 2018-06-25 16:53:00 +00:00
TimelineView.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
TimelineView.h [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
View.cpp [llvm-mca] run clang-format on all files. 2018-03-24 16:05:36 +00:00
View.h [llvm-mca] run clang-format on all files. 2018-03-24 16:05:36 +00:00