//===- CIRAttrs.cpp - MLIR CIR Attributes ---------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // // This file defines the attributes in the CIR dialect. // //===----------------------------------------------------------------------===// #include "clang/CIR/Dialect/IR/CIRDialect.h" using namespace mlir; using namespace cir; //===----------------------------------------------------------------------===// // General CIR parsing / printing //===----------------------------------------------------------------------===// Attribute CIRDialect::parseAttribute(DialectAsmParser &parser, Type type) const { // No attributes yet to parse return Attribute{}; } void CIRDialect::printAttribute(Attribute attr, DialectAsmPrinter &os) const { // No attributes yet to print } //===----------------------------------------------------------------------===// // CIR Dialect //===----------------------------------------------------------------------===// void CIRDialect::registerAttributes() { // No attributes yet to register }