MLIR 22.0.0git
TransformInterpreterUtils.h File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::transform
namespace  mlir::transform::detail

Functions

LogicalResult mlir::transform::detail::expandPathsToMLIRFiles (ArrayRef< std::string > paths, MLIRContext *context, SmallVectorImpl< std::string > &fileNames)
 Expands the given list of paths to a list of .mlir files.
LogicalResult mlir::transform::detail::parseTransformModuleFromFile (MLIRContext *context, llvm::StringRef transformFileName, OwningOpRef< ModuleOp > &transformModule)
 Utility to parse and verify the content of a transformFileName MLIR file containing a transform dialect specification.
LogicalResult mlir::transform::detail::assembleTransformLibraryFromPaths (MLIRContext *context, ArrayRef< std::string > transformLibraryPaths, OwningOpRef< ModuleOp > &transformModule)
 Utility to parse, verify, aggregate and link the content of all mlir files nested under transformLibraryPaths and containing transform dialect specifications.
ModuleOp mlir::transform::detail::getPreloadedTransformModule (MLIRContext *context)
 Utility to load a transform interpreter module from a module that has already been preloaded in the context.
TransformOpInterface mlir::transform::detail::findTransformEntryPoint (Operation *root, ModuleOp module, StringRef entryPoint=TransformDialect::kTransformEntryPointSymbolName)
 Finds the first TransformOpInterface named kTransformEntryPointSymbolName that is either:
LogicalResult mlir::transform::applyTransformNamedSequence (Operation *payload, Operation *transformRoot, ModuleOp transformModule, const TransformOptions &options)
 Standalone util to apply the named sequence transformRoot to payload IR.
LogicalResult mlir::transform::applyTransformNamedSequence (RaggedArray< MappedValue > bindings, TransformOpInterface transformRoot, ModuleOp transformModule, const TransformOptions &options)