llvm/mlir/lib/TableGen/Dialect.cpp

//===- Dialect.cpp - Dialect wrapper class --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Dialect wrapper to simplify using TableGen Record defining a MLIR dialect.
//
//===----------------------------------------------------------------------===//

#include "mlir/TableGen/Dialect.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"

usingnamespacemlir;
usingnamespacemlir::tblgen;
Dialect::Dialect(const llvm::Record *def) :{}

StringRef Dialect::getName() const {}

StringRef Dialect::getCppNamespace() const {}

std::string Dialect::getCppClassName() const {}

static StringRef getAsStringOrEmpty(const llvm::Record &record,
                                    StringRef fieldName) {}

StringRef Dialect::getSummary() const {}

StringRef Dialect::getDescription() const {}

ArrayRef<StringRef> Dialect::getDependentDialects() const {}

std::optional<StringRef> Dialect::getExtraClassDeclaration() const {}

bool Dialect::hasCanonicalizer() const {}

bool Dialect::hasConstantMaterializer() const {}

bool Dialect::hasNonDefaultDestructor() const {}

bool Dialect::hasOperationAttrVerify() const {}

bool Dialect::hasRegionArgAttrVerify() const {}

bool Dialect::hasRegionResultAttrVerify() const {}

bool Dialect::hasOperationInterfaceFallback() const {}

bool Dialect::useDefaultAttributePrinterParser() const {}

bool Dialect::useDefaultTypePrinterParser() const {}

bool Dialect::isExtensible() const {}

bool Dialect::usePropertiesForAttributes() const {}

llvm::DagInit *Dialect::getDiscardableAttributes() const {}

bool Dialect::operator==(const Dialect &other) const {}

bool Dialect::operator<(const Dialect &other) const {}