MLIR
23.0.0git
include
mlir
CAPI
Dialect
Transform.h
Go to the documentation of this file.
1
//===- Transform.h - C API Utils for Transform dialect ----------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file contains declarations of implementation details of the C API for
10
// the Transform dialect. This file should not be included from C++ code other
11
// than C API implementation nor from C code.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef MLIR_CAPI_DIALECT_TRANSFORM_H
16
#define MLIR_CAPI_DIALECT_TRANSFORM_H
17
18
#include "
mlir-c/Dialect/Transform.h
"
19
#include "
mlir/CAPI/Wrap.h
"
20
#include "
mlir/Dialect/Transform/Interfaces/TransformInterfaces.h
"
21
22
DEFINE_C_API_PTR_METHODS
(MlirTransformRewriter,
23
mlir::transform::TransformRewriter
)
24
DEFINE_C_API_PTR_METHODS
(MlirTransformResults,
25
mlir::transform::TransformResults
)
26
DEFINE_C_API_PTR_METHODS
(MlirTransformState,
mlir::transform::TransformState
)
27
28
#endif
// MLIR_CAPI_DIALECT_TRANSFORM_H
TransformInterfaces.h
Wrap.h
DEFINE_C_API_PTR_METHODS
#define DEFINE_C_API_PTR_METHODS(name, cpptype)
Definition
Wrap.h:25
mlir::transform::TransformResults
Local mapping between values defined by a specific op implementing the TransformOpInterface and the p...
Definition
TransformInterfaces.h:815
mlir::transform::TransformRewriter
This is a special rewriter to be used in transform op implementations, providing additional helper fu...
Definition
TransformInterfaces.h:1108
mlir::transform::TransformState
The state maintained across applications of various ops implementing the TransformOpInterface.
Definition
TransformInterfaces.h:173
Transform.h
Generated on
for MLIR by
1.14.0