MLIR
15.0.0git
|
Storage type for LLVM dialect pointer types. More...
#include "Dialect/LLVMIR/IR/TypeDetail.h"
Public Types | |
using | KeyTy = std::tuple< Type, unsigned > |
Public Member Functions | |
LLVMPointerTypeStorage (const KeyTy &key) | |
bool | operator== (const KeyTy &key) const |
![]() | |
const AbstractType & | getAbstractType () |
Return the abstract type descriptor for this type. More... | |
Static Public Member Functions | |
static LLVMPointerTypeStorage * | construct (TypeStorageAllocator &allocator, const KeyTy &key) |
Public Attributes | |
Type | pointeeType |
unsigned | addressSpace |
Additional Inherited Members | |
![]() | |
TypeStorage () | |
This constructor is used by derived classes as part of the TypeUniquer. More... | |
![]() | |
BaseStorage ()=default | |
Storage type for LLVM dialect pointer types.
These are uniqued by a pair of element type and address space. The element type may be null indicating that the pointer is opaque.
Definition at line 387 of file TypeDetail.h.
using mlir::LLVM::detail::LLVMPointerTypeStorage::KeyTy = std::tuple<Type, unsigned> |
Definition at line 388 of file TypeDetail.h.
|
inline |
Definition at line 390 of file TypeDetail.h.
|
inlinestatic |
Definition at line 393 of file TypeDetail.h.
References mlir::StorageUniquer::StorageAllocator::allocate().
|
inline |
Definition at line 399 of file TypeDetail.h.
unsigned mlir::LLVM::detail::LLVMPointerTypeStorage::addressSpace |
Definition at line 404 of file TypeDetail.h.
Type mlir::LLVM::detail::LLVMPointerTypeStorage::pointeeType |
Definition at line 403 of file TypeDetail.h.