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
Matt Davis 8f7fca4891 [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver.
Summary:
This patch introduces error handling to propagate the errors from llvm-mca library classes (or what will become library classes) up to the driver.  This patch also introduces an enum to make clearer the intention of the return value for Stage::execute.

This supports PR38101.

Reviewers: andreadb, courbet, RKSimon

Reviewed By: andreadb

Subscribers: llvm-commits, tschuett, gbedwell

Differential Revision: https://reviews.llvm.org/D50561

llvm-svn: 339594
2018-08-13 18:11:48 +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] Simplify the Pipeline constructor. NFC 2018-07-13 09:31:02 +00:00
Context.h [llvm-mca] Add HardwareUnit and Context classes. 2018-07-06 18:03:14 +00:00
DispatchStage.cpp [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
DispatchStage.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11: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] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
ExecuteStage.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
FetchStage.cpp [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
FetchStage.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11: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] Speed up the computation of the wait/ready/issued sets in the Scheduler. 2018-08-03 12:55:28 +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] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
InstructionTables.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
llvm-mca.cpp [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
LLVMBuild.txt
LSUnit.cpp [MCA] Avoid an InstrDesc copy in mca::LSUnit::reserve. 2018-07-26 00:02:54 +00:00
LSUnit.h [llvm-mca] Remove unused header files and correctly guard some include headers under NDEBUG. NFC 2018-06-26 10:44:12 +00:00
Pipeline.cpp [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
Pipeline.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11: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] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +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][BtVer2] Teach how to identify dependency-breaking idioms. 2018-07-31 13:21:43 +00:00
RetireStage.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +00:00
Scheduler.cpp [llvm-mca] Speed up the computation of the wait/ready/issued sets in the Scheduler. 2018-08-03 12:55:28 +00:00
Scheduler.h [llvm-mca] Speed up the computation of the wait/ready/issued sets in the Scheduler. 2018-08-03 12:55:28 +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] Constify SourceMgr::hasNext. NFC. 2018-07-12 23:19:30 +00:00
Stage.cpp [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
Stage.h [llvm-mca] Propagate fatal llvm-mca errors from library classes to driver. 2018-08-13 18:11:48 +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