MLIR 22.0.0git
Deserialization.h File Reference
#include "mlir/IR/OwningOpRef.h"
#include "mlir/Support/LLVM.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  mlir::spirv::DeserializationOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::spirv

Functions

OwningOpRef< spirv::ModuleOp > mlir::spirv::deserialize (ArrayRef< uint32_t > binary, MLIRContext *context, const DeserializationOptions &options={})
 Deserializes the given SPIR-V binary module and creates a MLIR ModuleOp in the given context.