llvm-project/mlir
Philipp Krones 632ebc4ab4 [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
..
cmake/modules Move MLIR python sources to mlir/python. 2021-05-03 18:36:48 +00:00
docs Move MLIR python sources to mlir/python. 2021-05-03 18:36:48 +00:00
examples Change add_mlir_doc CMake macro to take the tablegen command as last argument to allow extra flags 2021-04-15 02:59:40 +00:00
include [mlir][ArmSVE] Add masked arithmetic operations 2021-05-05 17:41:58 +01:00
lib [MC] Untangle MCContext and MCObjectFileInfo 2021-05-05 10:03:02 -07:00
python Move MLIR python sources to mlir/python. 2021-05-03 18:36:48 +00:00
test [mlir][ArmSVE] Add masked arithmetic operations 2021-05-05 17:41:58 +01:00
tools [mlir][sparse] Introduce proper sparsification passes 2021-05-04 17:10:09 -07:00
unittests [mlir] Pass AnalysisManager as optional parameter to analysis ctor, so it can request any other analysis as dependency 2021-04-20 19:18:36 +03:00
utils [mlir] Add a vscode language extension for MLIR 2021-04-21 14:44:37 -07:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt Move MLIR python sources to mlir/python. 2021-05-03 18:36:48 +00:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.