1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/tools/llvm-mca
Philipp Krones 0d572a30c9 [MC] Untangle MCContext and MCObjectFileInfo
This untangles the MCContext and the MCObjectFileInfo. There is a circular
dependency between MCContext and MCObjectFileInfo. Currently this dependency
also exists during construction: You can't contruct a MOFI without a MCContext
without constructing the MCContext with a dummy version of that MOFI first.
This removes this dependency during construction. In a perfect world,
MCObjectFileInfo wouldn't depend on MCContext at all, but only be stored in the
MCContext, like other MC information. This is future work.

This also shifts/adds more information to the MCContext making it more
available to the different targets. Namely:

- TargetTriple
- ObjectFileType
- SubtargetInfo

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101462
2021-05-05 10:03:02 -07:00
..
Views [MCA] Disable RCU for InOrderIssueStage 2021-03-24 13:54:04 +03:00
CMakeLists.txt [llvm-mca] Initial implementation of serialization using JSON. The views 2021-01-21 15:15:54 -08:00
CodeRegion.cpp [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
CodeRegion.h
CodeRegionGenerator.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
CodeRegionGenerator.h
llvm-mca.cpp [MC] Untangle MCContext and MCObjectFileInfo 2021-05-05 10:03:02 -07:00
PipelinePrinter.cpp [llvm-mca] Initial implementation of serialization using JSON. The views 2021-01-21 15:15:54 -08:00
PipelinePrinter.h [llvm-mca] Initial implementation of serialization using JSON. The views 2021-01-21 15:15:54 -08:00