|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
#include <SymbolLookup.h>
Public Member Functions | |
| SymbolLookupResultUntyped () | |
| SymbolLookupResultUntyped (mlir::Operation *opPtr) | |
| SymbolLookupResultUntyped (const SymbolLookupResultUntyped &other) | |
| template<typename T> | |
| SymbolLookupResultUntyped (const SymbolLookupResult< T > &other) | |
| SymbolLookupResultUntyped & | operator= (const SymbolLookupResultUntyped &other) |
| template<typename T> | |
| SymbolLookupResultUntyped & | operator= (const SymbolLookupResult< T > &other) |
| SymbolLookupResultUntyped (SymbolLookupResultUntyped &&other) noexcept | |
| template<typename T> | |
| SymbolLookupResultUntyped (SymbolLookupResult< T > &&other) | |
| SymbolLookupResultUntyped & | operator= (SymbolLookupResultUntyped &&other) noexcept |
| template<typename T> | |
| SymbolLookupResultUntyped & | operator= (SymbolLookupResult< T > &&other) |
| mlir::Operation * | operator-> () |
| Access the internal operation. | |
| mlir::Operation & | operator* () |
| mlir::Operation & | operator* () const |
| mlir::Operation * | get () |
| mlir::Operation * | get () const |
| operator bool () const | |
| True iff the symbol was found. | |
| std::vector< llvm::StringRef > | getIncludeSymNames () const |
| Return the stack of symbol names from the IncludeOp that were traversed to load this result. | |
| llvm::ArrayRef< llvm::StringRef > | getNamespace () const |
| Return the stack of symbol names from either IncludeOp or ModuleOp that were traversed to load this result. | |
| bool | viaInclude () const |
| Return 'true' if at least one IncludeOp was traversed to load this result. | |
| mlir::SymbolTableCollection * | getSymbolTableCache () |
| bool | isManaged () const |
| True iff the symbol is managed (i.e., loaded via an IncludeOp). | |
| void | manage (mlir::OwningOpRef< mlir::ModuleOp > &&ptr, std::unique_ptr< mlir::SymbolTableCollection > tables) |
| Adds a pointer to the set of resources the result has to manage the lifetime of. | |
| void | trackIncludeAsName (llvm::StringRef includeOpSymName) |
| Adds the symbol name from the IncludeOp that caused the module to be loaded. | |
| void | pushNamespace (llvm::StringRef symName) |
| Adds the symbol name from an IncludeOp or ModuleOp where the op is contained. | |
| void | prependNamespace (llvm::ArrayRef< llvm::StringRef > ns) |
| Adds the given namespace to the beginning of this result's namespace. | |
| bool | operator== (const SymbolLookupResultUntyped &rhs) const |
Friends | |
| class | Within |
Definition at line 38 of file SymbolLookup.h.
|
inline |
Definition at line 40 of file SymbolLookup.h.
|
inline |
Definition at line 41 of file SymbolLookup.h.
|
inline |
Definition at line 43 of file SymbolLookup.h.
| llzk::SymbolLookupResultUntyped::SymbolLookupResultUntyped | ( | const SymbolLookupResult< T > & | other | ) |
Definition at line 183 of file SymbolLookup.h.
|
inlinenoexcept |
Definition at line 60 of file SymbolLookup.h.
| llzk::SymbolLookupResultUntyped::SymbolLookupResultUntyped | ( | SymbolLookupResult< T > && | other | ) |
Definition at line 194 of file SymbolLookup.h.
| Operation * llzk::SymbolLookupResultUntyped::get | ( | ) |
Definition at line 95 of file SymbolLookup.cpp.
| Operation * llzk::SymbolLookupResultUntyped::get | ( | ) | const |
Definition at line 96 of file SymbolLookup.cpp.
|
inline |
Return the stack of symbol names from the IncludeOp that were traversed to load this result.
Definition at line 91 of file SymbolLookup.h.
|
inline |
Return the stack of symbol names from either IncludeOp or ModuleOp that were traversed to load this result.
Definition at line 95 of file SymbolLookup.h.
|
inline |
Definition at line 100 of file SymbolLookup.h.
|
inline |
True iff the symbol is managed (i.e., loaded via an IncludeOp).
Definition at line 109 of file SymbolLookup.h.
| void llzk::SymbolLookupResultUntyped::manage | ( | mlir::OwningOpRef< mlir::ModuleOp > && | ptr, |
| std::unique_ptr< mlir::SymbolTableCollection > | tables ) |
Adds a pointer to the set of resources the result has to manage the lifetime of.
Store the resources that the result has to manage the lifetime of.
Definition at line 102 of file SymbolLookup.cpp.
| llzk::SymbolLookupResultUntyped::operator bool | ( | ) | const |
True iff the symbol was found.
Definition at line 99 of file SymbolLookup.cpp.
| Operation & llzk::SymbolLookupResultUntyped::operator* | ( | ) |
Definition at line 93 of file SymbolLookup.cpp.
| Operation & llzk::SymbolLookupResultUntyped::operator* | ( | ) | const |
Definition at line 94 of file SymbolLookup.cpp.
| Operation * llzk::SymbolLookupResultUntyped::operator-> | ( | ) |
Access the internal operation.
Definition at line 92 of file SymbolLookup.cpp.
| SymbolLookupResultUntyped & llzk::SymbolLookupResultUntyped::operator= | ( | const SymbolLookupResult< T > & | other | ) |
Definition at line 188 of file SymbolLookup.h.
|
inline |
Definition at line 48 of file SymbolLookup.h.
| SymbolLookupResultUntyped & llzk::SymbolLookupResultUntyped::operator= | ( | SymbolLookupResult< T > && | other | ) |
Definition at line 198 of file SymbolLookup.h.
|
inlinenoexcept |
Definition at line 68 of file SymbolLookup.h.
|
inline |
Definition at line 125 of file SymbolLookup.h.
| void llzk::SymbolLookupResultUntyped::prependNamespace | ( | llvm::ArrayRef< llvm::StringRef > | ns | ) |
Adds the given namespace to the beginning of this result's namespace.
Definition at line 125 of file SymbolLookup.cpp.
| void llzk::SymbolLookupResultUntyped::pushNamespace | ( | llvm::StringRef | symName | ) |
Adds the symbol name from an IncludeOp or ModuleOp where the op is contained.
Definition at line 121 of file SymbolLookup.cpp.
| void llzk::SymbolLookupResultUntyped::trackIncludeAsName | ( | llvm::StringRef | includeOpSymName | ) |
Adds the symbol name from the IncludeOp that caused the module to be loaded.
Definition at line 117 of file SymbolLookup.cpp.
|
inline |
Return 'true' if at least one IncludeOp was traversed to load this result.
Definition at line 98 of file SymbolLookup.h.
|
friend |
Definition at line 138 of file SymbolLookup.h.