My Project
|
#include <Attributes.h>
Public Member Functions | |
StringRef | getRootReference () const |
StringRef | getLeafReference () const |
ArrayRef< FlatSymbolRefAttr > | getNestedReferences () const |
Static Public Member Functions | |
static FlatSymbolRefAttr | get (StringRef value, MLIRContext *ctx) |
Construct a symbol reference for the given value name. More... | |
static SymbolRefAttr | get (StringRef value, ArrayRef< FlatSymbolRefAttr > references, MLIRContext *ctx) |
static bool | kindof (unsigned kind) |
Methods for support type inquiry through isa, cast, and dyn_cast. More... | |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
![]() | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
![]() | |
template<typename... Args> | |
static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static LogicalResult | verifyConstructionInvariants (Args... args) |
Default implementation that just returns success. More... | |
A symbol reference attribute represents a symbolic reference to another operation.
|
static |
Construct a symbol reference for the given value name.
|
static |
Construct a symbol reference for the given value name, and a set of nested references that are further resolve to a nested symbol.
StringRef SymbolRefAttr::getLeafReference | ( | ) | const |
Returns the name of the fully resolved symbol, i.e. the leaf of the reference path.
ArrayRef< FlatSymbolRefAttr > SymbolRefAttr::getNestedReferences | ( | ) | const |
Returns the set of nested references representing the path to the symbol nested under the root reference.
StringRef SymbolRefAttr::getRootReference | ( | ) | const |
Returns the name of the top level symbol reference, i.e. the root of the reference path.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast.