LLVM 20.0.0git
|
#include "Target/Mips/MipsTargetStreamer.h"
Protected Attributes | |
std::optional< MipsABIInfo > | ABI |
MipsABIFlagsSection | ABIFlagsSection |
bool | GPRInfoSet |
unsigned | GPRBitMask |
int | GPROffset |
bool | FPRInfoSet |
unsigned | FPRBitMask |
int | FPROffset |
bool | FrameInfoSet |
int | FrameOffset |
unsigned | FrameReg |
unsigned | GPReg |
unsigned | ReturnReg |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
Definition at line 23 of file MipsTargetStreamer.h.
MipsTargetStreamer::MipsTargetStreamer | ( | MCStreamer & | S | ) |
Definition at line 48 of file MipsTargetStreamer.cpp.
References FPRInfoSet, FrameInfoSet, and GPRInfoSet.
void MipsTargetStreamer::emitAddu | ( | unsigned | DstReg, |
unsigned | SrcReg, | ||
unsigned | TrgReg, | ||
bool | Is64Bit, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 267 of file MipsTargetStreamer.cpp.
References emitRRR().
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpAdd().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 78 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 121 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 122 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 123 of file MipsTargetStreamer.cpp.
References forbidModuleDirective(), getABI(), and GPReg.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveCpLocal(), and llvm::MipsTargetELFStreamer::emitDirectiveCpLocal().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 140 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveCpRestore(), and llvm::MipsTargetELFStreamer::emitDirectiveCpRestore().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 149 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 146 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 76 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionBodyEnd().
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 77 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 83 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsAsmPrinter::emitBasicBlockEnd(), llvm::MipsTargetAsmStreamer::emitDirectiveInsn(), and llvm::MipsTargetELFStreamer::emitDirectiveInsn().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 161 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 152 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 165 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 159 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 160 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 162 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 166 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 164 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 154 of file MipsTargetStreamer.cpp.
References ABIFlagsSection, llvm::MipsABIFlagsSection::Is32BitABI, llvm::MipsABIFlagsSection::OddSPReg, and llvm::report_fatal_error().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleOddSPReg(), and llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 158 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 163 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 79 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 80 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 81 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 82 of file MipsTargetStreamer.cpp.
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 89 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetArch().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 71 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetAt(), and llvm::MipsAsmPrinter::emitFunctionBodyEnd().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 72 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetAtWithArg().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 65 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetCRC().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 116 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetDsp().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 117 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetDspr2().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 167 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetFp().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 69 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetGINV().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 113 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetHardFloat().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 59 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMacro(), and llvm::MipsAsmPrinter::emitFunctionBodyEnd().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 52 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 92 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips0().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 93 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips1().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 55 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 94 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips2().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 95 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips3().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 98 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips32().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 99 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips32R2().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 100 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips32R3().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 101 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips32R5().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 102 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips32R6().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 119 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips3D().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 96 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips4().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 97 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips5().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 103 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips64().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 104 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips64R2().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 105 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips64R3().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 106 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips64R5().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 107 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMips64R6().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 61 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMsa().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 63 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetMt().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 75 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoAt(), and llvm::MipsAsmPrinter::emitFunctionBodyStart().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 66 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoCRC().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 118 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoDsp().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 70 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoGINV().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 60 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMacro(), and llvm::MipsAsmPrinter::emitFunctionBodyStart().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 53 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 56 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMips16(), and llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 120 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMips3D().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 62 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMsa().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 64 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMt().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 172 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoOddSPReg().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 58 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionBodyStart().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 68 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetNoVirt().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 171 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetOddSPReg().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 108 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetPop().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 109 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetPush().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 57 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetReorder(), and llvm::MipsAsmPrinter::emitFunctionBodyEnd().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 110 of file MipsTargetStreamer.cpp.
References forbidModuleDirective().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetSoftFloat().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer.
Definition at line 67 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveSetVirt().
void MipsTargetStreamer::emitDSLL | ( | unsigned | DstReg, |
unsigned | SrcReg, | ||
int16_t | ShiftAmount, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 274 of file MipsTargetStreamer.cpp.
References emitRRI().
void MipsTargetStreamer::emitEmptyDelaySlot | ( | bool | hasShortDelaySlot, |
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 285 of file MipsTargetStreamer.cpp.
References emitRR(), emitRRI(), hasShortDelaySlot(), isMicroMips(), and isMips32r6().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 87 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::printSavedRegsBitmask().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 84 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFrameDirective().
void MipsTargetStreamer::emitGPRestore | ( | int | Offset, |
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Emit the $gp restore operation for .cprestore.
Definition at line 309 of file MipsTargetStreamer.cpp.
References emitLoadWithImmOffset(), GPReg, and llvm::Offset.
void MipsTargetStreamer::emitII | ( | unsigned | Opcode, |
int16_t | Imm1, | ||
int16_t | Imm2, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 205 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
void MipsTargetStreamer::emitLoadWithImmOffset | ( | unsigned | Opcode, |
unsigned | DstReg, | ||
unsigned | BaseReg, | ||
int64_t | Offset, | ||
unsigned | TmpReg, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Emit a load instruction with an immediate offset.
DstReg and TmpReg are permitted to be the same register iff DstReg is distinct from BaseReg and DstReg is a GPR. It is the callers responsibility to identify such cases and pass the appropriate register in TmpReg.
Definition at line 352 of file MipsTargetStreamer.cpp.
References emitRI(), emitRRI(), emitRRR(), and llvm::Offset.
Referenced by emitGPRestore().
|
virtual |
Reimplemented in llvm::MipsTargetAsmStreamer, and llvm::MipsTargetELFStreamer.
Definition at line 86 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::printSavedRegsBitmask().
void MipsTargetStreamer::emitNop | ( | SMLoc | IDLoc, |
const MCSubtargetInfo * | STI | ||
) |
Definition at line 301 of file MipsTargetStreamer.cpp.
References emitRR(), emitRRI(), and isMicroMips().
void MipsTargetStreamer::emitR | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 176 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
void MipsTargetStreamer::emitRI | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
int32_t | Imm, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 195 of file MipsTargetStreamer.cpp.
References llvm::MCOperand::createImm(), and emitRX().
Referenced by emitLoadWithImmOffset(), and emitStoreWithImmOffset().
void MipsTargetStreamer::emitRR | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 200 of file MipsTargetStreamer.cpp.
References llvm::MCOperand::createReg(), and emitRX().
Referenced by emitEmptyDelaySlot(), and emitNop().
void MipsTargetStreamer::emitRRI | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
int16_t | Imm, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 246 of file MipsTargetStreamer.cpp.
References llvm::MCOperand::createImm(), and emitRRX().
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), emitDSLL(), emitEmptyDelaySlot(), emitLoadWithImmOffset(), emitNop(), and emitStoreWithImmOffset().
void MipsTargetStreamer::emitRRIII | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
int16_t | Imm0, | ||
int16_t | Imm1, | ||
int16_t | Imm2, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 252 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
void MipsTargetStreamer::emitRRR | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
unsigned | Reg2, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 227 of file MipsTargetStreamer.cpp.
References llvm::MCOperand::createReg(), and emitRRX().
Referenced by emitAddu(), llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), emitLoadWithImmOffset(), and emitStoreWithImmOffset().
void MipsTargetStreamer::emitRRRX | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
unsigned | Reg2, | ||
MCOperand | Op3, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 233 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
void MipsTargetStreamer::emitRRX | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
unsigned | Reg1, | ||
MCOperand | Op2, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 215 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), emitRRI(), and emitRRR().
void MipsTargetStreamer::emitRX | ( | unsigned | Opcode, |
unsigned | Reg0, | ||
MCOperand | Op1, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Definition at line 185 of file MipsTargetStreamer.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createReg(), llvm::MCStreamer::emitInstruction(), llvm::MCTargetStreamer::getStreamer(), llvm::MCInst::setLoc(), and llvm::MCInst::setOpcode().
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), emitRI(), and emitRR().
void MipsTargetStreamer::emitStoreWithImmOffset | ( | unsigned | Opcode, |
unsigned | SrcReg, | ||
unsigned | BaseReg, | ||
int64_t | Offset, | ||
function_ref< unsigned()> | GetATReg, | ||
SMLoc | IDLoc, | ||
const MCSubtargetInfo * | STI | ||
) |
Emit a store instruction with an offset.
Emit a store instruction with an immediate offset.
If the offset is out of range then it will be synthesized using the assembler temporary.
GetATReg() is a callback that can be used to obtain the current assembler temporary and is only called when the assembler temporary is required. It must handle the case where no assembler temporary is available (typically by reporting an error).
Definition at line 315 of file MipsTargetStreamer.cpp.
References emitRI(), emitRRI(), emitRRR(), and llvm::Offset.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpRestore().
|
inline |
Definition at line 166 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveCpAdd(), llvm::MipsTargetELFStreamer::emitDirectiveCpAdd(), llvm::MipsTargetAsmStreamer::emitDirectiveCpLoad(), llvm::MipsTargetELFStreamer::emitDirectiveCpLoad(), emitDirectiveCpLocal(), emitDirectiveCpRestore(), llvm::MipsTargetAsmStreamer::emitDirectiveCpreturn(), llvm::MipsTargetELFStreamer::emitDirectiveCpreturn(), llvm::MipsTargetAsmStreamer::emitDirectiveCpsetup(), llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), emitDirectiveInsn(), emitDirectiveSetArch(), emitDirectiveSetAt(), emitDirectiveSetAtWithArg(), emitDirectiveSetDsp(), emitDirectiveSetDspr2(), emitDirectiveSetFp(), emitDirectiveSetHardFloat(), emitDirectiveSetMacro(), llvm::MipsTargetAsmStreamer::emitDirectiveSetMicroMips(), llvm::MipsTargetELFStreamer::emitDirectiveSetMicroMips(), emitDirectiveSetMips0(), emitDirectiveSetMips1(), llvm::MipsTargetAsmStreamer::emitDirectiveSetMips16(), llvm::MipsTargetELFStreamer::emitDirectiveSetMips16(), emitDirectiveSetMips2(), emitDirectiveSetMips3(), emitDirectiveSetMips32(), emitDirectiveSetMips32R2(), emitDirectiveSetMips32R3(), emitDirectiveSetMips32R5(), emitDirectiveSetMips32R6(), emitDirectiveSetMips3D(), emitDirectiveSetMips4(), emitDirectiveSetMips5(), emitDirectiveSetMips64(), emitDirectiveSetMips64R2(), emitDirectiveSetMips64R3(), emitDirectiveSetMips64R5(), emitDirectiveSetMips64R6(), emitDirectiveSetMsa(), emitDirectiveSetNoAt(), emitDirectiveSetNoDsp(), emitDirectiveSetNoMacro(), llvm::MipsTargetAsmStreamer::emitDirectiveSetNoMicroMips(), llvm::MipsTargetELFStreamer::emitDirectiveSetNoMicroMips(), emitDirectiveSetNoMips16(), emitDirectiveSetNoMips3D(), emitDirectiveSetNoMsa(), emitDirectiveSetNoMt(), emitDirectiveSetNoOddSPReg(), llvm::MipsTargetAsmStreamer::emitDirectiveSetNoReorder(), llvm::MipsTargetELFStreamer::emitDirectiveSetNoReorder(), emitDirectiveSetOddSPReg(), emitDirectiveSetPop(), emitDirectiveSetPush(), emitDirectiveSetReorder(), emitDirectiveSetSoftFloat(), and llvm::MipsAsmPrinter::emitInstruction().
|
inline |
Definition at line 179 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpAdd(), llvm::MipsTargetELFStreamer::emitDirectiveCpLoad(), emitDirectiveCpLocal(), llvm::MipsTargetELFStreamer::emitDirectiveCpRestore(), llvm::MipsTargetELFStreamer::emitDirectiveCpreturn(), llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), llvm::MipsRegInfoRecord::EmitMipsOptionRecord(), and llvm::MipsTargetELFStreamer::finish().
|
inline |
Definition at line 178 of file MipsTargetStreamer.h.
References ABIFlagsSection.
|
inline |
Definition at line 168 of file MipsTargetStreamer.h.
|
inline |
Definition at line 167 of file MipsTargetStreamer.h.
|
inlinevirtual |
Reimplemented in llvm::MipsTargetELFStreamer.
Definition at line 27 of file MipsTargetStreamer.h.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
virtual |
Reimplemented in llvm::MipsTargetELFStreamer.
Definition at line 54 of file MipsTargetStreamer.cpp.
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel().
|
inline |
Definition at line 173 of file MipsTargetStreamer.h.
References ABI, ABIFlagsSection, P, and llvm::MipsABIFlagsSection::setAllFromPredicates().
Referenced by llvm::MipsAsmPrinter::emitFunctionEntryLabel(), and llvm::MipsAsmPrinter::emitStartOfAsmFile().
|
protected |
Definition at line 185 of file MipsTargetStreamer.h.
Referenced by getABI(), llvm::MipsTargetELFStreamer::MipsTargetELFStreamer(), and updateABIInfo().
|
protected |
Definition at line 186 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleFP(), emitDirectiveModuleOddSPReg(), llvm::MipsTargetAsmStreamer::emitDirectiveModuleOddSPReg(), llvm::MipsTargetAsmStreamer::emitDirectiveSetFp(), llvm::MipsTargetELFStreamer::emitMipsAbiFlags(), getABIFlagsSection(), and updateABIInfo().
|
protected |
Definition at line 193 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitFMask().
|
protected |
Definition at line 192 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MipsTargetELFStreamer::emitDirectiveEnt(), llvm::MipsTargetELFStreamer::emitFMask(), and MipsTargetStreamer().
|
protected |
Definition at line 194 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitFMask().
|
protected |
Definition at line 196 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MipsTargetELFStreamer::emitDirectiveEnt(), llvm::MipsTargetELFStreamer::emitFrame(), and MipsTargetStreamer().
|
protected |
Definition at line 197 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitFrame().
|
protected |
Definition at line 198 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitFrame().
|
protected |
Definition at line 189 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitMask().
|
protected |
Definition at line 199 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveCpAdd(), llvm::MipsTargetELFStreamer::emitDirectiveCpLoad(), emitDirectiveCpLocal(), llvm::MipsTargetELFStreamer::emitDirectiveCpRestore(), llvm::MipsTargetELFStreamer::emitDirectiveCpreturn(), llvm::MipsTargetELFStreamer::emitDirectiveCpsetup(), and emitGPRestore().
|
protected |
Definition at line 188 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MipsTargetELFStreamer::emitDirectiveEnt(), llvm::MipsTargetELFStreamer::emitMask(), and MipsTargetStreamer().
|
protected |
Definition at line 190 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), and llvm::MipsTargetELFStreamer::emitMask().
|
protected |
Definition at line 200 of file MipsTargetStreamer.h.
Referenced by llvm::MipsTargetELFStreamer::emitDirectiveEnd(), llvm::MipsTargetAsmStreamer::emitFrame(), and llvm::MipsTargetELFStreamer::emitFrame().