CIR array type
CIR.array
represents C/C++ constant arrays.
Parameter | C++ type | Description |
---|---|---|
eltType | mlir::Type | |
size | uint64_t |
CIR bool type
cir.bool
represent's C++ bool type.
CIR pointer type
CIR.ptr
is a type returned by any op generating a pointer in C++.
Parameter | C++ type | Description |
---|---|---|
pointee | mlir::Type |
CIR struct type
Each unique clang::RecordDecl is mapped to a cir.struct
and any object in C/C++ that has a struct type will have a cir.struct
in CIR.
Parameter | C++ type | Description |
---|---|---|
members | ::llvm::ArrayRef<mlir::Type> | members |
typeName | mlir::StringAttr | |
body | bool | |
ast | Optional<::mlir::cir::ASTRecordDeclAttr> |