llvm/mlir/lib/TableGen/Constraint.cpp

//===- Constraint.cpp - Constraint 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
//
//===----------------------------------------------------------------------===//
//
// Constraint wrapper to simplify using TableGen Record for constraints.
//
//===----------------------------------------------------------------------===//

#include "mlir/TableGen/Constraint.h"
#include "llvm/TableGen/Record.h"

usingnamespacemlir;
usingnamespacemlir::tblgen;

Constraint::Constraint(const llvm::Record *record)
    :{}

Pred Constraint::getPredicate() const {}

std::string Constraint::getConditionTemplate() const {}

StringRef Constraint::getSummary() const {}

StringRef Constraint::getDescription() const {}

StringRef Constraint::getDefName() const {}

std::string Constraint::getUniqueDefName() const {}

std::optional<StringRef> Constraint::getBaseDefName() const {}

std::optional<StringRef> Constraint::getCppFunctionName() const {}

AppliedConstraint::AppliedConstraint(Constraint &&constraint,
                                     llvm::StringRef self,
                                     std::vector<std::string> &&entities)
    :{}

Constraint DenseMapInfo<Constraint>::getEmptyKey() {}

Constraint DenseMapInfo<Constraint>::getTombstoneKey() {}

unsigned DenseMapInfo<Constraint>::getHashValue(Constraint constraint) {}

bool DenseMapInfo<Constraint>::isEqual(Constraint lhs, Constraint rhs) {}