MLIR  20.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< PasscreateDuplicateFunctionEliminationPass ()
 Pass to deduplicate functions. More...
 

Function Documentation

◆ createDuplicateFunctionEliminationPass()

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

Pass to deduplicate functions.

Definition at line 119 of file DuplicateFunctionElimination.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 86 of file InlinerExtension.cpp.

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

Referenced by registerAllExtensions().

◆ registerShardingInterfaceExternalModels()

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

◆ registerTransformDialectExtension()

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

Definition at line 257 of file FuncTransformOps.cpp.

References mlir::DialectRegistry::addExtensions().

Referenced by mlir::registerAllExtensions().