My Project
|
#include <SymbolTable.h>
Public Member Functions | |
StringRef | getName () |
Returns the name of this symbol. More... | |
void | setName (StringRef name) |
Set the name of this symbol. More... | |
Optional<::mlir::SymbolTable::UseRange > | getSymbolUses (Operation *from) |
bool | symbolKnownUseEmpty (Operation *from) |
LLVM_NODISCARD LogicalResult | replaceAllSymbolUses (StringRef newSymbol, Operation *from) |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Additional Inherited Members | |
![]() | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
![]() | |
static LogicalResult | verifyTrait (Operation *op) |
static AbstractOperation::OperationProperties | getTraitProperties () |
A trait used to define a symbol that can be used on operations within a symbol table. Operations using this trait must adhere to the following:
|
inline |
Returns the name of this symbol.
|
inline |
Get all of the uses of the current symbol that are nested within the given operation 'from'. Note: See mlir::SymbolTable::getSymbolUses for more details.
|
inline |
Attempt to replace all uses of the current symbol with the provided symbol 'newSymbol' that are nested within the given operation 'from'. Note: See mlir::SymbolTable::replaceAllSymbolUses for more details.
|
inline |
Set the name of this symbol.
|
inline |
Return if the current symbol is known to have no uses that are nested within the given operation 'from'. Note: See mlir::SymbolTable::symbolKnownUseEmpty for more details.
|
inlinestatic |