llvm/tools/mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.cpp.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* AttrDef Definitions                                                        *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

#ifdef GET_ATTRDEF_LIST
#undef GET_ATTRDEF_LIST

::mlir::polynomial::IntPolynomialAttr,
::mlir::polynomial::FloatPolynomialAttr,
::mlir::polynomial::TypedIntPolynomialAttr,
::mlir::polynomial::TypedFloatPolynomialAttr,
::mlir::polynomial::RingAttr,
::mlir::polynomial::PrimitiveRootAttr

#endif  // GET_ATTRDEF_LIST

#ifdef GET_ATTRDEF_CLASSES
#undef GET_ATTRDEF_CLASSES

static ::mlir::OptionalParseResult generatedAttributeParser(::mlir::AsmParser &parser, ::llvm::StringRef *mnemonic, ::mlir::Type type, ::mlir::Attribute &value) {}

static ::llvm::LogicalResult generatedAttributePrinter(::mlir::Attribute def, ::mlir::AsmPrinter &printer) {}

namespace mlir {
namespace polynomial {
namespace detail {
struct IntPolynomialAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
IntPolynomialAttr IntPolynomialAttr::get(::mlir::MLIRContext *context, ::mlir::polynomial::IntPolynomial polynomial) {}

::mlir::polynomial::IntPolynomial IntPolynomialAttr::getPolynomial() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::IntPolynomialAttr)
namespace mlir {
namespace polynomial {
namespace detail {
struct FloatPolynomialAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
FloatPolynomialAttr FloatPolynomialAttr::get(::mlir::MLIRContext *context, FloatPolynomial polynomial) {}

FloatPolynomial FloatPolynomialAttr::getPolynomial() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::FloatPolynomialAttr)
namespace mlir {
namespace polynomial {
namespace detail {
struct TypedIntPolynomialAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
TypedIntPolynomialAttr TypedIntPolynomialAttr::get(::mlir::MLIRContext *context, ::mlir::Type type, ::mlir::polynomial::IntPolynomialAttr value) {}

TypedIntPolynomialAttr TypedIntPolynomialAttr::get(Type type, const IntPolynomial &value) {}

TypedIntPolynomialAttr TypedIntPolynomialAttr::get(Type type, const Attribute &value) {}

::mlir::Attribute TypedIntPolynomialAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) {}

void TypedIntPolynomialAttr::print(::mlir::AsmPrinter &odsPrinter) const {}

::mlir::Type TypedIntPolynomialAttr::getType() const {}

::mlir::polynomial::IntPolynomialAttr TypedIntPolynomialAttr::getValue() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::TypedIntPolynomialAttr)
namespace mlir {
namespace polynomial {
namespace detail {
struct TypedFloatPolynomialAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
TypedFloatPolynomialAttr TypedFloatPolynomialAttr::get(::mlir::MLIRContext *context, ::mlir::Type type, ::mlir::polynomial::FloatPolynomialAttr value) {}

TypedFloatPolynomialAttr TypedFloatPolynomialAttr::get(Type type, const FloatPolynomial &value) {}

TypedFloatPolynomialAttr TypedFloatPolynomialAttr::get(Type type, const Attribute &value) {}

::mlir::Attribute TypedFloatPolynomialAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) {}

void TypedFloatPolynomialAttr::print(::mlir::AsmPrinter &odsPrinter) const {}

::mlir::Type TypedFloatPolynomialAttr::getType() const {}

::mlir::polynomial::FloatPolynomialAttr TypedFloatPolynomialAttr::getValue() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::TypedFloatPolynomialAttr)
namespace mlir {
namespace polynomial {
namespace detail {
struct RingAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
RingAttr RingAttr::get(::mlir::MLIRContext *context, Type coefficientType, ::mlir::IntegerAttr coefficientModulus, ::mlir::polynomial::IntPolynomialAttr polynomialModulus) {}

RingAttr RingAttr::get(::mlir::Type coefficientTy, ::mlir::IntegerAttr coefficientModulusAttr, ::mlir::polynomial::IntPolynomialAttr polynomialModulusAttr) {}

::mlir::Attribute RingAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) {}

void RingAttr::print(::mlir::AsmPrinter &odsPrinter) const {}

Type RingAttr::getCoefficientType() const {}

::mlir::IntegerAttr RingAttr::getCoefficientModulus() const {}

::mlir::polynomial::IntPolynomialAttr RingAttr::getPolynomialModulus() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::RingAttr)
namespace mlir {
namespace polynomial {
namespace detail {
struct PrimitiveRootAttrStorage : public ::mlir::AttributeStorage {};
} // namespace detail
PrimitiveRootAttr PrimitiveRootAttr::get(::mlir::MLIRContext *context, ::mlir::IntegerAttr value, ::mlir::IntegerAttr degree) {}

::mlir::Attribute PrimitiveRootAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) {}

void PrimitiveRootAttr::print(::mlir::AsmPrinter &odsPrinter) const {}

::mlir::IntegerAttr PrimitiveRootAttr::getValue() const {}

::mlir::IntegerAttr PrimitiveRootAttr::getDegree() const {}

} // namespace polynomial
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::polynomial::PrimitiveRootAttr)
namespace mlir {
namespace polynomial {

/// Parse an attribute registered to this dialect.
::mlir::Attribute PolynomialDialect::parseAttribute(::mlir::DialectAsmParser &parser,
                                      ::mlir::Type type) const {}
/// Print an attribute registered to this dialect.
void PolynomialDialect::printAttribute(::mlir::Attribute attr,
                         ::mlir::DialectAsmPrinter &printer) const {}
} // namespace polynomial
} // namespace mlir

#endif  // GET_ATTRDEF_CLASSES