clang 23.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/Dialect/Ptr/IR/MemorySpaceInterfaces.h"
17#include "mlir/IR/Attributes.h"
18#include "mlir/IR/BuiltinAttributeInterfaces.h"
20
22
25
26//===----------------------------------------------------------------------===//
27// CIR Dialect Attrs
28//===----------------------------------------------------------------------===//
29
30namespace clang {
31class FunctionDecl;
32class RecordDecl;
33class VarDecl;
34} // namespace clang
35
36namespace cir {
37class ArrayType;
38class BoolType;
39class ComplexType;
40class DataMemberType;
41class IntType;
42class MethodType;
43class PointerType;
44class RecordType;
45class VectorType;
46} // namespace cir
47
48#define GET_ATTRDEF_CLASSES
49#include "clang/CIR/Dialect/IR/CIROpsAttributes.h.inc"
50
51#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:4327
Represents a variable declaration or definition.
Definition Decl.h:926
The JSON file list parser is used to communicate input to InstallAPI.