MLIR
20.0.0git
|
#include "mlir/IR/OperationSupport.h"
Protected Attributes | |
StringAttr | name |
The name of the operation. More... | |
TypeID | typeID |
The unique identifier of the derived Op class. More... | |
Dialect * | dialect |
The following fields are only populated when the operation is registered. More... | |
detail::InterfaceMap | interfaceMap |
A map of interfaces that were registered to this operation. More... | |
ArrayRef< StringAttr > | attributeNames |
A list of attribute names registered to this operation in StringAttr form. More... | |
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 806 of file MLIRContext.cpp.
|
inline |
Definition at line 152 of file OperationSupport.h.
|
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(), and mlir::OperationName::hasInterface().
|
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 typeID.
Referenced by mlir::OperationName::isRegistered().
|
friend |
Definition at line 189 of file OperationSupport.h.
|
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(), and getDialect().
|
protected |
A map of interfaces that were registered to this operation.
Definition at line 182 of file OperationSupport.h.
Referenced by getInterfaceMap().
|
protected |
The name of the operation.
Definition at line 170 of file OperationSupport.h.
Referenced by mlir::DynamicOpDefinition::get(), mlir::RegisteredOperationName::Model< ConcreteOp >::getInherentAttr(), getName(), mlir::DynamicOpDefinition::populateDefaultAttrs(), mlir::RegisteredOperationName::Model< ConcreteOp >::populateDefaultAttrs(), mlir::DynamicOpDefinition::printAssembly(), mlir::RegisteredOperationName::Model< ConcreteOp >::printAssembly(), 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(), and isRegistered().