|
LLZK 0.1.0
Veridise's ZK Language IR
|
Defines an index into an LLZK object. More...
#include <SourceRef.h>
Classes | |
| struct | Hash |
Public Member Functions | |
| SourceRefIndex (component::FieldDefOp f) | |
| SourceRefIndex (SymbolLookupResult< component::FieldDefOp > 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 | isField () const |
| component::FieldDefOp | getField () 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 |
| bool | operator< (const SourceRefIndex &rhs) const |
| bool | operator> (const SourceRefIndex &rhs) const |
| size_t | getHash () const |
Defines an index into an LLZK object.
For structs, this is a field definition, and for arrays, this is an element index. Effectively a wrapper around a std::variant with extra utility methods.
Definition at line 36 of file SourceRef.h.
|
inlineexplicit |
Definition at line 40 of file SourceRef.h.
|
inlineexplicit |
Definition at line 41 of file SourceRef.h.
|
inlineexplicit |
Definition at line 42 of file SourceRef.h.
|
inlineexplicit |
Definition at line 43 of file SourceRef.h.
|
inlineexplicit |
Definition at line 44 of file SourceRef.h.
|
inline |
Definition at line 45 of file SourceRef.h.
|
inlineexplicit |
Definition at line 47 of file SourceRef.h.
|
inline |
Definition at line 73 of file SourceRef.h.
|
inline |
Definition at line 53 of file SourceRef.h.
|
inline |
Definition at line 96 of file SourceRef.h.
|
inline |
Definition at line 62 of file SourceRef.h.
|
inline |
Definition at line 68 of file SourceRef.h.
|
inline |
Definition at line 49 of file SourceRef.h.
|
inline |
Definition at line 61 of file SourceRef.h.
|
inline |
Definition at line 67 of file SourceRef.h.
| bool llzk::SourceRefIndex::operator< | ( | const SourceRefIndex & | rhs | ) | const |
Definition at line 49 of file SourceRef.cpp.
|
inline |
Definition at line 76 of file SourceRef.h.
|
inline |
Definition at line 90 of file SourceRef.h.
| void llzk::SourceRefIndex::print | ( | mlir::raw_ostream & | os | ) | const |
Definition at line 34 of file SourceRef.cpp.