llvm/tools/mlir/include/mlir/Interfaces/DataLayoutOpInterface.cpp.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Interface Definitions                                                      *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

/// Returns the data layout specification for this op, or null if it does not exist.
::mlir::DataLayoutSpecInterface mlir::DataLayoutOpInterface::getDataLayoutSpec() {}
/// Returns the target system desc specification for this op, or null if it does not exist.
::mlir::TargetSystemSpecInterface mlir::DataLayoutOpInterface::getTargetSystemSpec() {}
/// Returns the size of the given type computed using the relevant entries. The data layout object can be used for recursive queries.
::llvm::TypeSize mlir::DataLayoutOpInterface::getTypeSize(::mlir::Type type, const ::mlir::DataLayout & dataLayout, ::mlir::DataLayoutEntryListRef params) {}
/// Returns the size of the given type in bits computed using the relevant entries. The data layout object can be used for recursive queries.
::llvm::TypeSize mlir::DataLayoutOpInterface::getTypeSizeInBits(::mlir::Type type, const ::mlir::DataLayout & dataLayout, ::mlir::DataLayoutEntryListRef params) {}
/// Returns the alignment required by the ABI for the given type computed using the relevant entries. The data layout object can be used for recursive queries.
uint64_t mlir::DataLayoutOpInterface::getTypeABIAlignment(::mlir::Type type, const ::mlir::DataLayout & dataLayout, ::mlir::DataLayoutEntryListRef params) {}
/// Returns the alignment preferred by the given type computed using the relevant entries. The data layoutobject can be used for recursive queries.
uint64_t mlir::DataLayoutOpInterface::getTypePreferredAlignment(::mlir::Type type, const ::mlir::DataLayout & dataLayout, ::mlir::DataLayoutEntryListRef params) {}
/// Returns the bitwidth that should be used when performing index computations for the type computed using the relevant entries. The data layout object can be used for recursive queries.
std::optional<uint64_t> mlir::DataLayoutOpInterface::getIndexBitwidth(::mlir::Type type, const ::mlir::DataLayout & dataLayout, ::mlir::DataLayoutEntryListRef params) {}
/// Returns the endianness used by the ABI computed using the relevant entries. The data layout object can be used for recursive queries.
::mlir::Attribute mlir::DataLayoutOpInterface::getEndianness(::mlir::DataLayoutEntryInterface entry) {}
/// Returns the memory space used by the ABI computed using the relevant entries. The data layout object can be used for recursive queries.
::mlir::Attribute mlir::DataLayoutOpInterface::getAllocaMemorySpace(::mlir::DataLayoutEntryInterface entry) {}
/// Returns the memory space used by the ABI computed using the relevant entries. The data layout object can be used for recursive queries.
::mlir::Attribute mlir::DataLayoutOpInterface::getProgramMemorySpace(::mlir::DataLayoutEntryInterface entry) {}
/// Returns the memory space used by the ABI computed using the relevant entries. The data layout object can be used for recursive queries.
::mlir::Attribute mlir::DataLayoutOpInterface::getGlobalMemorySpace(::mlir::DataLayoutEntryInterface entry) {}
/// Returns the natural stack alignment in bits computed using the relevant entries. The data layout object can be used for recursive queries.
uint64_t mlir::DataLayoutOpInterface::getStackAlignment(::mlir::DataLayoutEntryInterface entry) {}
/// Returns the value of the property, if the property is defined. Otherwise, it returns std::nullopt.
std::optional<Attribute> mlir::DataLayoutOpInterface::getDevicePropertyValue(::mlir::DataLayoutEntryInterface entry) {}