9#ifndef LLVM_MC_MCSPIRVOBJECTWRITER_H
10#define LLVM_MC_MCSPIRVOBJECTWRITER_H
34std::unique_ptr<MCObjectWriter>
36 raw_pwrite_stream &
OS);
Base class for classes that define behaviour that is specific to both the target and the object forma...
MCSPIRVObjectTargetWriter()
static bool classof(const MCObjectTargetWriter *W)
Triple::ObjectFormatType getFormat() const override
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectWriter > createSPIRVObjectWriter(std::unique_ptr< MCSPIRVObjectTargetWriter > MOTW, raw_pwrite_stream &OS)
Construct a new SPIR-V writer instance.