clang 24.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"
18
20
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 DataMemberType;
39class IntType;
40class MethodType;
41class PointerType;
42class RecordType;
43class VectorType;
44} // namespace cir
45
46#define GET_ATTRDEF_CLASSES
47#include "clang/CIR/Dialect/IR/CIROpsAttributes.h.inc"
48
49#endif // CLANG_CIR_DIALECT_IR_CIRATTRS_H
Provides definitions for the various language-specific address spaces.
C++ view class that accepts both !cir.struct and !cir.union types.
Definition CIRTypes.h:150
Represents a function declaration or definition.
Definition Decl.h:2082
Represents a struct/union/class.
Definition Decl.h:4506
Represents a variable declaration or definition.
Definition Decl.h:934
Top level wrappers for InstallAPI frontend operations.