|
MLIR 23.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. | |
| TypeID | propertiesTypeID |
| The TypeID of the Properties struct for this operation. | |
Friends | |
| class | RegisteredOperationName |
Definition at line 159 of file OperationSupport.h.
| OperationName::Impl::Impl | ( | StringRef | name, |
| Dialect * | dialect, | ||
| TypeID | typeID, | ||
| detail::InterfaceMap | interfaceMap ) |
Definition at line 800 of file MLIRContext.cpp.
References dialect, mlir::get(), mlir::OperationName::getContext(), Impl(), interfaceMap, name, and typeID.
Referenced by Impl(), mlir::RegisteredOperationName::Model< ConcreteOp >::Model(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().
|
inline |
Definition at line 163 of file OperationSupport.h.
References dialect, interfaceMap, name, and typeID.
|
inline |
Definition at line 175 of file OperationSupport.h.
References attributeNames.
Referenced by mlir::OperationName::getAttributeNames().
|
inline |
Definition at line 171 of file OperationSupport.h.
References dialect.
Referenced by mlir::OperationName::attachInterface(), mlir::OperationName::getDialect(), and mlir::OperationName::hasPromiseOrImplementsInterface().
|
inline |
Definition at line 170 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 172 of file OperationSupport.h.
References name.
Referenced by mlir::OperationName::getDialect(), and mlir::OperationName::getIdentifier().
|
inline |
Definition at line 174 of file OperationSupport.h.
References propertiesTypeID.
Referenced by mlir::OperationName::getOpPropertiesTypeID().
|
inline |
Definition at line 173 of file OperationSupport.h.
References typeID.
Referenced by mlir::OperationName::attachInterface(), mlir::OperationName::getTypeID(), and mlir::OperationName::hasPromiseOrImplementsInterface().
|
inline |
Returns true if this is a registered operation.
Definition at line 169 of file OperationSupport.h.
References mlir::TypeID::get(), and typeID.
Referenced by mlir::OperationName::getDialect(), mlir::OperationName::isRegistered(), mlir::OperationName::mightHaveInterface(), and mlir::OperationName::mightHaveTrait().
|
friend |
Definition at line 204 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 199 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 191 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), getDialect(), Impl(), Impl(), mlir::RegisteredOperationName::Model< ConcreteOp >::Model(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().
|
protected |
A map of interfaces that were registered to this operation.
Definition at line 194 of file OperationSupport.h.
Referenced by getInterfaceMap(), Impl(), Impl(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().
|
protected |
The name of the operation.
Definition at line 182 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::get(), mlir::DynamicOpDefinition::getInherentAttr(), mlir::OperationName::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::setInherentAttr(), mlir::OperationName::UnregisteredOpModel::setInherentAttr(), mlir::RegisteredOperationName::Model< ConcreteOp >::setInherentAttr(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().
|
protected |
The TypeID of the Properties struct for this operation.
Definition at line 202 of file OperationSupport.h.
Referenced by getPropertiesTypeID(), mlir::RegisteredOperationName::Model< ConcreteOp >::Model(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().
|
protected |
The unique identifier of the derived Op class.
Definition at line 185 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::getTypeID(), getTypeID(), Impl(), Impl(), isRegistered(), and mlir::OperationName::UnregisteredOpModel::UnregisteredOpModel().