MLIR
20.0.0git
|
#include "mlir/Dialect/SPIRV/IR/SPIRVTypes.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include <cstdint>
#include <iterator>
Go to the source code of this file.
Classes | |
struct | mlir::spirv::detail::ArrayTypeStorage |
struct | mlir::spirv::detail::CooperativeMatrixTypeStorage |
struct | mlir::spirv::detail::ImageTypeStorage |
struct | mlir::spirv::detail::PointerTypeStorage |
struct | mlir::spirv::detail::RuntimeArrayTypeStorage |
struct | mlir::spirv::detail::SampledImageTypeStorage |
struct | mlir::spirv::detail::StructTypeStorage |
Type storage for SPIR-V structure types: More... | |
struct | mlir::spirv::detail::MatrixTypeStorage |
Macros | |
#define | STORAGE_CASE(storage, cap8, cap16) |
#define | WIDTH_CASE(type, width) |
Functions | |
template<typename T > | |
static constexpr unsigned | getNumBits () |
template<> | |
constexpr unsigned | getNumBits< Dim > () |
template<> | |
constexpr unsigned | getNumBits< ImageDepthInfo > () |
template<> | |
constexpr unsigned | getNumBits< ImageArrayedInfo > () |
template<> | |
constexpr unsigned | getNumBits< ImageSamplingInfo > () |
template<> | |
constexpr unsigned | getNumBits< ImageSamplerUseInfo > () |
template<> | |
constexpr unsigned | getNumBits< ImageFormat > () |
#define STORAGE_CASE | ( | storage, | |
cap8, | |||
cap16 | |||
) |
#define WIDTH_CASE | ( | type, | |
width | |||
) |
|
staticconstexpr |
Definition at line 268 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 272 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 284 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 278 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 302 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 296 of file SPIRVTypes.cpp.
|
constexpr |
Definition at line 290 of file SPIRVTypes.cpp.