|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
#include "llzk/Dialect/Cast/IR/Enums.h"#include "llzk/Util/Field.h"#include <llvm/ADT/DynamicAPInt.h>#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | llzk |
| namespace | llzk::cast |
Functions | |
| std::optional< llvm::DynamicAPInt > | llzk::cast::applyIntToFeltOverflow (const llvm::DynamicAPInt &value, const Field &field, OverflowSemantics overflow) |
| Apply overflow semantics for an integer-to-felt conversion. | |
| std::optional< llvm::DynamicAPInt > | llzk::cast::applyFeltToIndexOverflow (const llvm::DynamicAPInt &value, unsigned indexBitWidth, OverflowSemantics overflow) |
| Apply overflow semantics for a felt-to-index conversion. | |