MLIR
17.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 |
Definition at line 333 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
bool MlirOperationState::enableResultTypeInference |
Definition at line 334 of file IR.h.
Referenced by mlirOperationCreate(), mlirOperationStateEnableResultTypeInference(), and mlirOperationStateGet().
MlirLocation MlirOperationState::location |
Definition at line 323 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
MlirStringRef MlirOperationState::name |
Definition at line 322 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
intptr_t MlirOperationState::nAttributes |
Definition at line 332 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
intptr_t MlirOperationState::nOperands |
Definition at line 326 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
intptr_t MlirOperationState::nRegions |
Definition at line 328 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
intptr_t MlirOperationState::nResults |
Definition at line 324 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
intptr_t MlirOperationState::nSuccessors |
Definition at line 330 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
MlirValue* MlirOperationState::operands |
Definition at line 327 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
MlirRegion* MlirOperationState::regions |
Definition at line 329 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
MlirType* MlirOperationState::results |
Definition at line 325 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().
MlirBlock* MlirOperationState::successors |
Definition at line 331 of file IR.h.
Referenced by mlirOperationCreate(), and mlirOperationStateGet().