clang 20.0.0git
CIRTypes.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 types in the CIR dialect.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_DIALECT_CIR_IR_CIRTYPES_H_
14#define MLIR_DIALECT_CIR_IR_CIRTYPES_H_
15
16#include "mlir/IR/BuiltinAttributes.h"
17#include "mlir/IR/Types.h"
18#include "mlir/Interfaces/DataLayoutInterfaces.h"
20
21namespace cir {
22
23bool isAnyFloatingPointType(mlir::Type t);
24
25} // namespace cir
26
27//===----------------------------------------------------------------------===//
28// CIR Dialect Tablegen'd Types
29//===----------------------------------------------------------------------===//
30
31#define GET_TYPEDEF_CLASSES
32#include "clang/CIR/Dialect/IR/CIROpsTypes.h.inc"
33
34#endif // MLIR_DIALECT_CIR_IR_CIRTYPES_H_
bool isAnyFloatingPointType(mlir::Type t)
Definition: CIRTypes.cpp:320