Beaver.MLIR.Conversion (beaver v0.2.19)
Conversions MLIR provides by default.
Link to this section Summary
Functions
Convert Arm NEON structured ops to intrinsics
Convert top-level AffineFor Ops to GPU kernels
Convert AMDGPU dialect to ROCDL dialect
Convert Arith dialect to LLVM dialect
Convert Arith dialect to SPIR-V dialect
Convert the operations from the async dialect into the LLVM dialect
Convert operations from the Bufferization dialect to the MemRef dialect
Convert ControlFlow operations to the LLVM dialect
Convert ControlFlow dialect to SPIR-V dialect
Convert Complex dialect to libm calls
Convert Complex dialect to LLVM dialect
Convert Complex dialect to standard dialect
Convert from the Func dialect to the LLVM dialect
Convert Func dialect to SPIR-V dialect
Convert gpu.launch_func to vulkanLaunch external call
Generate NVVM operations for gpu operations
Generate ROCDL operations for gpu operations
Convert GPU dialect to SPIR-V dialect
Lower the index
dialect to the llvm
dialect.
Convert the operations from the linalg dialect into the LLVM dialect
Convert the operations from the linalg dialect into the Standard dialect
Convert Math operations to calls of outlined implementations.
Convert Math dialect to libm calls
Convert Math dialect to LLVM dialect
Convert Math dialect to SPIR-V dialect
Convert MemRef dialect to SPIR-V dialect
Convert NVGPU dialect to NVVM dialect
Convert the OpenACC ops to LLVM dialect
Convert the OpenACC ops to OpenACC with SCF dialect
Convert the OpenMP ops to OpenMP ops with LLVM dialect
Convert mapped scf.parallel ops to gpu launch operations
Convert PDL ops to PDL interpreter ops
Convert SCF dialect to ControlFlow dialect, replacing structured control flow with a CFG
Convert SCF parallel loop to OpenMP parallel + workshare constructs.
Convert SCF dialect to SPIR-V dialect.
Convert shape constraint operations to the standard dialect
Convert operations from the shape dialect into the standard dialect
Convert SPIR-V dialect to LLVM dialect
Convert some Tensor dialect ops to Linalg dialect
Convert Tensor dialect to SPIR-V dialect
Lower the operations from the vector dialect into the GPU dialect
Lower the operations from the vector dialect into the LLVM dialect
Lower the operations from the vector dialect into the SCF dialect
Convert Vector dialect to SPIR-V dialect
Finalize MemRef dialect to LLVM dialect conversion
Convert GPU dialect to LLVM dialect with GPU runtime calls
Convert vulkanLaunch external call to Vulkan runtime external calls
Lower Affine operations to a combination of Standard and SCF operations
Lowers the host module code and gpu.launch_func
to LLVM
Map numeric MemRef memory spaces to SPIR-V storage classes
Simplify and eliminate unrealized conversion casts
Lower TOSA to the Arith dialect
Lower TOSA to LinAlg on tensors
Lower TOSA to LinAlg named operations
Lower TOSA to the SCF dialect
Lower TOSA to the Tensor dialect
Link to this section Functions
arm_neon_2d_to_intr()
Convert Arm NEON structured ops to intrinsics
argument-name-in-mlir-cli
Argument name in MLIR CLI
arm-neon-2d-to-intr
pass-name-in-tablegen
Pass name in TableGen
ConvertArmNeon2dToIntr
arm_neon_2d_to_intr(composer_or_op)
convert_affine_for_to_gpu()
Convert top-level AffineFor Ops to GPU kernels
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-affine-for-to-gpu
pass-name-in-tablegen
Pass name in TableGen
ConvertAffineForToGPU
convert_affine_for_to_gpu(composer_or_op)
convert_amdgpu_to_rocdl()
Convert AMDGPU dialect to ROCDL dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-amdgpu-to-rocdl
pass-name-in-tablegen
Pass name in TableGen
ConvertAMDGPUToROCDL
convert_amdgpu_to_rocdl(composer_or_op)
convert_arith_to_llvm()
Convert Arith dialect to LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-arith-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ArithToLLVMConversionPass
convert_arith_to_llvm(composer_or_op)
convert_arith_to_spirv()
Convert Arith dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-arith-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertArithToSPIRV
convert_arith_to_spirv(composer_or_op)
convert_async_to_llvm()
Convert the operations from the async dialect into the LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-async-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertAsyncToLLVMPass
convert_async_to_llvm(composer_or_op)
convert_bufferization_to_memref()
Convert operations from the Bufferization dialect to the MemRef dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-bufferization-to-memref
pass-name-in-tablegen
Pass name in TableGen
ConvertBufferizationToMemRef
convert_bufferization_to_memref(composer_or_op)
convert_cf_to_llvm()
Convert ControlFlow operations to the LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-cf-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertControlFlowToLLVMPass
convert_cf_to_llvm(composer_or_op)
convert_cf_to_spirv()
Convert ControlFlow dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-cf-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertControlFlowToSPIRV
convert_cf_to_spirv(composer_or_op)
convert_complex_to_libm()
Convert Complex dialect to libm calls
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-complex-to-libm
pass-name-in-tablegen
Pass name in TableGen
ConvertComplexToLibm
convert_complex_to_libm(composer_or_op)
convert_complex_to_llvm()
Convert Complex dialect to LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-complex-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertComplexToLLVMPass
convert_complex_to_llvm(composer_or_op)
convert_complex_to_standard()
Convert Complex dialect to standard dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-complex-to-standard
pass-name-in-tablegen
Pass name in TableGen
ConvertComplexToStandard
convert_complex_to_standard(composer_or_op)
convert_func_to_llvm()
Convert from the Func dialect to the LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-func-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertFuncToLLVMPass
convert_func_to_llvm(composer_or_op)
convert_func_to_spirv()
Convert Func dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-func-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertFuncToSPIRV
convert_func_to_spirv(composer_or_op)
convert_gpu_launch_to_vulkan_launch()
Convert gpu.launch_func to vulkanLaunch external call
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-gpu-launch-to-vulkan-launch
pass-name-in-tablegen
Pass name in TableGen
ConvertGpuLaunchFuncToVulkanLaunchFunc
convert_gpu_launch_to_vulkan_launch(composer_or_op)
convert_gpu_to_nvvm()
Generate NVVM operations for gpu operations
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-gpu-to-nvvm
pass-name-in-tablegen
Pass name in TableGen
ConvertGpuOpsToNVVMOps
convert_gpu_to_nvvm(composer_or_op)
convert_gpu_to_rocdl()
Generate ROCDL operations for gpu operations
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-gpu-to-rocdl
pass-name-in-tablegen
Pass name in TableGen
ConvertGpuOpsToROCDLOps
convert_gpu_to_rocdl(composer_or_op)
convert_gpu_to_spirv()
Convert GPU dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-gpu-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertGPUToSPIRV
convert_gpu_to_spirv(composer_or_op)
convert_index_to_llvm()
Lower the index
dialect to the llvm
dialect.
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-index-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertIndexToLLVMPass
convert_index_to_llvm(composer_or_op)
convert_linalg_to_llvm()
Convert the operations from the linalg dialect into the LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-linalg-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertLinalgToLLVMPass
convert_linalg_to_llvm(composer_or_op)
convert_linalg_to_std()
Convert the operations from the linalg dialect into the Standard dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-linalg-to-std
pass-name-in-tablegen
Pass name in TableGen
ConvertLinalgToStandard
convert_linalg_to_std(composer_or_op)
convert_math_to_funcs()
Convert Math operations to calls of outlined implementations.
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-math-to-funcs
pass-name-in-tablegen
Pass name in TableGen
ConvertMathToFuncs
convert_math_to_funcs(composer_or_op)
convert_math_to_libm()
Convert Math dialect to libm calls
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-math-to-libm
pass-name-in-tablegen
Pass name in TableGen
ConvertMathToLibm
convert_math_to_libm(composer_or_op)
convert_math_to_llvm()
Convert Math dialect to LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-math-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertMathToLLVMPass
convert_math_to_llvm(composer_or_op)
convert_math_to_spirv()
Convert Math dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-math-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertMathToSPIRV
convert_math_to_spirv(composer_or_op)
convert_memref_to_spirv()
Convert MemRef dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-memref-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertMemRefToSPIRV
convert_memref_to_spirv(composer_or_op)
convert_nvgpu_to_nvvm()
Convert NVGPU dialect to NVVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-nvgpu-to-nvvm
pass-name-in-tablegen
Pass name in TableGen
ConvertNVGPUToNVVMPass
convert_nvgpu_to_nvvm(composer_or_op)
convert_openacc_to_llvm()
Convert the OpenACC ops to LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-openacc-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertOpenACCToLLVMPass
convert_openacc_to_llvm(composer_or_op)
convert_openacc_to_scf()
Convert the OpenACC ops to OpenACC with SCF dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-openacc-to-scf
pass-name-in-tablegen
Pass name in TableGen
ConvertOpenACCToSCF
convert_openacc_to_scf(composer_or_op)
convert_openmp_to_llvm()
Convert the OpenMP ops to OpenMP ops with LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-openmp-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertOpenMPToLLVMPass
convert_openmp_to_llvm(composer_or_op)
convert_parallel_loops_to_gpu()
Convert mapped scf.parallel ops to gpu launch operations
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-parallel-loops-to-gpu
pass-name-in-tablegen
Pass name in TableGen
ConvertParallelLoopToGpu
convert_parallel_loops_to_gpu(composer_or_op)
convert_pdl_to_pdl_interp()
Convert PDL ops to PDL interpreter ops
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-pdl-to-pdl-interp
pass-name-in-tablegen
Pass name in TableGen
ConvertPDLToPDLInterp
convert_pdl_to_pdl_interp(composer_or_op)
convert_scf_to_cf()
Convert SCF dialect to ControlFlow dialect, replacing structured control flow with a CFG
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-scf-to-cf
pass-name-in-tablegen
Pass name in TableGen
SCFToControlFlow
convert_scf_to_cf(composer_or_op)
convert_scf_to_openmp()
Convert SCF parallel loop to OpenMP parallel + workshare constructs.
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-scf-to-openmp
pass-name-in-tablegen
Pass name in TableGen
ConvertSCFToOpenMPPass
convert_scf_to_openmp(composer_or_op)
convert_scf_to_spirv()
Convert SCF dialect to SPIR-V dialect.
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-scf-to-spirv
pass-name-in-tablegen
Pass name in TableGen
SCFToSPIRV
convert_scf_to_spirv(composer_or_op)
convert_shape_constraints()
Convert shape constraint operations to the standard dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-shape-constraints
pass-name-in-tablegen
Pass name in TableGen
ConvertShapeConstraints
convert_shape_constraints(composer_or_op)
convert_shape_to_std()
Convert operations from the shape dialect into the standard dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-shape-to-std
pass-name-in-tablegen
Pass name in TableGen
ConvertShapeToStandard
convert_shape_to_std(composer_or_op)
convert_spirv_to_llvm()
Convert SPIR-V dialect to LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-spirv-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertSPIRVToLLVMPass
convert_spirv_to_llvm(composer_or_op)
convert_tensor_to_linalg()
Convert some Tensor dialect ops to Linalg dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-tensor-to-linalg
pass-name-in-tablegen
Pass name in TableGen
ConvertTensorToLinalg
convert_tensor_to_linalg(composer_or_op)
convert_tensor_to_spirv()
Convert Tensor dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-tensor-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertTensorToSPIRV
convert_tensor_to_spirv(composer_or_op)
convert_vector_to_gpu()
Lower the operations from the vector dialect into the GPU dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-vector-to-gpu
pass-name-in-tablegen
Pass name in TableGen
ConvertVectorToGPU
convert_vector_to_gpu(composer_or_op)
convert_vector_to_llvm()
Lower the operations from the vector dialect into the LLVM dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-vector-to-llvm
pass-name-in-tablegen
Pass name in TableGen
ConvertVectorToLLVMPass
convert_vector_to_llvm(composer_or_op)
convert_vector_to_scf()
Lower the operations from the vector dialect into the SCF dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-vector-to-scf
pass-name-in-tablegen
Pass name in TableGen
ConvertVectorToSCF
convert_vector_to_scf(composer_or_op)
convert_vector_to_spirv()
Convert Vector dialect to SPIR-V dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
convert-vector-to-spirv
pass-name-in-tablegen
Pass name in TableGen
ConvertVectorToSPIRV
convert_vector_to_spirv(composer_or_op)
finalize_memref_to_llvm()
Finalize MemRef dialect to LLVM dialect conversion
argument-name-in-mlir-cli
Argument name in MLIR CLI
finalize-memref-to-llvm
pass-name-in-tablegen
Pass name in TableGen
FinalizeMemRefToLLVMConversionPass
finalize_memref_to_llvm(composer_or_op)
gpu_to_llvm()
Convert GPU dialect to LLVM dialect with GPU runtime calls
argument-name-in-mlir-cli
Argument name in MLIR CLI
gpu-to-llvm
pass-name-in-tablegen
Pass name in TableGen
GpuToLLVMConversionPass
gpu_to_llvm(composer_or_op)
launch_func_to_vulkan()
Convert vulkanLaunch external call to Vulkan runtime external calls
argument-name-in-mlir-cli
Argument name in MLIR CLI
launch-func-to-vulkan
pass-name-in-tablegen
Pass name in TableGen
ConvertVulkanLaunchFuncToVulkanCallsPass
launch_func_to_vulkan(composer_or_op)
lower_affine()
Lower Affine operations to a combination of Standard and SCF operations
argument-name-in-mlir-cli
Argument name in MLIR CLI
lower-affine
pass-name-in-tablegen
Pass name in TableGen
ConvertAffineToStandard
lower_affine(composer_or_op)
lower_host_to_llvm()
Lowers the host module code and gpu.launch_func
to LLVM
argument-name-in-mlir-cli
Argument name in MLIR CLI
lower-host-to-llvm
pass-name-in-tablegen
Pass name in TableGen
LowerHostCodeToLLVMPass
lower_host_to_llvm(composer_or_op)
map_memref_spirv_storage_class()
Map numeric MemRef memory spaces to SPIR-V storage classes
argument-name-in-mlir-cli
Argument name in MLIR CLI
map-memref-spirv-storage-class
pass-name-in-tablegen
Pass name in TableGen
MapMemRefStorageClass
map_memref_spirv_storage_class(composer_or_op)
reconcile_unrealized_casts()
Simplify and eliminate unrealized conversion casts
argument-name-in-mlir-cli
Argument name in MLIR CLI
reconcile-unrealized-casts
pass-name-in-tablegen
Pass name in TableGen
ReconcileUnrealizedCasts
reconcile_unrealized_casts(composer_or_op)
tosa_to_arith()
Lower TOSA to the Arith dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
tosa-to-arith
pass-name-in-tablegen
Pass name in TableGen
TosaToArith
tosa_to_arith(composer_or_op)
tosa_to_linalg()
Lower TOSA to LinAlg on tensors
argument-name-in-mlir-cli
Argument name in MLIR CLI
tosa-to-linalg
pass-name-in-tablegen
Pass name in TableGen
TosaToLinalg
tosa_to_linalg(composer_or_op)
tosa_to_linalg_named()
Lower TOSA to LinAlg named operations
argument-name-in-mlir-cli
Argument name in MLIR CLI
tosa-to-linalg-named
pass-name-in-tablegen
Pass name in TableGen
TosaToLinalgNamed
tosa_to_linalg_named(composer_or_op)
tosa_to_scf()
Lower TOSA to the SCF dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
tosa-to-scf
pass-name-in-tablegen
Pass name in TableGen
TosaToSCF
tosa_to_scf(composer_or_op)
tosa_to_tensor()
Lower TOSA to the Tensor dialect
argument-name-in-mlir-cli
Argument name in MLIR CLI
tosa-to-tensor
pass-name-in-tablegen
Pass name in TableGen
TosaToTensor