#include "mlir-c/Dialect/Transform/Interpreter.h"
#include "mlir-c/Support.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Support.h"
#include "mlir/CAPI/Wrap.h"
#include "mlir/Dialect/Transform/IR/Utils.h"
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
#include "mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h"
usingnamespacemlir;
DEFINE_C_API_PTR_METHODS(…)
extern "C" {
MlirTransformOptions mlirTransformOptionsCreate() { … }
void mlirTransformOptionsEnableExpensiveChecks(
MlirTransformOptions transformOptions, bool enable) { … }
bool mlirTransformOptionsGetExpensiveChecksEnabled(
MlirTransformOptions transformOptions) { … }
void mlirTransformOptionsEnforceSingleTopLevelTransformOp(
MlirTransformOptions transformOptions, bool enable) { … }
bool mlirTransformOptionsGetEnforceSingleTopLevelTransformOp(
MlirTransformOptions transformOptions) { … }
void mlirTransformOptionsDestroy(MlirTransformOptions transformOptions) { … }
MlirLogicalResult mlirTransformApplyNamedSequence(
MlirOperation payload, MlirOperation transformRoot,
MlirOperation transformModule, MlirTransformOptions transformOptions) { … }
MlirLogicalResult mlirMergeSymbolsIntoFromClone(MlirOperation target,
MlirOperation other) { … }
}