Wraps a ‘const clang::FunctionDecl *' AST node.
Operations optionally refer to this node, they could be available depending on the CIR lowering stage. Whether it's attached to the appropriated CIR operation is delegated to the operation verifier.
This always implies a non-null AST reference (verified).
Parameter | C++ type | Description |
---|---|---|
astDecl | const clang::FunctionDecl * |
Wraps a ‘const clang::RecordDecl *' AST node.
Operations optionally refer to this node, they could be available depending on the CIR lowering stage. Whether it's attached to the appropriated CIR operation is delegated to the operation verifier.
This always implies a non-null AST reference (verified).
Parameter | C++ type | Description |
---|---|---|
astDecl | const clang::RecordDecl * |
Wraps a ‘const clang::VarDecl *' AST node.
Operations optionally refer to this node, they could be available depending on the CIR lowering stage. Whether it's attached to the appropriated CIR operation is delegated to the operation verifier.
This always implies a non-null AST reference (verified).
Parameter | C++ type | Description |
---|---|---|
astDecl | const clang::VarDecl * |
A constant array from ArrayAttr or StringRefAttr
An CIR array attribute is an array of literals of the specified attr types.
Parameter | C++ type | Description |
---|---|---|
type | ::mlir::Type | |
value | Attribute |
A simple attr to represent nullptr
Syntax:
#cir.null<
::mlir::Type # type
>
The NullAttr represents the value of nullptr within cir.
Parameter | C++ type | Description |
---|---|---|
type | ::mlir::Type |
Parameter | C++ type | Description |
---|---|---|
behavior | sob::SignedOverflowBehavior |
Attribute to represent zero initialization
Syntax:
#cir.zero<
::mlir::Type # type
>
The ZeroAttr is used to indicate zero initialization on structs.
Parameter | C++ type | Description |
---|---|---|
type | ::mlir::Type |