MLIR
20.0.0git
include
mlir-c
Dialect
Transform.h
Go to the documentation of this file.
1
//===-- mlir-c/Dialect/Transform.h - C API for Transform Dialect --*- C -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
4
// Exceptions.
5
// See https://llvm.org/LICENSE.txt for license information.
6
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef MLIR_C_DIALECT_TRANSFORM_H
11
#define MLIR_C_DIALECT_TRANSFORM_H
12
13
#include "
mlir-c/IR.h
"
14
#include "
mlir-c/Support.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION
(Transform, transform);
21
22
//===---------------------------------------------------------------------===//
23
// AnyOpType
24
//===---------------------------------------------------------------------===//
25
26
MLIR_CAPI_EXPORTED
bool
mlirTypeIsATransformAnyOpType
(MlirType type);
27
28
MLIR_CAPI_EXPORTED
MlirTypeID
mlirTransformAnyOpTypeGetTypeID
(
void
);
29
30
MLIR_CAPI_EXPORTED
MlirType
mlirTransformAnyOpTypeGet
(MlirContext ctx);
31
32
//===---------------------------------------------------------------------===//
33
// AnyParamType
34
//===---------------------------------------------------------------------===//
35
36
MLIR_CAPI_EXPORTED
bool
mlirTypeIsATransformAnyParamType
(MlirType type);
37
38
MLIR_CAPI_EXPORTED
MlirTypeID
mlirTransformAnyParamTypeGetTypeID
(
void
);
39
40
MLIR_CAPI_EXPORTED
MlirType
mlirTransformAnyParamTypeGet
(MlirContext ctx);
41
42
//===---------------------------------------------------------------------===//
43
// AnyValueType
44
//===---------------------------------------------------------------------===//
45
46
MLIR_CAPI_EXPORTED
bool
mlirTypeIsATransformAnyValueType
(MlirType type);
47
48
MLIR_CAPI_EXPORTED
MlirTypeID
mlirTransformAnyValueTypeGetTypeID
(
void
);
49
50
MLIR_CAPI_EXPORTED
MlirType
mlirTransformAnyValueTypeGet
(MlirContext ctx);
51
52
//===---------------------------------------------------------------------===//
53
// OperationType
54
//===---------------------------------------------------------------------===//
55
56
MLIR_CAPI_EXPORTED
bool
mlirTypeIsATransformOperationType
(MlirType type);
57
58
MLIR_CAPI_EXPORTED
MlirTypeID
mlirTransformOperationTypeGetTypeID
(
void
);
59
60
MLIR_CAPI_EXPORTED
MlirType
61
mlirTransformOperationTypeGet
(MlirContext ctx,
MlirStringRef
operationName);
62
63
MLIR_CAPI_EXPORTED
MlirStringRef
64
mlirTransformOperationTypeGetOperationName
(MlirType type);
65
66
//===---------------------------------------------------------------------===//
67
// ParamType
68
//===---------------------------------------------------------------------===//
69
70
MLIR_CAPI_EXPORTED
bool
mlirTypeIsATransformParamType
(MlirType type);
71
72
MLIR_CAPI_EXPORTED
MlirTypeID
mlirTransformParamTypeGetTypeID
(
void
);
73
74
MLIR_CAPI_EXPORTED
MlirType
mlirTransformParamTypeGet
(MlirContext ctx,
75
MlirType type);
76
77
MLIR_CAPI_EXPORTED
MlirType
mlirTransformParamTypeGetType
(MlirType type);
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
// MLIR_C_DIALECT_TRANSFORM_H
mlirTransformAnyOpTypeGet
MLIR_CAPI_EXPORTED MlirType mlirTransformAnyOpTypeGet(MlirContext ctx)
Definition:
Transform.cpp:32
mlirTransformAnyParamTypeGetTypeID
MLIR_CAPI_EXPORTED MlirTypeID mlirTransformAnyParamTypeGetTypeID(void)
Definition:
Transform.cpp:44
mlirTypeIsATransformAnyValueType
MLIR_CAPI_EXPORTED bool mlirTypeIsATransformAnyValueType(MlirType type)
Definition:
Transform.cpp:56
mlirTypeIsATransformOperationType
MLIR_CAPI_EXPORTED bool mlirTypeIsATransformOperationType(MlirType type)
Definition:
Transform.cpp:72
mlirTypeIsATransformAnyParamType
MLIR_CAPI_EXPORTED bool mlirTypeIsATransformAnyParamType(MlirType type)
Definition:
Transform.cpp:40
mlirTransformAnyValueTypeGetTypeID
MLIR_CAPI_EXPORTED MlirTypeID mlirTransformAnyValueTypeGetTypeID(void)
Definition:
Transform.cpp:60
mlirTransformParamTypeGetTypeID
MLIR_CAPI_EXPORTED MlirTypeID mlirTransformParamTypeGetTypeID(void)
Definition:
Transform.cpp:98
mlirTypeIsATransformAnyOpType
MLIR_CAPI_EXPORTED bool mlirTypeIsATransformAnyOpType(MlirType type)
mlirTransformOperationTypeGet
MLIR_CAPI_EXPORTED MlirType mlirTransformOperationTypeGet(MlirContext ctx, MlirStringRef operationName)
Definition:
Transform.cpp:80
mlirTypeIsATransformParamType
MLIR_CAPI_EXPORTED bool mlirTypeIsATransformParamType(MlirType type)
Definition:
Transform.cpp:94
mlirTransformParamTypeGet
MLIR_CAPI_EXPORTED MlirType mlirTransformParamTypeGet(MlirContext ctx, MlirType type)
Definition:
Transform.cpp:102
mlirTransformOperationTypeGetTypeID
MLIR_CAPI_EXPORTED MlirTypeID mlirTransformOperationTypeGetTypeID(void)
Definition:
Transform.cpp:76
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Transform, transform)
mlirTransformAnyValueTypeGet
MLIR_CAPI_EXPORTED MlirType mlirTransformAnyValueTypeGet(MlirContext ctx)
Definition:
Transform.cpp:64
mlirTransformAnyParamTypeGet
MLIR_CAPI_EXPORTED MlirType mlirTransformAnyParamTypeGet(MlirContext ctx)
Definition:
Transform.cpp:48
mlirTransformParamTypeGetType
MLIR_CAPI_EXPORTED MlirType mlirTransformParamTypeGetType(MlirType type)
Definition:
Transform.cpp:106
mlirTransformOperationTypeGetOperationName
MLIR_CAPI_EXPORTED MlirStringRef mlirTransformOperationTypeGetOperationName(MlirType type)
Definition:
Transform.cpp:86
mlirTransformAnyOpTypeGetTypeID
MLIR_CAPI_EXPORTED MlirTypeID mlirTransformAnyOpTypeGetTypeID(void)
Definition:
Transform.cpp:28
IR.h
Support.h
MLIR_CAPI_EXPORTED
#define MLIR_CAPI_EXPORTED
Definition:
Support.h:46
MlirStringRef
A pointer to a sized fragment of a string, not necessarily null-terminated.
Definition:
Support.h:73
Generated on Sat Dec 21 2024 08:31:39 for MLIR by
1.9.1