MLIR  19.0.0git
Classes | Namespaces | Functions
Serializer.h File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/Target/SPIRV/Serialization.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Classes

class  mlir::spirv::Serializer
 A SPIR-V module serializer. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::spirv
 

Functions

void mlir::spirv::encodeInstructionInto (SmallVectorImpl< uint32_t > &binary, spirv::Opcode op, ArrayRef< uint32_t > operands)
 Encodes an SPIR-V instruction with the given opcode and operands into the given binary vector. More...