MLIR
15.0.0git
|
A trait used to provide symbol table functionalities to a region operation. More...
#include "mlir/IR/SymbolTable.h"
Public Member Functions | |
Operation * | lookupSymbol (StringAttr name) |
Look up a symbol with the specified name, returning null if no such name exists. More... | |
template<typename T > | |
T | lookupSymbol (StringAttr name) |
Operation * | lookupSymbol (SymbolRefAttr symbol) |
template<typename T > | |
T | lookupSymbol (SymbolRefAttr symbol) |
Operation * | lookupSymbol (StringRef name) |
template<typename T > | |
T | lookupSymbol (StringRef name) |
Static Public Member Functions | |
static LogicalResult | verifyRegionTrait (Operation *op) |
Additional Inherited Members | |
![]() | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
A trait used to provide symbol table functionalities to a region operation.
This operation must hold exactly 1 region. Once attached, all operations that are directly within the region, i.e not including those within child regions, that contain a 'SymbolTable::getSymbolAttrName()' StringAttr will be verified to ensure that the names are uniqued. These operations must also adhere to the constraints defined by the Symbol
trait, even if they do not inherit from it.
Definition at line 338 of file SymbolTable.h.
|
inline |
Look up a symbol with the specified name, returning null if no such name exists.
Symbol names never include the @ on them. Note: This performs a linear scan of held symbols.
Definition at line 347 of file SymbolTable.h.
References mlir::SymbolTable::lookupSymbolIn().
|
inline |
Definition at line 351 of file SymbolTable.h.
|
inline |
Definition at line 354 of file SymbolTable.h.
References mlir::SymbolTable::lookupSymbolIn().
|
inline |
Definition at line 358 of file SymbolTable.h.
|
inline |
Definition at line 362 of file SymbolTable.h.
References mlir::SymbolTable::lookupSymbolIn().
|
inline |
Definition at line 366 of file SymbolTable.h.
References mlir::impl::parseOptionalVisibilityKeyword().
|
inlinestatic |
Definition at line 340 of file SymbolTable.h.
References mlir::detail::verifySymbolTable().