MLIR  20.0.0git
Namespaces | Functions
TransformInterpreterUtils.h File Reference
#include "mlir/Dialect/Transform/IR/TransformDialect.h"
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Support/LLVM.h"
#include <memory>

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::transform
 
 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. More...
 
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. More...
 
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. More...
 
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. More...
 
TransformOpInterface mlir::transform::detail::findTransformEntryPoint (Operation *root, ModuleOp module, StringRef entryPoint=TransformDialect::kTransformEntryPointSymbolName)
 Finds the first TransformOpInterface named kTransformEntryPointSymbolName that is either: More...
 
LogicalResult mlir::transform::applyTransformNamedSequence (Operation *payload, Operation *transformRoot, ModuleOp transformModule, const TransformOptions &options)
 Standalone util to apply the named sequence transformRoot to payload IR. More...
 
LogicalResult mlir::transform::applyTransformNamedSequence (RaggedArray< MappedValue > bindings, TransformOpInterface transformRoot, ModuleOp transformModule, const TransformOptions &options)