MLIR
20.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::compareProperties(), mlir::OperationName::UnregisteredOpModel::copyProperties(), 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::RegisteredOperationName::Model< ConcreteOp >::setPropertiesFromAttr(), mlir::OperationName::UnregisteredOpModel::setPropertiesFromAttr(), and mlir::Operation::setPropertiesFromAttribute().
|
inline |
Definition at line 74 of file OperationSupport.h.