|
clang 23.0.0git
|
Type storage for CIR struct/class types. More...
#include "clang/CIR/Dialect/IR/CIRTypesDetails.h"
Classes | |
| struct | KeyTy |
Public Member Functions | |
| StructTypeStorage (llvm::ArrayRef< mlir::Type > members, mlir::StringAttr name, bool incomplete, bool packed, bool padded, bool is_class) | |
| KeyTy | getAsKey () const |
| bool | operator== (const KeyTy &key) const |
| llvm::LogicalResult | mutate (mlir::TypeStorageAllocator &allocator, llvm::ArrayRef< mlir::Type > members, bool packed, bool padded) |
| Mutates the members and attributes of an identified struct/class. | |
Static Public Member Functions | |
| static llvm::hash_code | hashKey (const KeyTy &key) |
| static StructTypeStorage * | construct (mlir::TypeStorageAllocator &allocator, const KeyTy &key) |
Public Attributes | |
| llvm::ArrayRef< mlir::Type > | members |
| mlir::StringAttr | name |
| bool | incomplete |
| bool | packed |
| bool | padded |
| bool | is_class |
Type storage for CIR struct/class types.
Definition at line 29 of file CIRTypesDetails.h.
|
inline |
Definition at line 51 of file CIRTypesDetails.h.
References incomplete, is_class, members, name, packed, and padded.
Referenced by construct().
|
inlinestatic |
Definition at line 77 of file CIRTypesDetails.h.
References cir::detail::StructTypeStorage::KeyTy::incomplete, cir::detail::StructTypeStorage::KeyTy::is_class, cir::detail::StructTypeStorage::KeyTy::members, cir::detail::StructTypeStorage::KeyTy::name, cir::detail::StructTypeStorage::KeyTy::packed, cir::detail::StructTypeStorage::KeyTy::padded, and StructTypeStorage().
|
inline |
Definition at line 58 of file CIRTypesDetails.h.
References incomplete, is_class, members, name, packed, and padded.
|
inlinestatic |
Definition at line 70 of file CIRTypesDetails.h.
References cir::detail::StructTypeStorage::KeyTy::incomplete, cir::detail::StructTypeStorage::KeyTy::is_class, cir::detail::StructTypeStorage::KeyTy::members, cir::detail::StructTypeStorage::KeyTy::name, cir::detail::StructTypeStorage::KeyTy::packed, and cir::detail::StructTypeStorage::KeyTy::padded.
|
inline |
Mutates the members and attributes of an identified struct/class.
Definition at line 85 of file CIRTypesDetails.h.
References incomplete, members, name, packed, and padded.
Definition at line 62 of file CIRTypesDetails.h.
References incomplete, cir::detail::StructTypeStorage::KeyTy::incomplete, is_class, cir::detail::StructTypeStorage::KeyTy::is_class, cir::detail::StructTypeStorage::KeyTy::members, members, cir::detail::StructTypeStorage::KeyTy::name, name, cir::detail::StructTypeStorage::KeyTy::packed, packed, cir::detail::StructTypeStorage::KeyTy::padded, and padded.
| bool cir::detail::StructTypeStorage::incomplete |
Definition at line 46 of file CIRTypesDetails.h.
Referenced by getAsKey(), mutate(), operator==(), and StructTypeStorage().
| bool cir::detail::StructTypeStorage::is_class |
Definition at line 49 of file CIRTypesDetails.h.
Referenced by getAsKey(), operator==(), and StructTypeStorage().
| llvm::ArrayRef<mlir::Type> cir::detail::StructTypeStorage::members |
Definition at line 44 of file CIRTypesDetails.h.
Referenced by getAsKey(), mutate(), operator==(), and StructTypeStorage().
| mlir::StringAttr cir::detail::StructTypeStorage::name |
Definition at line 45 of file CIRTypesDetails.h.
Referenced by getAsKey(), mutate(), operator==(), and StructTypeStorage().
| bool cir::detail::StructTypeStorage::packed |
Definition at line 47 of file CIRTypesDetails.h.
Referenced by getAsKey(), mutate(), operator==(), and StructTypeStorage().
| bool cir::detail::StructTypeStorage::padded |
Definition at line 48 of file CIRTypesDetails.h.
Referenced by getAsKey(), mutate(), operator==(), and StructTypeStorage().