MLIR  16.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"
+ Include dependency graph for Serializer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


 Include the generated interface declarations.


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...