|
MLIR 22.0.0git
|
#include "mlir/IR/OperationSupport.h"
Protected Attributes | |
| StringAttr | name |
| The name of the operation. | |
| TypeID | typeID |
| The unique identifier of the derived Op class. | |
| Dialect * | dialect |
| The following fields are only populated when the operation is registered. | |
| detail::InterfaceMap | interfaceMap |
| A map of interfaces that were registered to this operation. | |
| ArrayRef< StringAttr > | attributeNames |
| A list of attribute names registered to this operation in StringAttr form. | |
Friends | |
| class | RegisteredOperationName |
Definition at line 148 of file OperationSupport.h.
| OperationName::Impl::Impl | ( | StringRef | name, |
| Dialect * | dialect, | ||
| TypeID | typeID, | ||
| detail::InterfaceMap | interfaceMap ) |
Definition at line 799 of file MLIRContext.cpp.
References dialect, mlir::get(), mlir::OperationName::getContext(), Impl(), interfaceMap, name, and typeID.
Referenced by Impl(), and mlir::RegisteredOperationName::Model< ConcreteOp >::Model().
|
inline |
Definition at line 152 of file OperationSupport.h.
References dialect, interfaceMap, name, and typeID.
|
inline |
Definition at line 163 of file OperationSupport.h.
References attributeNames.
Referenced by mlir::OperationName::getAttributeNames().
|
inline |
Definition at line 160 of file OperationSupport.h.
References dialect.
Referenced by mlir::OperationName::getDialect(), and mlir::RegisteredOperationName::getDialect().
|
inline |
Definition at line 159 of file OperationSupport.h.
References interfaceMap.
Referenced by mlir::OperationName::attachInterface(), mlir::OperationName::getInterface(), mlir::OperationName::hasInterface(), and mlir::RegisteredOperationName::Model< ConcreteOp >::Model().
|
inline |
Definition at line 161 of file OperationSupport.h.
References name.
Referenced by mlir::OperationName::getDialect(), and mlir::OperationName::getIdentifier().
|
inline |
Definition at line 162 of file OperationSupport.h.
References typeID.
Referenced by mlir::OperationName::getTypeID().
|
inline |
Returns true if this is a registered operation.
Definition at line 158 of file OperationSupport.h.
References mlir::TypeID::get(), and typeID.
Referenced by mlir::OperationName::isRegistered().
|
friend |
Definition at line 189 of file OperationSupport.h.
References RegisteredOperationName.
Referenced by RegisteredOperationName.
|
protected |
A list of attribute names registered to this operation in StringAttr form.
This allows for operation classes to use StringAttr for attribute lookup/creation/etc., as opposed to raw strings.
Definition at line 187 of file OperationSupport.h.
Referenced by getAttributeNames().
|
protected |
The following fields are only populated when the operation is registered.
This is the dialect that this operation belongs to.
Definition at line 179 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), getDialect(), Impl(), Impl(), and mlir::RegisteredOperationName::Model< ConcreteOp >::Model().
|
protected |
A map of interfaces that were registered to this operation.
Definition at line 182 of file OperationSupport.h.
Referenced by getInterfaceMap(), Impl(), and Impl().
|
protected |
The name of the operation.
Definition at line 170 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::getInherentAttr(), mlir::OperationName::UnregisteredOpModel::getInherentAttr(), mlir::RegisteredOperationName::Model< ConcreteOp >::getInherentAttr(), getName(), Impl(), Impl(), mlir::DynamicOpDefinition::populateDefaultAttrs(), mlir::RegisteredOperationName::Model< ConcreteOp >::populateDefaultAttrs(), mlir::DynamicOpDefinition::printAssembly(), mlir::RegisteredOperationName::Model< ConcreteOp >::printAssembly(), mlir::DynamicOpDefinition::setInherentAttr(), mlir::OperationName::UnregisteredOpModel::setInherentAttr(), and mlir::RegisteredOperationName::Model< ConcreteOp >::setInherentAttr().
|
protected |
The unique identifier of the derived Op class.
Definition at line 173 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::getTypeID(), getTypeID(), Impl(), Impl(), and isRegistered().