MLIR  19.0.0git
Namespaces | Functions
mlir::func Namespace Reference

Namespaces

 arith
 

Functions

void registerAllExtensions (DialectRegistry &registry)
 Register all extensions of the func dialect. More...
 
void registerInlinerExtension (DialectRegistry &registry)
 Register the extension used to support inlining the func dialect. More...
 
void registerShardingInterfaceExternalModels (DialectRegistry &registry)
 
void registerTransformDialectExtension (DialectRegistry &registry)
 
std::unique_ptr< PasscreateFuncBufferizePass ()
 Creates an instance of func bufferization pass. More...
 
std::unique_ptr< PasscreateDuplicateFunctionEliminationPass ()
 Pass to deduplicate functions. More...
 

Function Documentation

◆ createDuplicateFunctionEliminationPass()

std::unique_ptr< Pass > mlir::func::createDuplicateFunctionEliminationPass ( )

Pass to deduplicate functions.

Definition at line 115 of file DuplicateFunctionElimination.cpp.

◆ createFuncBufferizePass()

std::unique_ptr< Pass > mlir::func::createFuncBufferizePass ( )

Creates an instance of func bufferization pass.

Definition at line 69 of file FuncBufferize.cpp.

◆ registerAllExtensions()

void mlir::func::registerAllExtensions ( DialectRegistry registry)

Register all extensions of the func dialect.

This should generally only be used by tools, or other use cases that really do want all extensions of the dialect. All other cases should prefer to instead register the specific extensions they intend to take advantage of.

Definition at line 15 of file AllExtensions.cpp.

References registerInlinerExtension(), and registerShardingInterfaceExternalModels().

Referenced by mlir::registerAllExtensions().

◆ registerInlinerExtension()

void mlir::func::registerInlinerExtension ( DialectRegistry registry)

Register the extension used to support inlining the func dialect.

Definition at line 82 of file InlinerExtension.cpp.

References mlir::DialectRegistry::addExtension(), and mlir::MLIRContext::getOrLoadDialect().

Referenced by registerAllExtensions().

◆ registerShardingInterfaceExternalModels()

void mlir::func::registerShardingInterfaceExternalModels ( DialectRegistry registry)

Definition at line 16 of file MeshShardingExtensions.cpp.

References mlir::DialectRegistry::addExtension().

Referenced by registerAllExtensions().

◆ registerTransformDialectExtension()

void mlir::func::registerTransformDialectExtension ( DialectRegistry registry)

Definition at line 255 of file FuncTransformOps.cpp.

References mlir::DialectRegistry::addExtensions().

Referenced by mlir::registerAllExtensions().