LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::SymbolLookupResultUntyped Class Reference

#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 ()
 
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
 

Detailed Description

Definition at line 32 of file SymbolLookup.h.

Constructor & Destructor Documentation

◆ SymbolLookupResultUntyped() [1/2]

llzk::SymbolLookupResultUntyped::SymbolLookupResultUntyped ( )
inline

Definition at line 34 of file SymbolLookup.h.

◆ SymbolLookupResultUntyped() [2/2]

llzk::SymbolLookupResultUntyped::SymbolLookupResultUntyped ( mlir::Operation * op)
inline

Definition at line 35 of file SymbolLookup.h.

Member Function Documentation

◆ get() [1/2]

Operation * llzk::SymbolLookupResultUntyped::get ( )

Definition at line 80 of file SymbolLookup.cpp.

◆ get() [2/2]

Operation * llzk::SymbolLookupResultUntyped::get ( ) const

Definition at line 81 of file SymbolLookup.cpp.

◆ getIncludeSymNames()

std::vector< llvm::StringRef > llzk::SymbolLookupResultUntyped::getIncludeSymNames ( )
inline

Definition at line 47 of file SymbolLookup.h.

◆ getSymbolTableCache()

mlir::SymbolTableCollection * llzk::SymbolLookupResultUntyped::getSymbolTableCache ( )
inline

Definition at line 49 of file SymbolLookup.h.

◆ manage()

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.

◆ operator bool()

llzk::SymbolLookupResultUntyped::operator bool ( ) const

True iff the symbol was found.

Definition at line 84 of file SymbolLookup.cpp.

◆ operator*() [1/2]

Operation & llzk::SymbolLookupResultUntyped::operator* ( )

Definition at line 78 of file SymbolLookup.cpp.

◆ operator*() [2/2]

Operation & llzk::SymbolLookupResultUntyped::operator* ( ) const

Definition at line 79 of file SymbolLookup.cpp.

◆ operator->()

Operation * llzk::SymbolLookupResultUntyped::operator-> ( )

Access the internal operation.

Definition at line 77 of file SymbolLookup.cpp.

◆ operator==()

bool llzk::SymbolLookupResultUntyped::operator== ( const SymbolLookupResultUntyped & rhs) const
inline

Definition at line 63 of file SymbolLookup.h.

◆ trackIncludeAsName()

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.

Friends And Related Symbol Documentation

◆ Within

friend class Within
friend

Definition at line 73 of file SymbolLookup.h.


The documentation for this class was generated from the following files: