|
MLIR 24.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 398 of file Interfaces.cpp.
|
inline |
Definition at line 410 of file Interfaces.cpp.
|
inlinestatic |
Definition at line 419 of file Interfaces.cpp.
|
inline |
Definition at line 427 of file Interfaces.cpp.
|
inlinestatic |
Definition at line 415 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 406 of file Interfaces.cpp.
Referenced by mlirMemoryEffectsOpInterfaceAttachFallbackModel().