llvm/mlir/test/Conversion
Michele Scuttari a8601f11fb [MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions
When converted to the LLVM dialect, the memref.alloc and memref.free operations were generating calls to hardcoded 'malloc' and 'free' functions. This didn't leave any freedom to users to provide their custom implementation. Those operations now convert into calls to '_mlir_alloc' and '_mlir_free' functions, which have also been implemented into the runtime support library as wrappers to 'malloc' and 'free'. The same has been done for the 'aligned_alloc' function.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D128791
2022-07-25 15:52:51 +02:00
..
AffineToStandard [mlir][NFC] Update remaining textual references of un-namespaced func operations 2022-04-20 22:17:31 -07:00
AMDGPUToROCDL [mlir][AMDGPU] Add lds_barrier op 2022-07-14 20:45:26 +00:00
ArithmeticToLLVM [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
ArithmeticToSPIRV [mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC. 2022-07-21 13:03:30 -04:00
AsyncToLLVM Revert "[MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions" 2022-07-18 18:07:36 +00:00
BufferizationToMemRef [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
ComplexToLibm [mlir][complex] Lower complex.log to libm log call 2022-07-11 21:56:00 +02:00
ComplexToLLVM [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
ComplexToStandard [mlir][complex] complex.arg op to calculate the angle of complex number 2022-06-27 16:45:41 +02:00
ControlFlowToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
FuncToLLVM Revert "[MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions" 2022-07-18 18:07:36 +00:00
FuncToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
GPUCommon [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
GPUToCUDA
GPUToNVVM [mlir] replace 'emit_c_wrappers' func->llvm conversion option with a pass 2022-06-17 11:10:31 +02:00
GPUToROCDL
GPUToROCm
GPUToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
GPUToVulkan [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
LinalgToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
MathToLibm [mlir][math] Added math::tan operation. 2022-07-15 09:17:06 -07:00
MathToLLVM [MLIR][Math] Add round operation 2022-06-08 13:07:39 +02:00
MathToSPIRV [mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC. 2022-07-21 13:03:30 -04:00
MemRefToLLVM [MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions 2022-07-25 15:52:51 +02:00
MemRefToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
NVGPUToNVVM [mlir][NVGPU] Verifiers for nvgpu.mma.sync Op 2022-07-13 18:57:07 +00:00
OpenACCToLLVM [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
OpenACCToSCF [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
OpenMPToLLVM [MLIR,OpenMP] : Add Conversion pattern for Critical Op 2022-07-22 12:57:48 +00:00
PDLToPDLInterp [mlir:PDLInterp] Refactor the implementation of result type inferrence 2022-05-01 12:25:05 -07:00
SCFToControlFlow [mlir][NFC] Update remaining textual references of un-namespaced func operations 2022-04-20 22:17:31 -07:00
SCFToGPU [mlir][gpu] Change ParalellLoopMappingAttr to AttrDef 2022-06-09 22:23:21 +00:00
SCFToOpenMP [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
SCFToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
ShapeToStandard [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
SPIRVToLLVM [mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC. 2022-07-21 13:03:30 -04:00
TensorToLinalg [mlir] Add TensorToLinalgPass 2022-05-13 12:17:22 +02:00
TensorToSPIRV [mlir][spirv] Remove layout decoration on unneeded storage classes 2022-04-28 08:18:23 -04:00
TosaToArith [mlir][tosa] Rework tosa.apply_scale lowering for 32-bit 2022-05-17 16:01:12 -07:00
TosaToLinalg [MLIR][TOSA] Fix converting tosa.clamp and tosa.relu to linalg 2022-07-11 17:18:47 +00:00
TosaToSCF [mlir][NFC] Update textual references of func to func.func in Conversion/ tests 2022-04-20 22:17:27 -07:00
TosaToTensor [tosa] Lower tosa.slice to tensor.slice for dynamic case 2022-06-15 09:54:36 -07:00
VectorToGPU [mlir][VectorToGPU] Fix support for i4, col-major operand support 2022-06-30 10:26:59 -06:00
VectorToLLVM [mlir][VectorToLLVM] Fix bug in lowering of vector.reduce fmax/fmin 2022-07-12 22:03:39 +00:00
VectorToSCF [mlir][NFC] Update remaining textual references of un-namespaced func operations 2022-04-20 22:17:31 -07:00
VectorToSPIRV [mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC. 2022-07-21 13:03:30 -04:00