MLIR
20.0.0git
|
An auxiliary class for constructing operations. More...
#include "mlir-c/IR.h"
Public Attributes | |
MlirStringRef | name |
MlirLocation | location |
intptr_t | nResults |
MlirType * | results |
intptr_t | nOperands |
MlirValue * | operands |
intptr_t | nRegions |
MlirRegion * | regions |
intptr_t | nSuccessors |
MlirBlock * | successors |
intptr_t | nAttributes |
MlirNamedAttribute * | attributes |
bool | enableResultTypeInference |
An auxiliary class for constructing operations.
This class contains all the information necessary to construct the operation. It owns the MlirRegions it has pointers to and does not own anything else. By default, the state can be constructed from a name and location, the latter being also used to access the context, and has no other components. These components can be added progressively until the operation is constructed. Users are not expected to rely on the internals of this class and should use mlirOperationState* functions instead.
MlirNamedAttribute* MlirOperationState::attributes |
MlirStringRef MlirOperationState::name |