clang
20.0.0git
lib
CIR
Dialect
IR
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
13
#include "
clang/CIR/Dialect/IR/CIRDialect.h
"
14
15
using namespace
mlir
;
16
using namespace
cir
;
17
18
//===----------------------------------------------------------------------===//
19
// General CIR parsing / printing
20
//===----------------------------------------------------------------------===//
21
22
Attribute CIRDialect::parseAttribute(DialectAsmParser &parser,
23
Type
type)
const
{
24
// No attributes yet to parse
25
return
Attribute{};
26
}
27
28
void
CIRDialect::printAttribute(Attribute attr, DialectAsmPrinter &os)
const
{
29
// No attributes yet to print
30
}
31
32
//===----------------------------------------------------------------------===//
33
// CIR Dialect
34
//===----------------------------------------------------------------------===//
35
36
void
CIRDialect::registerAttributes() {
37
// No attributes yet to register
38
}
Type
MatchType Type
Definition:
ASTMatchFinder.cpp:73
CIRDialect.h
cir
Definition:
CIRGenerator.h:36
mlir
Definition:
CIRGenerator.h:33
Generated on Fri Jan 17 2025 17:47:33 for clang by
1.9.6