clang 22.0.0git
CIRAttrs.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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 declares the attributes in the CIR dialect.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CLANG_CIR_DIALECT_IR_CIRATTRS_H
14#define CLANG_CIR_DIALECT_IR_CIRATTRS_H
15
16#include "mlir/IR/Attributes.h"
17#include "mlir/IR/BuiltinAttributeInterfaces.h"
19
21
23
24//===----------------------------------------------------------------------===//
25// CIR Dialect Attrs
26//===----------------------------------------------------------------------===//
27
28namespace clang {
29class FunctionDecl;
30class RecordDecl;
31class VarDecl;
32} // namespace clang
33
34namespace cir {
35class ArrayType;
36class BoolType;
37class ComplexType;
38class IntType;
39class MethodType;
40class PointerType;
41class RecordType;
42class VectorType;
43} // namespace cir
44
45#define GET_ATTRDEF_CLASSES
46#include "clang/CIR/Dialect/IR/CIROpsAttributes.h.inc"
47
48#endif // CLANG_CIR_DIALECT_IR_CIRATTRS_H
Provides definitions for the various language-specific address spaces.
Represents a function declaration or definition.
Definition Decl.h:2000
Represents a struct/union/class.
Definition Decl.h:4312
Represents a variable declaration or definition.
Definition Decl.h:926
The JSON file list parser is used to communicate input to InstallAPI.