LLVM
8.0.1
|
#include "Target/Mips/MipsTargetStreamer.h"
Additional Inherited Members | |
Protected Attributes inherited from llvm::MipsTargetStreamer | |
llvm::Optional< MipsABIInfo > | ABI |
MipsABIFlagsSection | ABIFlagsSection |
bool | GPRInfoSet |
unsigned | GPRBitMask |
int | GPROffset |
bool | FPRInfoSet |
unsigned | FPRBitMask |
int | FPROffset |
bool | FrameInfoSet |
int | FrameOffset |
unsigned | FrameReg |
unsigned | ReturnReg |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
Definition at line 311 of file MipsTargetStreamer.h.
MipsTargetELFStreamer::MipsTargetELFStreamer | ( | MCStreamer & | S, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 771 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::ABI, llvm::ELF::EF_MIPS_ARCH_1, llvm::ELF::EF_MIPS_ARCH_2, llvm::ELF::EF_MIPS_ARCH_3, llvm::ELF::EF_MIPS_ARCH_32, llvm::ELF::EF_MIPS_ARCH_32R2, llvm::ELF::EF_MIPS_ARCH_32R6, llvm::ELF::EF_MIPS_ARCH_4, llvm::ELF::EF_MIPS_ARCH_5, llvm::ELF::EF_MIPS_ARCH_64, llvm::ELF::EF_MIPS_ARCH_64R2, llvm::ELF::EF_MIPS_ARCH_64R6, llvm::ELF::EF_MIPS_MACH_OCTEON, llvm::ELF::EF_MIPS_NAN2008, Features, llvm::Triple::getArch(), llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCAssembler::getELFHeaderEFlags(), llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCContext::getObjectFileInfo(), getStreamer(), llvm::MCSubtargetInfo::getTargetTriple(), llvm::MCObjectFileInfo::isPositionIndependent(), llvm::MipsABIInfo::N64(), llvm::MipsABIInfo::O32(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MCTargetStreamer.
Definition at line 935 of file MipsTargetStreamer.cpp.
References llvm::MCExpr::getKind(), llvm::object::getSymbol(), llvm::ELF::STO_MIPS_MICROMIPS, llvm::ARMBuildAttrs::Symbol, and llvm::MCExpr::SymbolRef.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1042 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_CPIC, llvm::ELF::EF_MIPS_PIC, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1115 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCInst::clear(), llvm::MipsMCExpr::create(), llvm::MCSymbolRefExpr::create(), llvm::MCOperand::createExpr(), llvm::MCOperand::createReg(), llvm::MCObjectStreamer::EmitInstruction(), llvm::MipsTargetStreamer::forbidModuleDirective(), llvm::MipsTargetStreamer::getABI(), llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCContext::getOrCreateSymbol(), getStreamer(), llvm::MipsMCExpr::MEK_HI, llvm::MipsMCExpr::MEK_LO, llvm::MCAssembler::registerSymbol(), llvm::MCInst::setOpcode(), and llvm::MCSymbolRefExpr::VK_None.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1172 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::emitDirectiveCpRestore(), llvm::MipsTargetStreamer::emitStoreWithImmOffset(), and llvm::MipsTargetStreamer::getABI().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1252 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCObjectStreamer::EmitInstruction(), llvm::MipsTargetStreamer::forbidModuleDirective(), llvm::MipsTargetStreamer::getABI(), getStreamer(), llvm::ARM_MB::LD, OR, and llvm::MCInst::setOpcode().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1193 of file MipsTargetStreamer.cpp.
References llvm::MipsMCExpr::create(), llvm::MCSymbolRefExpr::create(), llvm::MCOperand::createExpr(), llvm::MipsMCExpr::createGpOff(), llvm::MipsTargetStreamer::emitRRI(), llvm::MipsTargetStreamer::emitRRR(), llvm::MipsTargetStreamer::emitRRX(), llvm::MipsTargetStreamer::emitRX(), llvm::MipsTargetStreamer::forbidModuleDirective(), llvm::MipsTargetStreamer::getABI(), llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCContext::getOrCreateSymbol(), getStreamer(), llvm::MipsMCExpr::MEK_HI, and llvm::MipsMCExpr::MEK_LO.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 986 of file MipsTargetStreamer.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCContext::createTempSymbol(), llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitValueImpl(), llvm::MipsTargetStreamer::FPRBitMask, llvm::MipsTargetStreamer::FPRInfoSet, llvm::MipsTargetStreamer::FPROffset, llvm::MipsTargetStreamer::FrameInfoSet, llvm::MipsTargetStreamer::FrameOffset, llvm::MipsTargetStreamer::FrameReg, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCContext::getELFSection(), llvm::MCContext::getOrCreateSymbol(), getStreamer(), llvm::MipsTargetStreamer::GPRBitMask, llvm::MipsTargetStreamer::GPRInfoSet, llvm::MipsTargetStreamer::GPROffset, llvm::MCStreamer::PopSection(), llvm::MCStreamer::PushSection(), llvm::MCAssembler::registerSection(), llvm::MipsTargetStreamer::ReturnReg, llvm::MCSection::setAlignment(), llvm::ELF::SHT_PROGBITS, Size, llvm::MCStreamer::SwitchSection(), and llvm::MCSymbolRefExpr::VK_None.
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1035 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::FPRInfoSet, llvm::MipsTargetStreamer::FrameInfoSet, llvm::MipsTargetStreamer::GPRInfoSet, llvm::ELF::STT_FUNC, and llvm::ARMBuildAttrs::Symbol.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1084 of file MipsTargetStreamer.cpp.
References llvm::MipsELFStreamer::createPendingLabelRelocs(), llvm::MipsTargetStreamer::emitDirectiveInsn(), and llvm::MCTargetStreamer::Streamer.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1049 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_NAN2008, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1056 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_NAN2008, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1063 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_PIC, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1072 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_CPIC, llvm::ELF::EF_MIPS_PIC, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 953 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::forbidModuleDirective().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 970 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_ARCH_ASE_M16, llvm::MipsTargetStreamer::forbidModuleDirective(), llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 958 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::forbidModuleDirective().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 978 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_NOREORDER, llvm::MipsTargetStreamer::forbidModuleDirective(), llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1108 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::FPRBitMask, llvm::MipsTargetStreamer::FPRInfoSet, and llvm::MipsTargetStreamer::FPROffset.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1090 of file MipsTargetStreamer.cpp.
References Context, llvm::MipsTargetStreamer::FrameInfoSet, llvm::MipsTargetStreamer::FrameOffset, llvm::MipsTargetStreamer::FrameReg, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCRegisterInfo::getEncodingValue(), llvm::MCContext::getRegisterInfo(), getStreamer(), and llvm::MipsTargetStreamer::ReturnReg.
|
overridevirtual |
Reimplemented from llvm::MCTargetStreamer.
Definition at line 850 of file MipsTargetStreamer.cpp.
References llvm::MCObjectStreamer::getAssembler(), getStreamer(), isMicroMipsEnabled(), llvm::MCAssembler::registerSymbol(), llvm::ELF::STO_MIPS_MICROMIPS, llvm::ELF::STT_FUNC, and llvm::ARMBuildAttrs::Symbol.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 1101 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::GPRBitMask, llvm::MipsTargetStreamer::GPRInfoSet, and llvm::MipsTargetStreamer::GPROffset.
void MipsTargetELFStreamer::emitMipsAbiFlags | ( | ) |
Definition at line 1276 of file MipsTargetStreamer.cpp.
References llvm::MipsTargetStreamer::ABIFlagsSection, Context, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getContext(), llvm::MCContext::getELFSection(), getStreamer(), llvm::MCAssembler::registerSection(), llvm::MCSection::setAlignment(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_MIPS_ABIFLAGS, and llvm::MCStreamer::SwitchSection().
Referenced by finish().
|
overridevirtual |
Reimplemented from llvm::MCTargetStreamer.
Definition at line 861 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_32BITMODE, llvm::ELF::EF_MIPS_ABI2, llvm::ELF::EF_MIPS_ABI_O32, llvm::ELF::EF_MIPS_CPIC, llvm::ELF::EF_MIPS_PIC, llvm::MCStreamer::EmitCodeAlignment(), emitMipsAbiFlags(), llvm::MipsELFStreamer::EmitMipsOptionRecords(), llvm::MCStreamer::EmitValueToAlignment(), Features, llvm::MipsTargetStreamer::getABI(), llvm::MCSection::getAlignment(), llvm::MCObjectStreamer::getAssembler(), llvm::MCObjectFileInfo::getBSSSection(), llvm::MCAssembler::getContext(), llvm::MCObjectFileInfo::getDataSection(), llvm::MCAssembler::getELFHeaderEFlags(), llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCContext::getObjectFileInfo(), getStreamer(), llvm::MCObjectFileInfo::getTextSection(), llvm::max(), llvm::MCAssembler::registerSection(), llvm::ARMBuildAttrs::Section, llvm::MCSection::setAlignment(), llvm::MCAssembler::setELFHeaderEFlags(), llvm::MCTargetStreamer::Streamer, llvm::MCStreamer::SwitchSection(), and llvm::MCSectionELF::UseCodeAlign().
MCELFStreamer & MipsTargetELFStreamer::getStreamer | ( | ) |
Definition at line 949 of file MipsTargetStreamer.cpp.
References llvm::MCTargetStreamer::Streamer.
Referenced by emitDirectiveAbiCalls(), emitDirectiveCpLoad(), emitDirectiveCpreturn(), emitDirectiveCpsetup(), emitDirectiveEnd(), emitDirectiveNaN2008(), emitDirectiveNaNLegacy(), emitDirectiveOptionPic0(), emitDirectiveOptionPic2(), emitDirectiveSetMips16(), emitDirectiveSetNoReorder(), emitFrame(), emitLabel(), emitMipsAbiFlags(), finish(), MipsTargetELFStreamer(), and setUsesMicroMips().
|
inline |
Definition at line 317 of file MipsTargetStreamer.h.
References llvm::MCTargetStreamer::getStreamer().
Referenced by llvm::MipsELFStreamer::createPendingLabelRelocs(), and emitLabel().
|
inlineoverridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 321 of file MipsTargetStreamer.h.
References llvm::MCTargetStreamer::emitAssignment(), llvm::MipsTargetStreamer::emitDirectiveAbiCalls(), llvm::MipsTargetStreamer::emitDirectiveCpLoad(), llvm::MipsTargetStreamer::emitDirectiveCpRestore(), llvm::MipsTargetStreamer::emitDirectiveCpreturn(), llvm::MipsTargetStreamer::emitDirectiveCpsetup(), llvm::MipsTargetStreamer::emitDirectiveEnd(), llvm::MipsTargetStreamer::emitDirectiveEnt(), llvm::MipsTargetStreamer::emitDirectiveInsn(), llvm::MipsTargetStreamer::emitDirectiveNaN2008(), llvm::MipsTargetStreamer::emitDirectiveNaNLegacy(), llvm::MipsTargetStreamer::emitDirectiveOptionPic0(), llvm::MipsTargetStreamer::emitDirectiveOptionPic2(), llvm::MipsTargetStreamer::emitDirectiveSetMicroMips(), llvm::MipsTargetStreamer::emitDirectiveSetMips16(), llvm::MipsTargetStreamer::emitDirectiveSetNoMicroMips(), llvm::MipsTargetStreamer::emitDirectiveSetNoReorder(), llvm::MipsTargetStreamer::emitFMask(), llvm::MipsTargetStreamer::emitFrame(), llvm::MCTargetStreamer::emitLabel(), llvm::MipsTargetStreamer::emitMask(), llvm::MCTargetStreamer::finish(), Name, llvm::MipsTargetStreamer::ReturnReg, llvm::MipsTargetStreamer::setUsesMicroMips(), and llvm::ARMBuildAttrs::Symbol.
|
overridevirtual |
Reimplemented from llvm::MipsTargetStreamer.
Definition at line 963 of file MipsTargetStreamer.cpp.
References llvm::ELF::EF_MIPS_MICROMIPS, llvm::MCObjectStreamer::getAssembler(), llvm::MCAssembler::getELFHeaderEFlags(), getStreamer(), and llvm::MCAssembler::setELFHeaderEFlags().