llvm/mlir/lib/TableGen/AttrOrTypeDef.cpp

//===- AttrOrTypeDef.cpp - AttrOrTypeDef wrapper classes ------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "mlir/TableGen/AttrOrTypeDef.h"
#include "mlir/TableGen/Dialect.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"

usingnamespacemlir;
usingnamespacemlir::tblgen;

//===----------------------------------------------------------------------===//
// AttrOrTypeBuilder
//===----------------------------------------------------------------------===//

std::optional<StringRef> AttrOrTypeBuilder::getReturnType() const {}

bool AttrOrTypeBuilder::hasInferredContextParameter() const {}

//===----------------------------------------------------------------------===//
// AttrOrTypeDef
//===----------------------------------------------------------------------===//

AttrOrTypeDef::AttrOrTypeDef(const llvm::Record *def) :{}

Dialect AttrOrTypeDef::getDialect() const {}

StringRef AttrOrTypeDef::getName() const {}

StringRef AttrOrTypeDef::getCppClassName() const {}

StringRef AttrOrTypeDef::getCppBaseClassName() const {}

bool AttrOrTypeDef::hasDescription() const {}

StringRef AttrOrTypeDef::getDescription() const {}

bool AttrOrTypeDef::hasSummary() const {}

StringRef AttrOrTypeDef::getSummary() const {}

StringRef AttrOrTypeDef::getStorageClassName() const {}

StringRef AttrOrTypeDef::getStorageNamespace() const {}

bool AttrOrTypeDef::genStorageClass() const {}

bool AttrOrTypeDef::hasStorageCustomConstructor() const {}

unsigned AttrOrTypeDef::getNumParameters() const {}

std::optional<StringRef> AttrOrTypeDef::getMnemonic() const {}

bool AttrOrTypeDef::hasCustomAssemblyFormat() const {}

std::optional<StringRef> AttrOrTypeDef::getAssemblyFormat() const {}

bool AttrOrTypeDef::genAccessors() const {}

bool AttrOrTypeDef::genVerifyDecl() const {}

bool AttrOrTypeDef::genVerifyInvariantsImpl() const {}

std::optional<StringRef> AttrOrTypeDef::getExtraDecls() const {}

std::optional<StringRef> AttrOrTypeDef::getExtraDefs() const {}

ArrayRef<SMLoc> AttrOrTypeDef::getLoc() const {}

bool AttrOrTypeDef::skipDefaultBuilders() const {}

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

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

//===----------------------------------------------------------------------===//
// AttrDef
//===----------------------------------------------------------------------===//

std::optional<StringRef> AttrDef::getTypeBuilder() const {}

bool AttrDef::classof(const AttrOrTypeDef *def) {}

StringRef AttrDef::getAttrName() const {}

//===----------------------------------------------------------------------===//
// TypeDef
//===----------------------------------------------------------------------===//

bool TypeDef::classof(const AttrOrTypeDef *def) {}

StringRef TypeDef::getTypeName() const {}

//===----------------------------------------------------------------------===//
// AttrOrTypeParameter
//===----------------------------------------------------------------------===//

template <typename InitT>
auto AttrOrTypeParameter::getDefValue(StringRef name) const {}

bool AttrOrTypeParameter::isAnonymous() const {}

StringRef AttrOrTypeParameter::getName() const {}

std::string AttrOrTypeParameter::getAccessorName() const {}

std::optional<StringRef> AttrOrTypeParameter::getAllocator() const {}

StringRef AttrOrTypeParameter::getComparator() const {}

StringRef AttrOrTypeParameter::getCppType() const {}

StringRef AttrOrTypeParameter::getCppAccessorType() const {}

StringRef AttrOrTypeParameter::getCppStorageType() const {}

StringRef AttrOrTypeParameter::getConvertFromStorage() const {}

std::optional<StringRef> AttrOrTypeParameter::getParser() const {}

std::optional<StringRef> AttrOrTypeParameter::getPrinter() const {}

std::optional<StringRef> AttrOrTypeParameter::getSummary() const {}

StringRef AttrOrTypeParameter::getSyntax() const {}

bool AttrOrTypeParameter::isOptional() const {}

std::optional<StringRef> AttrOrTypeParameter::getDefaultValue() const {}

llvm::Init *AttrOrTypeParameter::getDef() const {}

std::optional<Constraint> AttrOrTypeParameter::getConstraint() const {}

//===----------------------------------------------------------------------===//
// AttributeSelfTypeParameter
//===----------------------------------------------------------------------===//

bool AttributeSelfTypeParameter::classof(const AttrOrTypeParameter *param) {}