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 (component::FieldDefOp f) | |
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.
|
inlineexplicit |
Definition at line 41 of file ConstrainRef.h.
|
inline |
Definition at line 42 of file ConstrainRef.h.
|
inlineexplicit |
Definition at line 43 of file ConstrainRef.h.
|
inline |
Definition at line 69 of file ConstrainRef.h.
|
inline |
Definition at line 49 of file ConstrainRef.h.
|
inline |
Definition at line 89 of file ConstrainRef.h.
|
inline |
Definition at line 58 of file ConstrainRef.h.
|
inline |
Definition at line 64 of file ConstrainRef.h.
|
inline |
Definition at line 45 of file ConstrainRef.h.
|
inline |
Definition at line 57 of file ConstrainRef.h.
|
inline |
Definition at line 63 of file ConstrainRef.h.
bool llzk::ConstrainRefIndex::operator< | ( | const ConstrainRefIndex & | rhs | ) | const |
Definition at line 43 of file ConstrainRef.cpp.
|
inline |
Definition at line 72 of file ConstrainRef.h.
|
inline |
Definition at line 83 of file ConstrainRef.h.
void llzk::ConstrainRefIndex::print | ( | mlir::raw_ostream & | os | ) | const |
Definition at line 32 of file ConstrainRef.cpp.