13 #ifndef MLIR_TARGET_SPIRV_SERIALIZATION_H
14 #define MLIR_TARGET_SPIRV_SERIALIZATION_H
static llvm::ManagedStatic< PassManagerOptions > options
LogicalResult serialize(ModuleOp moduleOp, SmallVectorImpl< uint32_t > &binary, const SerializationOptions &options={})
Serializes the given SPIR-V moduleOp and writes to binary.
Include the generated interface declarations.
bool emitSymbolName
Whether to emit OpName instructions for SPIR-V symbol ops.
bool saveModuleForValidation
Whether to store a module to an additional file during serialization.
bool emitDebugInfo
Whether to emit OpLine location information for SPIR-V ops.
std::string validationFilePrefix
A prefix prepended to the file used when saveModuleForValidation is set to true.