MLIR
20.0.0git
|
#include "Deserializer.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Location.h"
#include "mlir/Target/SPIRV/SPIRVBinaryUtils.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Debug.h"
#include <optional>
#include "mlir/Dialect/SPIRV/IR/SPIRVSerialization.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::spirv | |
Macros | |
#define | DEBUG_TYPE "spirv-deserialization" |
#define | GET_DESERIALIZATION_FNS |
Functions | |
static spirv::Opcode | extractOpcode (uint32_t word) |
Extracts the opcode from the given first word of a SPIR-V instruction. More... | |
template<> | |
LogicalResult | mlir::spirv::Deserializer::processOp< spirv::EntryPointOp > (ArrayRef< uint32_t > words) |
template<> | |
LogicalResult | mlir::spirv::Deserializer::processOp< spirv::ExecutionModeOp > (ArrayRef< uint32_t > words) |
template<> | |
LogicalResult | mlir::spirv::Deserializer::processOp< spirv::FunctionCallOp > (ArrayRef< uint32_t > operands) |
template<> | |
LogicalResult | mlir::spirv::Deserializer::processOp< spirv::CopyMemoryOp > (ArrayRef< uint32_t > words) |
template<> | |
LogicalResult | mlir::spirv::Deserializer::processOp< spirv::GenericCastToPtrExplicitOp > (ArrayRef< uint32_t > words) |
#define DEBUG_TYPE "spirv-deserialization" |
Definition at line 27 of file DeserializeOps.cpp.
#define GET_DESERIALIZATION_FNS |
Definition at line 559 of file DeserializeOps.cpp.
|
inlinestatic |
Extracts the opcode from the given first word of a SPIR-V instruction.
Definition at line 34 of file DeserializeOps.cpp.