#include "RISCVELFStreamer.h"
#include "RISCVAsmBackend.h"
#include "RISCVBaseInfo.h"
#include "RISCVMCTargetDesc.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/MCELFObjectWriter.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/RISCVAttributes.h"
usingnamespacellvm;
RISCVTargetELFStreamer::RISCVTargetELFStreamer(MCStreamer &S,
const MCSubtargetInfo &STI)
: … { … }
RISCVELFStreamer &RISCVTargetELFStreamer::getStreamer() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionPush() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionPop() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionPIC() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionNoPIC() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionRVC() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionNoRVC() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionRelax() { … }
void RISCVTargetELFStreamer::emitDirectiveOptionNoRelax() { … }
void RISCVTargetELFStreamer::emitAttribute(unsigned Attribute, unsigned Value) { … }
void RISCVTargetELFStreamer::emitTextAttribute(unsigned Attribute,
StringRef String) { … }
void RISCVTargetELFStreamer::emitIntTextAttribute(unsigned Attribute,
unsigned IntValue,
StringRef StringValue) { … }
void RISCVTargetELFStreamer::finishAttributeSection() { … }
void RISCVTargetELFStreamer::finish() { … }
void RISCVTargetELFStreamer::reset() { … }
void RISCVTargetELFStreamer::emitDirectiveVariantCC(MCSymbol &Symbol) { … }
void RISCVELFStreamer::reset() { … }
void RISCVELFStreamer::emitDataMappingSymbol() { … }
void RISCVELFStreamer::emitInstructionsMappingSymbol() { … }
void RISCVELFStreamer::emitMappingSymbol(StringRef Name) { … }
void RISCVELFStreamer::changeSection(MCSection *Section, uint32_t Subsection) { … }
void RISCVELFStreamer::emitInstruction(const MCInst &Inst,
const MCSubtargetInfo &STI) { … }
void RISCVELFStreamer::emitBytes(StringRef Data) { … }
void RISCVELFStreamer::emitFill(const MCExpr &NumBytes, uint64_t FillValue,
SMLoc Loc) { … }
void RISCVELFStreamer::emitValueImpl(const MCExpr *Value, unsigned Size,
SMLoc Loc) { … }
namespace llvm {
MCELFStreamer *createRISCVELFStreamer(MCContext &C,
std::unique_ptr<MCAsmBackend> MAB,
std::unique_ptr<MCObjectWriter> MOW,
std::unique_ptr<MCCodeEmitter> MCE) { … }
}