LLZK 0.1.0
Veridise's ZK Language IR
|
Defines an index into an LLZK object. More...
#include <ConstrainRef.h>
Classes | |
struct | Hash |
Public Member Functions | |
ConstrainRefIndex (SymbolLookupResult< component::FieldDefOp > f) | |
ConstrainRefIndex (mlir::APInt i) | |
ConstrainRefIndex (int64_t i) | |
ConstrainRefIndex (mlir::APInt low, mlir::APInt high) | |
ConstrainRefIndex (IndexRange r) | |
bool | isField () const |
component::FieldDefOp | getField () const |
bool | isIndex () const |
mlir::APInt | getIndex () const |
bool | isIndexRange () const |
IndexRange | getIndexRange () const |
void | dump () const |
void | print (mlir::raw_ostream &os) const |
bool | operator== (const ConstrainRefIndex &rhs) const |
bool | operator< (const ConstrainRefIndex &rhs) const |
bool | operator> (const ConstrainRefIndex &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 34 of file ConstrainRef.h.
|
inlineexplicit |
Definition at line 38 of file ConstrainRef.h.
|
inlineexplicit |
Definition at line 39 of file ConstrainRef.h.
|
inlineexplicit |
Definition at line 40 of file ConstrainRef.h.
|
inline |
Definition at line 41 of file ConstrainRef.h.
|
inlineexplicit |
Definition at line 42 of file ConstrainRef.h.
|
inline |
Definition at line 64 of file ConstrainRef.h.
|
inline |
Definition at line 47 of file ConstrainRef.h.
|
inline |
Definition at line 86 of file ConstrainRef.h.
|
inline |
Definition at line 53 of file ConstrainRef.h.
|
inline |
Definition at line 59 of file ConstrainRef.h.
|
inline |
Definition at line 44 of file ConstrainRef.h.
|
inline |
Definition at line 52 of file ConstrainRef.h.
|
inline |
Definition at line 58 of file ConstrainRef.h.
bool llzk::ConstrainRefIndex::operator< | ( | const ConstrainRefIndex & | rhs | ) | const |
Definition at line 42 of file ConstrainRef.cpp.
|
inline |
Definition at line 67 of file ConstrainRef.h.
|
inline |
Definition at line 71 of file ConstrainRef.h.
void llzk::ConstrainRefIndex::print | ( | mlir::raw_ostream & | os | ) | const |
Definition at line 31 of file ConstrainRef.cpp.