clang 20.0.0git
CIRAttrs.cpp
Go to the documentation of this file.
1//===- CIRAttrs.cpp - MLIR CIR Attributes ---------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the attributes in the CIR dialect.
10//
11//===----------------------------------------------------------------------===//
12
14
15using namespace mlir;
16using namespace cir;
17
18//===----------------------------------------------------------------------===//
19// General CIR parsing / printing
20//===----------------------------------------------------------------------===//
21
22Attribute CIRDialect::parseAttribute(DialectAsmParser &parser,
23 Type type) const {
24 // No attributes yet to parse
25 return Attribute{};
26}
27
28void CIRDialect::printAttribute(Attribute attr, DialectAsmPrinter &os) const {
29 // No attributes yet to print
30}
31
32//===----------------------------------------------------------------------===//
33// CIR Dialect
34//===----------------------------------------------------------------------===//
35
36void CIRDialect::registerAttributes() {
37 // No attributes yet to register
38}
MatchType Type