|
LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
Defines an index into an LLZK object. More...
#include <SourceRef.h>
Classes | |
| struct | Hash |
Public Member Functions | |
| SourceRefIndex (component::MemberDefOp f) | |
| SourceRefIndex (SymbolLookupResult< component::MemberDefOp > f) | |
| SourceRefIndex (const llvm::DynamicAPInt &i) | |
| SourceRefIndex (const llvm::APInt &i) | |
| SourceRefIndex (int64_t i) | |
| SourceRefIndex (const llvm::APInt &low, const llvm::APInt &high) | |
| SourceRefIndex (IndexRange r) | |
| bool | isMember () const |
| component::MemberDefOp | getMember () const |
| bool | isIndex () const |
| llvm::DynamicAPInt | getIndex () const |
| bool | isIndexRange () const |
| IndexRange | getIndexRange () const |
| void | dump () const |
| void | print (mlir::raw_ostream &os) const |
| bool | operator== (const SourceRefIndex &rhs) const |
| std::strong_ordering | operator<=> (const SourceRefIndex &rhs) const |
| size_t | getHash () const |
Defines an index into an LLZK object.
For structs, this is a member definition, and for arrays, this is an element index. Effectively a wrapper around a std::variant with extra utility methods.
Definition at line 42 of file SourceRef.h.
|
inlineexplicit |
Definition at line 46 of file SourceRef.h.
|
inlineexplicit |
Definition at line 47 of file SourceRef.h.
|
inlineexplicit |
Definition at line 48 of file SourceRef.h.
|
inlineexplicit |
Definition at line 49 of file SourceRef.h.
|
inlineexplicit |
Definition at line 50 of file SourceRef.h.
|
inline |
Definition at line 51 of file SourceRef.h.
|
inlineexplicit |
Definition at line 53 of file SourceRef.h.
|
inline |
Definition at line 79 of file SourceRef.h.
|
inline |
Definition at line 100 of file SourceRef.h.
|
inline |
Definition at line 68 of file SourceRef.h.
|
inline |
Definition at line 74 of file SourceRef.h.
|
inline |
Definition at line 59 of file SourceRef.h.
|
inline |
Definition at line 67 of file SourceRef.h.
|
inline |
Definition at line 73 of file SourceRef.h.
|
inline |
Definition at line 55 of file SourceRef.h.
| std::strong_ordering llzk::SourceRefIndex::operator<=> | ( | const SourceRefIndex & | rhs | ) | const |
Definition at line 88 of file SourceRef.cpp.
|
inline |
Definition at line 82 of file SourceRef.h.
| void llzk::SourceRefIndex::print | ( | mlir::raw_ostream & | os | ) | const |
Definition at line 73 of file SourceRef.cpp.