llvm-project/mlir/lib/Conversion
George Mitenkov 771b788687 [MLIR][SPIRVToLLVM] Support cast ops, some logical ops, UModOp
Added support of simple logical ops: `LogicalAnd`, `LogicalOr`,
`LogicalEqual` and `LogicalNotEqual`. Added a missing conversion
for `UMod` op.

Also, implemented SPIR-V cast ops conversion. There are 4 simple
case where there is a clear equivalent in LLVM (e.g. `ConvertFToS`
is `fptosi`). For `FConvert`, `SConvert` and `UConvert` we
distinguish between truncation and extension based on the bit
width of the operand.

Differential Revision: https://reviews.llvm.org/D81812
2020-06-17 17:46:45 -04:00
..
AVX512ToLLVM [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
AffineToStandard [mlir] Erase or clear blocks through ConversionPatternRewriter when applicable 2020-05-20 16:12:05 +02:00
GPUCommon [mlir][gpu] Add support for f16 when lowering to nvvm intrinsics 2020-06-09 19:33:45 +02:00
GPUToNVVM [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
GPUToROCDL [mlir][rocdl] Adding vector to ROCDL dialect lowering 2020-06-11 14:28:13 +00:00
GPUToSPIRV [mlir] Fix case in MLIRGPUtoSPIRVTransforms 2020-06-16 18:12:19 -04:00
GPUToVulkan [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
LinalgToLLVM Revert "[mlir] Add support for lowering tanh to LLVMIR." 2020-06-15 18:46:57 +00:00
LinalgToSPIRV [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
LinalgToStandard [mlir][Linalg] Retire C++ MatmulOp in favor of a linalg-ods-gen'd op. 2020-06-16 10:46:35 -04:00
SCFToGPU [mlir] SCFToGPUPass: fix macros referring to LOOPS to use SCF instead 2020-06-02 13:03:13 +02:00
SCFToStandard [mlir] SCFToStandard: support any ops in and around the control flow ops 2020-05-20 16:12:05 +02:00
SPIRVToLLVM [MLIR][SPIRVToLLVM] Support cast ops, some logical ops, UModOp 2020-06-17 17:46:45 -04:00
ShapeToSCF [mlir][shape] Add a pattern to rewrite `shape.reduce` as `scf.for`. 2020-06-15 17:54:50 +02:00
ShapeToStandard [mlir][shape] Fix the comment in ShapeToStandard.cpp. 2020-06-16 13:50:40 +02:00
StandardToLLVM [MLIR][Standard] Lower `std.dim` with dynamic dimension operand to LLVM 2020-06-16 20:57:42 +00:00
StandardToSPIRV [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
VectorToLLVM [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
VectorToROCDL [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
VectorToSCF [mlir] Introduce callback-based builders for AffineForOp 2020-06-15 17:55:49 +02:00
CMakeLists.txt [mlir][shape] Add a pattern to rewrite `shape.reduce` as `scf.for`. 2020-06-15 17:54:50 +02:00
PassDetail.h [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00