Changeset View
Changeset View
Standalone View
Standalone View
mlir/lib/TableGen/OpTrait.cpp
//===- OpTrait.cpp - OpTrait class ----------------------------------------===// | //===- OpTrait.cpp - OpTrait class ----------------------------------------===// | ||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// OpTrait wrapper to simplify using TableGen Record defining a MLIR OpTrait. | // OpTrait wrapper to simplify using TableGen Record defining a MLIR OpTrait. | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
#include "mlir/TableGen/OpTrait.h" | #include "mlir/TableGen/OpTrait.h" | ||||
#include "mlir/TableGen/OpInterfaces.h" | #include "mlir/TableGen/Interfaces.h" | ||||
#include "mlir/TableGen/Predicate.h" | #include "mlir/TableGen/Predicate.h" | ||||
#include "llvm/ADT/StringExtras.h" | #include "llvm/ADT/StringExtras.h" | ||||
#include "llvm/Support/FormatVariadic.h" | #include "llvm/Support/FormatVariadic.h" | ||||
#include "llvm/TableGen/Error.h" | #include "llvm/TableGen/Error.h" | ||||
#include "llvm/TableGen/Record.h" | #include "llvm/TableGen/Record.h" | ||||
using namespace mlir; | using namespace mlir; | ||||
using namespace mlir::tblgen; | using namespace mlir::tblgen; | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |