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

Link to this function

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

Link to this function

arm_neon_2d_to_intr(composer_or_op)

Link to this function

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

Link to this function

convert_affine_for_to_gpu(composer_or_op)

Link to this function

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

Link to this function

convert_amdgpu_to_rocdl(composer_or_op)

Link to this function

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

Link to this function

convert_arith_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_arith_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_async_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_bufferization_to_memref(composer_or_op)

Link to this function

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

Link to this function

convert_cf_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_cf_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_complex_to_libm(composer_or_op)

Link to this function

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

Link to this function

convert_complex_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_complex_to_standard(composer_or_op)

Link to this function

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

Link to this function

convert_func_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_func_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_gpu_launch_to_vulkan_launch(composer_or_op)

Link to this function

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

Link to this function

convert_gpu_to_nvvm(composer_or_op)

Link to this function

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

Link to this function

convert_gpu_to_rocdl(composer_or_op)

Link to this function

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

Link to this function

convert_gpu_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_index_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_linalg_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_linalg_to_std(composer_or_op)

Link to this function

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

Link to this function

convert_math_to_funcs(composer_or_op)

Link to this function

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

Link to this function

convert_math_to_libm(composer_or_op)

Link to this function

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

Link to this function

convert_math_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_math_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_memref_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_nvgpu_to_nvvm(composer_or_op)

Link to this function

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

Link to this function

convert_openacc_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_openacc_to_scf(composer_or_op)

Link to this function

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

Link to this function

convert_openmp_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_parallel_loops_to_gpu(composer_or_op)

Link to this function

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

Link to this function

convert_pdl_to_pdl_interp(composer_or_op)

Link to this function

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

Link to this function

convert_scf_to_cf(composer_or_op)

Link to this function

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

Link to this function

convert_scf_to_openmp(composer_or_op)

Link to this function

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

Link to this function

convert_scf_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_shape_constraints(composer_or_op)

Link to this function

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

Link to this function

convert_shape_to_std(composer_or_op)

Link to this function

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

Link to this function

convert_spirv_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_tensor_to_linalg(composer_or_op)

Link to this function

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

Link to this function

convert_tensor_to_spirv(composer_or_op)

Link to this function

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

Link to this function

convert_vector_to_gpu(composer_or_op)

Link to this function

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

Link to this function

convert_vector_to_llvm(composer_or_op)

Link to this function

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

Link to this function

convert_vector_to_scf(composer_or_op)

Link to this function

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

Link to this function

convert_vector_to_spirv(composer_or_op)

Link to this function

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

Link to this function

finalize_memref_to_llvm(composer_or_op)

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

Link to this function

gpu_to_llvm(composer_or_op)

Link to this function

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

Link to this function

launch_func_to_vulkan(composer_or_op)

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

Link to this function

lower_affine(composer_or_op)

Link to this function

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

Link to this function

lower_host_to_llvm(composer_or_op)

Link to this function

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

Link to this function

map_memref_spirv_storage_class(composer_or_op)

Link to this function

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

Link to this function

reconcile_unrealized_casts(composer_or_op)

Link to this function

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

Link to this function

tosa_to_arith(composer_or_op)

Link to this function

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

Link to this function

tosa_to_linalg(composer_or_op)

Link to this function

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

Link to this function

tosa_to_linalg_named(composer_or_op)

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

Link to this function

tosa_to_scf(composer_or_op)

Link to this function

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

Link to this function

tosa_to_tensor(composer_or_op)