LLZK 0.1.0
Veridise's ZK Language IR
|
#include <SymbolLookup.h>
Public Member Functions | |
SymbolLookupResultUntyped () | |
SymbolLookupResultUntyped (mlir::Operation *op) | |
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. | |
bool | viaInclude () const |
Return 'true' if at least one IncludeOp was traversed to load this result. | |
mlir::SymbolTableCollection * | getSymbolTableCache () |
void | manage (mlir::OwningOpRef< mlir::ModuleOp > &&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. | |
bool | operator== (const SymbolLookupResultUntyped &rhs) const |
Friends | |
class | Within |
Definition at line 33 of file SymbolLookup.h.
|
inline |
Definition at line 35 of file SymbolLookup.h.
|
inline |
Definition at line 36 of file SymbolLookup.h.
Operation * llzk::SymbolLookupResultUntyped::get | ( | ) |
Definition at line 80 of file SymbolLookup.cpp.
Operation * llzk::SymbolLookupResultUntyped::get | ( | ) | const |
Definition at line 81 of file SymbolLookup.cpp.
|
inline |
Return the stack of symbol names from the IncludeOp that were traversed to load this result.
Definition at line 49 of file SymbolLookup.h.
|
inline |
Definition at line 54 of file SymbolLookup.h.
void llzk::SymbolLookupResultUntyped::manage | ( | mlir::OwningOpRef< mlir::ModuleOp > && | 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 87 of file SymbolLookup.cpp.
llzk::SymbolLookupResultUntyped::operator bool | ( | ) | const |
True iff the symbol was found.
Definition at line 84 of file SymbolLookup.cpp.
Operation & llzk::SymbolLookupResultUntyped::operator* | ( | ) |
Definition at line 78 of file SymbolLookup.cpp.
Operation & llzk::SymbolLookupResultUntyped::operator* | ( | ) | const |
Definition at line 79 of file SymbolLookup.cpp.
Operation * llzk::SymbolLookupResultUntyped::operator-> | ( | ) |
Access the internal operation.
Definition at line 77 of file SymbolLookup.cpp.
|
inline |
Definition at line 68 of file SymbolLookup.h.
void llzk::SymbolLookupResultUntyped::trackIncludeAsName | ( | llvm::StringRef | includeOpSymName | ) |
Adds the symbol name from the IncludeOp that caused the module to be loaded.
Definition at line 101 of file SymbolLookup.cpp.
|
inline |
Return 'true' if at least one IncludeOp was traversed to load this result.
Definition at line 52 of file SymbolLookup.h.
|
friend |
Definition at line 78 of file SymbolLookup.h.