clang 24.0.0git
CIRTypes.h File Reference
#include "mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/Types.h"
#include "mlir/Interfaces/DataLayoutInterfaces.h"
#include "clang/Basic/AddressSpaces.h"
#include "clang/CIR/Dialect/IR/CIRAttrs.h"
#include "clang/CIR/Dialect/IR/CIROpsEnums.h"
#include "clang/CIR/Interfaces/CIRTypeInterfaces.h"
#include "clang/CIR/Dialect/IR/CIRTypeConstraints.h.inc"
#include "clang/CIR/Dialect/IR/CIROpsTypes.h.inc"

Go to the source code of this file.

Classes

class  cir::RecordType
 C++ view class that accepts both !cir.struct and !cir.union types. More...

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  cir
namespace  cir::detail

Macros

#define GET_TYPEDEF_CLASSES

Functions

bool cir::isValidFundamentalIntWidth (unsigned width)
bool cir::isSized (mlir::Type ty)
 Returns true if the type is a CIR sized type.
cir::FPTypeInterface cir::getFloatingPointType (const llvm::fltSemantics &sem, mlir::MLIRContext *ctx)
 Returns the CIR floating-point type for the given semantics, or a null type if CIR has no type for it (e.g.
cir::LangAddressSpace cir::toCIRLangAddressSpace (clang::LangAS langAS)
bool cir::isMatchingAddressSpace (mlir::ptr::MemorySpaceAttrInterface cirAS, clang::LangAS as)
mlir::ptr::MemorySpaceAttrInterface cir::toCIRAddressSpaceAttr (mlir::MLIRContext &ctx, clang::LangAS langAS)
 Convert an AST LangAS to the appropriate CIR address space attribute interface.
mlir::ptr::MemorySpaceAttrInterface cir::normalizeDefaultAddressSpace (mlir::ptr::MemorySpaceAttrInterface addrSpace)
 Normalize LangAddressSpace::Default to null (empty attribute).
bool cir::isSupportedCIRMemorySpaceAttr (mlir::ptr::MemorySpaceAttrInterface memorySpace)

Macro Definition Documentation

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 89 of file CIRTypes.h.