#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCSPIRVObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/EndianStream.h"
usingnamespacellvm;
void SPIRVObjectWriter::writeHeader(const MCAssembler &Asm) { … }
void SPIRVObjectWriter::setBuildVersion(unsigned Major, unsigned Minor,
unsigned Bound) { … }
uint64_t SPIRVObjectWriter::writeObject(MCAssembler &Asm) { … }
std::unique_ptr<MCObjectWriter>
llvm::createSPIRVObjectWriter(std::unique_ptr<MCSPIRVObjectTargetWriter> MOTW,
raw_pwrite_stream &OS) { … }