#include "MipsELFStreamer.h"
#include "MipsOptionRecord.h"
#include "MipsTargetStreamer.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/Support/Casting.h"
usingnamespacellvm;
MipsELFStreamer::MipsELFStreamer(MCContext &Context,
std::unique_ptr<MCAsmBackend> MAB,
std::unique_ptr<MCObjectWriter> OW,
std::unique_ptr<MCCodeEmitter> Emitter)
: … { … }
void MipsELFStreamer::emitInstruction(const MCInst &Inst,
const MCSubtargetInfo &STI) { … }
void MipsELFStreamer::emitCFIStartProcImpl(MCDwarfFrameInfo &Frame) { … }
MCSymbol *MipsELFStreamer::emitCFILabel() { … }
void MipsELFStreamer::emitCFIEndProcImpl(MCDwarfFrameInfo &Frame) { … }
void MipsELFStreamer::createPendingLabelRelocs() { … }
void MipsELFStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) { … }
void MipsELFStreamer::switchSection(MCSection *Section, uint32_t Subsection) { … }
void MipsELFStreamer::emitValueImpl(const MCExpr *Value, unsigned Size,
SMLoc Loc) { … }
void MipsELFStreamer::emitIntValue(uint64_t Value, unsigned Size) { … }
void MipsELFStreamer::EmitMipsOptionRecords() { … }
MCELFStreamer *
llvm::createMipsELFStreamer(MCContext &Context,
std::unique_ptr<MCAsmBackend> MAB,
std::unique_ptr<MCObjectWriter> OW,
std::unique_ptr<MCCodeEmitter> Emitter) { … }