18#ifndef LLZK_C_DIALECT_FELT_H
19#define LLZK_C_DIALECT_FELT_H
35MLIR_CAPI_EXPORTED MlirAttribute
39MLIR_CAPI_EXPORTED MlirAttribute
44 MlirContext context,
unsigned numBits,
const uint64_t *parts, intptr_t nParts
MLIR_CAPI_EXPORTED MlirAttribute llzkFeltConstAttrGet(MlirContext context, int64_t value)
Creates a llzk::felt::FeltConstAttr.
MLIR_CAPI_EXPORTED MlirAttribute llzkFeltConstAttrGetFromString(MlirContext context, unsigned numBits, MlirStringRef str)
Creates a llzk::felt::FeltConstAttr from a base-10 representation of a number.
MLIR_CAPI_EXPORTED MlirAttribute llzkFeltConstAttrGetWithBits(MlirContext ctx, unsigned numBits, int64_t value)
Creates a llzk::felt::FeltConstAttr with a set bit length.
MLIR_CAPI_EXPORTED MlirType llzkFeltTypeGet(MlirContext context)
Creates a llzk::felt::FeltType.
MLIR_CAPI_EXPORTED MlirAttribute llzkFeltConstAttrGetFromParts(MlirContext context, unsigned numBits, const uint64_t *parts, intptr_t nParts)
Creates a llzk::felt::FeltConstAttr from an array of big-integer parts in LSB order.
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Felt, llzk__felt)
#define LLZK_DECLARE_ATTR_ISA(what)
#define LLZK_DECLARE_TYPE_ISA(what)