LLZK 0.1.0
Veridise's ZK Language IR
|
#include <mlir-c/IR.h>
#include <mlir-c/Support.h>
Go to the source code of this file.
Macros | |
#define | DEFINE_C_API_STRUCT(name, storage) |
#define | DECLARE_SUFFIX_OP_BUILDER_CREATE_FN(suffix, ...) |
#define | DECLARE_OP_BUILDER_CREATE_FN(...) |
Typedefs | |
typedef void(* | MlirNotifyOperationInserted) (MlirOperation, void *) |
typedef void(* | MlirNotifyBlockInserted) (MlirBlock, void *) |
Functions | |
DEFINE_C_API_STRUCT (MlirOpBuilder, void) | |
DEFINE_C_API_STRUCT (MlirOpBuilderListener, void) | |
MLIR_CAPI_EXPORTED void | mlirOpBuilderDestroy (MlirOpBuilder builder) |
Destroys the given builder. | |
MLIR_CAPI_EXPORTED MlirContext | mlirOpBuilderGetContext (MlirOpBuilder builder) |
Returns the context. | |
MLIR_CAPI_EXPORTED void | mlirOpBuilderSetInsertionPointToStart (MlirOpBuilder builder, MlirBlock block) |
Sets the insertion point to the beginning of the given block. | |
MLIR_CAPI_EXPORTED MlirOperation | mlirOpBuilderGetInsertionPoint (MlirOpBuilder builder) |
Returns the current insertion point in the builder. | |
MLIR_CAPI_EXPORTED MlirBlock | mlirOpBuilderGetInsertionBlock (MlirOpBuilder builder) |
Returns the current insertion block in the builder. | |
MLIR_CAPI_EXPORTED MlirOpBuilderListener | mlirOpBuilderListenerCreate (MlirNotifyOperationInserted operationCb, MlirNotifyBlockInserted blockCb, void *userData) |
Creates a new mlir::OpBuilder::Listener. | |
MLIR_CAPI_EXPORTED void | mlirOpBuilderListenerDestroy (MlirOpBuilderListener listener) |
Destroys the given listener. | |
#define DECLARE_OP_BUILDER_CREATE_FN | ( | ... | ) |
#define DECLARE_SUFFIX_OP_BUILDER_CREATE_FN | ( | suffix, | |
... ) |
#define DEFINE_C_API_STRUCT | ( | name, | |
storage ) |
typedef void(* MlirNotifyBlockInserted) (MlirBlock, void *) |
typedef void(* MlirNotifyOperationInserted) (MlirOperation, void *) |
DEFINE_C_API_STRUCT | ( | MlirOpBuilder | , |
void | ) |
DEFINE_C_API_STRUCT | ( | MlirOpBuilderListener | , |
void | ) |
MLIR_CAPI_EXPORTED void mlirOpBuilderDestroy | ( | MlirOpBuilder | builder | ) |
Destroys the given builder.
Definition at line 56 of file Builder.cpp.
MLIR_CAPI_EXPORTED MlirContext mlirOpBuilderGetContext | ( | MlirOpBuilder | builder | ) |
Returns the context.
Definition at line 60 of file Builder.cpp.
MLIR_CAPI_EXPORTED MlirBlock mlirOpBuilderGetInsertionBlock | ( | MlirOpBuilder | builder | ) |
Returns the current insertion block in the builder.
Definition at line 79 of file Builder.cpp.
MLIR_CAPI_EXPORTED MlirOperation mlirOpBuilderGetInsertionPoint | ( | MlirOpBuilder | builder | ) |
Returns the current insertion point in the builder.
Definition at line 68 of file Builder.cpp.
MLIR_CAPI_EXPORTED MlirOpBuilderListener mlirOpBuilderListenerCreate | ( | MlirNotifyOperationInserted | operationCb, |
MlirNotifyBlockInserted | blockCb, | ||
void * | userData ) |
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 87 of file Builder.cpp.
MLIR_CAPI_EXPORTED void mlirOpBuilderListenerDestroy | ( | MlirOpBuilderListener | listener | ) |
Destroys the given listener.
Definition at line 93 of file Builder.cpp.
MLIR_CAPI_EXPORTED void mlirOpBuilderSetInsertionPointToStart | ( | MlirOpBuilder | builder, |
MlirBlock | block ) |
Sets the insertion point to the beginning of the given block.
Definition at line 64 of file Builder.cpp.