MLIR 22.0.0git
Serialization.h File Reference
#include "mlir/Support/LLVM.h"
#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

struct  mlir::spirv::SerializationOptions

Namespaces

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

Functions

LogicalResult mlir::spirv::serialize (ModuleOp moduleOp, SmallVectorImpl< uint32_t > &binary, const SerializationOptions &options={})
 Serializes the given SPIR-V moduleOp and writes to binary.