#ifdef GET_ATTRDEF_LIST
#undef GET_ATTRDEF_LIST
::mlir::DataLayoutEntryAttr,
::mlir::DataLayoutSpecAttr,
::mlir::MapAttr,
::mlir::TargetSystemSpecAttr,
::mlir::TargetDeviceSpecAttr
#endif
#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 {
DataLayoutEntryAttr DataLayoutEntryAttr::get(::mlir::MLIRContext *context, DataLayoutEntryKey key, Attribute value) { … }
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::DataLayoutEntryAttr)
namespace mlir {
namespace detail {
struct DataLayoutSpecAttrStorage : public ::mlir::AttributeStorage { … };
}
DataLayoutSpecAttr DataLayoutSpecAttr::get(::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
DataLayoutSpecAttr DataLayoutSpecAttr::getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::llvm::LogicalResult DataLayoutSpecAttr::verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::llvm::ArrayRef<DataLayoutEntryInterface> DataLayoutSpecAttr::getEntries() const { … }
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::DataLayoutSpecAttr)
namespace mlir {
namespace detail {
struct MapAttrStorage : public ::mlir::AttributeStorage { … };
}
MapAttr MapAttr::get(::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
MapAttr MapAttr::getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::llvm::LogicalResult MapAttr::verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::mlir::Attribute MapAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) { … }
void MapAttr::print(::mlir::AsmPrinter &odsPrinter) const { … }
::llvm::ArrayRef<DataLayoutEntryInterface> MapAttr::getEntries() const { … }
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::MapAttr)
namespace mlir {
namespace detail {
struct TargetSystemSpecAttrStorage : public ::mlir::AttributeStorage { … };
}
std::optional<TargetDeviceSpecInterface>
TargetSystemSpecAttr::getDeviceSpecForDeviceID(
TargetSystemSpecInterface::DeviceID deviceID) { … }
TargetSystemSpecAttr TargetSystemSpecAttr::get(::mlir::MLIRContext *context, ::llvm::ArrayRef<DeviceIDTargetDeviceSpecPair> entries) { … }
TargetSystemSpecAttr TargetSystemSpecAttr::getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::ArrayRef<DeviceIDTargetDeviceSpecPair> entries) { … }
::llvm::LogicalResult TargetSystemSpecAttr::verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<DeviceIDTargetDeviceSpecPair> entries) { … }
::mlir::Attribute TargetSystemSpecAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) { … }
void TargetSystemSpecAttr::print(::mlir::AsmPrinter &odsPrinter) const { … }
::llvm::ArrayRef<DeviceIDTargetDeviceSpecPair> TargetSystemSpecAttr::getEntries() const { … }
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::TargetSystemSpecAttr)
namespace mlir {
namespace detail {
struct TargetDeviceSpecAttrStorage : public ::mlir::AttributeStorage { … };
}
TargetDeviceSpecAttr TargetDeviceSpecAttr::get(::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
TargetDeviceSpecAttr TargetDeviceSpecAttr::getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::llvm::LogicalResult TargetDeviceSpecAttr::verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<DataLayoutEntryInterface> entries) { … }
::mlir::Attribute TargetDeviceSpecAttr::parse(::mlir::AsmParser &odsParser, ::mlir::Type odsType) { … }
void TargetDeviceSpecAttr::print(::mlir::AsmPrinter &odsPrinter) const { … }
::llvm::ArrayRef<DataLayoutEntryInterface> TargetDeviceSpecAttr::getEntries() const { … }
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::TargetDeviceSpecAttr)
namespace mlir {
::mlir::Attribute DLTIDialect::parseAttribute(::mlir::DialectAsmParser &parser,
::mlir::Type type) const { … }
void DLTIDialect::printAttribute(::mlir::Attribute attr,
::mlir::DialectAsmPrinter &printer) const { … }
}
#endif