|
MLIR 22.0.0git
|
Simple wrapper around a void* in order to express generically how to pass in op properties through APIs. More...
#include "mlir/IR/OperationSupport.h"
Public Member Functions | |
| OpaqueProperties (void *prop) | |
| operator bool () const | |
| template<typename Dest> | |
| Dest | as () const |
Simple wrapper around a void* in order to express generically how to pass in op properties through APIs.
Definition at line 71 of file OperationSupport.h.
|
inline |
Definition at line 73 of file OperationSupport.h.
|
inline |
Definition at line 76 of file OperationSupport.h.
Referenced by mlir::OperationName::UnregisteredOpModel::deleteProperties(), mlir::OperationState::getOrAddProperties(), mlir::OperationName::UnregisteredOpModel::getPropertiesAsAttr(), mlir::Operation::getPropertiesAsAttribute(), mlir::OperationName::UnregisteredOpModel::hashProperties(), mlir::OperationName::UnregisteredOpModel::initProperties(), mlir::OperationName::UnregisteredOpModel::setInherentAttr(), mlir::OperationName::UnregisteredOpModel::setPropertiesFromAttr(), mlir::RegisteredOperationName::Model< ConcreteOp >::setPropertiesFromAttr(), mlir::Operation::setPropertiesFromAttribute(), and mlir::OperationState::useProperties().
|
inline |
Definition at line 74 of file OperationSupport.h.