llvm-project/mlir/test
Stella Laurenzo 52586c46b0 [mlir][CAPI] Add result type inference to the CAPI.
* Adds a flag to MlirOperationState to enable result type inference using the InferTypeOpInterface.
* I chose this level of implementation for a couple of reasons:
  a) In the creation flow is naturally where generated and custom builder code will be invoking such a thing
  b) it is a bit more efficient to share the data structure and unpacking vs having a standalone entry-point
  c) we can always decide to expose more of these interfaces with first-class APIs, but that doesn't preclude that we will always want to use this one in this way (and less API surface area for common things is better for API stability and evolution).
* I struggled to find an appropriate way to test it since we don't link the test dialect into anything CAPI accessible at present. I opted instead for one of the simplest ops I found in a regular dialect which implements the interface.
* This does not do any trait-based type selection. That will be left to generated tablegen wrappers.

Differential Revision: https://reviews.llvm.org/D95283
2021-01-23 14:30:51 -08:00
..
Analysis [mlir][OpFormatGen] Format enum attribute cases as keywords when possible 2021-01-14 11:35:49 -08:00
Bindings Add Python bindings for the builtin dialect 2021-01-21 22:44:44 +00:00
CAPI [mlir][CAPI] Add result type inference to the CAPI. 2021-01-23 14:30:51 -08:00
Conversion [mlir][spirv] Define spv.IsNan/spv.IsInf and add lowerings 2021-01-22 13:09:33 -05:00
Dialect [mlir][Linalg] Make Fill operation work on tensors. 2021-01-22 14:39:27 -08:00
EDSC [mlir][Affine] Revisit and simplify composeAffineMapAndOperands. 2021-01-19 13:52:07 +00:00
Examples [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
IR [mlir] Remove complex ops from Standard dialect. 2021-01-21 10:34:26 +01:00
Pass Avoid using /dev/null in test 2020-12-30 14:16:13 -08:00
Rewrite [mlir][PDL] Add support for PDL bytecode and expose PDL support to OwningRewritePatternList 2020-12-01 15:05:50 -08:00
SDBM Remove global dialect registration 2020-10-24 00:35:55 +00:00
Target [mlir][spirv] Define spv.IsNan/spv.IsInf and add lowerings 2021-01-22 13:09:33 -05:00
Transforms Revert "[mlir][Affine] Add support for multi-store producer fusion" 2021-01-21 00:37:23 +02:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir][OpFormatGen] Add support for anchoring optional groups with types 2021-01-22 12:07:27 -08:00
mlir-cpu-runner [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
mlir-cuda-runner Revert [mlir] Link mlir_runner_utils statically into cuda/rocm-runtime-wrappers (cf50f4f764) 2021-01-21 22:38:59 +01:00
mlir-linalg-ods-gen [mlir][linalg] Support generating builders for named op attributes 2021-01-15 09:00:30 -05:00
mlir-opt [mlir] Add Complex dialect. 2021-01-15 19:58:10 +01:00
mlir-reduce [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
mlir-rocm-runner Revert [mlir] Link mlir_runner_utils statically into cuda/rocm-runtime-wrappers (cf50f4f764) 2021-01-21 22:38:59 +01:00
mlir-spirv-cpu-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-tblgen [mlir][OpFormatGen] Add support for anchoring optional groups with types 2021-01-22 12:07:27 -08:00
mlir-translate [mlir] Print the correct tool name in mlirTranslateMain 2021-01-05 19:17:01 -08:00
mlir-vulkan-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt [mlir] Fix for LIT tests 2021-01-12 17:07:23 +01:00
lit.cfg.py Add a basic C API for the MLIR PassManager as well as a basic TableGen backend for creating passes 2020-11-04 06:36:31 +00:00
lit.site.cfg.py.in Fix MLIR lit test configuration after cmake Python detection change 2020-11-13 04:44:45 +00:00