13#ifndef CLANG_CIR_DIALECT_IR_CIRTYPES_H
14#define CLANG_CIR_DIALECT_IR_CIRTYPES_H
16#include "mlir/IR/Attributes.h"
17#include "mlir/IR/BuiltinAttributes.h"
18#include "mlir/IR/MLIRContext.h"
19#include "mlir/IR/Types.h"
20#include "mlir/Interfaces/DataLayoutInterfaces.h"
60#include "clang/CIR/Dialect/IR/CIRTypeConstraints.h.inc"
64#define GET_TYPEDEF_CLASSES
65#include "clang/CIR/Dialect/IR/CIROpsTypes.h.inc"
Provides definitions for the various language-specific address spaces.
bool isValidFundamentalIntWidth(unsigned width)
bool isSized(mlir::Type ty)
Returns true if the type is a CIR sized type.
bool isMatchingAddressSpace(cir::TargetAddressSpaceAttr cirAS, clang::LangAS as)
cir::TargetAddressSpaceAttr toCIRTargetAddressSpace(mlir::MLIRContext &context, clang::LangAS langAS)
LangAS
Defines the address space values used by the address space qualifier of QualType.
Type storage for CIR record types.