#include "mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h"
#include "mlir/Dialect/Transform/IR/TransformDialect.h"
#include "mlir/Dialect/Transform/IR/TransformOps.h"
#include "mlir/Dialect/Transform/IR/Utils.h"
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Verifier.h"
#include "mlir/IR/Visitors.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacemlir;
#define DEBUG_TYPE …
#define DBGS() …
LogicalResult transform::detail::expandPathsToMLIRFiles(
ArrayRef<std::string> paths, MLIRContext *context,
SmallVectorImpl<std::string> &fileNames) { … }
LogicalResult transform::detail::parseTransformModuleFromFile(
MLIRContext *context, llvm::StringRef transformFileName,
OwningOpRef<ModuleOp> &transformModule) { … }
ModuleOp transform::detail::getPreloadedTransformModule(MLIRContext *context) { … }
transform::TransformOpInterface
transform::detail::findTransformEntryPoint(Operation *root, ModuleOp module,
StringRef entryPoint) { … }
LogicalResult transform::detail::assembleTransformLibraryFromPaths(
MLIRContext *context, ArrayRef<std::string> transformLibraryPaths,
OwningOpRef<ModuleOp> &transformModule) { … }
LogicalResult transform::applyTransformNamedSequence(
Operation *payload, Operation *transformRoot, ModuleOp transformModule,
const TransformOptions &options) { … }
LogicalResult transform::applyTransformNamedSequence(
RaggedArray<MappedValue> bindings, TransformOpInterface transformRoot,
ModuleOp transformModule, const TransformOptions &options) { … }