MLIR
21.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 SpecAttr | getPointerSpec (DataLayoutEntryListRef params, PtrType type, Attribute defaultMemorySpace) |
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 | kDefaultPointerAlignmentBits = 8 |
|
static |
Searches the data layout for the pointer spec, returns nullptr if it is not found.
Definition at line 30 of file PtrTypes.cpp.
References mlir::get(), kDefaultPointerAlignmentBits, 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().