My Project
Public Member Functions | Protected Member Functions | List of all members
mlir::PassRegistryEntry Class Reference

#include <PassRegistry.h>

Inheritance diagram for mlir::PassRegistryEntry:
Inheritance graph
[legend]

Public Member Functions

LogicalResult addToPipeline (OpPassManager &pm, StringRef options) const
 
StringRef getPassArgument () const
 
StringRef getPassDescription () const
 Returns a description for the pass, this never returns null. More...
 

Protected Member Functions

 PassRegistryEntry (StringRef arg, StringRef description, const PassRegistryFunction &builder)
 

Detailed Description

Structure to group information about a passes and pass pipelines (argument to invoke via mlir-opt, description, pass pipeline builder).

Constructor & Destructor Documentation

◆ PassRegistryEntry()

mlir::PassRegistryEntry::PassRegistryEntry ( StringRef  arg,
StringRef  description,
const PassRegistryFunction builder 
)
inlineprotected

Member Function Documentation

◆ addToPipeline()

LogicalResult mlir::PassRegistryEntry::addToPipeline ( OpPassManager pm,
StringRef  options 
) const
inline

Adds this pass registry entry to the given pass manager. options is an opaque string that will be parsed by the builder. The success of parsing will be returned.

◆ getPassArgument()

StringRef mlir::PassRegistryEntry::getPassArgument ( ) const
inline

Returns the command line option that may be passed to 'mlir-opt' that will cause this pass to run or null if there is no such argument.

◆ getPassDescription()

StringRef mlir::PassRegistryEntry::getPassDescription ( ) const
inline

Returns a description for the pass, this never returns null.


The documentation for this class was generated from the following file: