MLIR
20.0.0git
|
#include "mlir/Dialect/Ptr/IR/PtrTypes.h"
#include "mlir/Dialect/Ptr/IR/PtrAttrs.h"
#include "llvm/ADT/TypeSwitch.h"
Go to the source code of this file.
Functions | |
static Attribute | getDefaultMemorySpace (PtrType ptr) |
static SpecAttr | getPointerSpec (DataLayoutEntryListRef params, PtrType type) |
Searches the data layout for the pointer spec, returns nullptr if it is not found. More... | |
Variables | |
constexpr static const unsigned | kDefaultPointerSizeBits = 64 |
constexpr static const unsigned | kBitsInByte = 8 |
constexpr static const unsigned | kDefaultPointerAlignment = 8 |
|
static |
Definition at line 28 of file PtrTypes.cpp.
Referenced by getPointerSpec().
|
static |
Searches the data layout for the pointer spec, returns nullptr if it is not found.
Definition at line 32 of file PtrTypes.cpp.
References mlir::get(), getDefaultMemorySpace(), kDefaultPointerAlignment, and kDefaultPointerSizeBits.
|
staticconstexpr |
Definition at line 25 of file PtrTypes.cpp.
|
staticconstexpr |
Definition at line 26 of file PtrTypes.cpp.
Referenced by getPointerSpec().
|
staticconstexpr |
Definition at line 24 of file PtrTypes.cpp.
Referenced by getPointerSpec().