|
MLIR 23.0.0git
|
Fallback model for the MemoryEffectsOpInterface that uses C API callbacks. More...
Public Member Functions | |
| void | setCallbacks (MlirMemoryEffectsOpInterfaceCallbacks callbacks) |
| Sets the callbacks that this FallbackModel will use. | |
| ~MemoryEffectOpInterfaceFallbackModel () | |
| void | getEffects (Operation *op, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) const |
Static Public Member Functions | |
| static TypeID | getInterfaceID () |
| static bool | classof (const mlir::MemoryEffectOpInterface::Concept *op) |
Fallback model for the MemoryEffectsOpInterface that uses C API callbacks.
Definition at line 180 of file Interfaces.cpp.
|
inline |
Definition at line 192 of file Interfaces.cpp.
|
inlinestatic |
Definition at line 201 of file Interfaces.cpp.
|
inline |
Definition at line 209 of file Interfaces.cpp.
References wrap().
|
inlinestatic |
Definition at line 197 of file Interfaces.cpp.
|
inline |
Sets the callbacks that this FallbackModel will use.
NB: the callbacks can only be set through this method as the RegisteredOperationName::attachInterface mechanism default-constructs the FallbackModel without being able to provide arguments.
Definition at line 188 of file Interfaces.cpp.
Referenced by mlirMemoryEffectsOpInterfaceAttachFallbackModel().