Beaver.MLIR.Conversion (beaver v0.3.4)
Conversions MLIR provides by default.
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 operations to AMDGPU-specific implementations
Convert Arith dialect to ArmSME dialect
Convert Arith dialect to LLVM dialect
Convert Arith dialect to SPIR-V dialect
Lower the operations from the ArmSME dialect into the LLVM dialect
Lower the operations from the ArmSME dialect into the SCF 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 SPIRV dialect
Convert Complex dialect to standard dialect
Convert Func dialect to EmitC 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.
Lower the index
dialect to the spirv
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 NVVM to PTX with Inline Assembly in 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 dialect to EmitC dialect, maintaining structured control flow
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
Convert to LLVM via dialect interfaces found in the input IR
Convert UB dialect to LLVM dialect
Convert UB dialect to SPIR-V dialect
Lower the operations from the vector dialect into the ArmSME 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
Lift ControlFlow dialect to SCF dialect
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
Attach a datalayout string as a module attribute
Lower TOSA to the Arith dialect
Lower TOSA to LinAlg on tensors
Lower TOSA to LinAlg named operations
Lower TOSA to the MLProgram dialect
Lower TOSA to the SCF dialect
Lower TOSA to the Tensor dialect
Functions
arm_neon_2d_to_intr()
Convert Arm NEON structured ops to intrinsics
Argument name in MLIR CLI
arm-neon-2d-to-intr
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
convert-affine-for-to-gpu
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
convert-amdgpu-to-rocdl
Pass name in TableGen
ConvertAMDGPUToROCDL
convert_amdgpu_to_rocdl(composer_or_op)
convert_arith_to_amdgpu()
Convert Arith operations to AMDGPU-specific implementations
Argument name in MLIR CLI
convert-arith-to-amdgpu
Pass name in TableGen
ArithToAMDGPUConversionPass
convert_arith_to_amdgpu(composer_or_op)
convert_arith_to_arm_sme()
Convert Arith dialect to ArmSME dialect
Argument name in MLIR CLI
convert-arith-to-arm-sme
Pass name in TableGen
ArithToArmSMEConversionPass
convert_arith_to_arm_sme(composer_or_op)
convert_arith_to_llvm()
Convert Arith dialect to LLVM dialect
Argument name in MLIR CLI
convert-arith-to-llvm
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
convert-arith-to-spirv
Pass name in TableGen
ConvertArithToSPIRV
convert_arith_to_spirv(composer_or_op)
convert_arm_sme_to_llvm()
Lower the operations from the ArmSME dialect into the LLVM dialect
Argument name in MLIR CLI
convert-arm-sme-to-llvm
Pass name in TableGen
ConvertArmSMEToLLVM
convert_arm_sme_to_llvm(composer_or_op)
convert_arm_sme_to_scf()
Lower the operations from the ArmSME dialect into the SCF dialect
Argument name in MLIR CLI
convert-arm-sme-to-scf
Pass name in TableGen
ConvertArmSMEToSCF
convert_arm_sme_to_scf(composer_or_op)
convert_async_to_llvm()
Convert the operations from the async dialect into the LLVM dialect
Argument name in MLIR CLI
convert-async-to-llvm
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
convert-bufferization-to-memref
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
convert-cf-to-llvm
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
convert-cf-to-spirv
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
convert-complex-to-libm
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
convert-complex-to-llvm
Pass name in TableGen
ConvertComplexToLLVMPass
convert_complex_to_llvm(composer_or_op)
convert_complex_to_spirv()
Convert Complex dialect to SPIRV dialect
Argument name in MLIR CLI
convert-complex-to-spirv
Pass name in TableGen
ConvertComplexToSPIRVPass
convert_complex_to_spirv(composer_or_op)
convert_complex_to_standard()
Convert Complex dialect to standard dialect
Argument name in MLIR CLI
convert-complex-to-standard
Pass name in TableGen
ConvertComplexToStandard
convert_complex_to_standard(composer_or_op)
convert_func_to_emitc()
Convert Func dialect to EmitC dialect
Argument name in MLIR CLI
convert-func-to-emitc
Pass name in TableGen
ConvertFuncToEmitC
convert_func_to_emitc(composer_or_op)
convert_func_to_llvm()
Convert from the Func dialect to the LLVM dialect
Argument name in MLIR CLI
convert-func-to-llvm
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
convert-func-to-spirv
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
convert-gpu-launch-to-vulkan-launch
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
convert-gpu-to-nvvm
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
convert-gpu-to-rocdl
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
convert-gpu-to-spirv
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
convert-index-to-llvm
Pass name in TableGen
ConvertIndexToLLVMPass
convert_index_to_llvm(composer_or_op)
convert_index_to_spirv()
Lower the index
dialect to the spirv
dialect.
Argument name in MLIR CLI
convert-index-to-spirv
Pass name in TableGen
ConvertIndexToSPIRVPass
convert_index_to_spirv(composer_or_op)
convert_linalg_to_std()
Convert the operations from the linalg dialect into the Standard dialect
Argument name in MLIR CLI
convert-linalg-to-std
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
convert-math-to-funcs
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
convert-math-to-libm
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
convert-math-to-llvm
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
convert-math-to-spirv
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
convert-memref-to-spirv
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
convert-nvgpu-to-nvvm
Pass name in TableGen
ConvertNVGPUToNVVMPass
convert_nvgpu_to_nvvm(composer_or_op)
convert_nvvm_to_llvm()
Convert NVVM to PTX with Inline Assembly in LLVM dialect
Argument name in MLIR CLI
convert-nvvm-to-llvm
Pass name in TableGen
ConvertNVVMToLLVMPass
convert_nvvm_to_llvm(composer_or_op)
convert_openacc_to_scf()
Convert the OpenACC ops to OpenACC with SCF dialect
Argument name in MLIR CLI
convert-openacc-to-scf
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
convert-openmp-to-llvm
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
convert-parallel-loops-to-gpu
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
convert-pdl-to-pdl-interp
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
convert-scf-to-cf
Pass name in TableGen
SCFToControlFlow
convert_scf_to_cf(composer_or_op)
convert_scf_to_emitc()
Convert SCF dialect to EmitC dialect, maintaining structured control flow
Argument name in MLIR CLI
convert-scf-to-emitc
Pass name in TableGen
SCFToEmitC
convert_scf_to_emitc(composer_or_op)
convert_scf_to_openmp()
Convert SCF parallel loop to OpenMP parallel + workshare constructs.
Argument name in MLIR CLI
convert-scf-to-openmp
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
convert-scf-to-spirv
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
convert-shape-constraints
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
convert-shape-to-std
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
convert-spirv-to-llvm
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
convert-tensor-to-linalg
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
convert-tensor-to-spirv
Pass name in TableGen
ConvertTensorToSPIRV
convert_tensor_to_spirv(composer_or_op)
convert_to_llvm()
Convert to LLVM via dialect interfaces found in the input IR
Argument name in MLIR CLI
convert-to-llvm
Pass name in TableGen
ConvertToLLVMPass
convert_to_llvm(composer_or_op)
convert_ub_to_llvm()
Convert UB dialect to LLVM dialect
Argument name in MLIR CLI
convert-ub-to-llvm
Pass name in TableGen
UBToLLVMConversionPass
convert_ub_to_llvm(composer_or_op)
convert_ub_to_spirv()
Convert UB dialect to SPIR-V dialect
Argument name in MLIR CLI
convert-ub-to-spirv
Pass name in TableGen
UBToSPIRVConversionPass
convert_ub_to_spirv(composer_or_op)
convert_vector_to_arm_sme()
Lower the operations from the vector dialect into the ArmSME dialect
Argument name in MLIR CLI
convert-vector-to-arm-sme
Pass name in TableGen
ConvertVectorToArmSME
convert_vector_to_arm_sme(composer_or_op)
convert_vector_to_gpu()
Lower the operations from the vector dialect into the GPU dialect
Argument name in MLIR CLI
convert-vector-to-gpu
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
convert-vector-to-llvm
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
convert-vector-to-scf
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
convert-vector-to-spirv
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
finalize-memref-to-llvm
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
gpu-to-llvm
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
launch-func-to-vulkan
Pass name in TableGen
ConvertVulkanLaunchFuncToVulkanCallsPass
launch_func_to_vulkan(composer_or_op)
lift_cf_to_scf()
Lift ControlFlow dialect to SCF dialect
Argument name in MLIR CLI
lift-cf-to-scf
Pass name in TableGen
LiftControlFlowToSCFPass
lift_cf_to_scf(composer_or_op)
lower_affine()
Lower Affine operations to a combination of Standard and SCF operations
Argument name in MLIR CLI
lower-affine
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
lower-host-to-llvm
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
map-memref-spirv-storage-class
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
reconcile-unrealized-casts
Pass name in TableGen
ReconcileUnrealizedCasts
reconcile_unrealized_casts(composer_or_op)
set_llvm_module_datalayout()
Attach a datalayout string as a module attribute
Argument name in MLIR CLI
set-llvm-module-datalayout
Pass name in TableGen
SetLLVMModuleDataLayoutPass
set_llvm_module_datalayout(composer_or_op)
tosa_to_arith()
Lower TOSA to the Arith dialect
Argument name in MLIR CLI
tosa-to-arith
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
tosa-to-linalg
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
tosa-to-linalg-named
Pass name in TableGen
TosaToLinalgNamed
tosa_to_linalg_named(composer_or_op)
tosa_to_mlprogram()
Lower TOSA to the MLProgram dialect
Argument name in MLIR CLI
tosa-to-mlprogram
Pass name in TableGen
TosaToMLProgram
tosa_to_mlprogram(composer_or_op)
tosa_to_scf()
Lower TOSA to the SCF dialect
Argument name in MLIR CLI
tosa-to-scf
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
tosa-to-tensor
Pass name in TableGen
TosaToTensor