38 auto &propStorage = this->overflow;
39 return ::llvm::dyn_cast_or_null<::llzk::cast::OverflowSemanticsAttr>(propStorage);
41 void setOverflow(const ::llzk::cast::OverflowSemanticsAttr &propValue) {
42 this->overflow = propValue;
50 return !(*
this == rhs);
81template <
typename RangeT>
83 using ValueT = ::llvm::detail::ValueOfRange<RangeT>;
94 template <
typename LateInst = FeltToIndexOp,
typename = std::enable_if_t<std::is_same_v<LateInst, FeltToIndexOp>>>
103 return {std::next(odsOperands.begin(), valueRange.first),
104 std::next(odsOperands.begin(), valueRange.first + valueRange.second)};
123 ::llvm::LogicalResult
verify(::mlir::Location loc);
125class FeltToIndexOp :
public ::mlir::Op<FeltToIndexOp, ::mlir::OpTrait::ZeroRegions, ::mlir::OpTrait::OneResult, ::mlir::OpTrait::OneTypedResult<::mlir::IndexType>::Impl, ::mlir::OpTrait::ZeroSuccessors, ::mlir::OpTrait::OneOperand, ::llzk::function::NotFieldNative, ::mlir::OpTrait::OpInvariants, ::mlir::BytecodeOpInterface::Trait, ::mlir::ConditionallySpeculatable::Trait, ::mlir::OpTrait::AlwaysSpeculatableImplTrait, ::mlir::MemoryEffectOpInterface::Trait, ::mlir::InferTypeOpInterface::Trait> {
130 template <
typename RangeT>
135 static ::llvm::StringRef attrNames[] = {::llvm::StringRef(
"overflow")};
136 return ::llvm::ArrayRef(attrNames);
140 return getAttributeNameForIndex(0);
144 return getAttributeNameForIndex(name, 0);
148 return ::llvm::StringLiteral(
"cast.toindex");
157 return {std::next(getOperation()->operand_begin(), valueRange.first),
158 std::next(getOperation()->operand_begin(), valueRange.first + valueRange.second)};
161 ::mlir::TypedValue<::llzk::felt::FeltType>
getValue() {
162 return ::llvm::cast<::mlir::TypedValue<::llzk::felt::FeltType>>(*
getODSOperands(0).begin());
167 return getOperation()->getOpOperand(range.first);
176 return {std::next(getOperation()->result_begin(), valueRange.first),
177 std::next(getOperation()->result_begin(), valueRange.first + valueRange.second)};
181 return ::llvm::cast<::mlir::TypedValue<::mlir::IndexType>>(*
getODSResults(0).begin());
184 static ::llvm::LogicalResult
setPropertiesFromAttr(
Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
187 static std::optional<mlir::Attribute>
getInherentAttr(::mlir::MLIRContext *ctx,
const Properties &prop, llvm::StringRef name);
190 static ::llvm::LogicalResult
verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
191 static ::llvm::LogicalResult
readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state);
194 return ::llvm::dyn_cast_or_null<::llzk::cast::OverflowSemanticsAttr>(getProperties().overflow);
199 getProperties().overflow = attr;
203 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
204 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
205 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
208 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes,
::llzk::cast::OverflowSemantics overflow, ::mlir::Value value);
209 static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
210 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
214 static ::llvm::LogicalResult
canonicalize(FeltToIndexOp op, ::mlir::PatternRewriter &rewriter);
216 static ::llvm::LogicalResult
inferReturnTypes(::mlir::MLIRContext *context, ::std::optional<::mlir::Location> location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type>&inferredReturnTypes);
217 static ::mlir::ParseResult
parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result);
218 void print(::mlir::OpAsmPrinter &_odsPrinter);
219 void getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect>> &effects);
221 ::mlir::StringAttr getAttributeNameForIndex(
unsigned index) {
222 return getAttributeNameForIndex((*this)->getName(), index);
225 static ::mlir::StringAttr getAttributeNameForIndex(::mlir::OperationName name,
unsigned index) {
226 assert(index < 1 &&
"invalid attribute index");
227 assert(name.getStringRef() ==
getOperationName() &&
"invalid operation name");
228 assert(name.isRegistered() &&
"Operation isn't registered, missing a "
229 "dependent dialect loading?");
230 return name.getAttributeNames()[index];
235 ::mlir::OpAsmParser &parser, ::llzk::cast::OverflowSemanticsAttr &overflow
239 ::mlir::OpAsmPrinter &printer, FeltToIndexOp op,
240 ::llzk::cast::OverflowSemanticsAttr overflow
244 static ::mlir::ParseResult parseInferredOrParsedType(
245 ::mlir::OpAsmParser &parser, ::mlir::Type &opType,
bool isFirst
247 if (mlir::succeeded(isFirst ? parser.parseOptionalColon() : parser.parseOptionalComma())) {
250 if (parser.parseCustomTypeWithFallback(type)) {
251 return mlir::failure();
259 return mlir::success();
262 static void printInferredOrParsedType(::mlir::OpAsmPrinter &printer,
263 ::mlir::Operation *op, ::mlir::Type opType,
bool isFirst
265 printer << (isFirst ?
" : " :
", ");
266 printer.printStrippedAttrOrType(opType);
288 auto &propStorage = this->overflow;
289 return ::llvm::dyn_cast_or_null<::llzk::cast::OverflowSemanticsAttr>(propStorage);
291 void setOverflow(const ::llzk::cast::OverflowSemanticsAttr &propValue) {
292 this->overflow = propValue;
300 return !(*
this == rhs);
331template <
typename RangeT>
333 using ValueT = ::llvm::detail::ValueOfRange<RangeT>;
344 template <
typename LateInst = IntToFeltOp,
typename = std::enable_if_t<std::is_same_v<LateInst, IntToFeltOp>>>
353 return {std::next(odsOperands.begin(), valueRange.first),
354 std::next(odsOperands.begin(), valueRange.first + valueRange.second)};
373 ::llvm::LogicalResult
verify(::mlir::Location loc);
375class IntToFeltOp :
public ::mlir::Op<IntToFeltOp, ::mlir::OpTrait::ZeroRegions, ::mlir::OpTrait::OneResult, ::mlir::OpTrait::OneTypedResult<::llzk::felt::FeltType>::Impl, ::mlir::OpTrait::ZeroSuccessors, ::mlir::OpTrait::OneOperand, ::mlir::OpTrait::OpInvariants, ::mlir::BytecodeOpInterface::Trait, ::mlir::ConditionallySpeculatable::Trait, ::mlir::OpTrait::AlwaysSpeculatableImplTrait, ::mlir::MemoryEffectOpInterface::Trait, ::mlir::InferTypeOpInterface::Trait> {
380 template <
typename RangeT>
385 static ::llvm::StringRef attrNames[] = {::llvm::StringRef(
"overflow")};
386 return ::llvm::ArrayRef(attrNames);
390 return getAttributeNameForIndex(0);
394 return getAttributeNameForIndex(name, 0);
398 return ::llvm::StringLiteral(
"cast.tofelt");
407 return {std::next(getOperation()->operand_begin(), valueRange.first),
408 std::next(getOperation()->operand_begin(), valueRange.first + valueRange.second)};
412 return ::llvm::cast<::mlir::TypedValue<::mlir::Type>>(*
getODSOperands(0).begin());
417 return getOperation()->getOpOperand(range.first);
426 return {std::next(getOperation()->result_begin(), valueRange.first),
427 std::next(getOperation()->result_begin(), valueRange.first + valueRange.second)};
430 ::mlir::TypedValue<::llzk::felt::FeltType>
getResult() {
431 return ::llvm::cast<::mlir::TypedValue<::llzk::felt::FeltType>>(*
getODSResults(0).begin());
434 static ::llvm::LogicalResult
setPropertiesFromAttr(
Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
437 static std::optional<mlir::Attribute>
getInherentAttr(::mlir::MLIRContext *ctx,
const Properties &prop, llvm::StringRef name);
440 static ::llvm::LogicalResult
verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
441 static ::llvm::LogicalResult
readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state);
444 return ::llvm::dyn_cast_or_null<::llzk::cast::OverflowSemanticsAttr>(getProperties().overflow);
449 getProperties().overflow = attr;
453 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
454 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
455 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value);
458 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes,
::llzk::cast::OverflowSemantics overflow, ::mlir::Value value);
459 static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
460 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
464 static ::llvm::LogicalResult
canonicalize(IntToFeltOp op, ::mlir::PatternRewriter &rewriter);
466 static ::llvm::LogicalResult
inferReturnTypes(::mlir::MLIRContext *context, ::std::optional<::mlir::Location> location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type>&inferredReturnTypes);
467 static ::mlir::ParseResult
parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result);
468 void print(::mlir::OpAsmPrinter &_odsPrinter);
469 void getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect>> &effects);
471 ::mlir::StringAttr getAttributeNameForIndex(
unsigned index) {
472 return getAttributeNameForIndex((*this)->getName(), index);
475 static ::mlir::StringAttr getAttributeNameForIndex(::mlir::OperationName name,
unsigned index) {
476 assert(index < 1 &&
"invalid attribute index");
477 assert(name.getStringRef() ==
getOperationName() &&
"invalid operation name");
478 assert(name.isRegistered() &&
"Operation isn't registered, missing a "
479 "dependent dialect loading?");
480 return name.getAttributeNames()[index];
486 ::mlir::OpAsmParser &parser, ::llzk::cast::OverflowSemanticsAttr &overflow
490 ::mlir::OpAsmPrinter &printer, IntToFeltOp op,
491 ::llzk::cast::OverflowSemanticsAttr overflow
495 static ::mlir::ParseResult parseInferredOrParsedType(
496 ::mlir::OpAsmParser &parser, ::mlir::Type &opType,
bool isFirst
498 if (mlir::succeeded(isFirst ? parser.parseOptionalColon() : parser.parseOptionalComma())) {
501 if (parser.parseCustomTypeWithFallback(type)) {
502 return mlir::failure();
510 return mlir::success();
513 static void printInferredOrParsedType(::mlir::OpAsmPrinter &printer,
514 ::mlir::Operation *op, ::mlir::Type opType,
bool isFirst
516 printer << (isFirst ?
" : " :
", ");
517 printer.printStrippedAttrOrType(opType);
::llvm::LogicalResult verify(::mlir::Location loc)
FeltToIndexOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
FeltToIndexOpAdaptor(FeltToIndexOp op)
FeltToIndexOpGenericAdaptor(RangeT values, LateInst op)
FeltToIndexOpGenericAdaptor(RangeT values, const FeltToIndexOpGenericAdaptorBase &base)
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
FeltToIndexOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
FeltToIndexOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
RangeT getODSOperands(unsigned index)
FeltToIndexOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
static void populateDefaultProperties(::mlir::OperationName opName, Properties &properties)
static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
::llvm::LogicalResult verifyInvariants()
::llzk::cast::OverflowSemantics getOverflow()
void setOverflowAttr(::llzk::cast::OverflowSemanticsAttr attr)
::mlir::StringAttr getOverflowAttrName(::mlir::OperationName name)
::llvm::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value)
static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames()
void getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
std::pair< unsigned, unsigned > getODSResultIndexAndLength(unsigned index)
static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value)
static llvm::hash_code computePropertiesHash(const Properties &prop)
::mlir::OpOperand & getValueMutable()
::mlir::TypedValue<::llzk::felt::FeltType > getValue()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
void print(::mlir::OpAsmPrinter &_odsPrinter)
::mlir::StringAttr getOverflowAttrName()
::llzk::cast::OverflowSemanticsAttr getOverflowAttr()
FoldAdaptor::Properties Properties
::mlir::TypedValue<::mlir::IndexType > getResult()
::mlir::Operation::result_range getODSResults(unsigned index)
void writeProperties(::mlir::DialectBytecodeWriter &writer)
FeltToIndexOpAdaptor Adaptor
::llvm::LogicalResult canonicalize(FeltToIndexOp op, ::mlir::PatternRewriter &rewriter)
::llvm::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
FeltToIndexOpGenericAdaptor< RangeT > GenericAdaptor
static void getCanonicalizationPatterns(::mlir::RewritePatternSet &results, ::mlir::MLIRContext *context)
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop)
static void printOptionalOverflowSemantics(::mlir::OpAsmPrinter &printer, FeltToIndexOp op, ::llzk::cast::OverflowSemanticsAttr overflow)
::llvm::LogicalResult inferReturnTypes(::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
void setOverflow(::llzk::cast::OverflowSemantics attrValue)
::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
::mlir::Operation::operand_range getODSOperands(unsigned index)
::llvm::LogicalResult verifyInvariantsImpl()
::mlir::ParseResult parseOptionalOverflowSemantics(::mlir::OpAsmParser &parser, ::llzk::cast::OverflowSemanticsAttr &overflow)
static constexpr ::llvm::StringLiteral getOperationName()
::llvm::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
static std::optional< mlir::Attribute > getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
::llvm::LogicalResult verify(::mlir::Location loc)
IntToFeltOpAdaptor(IntToFeltOp op)
IntToFeltOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
IntToFeltOpGenericAdaptor(RangeT values, LateInst op)
IntToFeltOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
IntToFeltOpGenericAdaptor(RangeT values, const IntToFeltOpGenericAdaptorBase &base)
IntToFeltOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
IntToFeltOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
RangeT getODSOperands(unsigned index)
::llvm::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
static void populateDefaultProperties(::mlir::OperationName opName, Properties &properties)
void print(::mlir::OpAsmPrinter &_odsPrinter)
void setOverflow(::llzk::cast::OverflowSemantics attrValue)
::mlir::StringAttr getOverflowAttrName(::mlir::OperationName name)
::llvm::LogicalResult verifyInvariantsImpl()
::llzk::cast::OverflowSemanticsAttr getOverflowAttr()
static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
static constexpr ::llvm::StringLiteral getOperationName()
::mlir::StringAttr getOverflowAttrName()
::llvm::LogicalResult inferReturnTypes(::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
void getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::cast::OverflowSemanticsAttr overflow, ::mlir::Value value)
void setOverflowAttr(::llzk::cast::OverflowSemanticsAttr attr)
::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop)
::llvm::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames()
std::pair< unsigned, unsigned > getODSResultIndexAndLength(unsigned index)
static void getCanonicalizationPatterns(::mlir::RewritePatternSet &results, ::mlir::MLIRContext *context)
static llvm::hash_code computePropertiesHash(const Properties &prop)
static std::optional< mlir::Attribute > getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
FoldAdaptor::Properties Properties
IntToFeltOpAdaptor Adaptor
static void printOptionalOverflowSemantics(::mlir::OpAsmPrinter &printer, IntToFeltOp op, ::llzk::cast::OverflowSemanticsAttr overflow)
::mlir::Operation::operand_range getODSOperands(unsigned index)
::mlir::ParseResult parseOptionalOverflowSemantics(::mlir::OpAsmParser &parser, ::llzk::cast::OverflowSemanticsAttr &overflow)
::mlir::TypedValue<::llzk::felt::FeltType > getResult()
::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
::llvm::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
IntToFeltOpGenericAdaptor< RangeT > GenericAdaptor
::llzk::cast::OverflowSemantics getOverflow()
static bool isCompatibleReturnTypes(::mlir::TypeRange lhs, ::mlir::TypeRange rhs)
void writeProperties(::mlir::DialectBytecodeWriter &writer)
::mlir::Operation::result_range getODSResults(unsigned index)
::llvm::LogicalResult verifyInvariants()
static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value)
::llvm::LogicalResult canonicalize(IntToFeltOp op, ::mlir::PatternRewriter &rewriter)
::mlir::TypedValue<::mlir::Type > getValue()
::mlir::OpOperand & getValueMutable()
FeltToIndexOpGenericAdaptorBase(::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
::mlir::RegionRange odsRegions
::std::optional<::mlir::OperationName > odsOpName
const Properties & getProperties()
::llzk::cast::OverflowSemanticsAttr getOverflowAttr()
::mlir::DictionaryAttr odsAttrs
::mlir::DictionaryAttr getAttributes()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize)
::llzk::cast::OverflowSemantics getOverflow()
::std::optional<::mlir::OperationName > odsOpName
::mlir::DictionaryAttr odsAttrs
::llzk::cast::OverflowSemantics getOverflow()
::mlir::RegionRange odsRegions
::llzk::cast::OverflowSemanticsAttr getOverflowAttr()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize)
const Properties & getProperties()
IntToFeltOpGenericAdaptorBase(::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
::mlir::DictionaryAttr getAttributes()
static FeltType get(::mlir::MLIRContext *context, ::mlir::StringAttr fieldName)
::llzk::cast::OverflowSemanticsAttr overflowTy
bool operator==(const Properties &rhs) const
void setOverflow(const ::llzk::cast::OverflowSemanticsAttr &propValue)
bool operator!=(const Properties &rhs) const
void setOverflow(const ::llzk::cast::OverflowSemanticsAttr &propValue)
bool operator==(const Properties &rhs) const
bool operator!=(const Properties &rhs) const
::llzk::cast::OverflowSemanticsAttr overflowTy