llvm-project/mlir/lib/Conversion
Rob Suderman 23149d522b [mlir] Added ctlz and cttz to math dialect and LLVM dialect
Count leading/trailing zeros are an existing LLVM intrinsic. Added LLVM
support for the intrinsics with lowerings from the math dialect to LLVM
dialect.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D115206
2021-12-08 14:32:15 -08:00
..
AffineToStandard Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
ArithmeticToLLVM Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
ArithmeticToSPIRV Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
ArmNeon2dToIntr 2d Arm Neon sdot op, and lowering to the intrinsic. 2021-06-10 14:36:39 -07:00
AsyncToLLVM [mlir] Switch arith, llvm, std & shape dialects to accessors prefixed both form. 2021-10-24 18:36:33 -07:00
BufferizationToMemRef [mlir] Fix BufferizationToMemRef build. 2021-11-30 13:10:54 +01:00
ComplexToLLVM [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
ComplexToStandard [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
GPUCommon [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
GPUToNVVM Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
GPUToROCDL Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
GPUToSPIRV [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
GPUToVulkan Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
LLVMCommon [mlir] Avoid needlessly converting LLVM named structs with compatible elements 2021-12-06 13:42:11 +01:00
LinalgToLLVM [mlir:OpConversion] Remove the remaing usages of the deprecated matchAndRewrite methods 2021-09-24 17:51:41 +00:00
LinalgToSPIRV [mlir:OpConversionPattern] Add overloads for taking an Adaptor instead of ArrayRef 2021-09-24 17:51:41 +00:00
LinalgToStandard [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
MathToLLVM [mlir] Added ctlz and cttz to math dialect and LLVM dialect 2021-12-08 14:32:15 -08:00
MathToLibm [mlir] Support multi-dimensional vectors in MathToLibm conversion. 2021-11-16 11:13:52 +01:00
MathToSPIRV [mlir][spirv] math.erf OpenCL lowering 2021-12-08 21:59:46 +03:00
MemRefToLLVM [mlir] Remove the non-templated DenseElementsAttr::getSplatValue 2021-11-09 01:40:40 +00:00
MemRefToSPIRV [mlir:OpConversionPattern] Add overloads for taking an Adaptor instead of ArrayRef 2021-09-24 17:51:41 +00:00
OpenACCToLLVM [mlir:OpConversion] Remove the remaing usages of the deprecated matchAndRewrite methods 2021-09-24 17:51:41 +00:00
OpenACCToSCF [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
OpenMPToLLVM [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
PDLToPDLInterp Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
ReconcileUnrealizedCasts [mlir] spelling and style changes in ReconcileUnrealizedCasts.cpp. NFC. 2021-09-10 14:09:29 +02:00
SCFToGPU [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
SCFToOpenMP Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
SCFToSPIRV [mlir] spirv: Add scf.while spirv conversion 2021-11-16 13:19:34 +03:00
SCFToStandard [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
SPIRVCommon Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
SPIRVToLLVM [mlir][SPIRVToLLVM] Add shufflevector conversion 2021-11-01 23:05:37 +08:00
ShapeToStandard [mlir] Switch arith, llvm, std & shape dialects to accessors prefixed both form. 2021-10-24 18:36:33 -07:00
StandardToLLVM Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
StandardToSPIRV [mlir] Move min/max ops from Std to Arith. 2021-11-15 13:19:17 +01:00
TosaToLinalg [mlir][tensor] InsertSliceOp verification. 2021-11-30 20:37:06 +00:00
TosaToSCF [PatternMatch] Big mechanical rename OwningRewritePatternList -> RewritePatternSet and insert -> add. NFC 2021-03-22 17:20:50 -07:00
TosaToStandard [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
VectorToGPU [mlir][Vector] Thread 0-d vectors through vector.transfer ops 2021-12-01 16:49:43 +00:00
VectorToLLVM [mlir][Vector] Support 0-D vectors in `BitCastOp` 2021-12-03 08:55:59 +00:00
VectorToROCDL Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
VectorToSCF [mlir][Vector] Thread 0-d vectors through vector.transfer ops 2021-12-01 16:49:43 +00:00
VectorToSPIRV [mlir:OpConversionPattern] Add overloads for taking an Adaptor instead of ArrayRef 2021-09-24 17:51:41 +00:00
CMakeLists.txt [mlir] Decompose Bufferization Clone operation into Memref Alloc and Copy. 2021-11-30 10:15:56 +01:00
PassDetail.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00