/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |* *| |* AttrDef Declarations *| |* *| |* Automatically generated file, do not edit! *| |* *| \*===----------------------------------------------------------------------===*/ #ifdef GET_ATTRDEF_CLASSES #undef GET_ATTRDEF_CLASSES namespace mlir { class AsmParser; class AsmPrinter; } // namespace mlir namespace mlir::emitc { /// An opaque attribute /// An opaque attribute of which the value gets emitted as is. /// /// Example: /// /// ```mlir /// #emitc.opaque<""> /// #emitc.opaque<"NULL"> /// #emitc.opaque<"nullptr"> /// ``` class OpaqueAttr; namespace detail { struct OpaqueAttrStorage; } // namespace detail class OpaqueAttr : public ::mlir::Attribute::AttrBase { public: using Base::Base; static constexpr ::llvm::StringLiteral name = "emitc.opaque"; static constexpr ::llvm::StringLiteral dialectName = "emitc"; static OpaqueAttr get(::mlir::MLIRContext *context, ::llvm::StringRef value); static constexpr ::llvm::StringLiteral getMnemonic() { return {"opaque"}; } static ::mlir::Attribute parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType); void print(::mlir::AsmPrinter &odsPrinter) const; ::llvm::StringRef getValue() const; }; } // namespace mlir::emitc MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::emitc::OpaqueAttr) #endif // GET_ATTRDEF_CLASSES