#include <mlir-c/IR.h>
#include <mlir-c/Support.h>
Go to the source code of this file.
◆ DECLARE_OP_BUILDER_CREATE_FN
| #define DECLARE_OP_BUILDER_CREATE_FN |
( |
| ... | ) |
|
Value:
#define DECLARE_SUFFIX_OP_BUILDER_CREATE_FN(suffix,...)
Definition at line 57 of file Builder.h.
◆ DECLARE_SUFFIX_OP_BUILDER_CREATE_FN
| #define DECLARE_SUFFIX_OP_BUILDER_CREATE_FN |
( |
| suffix, |
|
|
| ... ) |
Value:
__VA_ARGS__, MlirOpBuilderListener \
);
MlirOpBuilder mlirOpBuilderCreate(MlirContext ctx)
Definition at line 52 of file Builder.h.
◆ DEFINE_C_API_STRUCT
| #define DEFINE_C_API_STRUCT |
( |
| name, |
|
|
| storage ) |
◆ MlirNotifyBlockInserted
| typedef void(* MlirNotifyBlockInserted) (MlirBlock, MlirRegion, MlirBlock, void *) |
◆ MlirNotifyOperationInserted
◆ MlirOpBuilderInsertPoint
| typedef struct MlirOpBuilderInsertPoint MlirOpBuilderInsertPoint |
◆ DEFINE_C_API_STRUCT() [1/2]
| DEFINE_C_API_STRUCT |
( |
MlirOpBuilder | , |
|
|
void | ) |
◆ DEFINE_C_API_STRUCT() [2/2]
| DEFINE_C_API_STRUCT |
( |
MlirOpBuilderListener | , |
|
|
void | ) |
◆ mlirOpBuilderDestroy()
| MLIR_CAPI_EXPORTED void mlirOpBuilderDestroy |
( |
MlirOpBuilder | builder | ) |
|
Destroys the given builder.
Definition at line 63 of file Builder.cpp.
◆ mlirOpBuilderGetContext()
| MLIR_CAPI_EXPORTED MlirContext mlirOpBuilderGetContext |
( |
MlirOpBuilder | builder | ) |
|
◆ mlirOpBuilderGetInsertionBlock()
| MLIR_CAPI_EXPORTED MlirBlock mlirOpBuilderGetInsertionBlock |
( |
MlirOpBuilder | builder | ) |
|
Returns the current insertion block in the builder.
Definition at line 86 of file Builder.cpp.
◆ mlirOpBuilderGetInsertionPoint()
| MLIR_CAPI_EXPORTED MlirOperation mlirOpBuilderGetInsertionPoint |
( |
MlirOpBuilder | builder | ) |
|
Returns the current insertion point in the builder.
Definition at line 75 of file Builder.cpp.
◆ mlirOpBuilderListenerCreate()
Creates a new mlir::OpBuilder::Listener.
Takes one callback for each method of the Listener interface and a pointer to user defined data.
Definition at line 94 of file Builder.cpp.
◆ mlirOpBuilderListenerDestroy()
| MLIR_CAPI_EXPORTED void mlirOpBuilderListenerDestroy |
( |
MlirOpBuilderListener | listener | ) |
|
Destroys the given listener.
Definition at line 100 of file Builder.cpp.
◆ mlirOpBuilderSetInsertionPointToStart()
| MLIR_CAPI_EXPORTED void mlirOpBuilderSetInsertionPointToStart |
( |
MlirOpBuilder | builder, |
|
|
MlirBlock | block ) |
Sets the insertion point to the beginning of the given block.
Definition at line 71 of file Builder.cpp.