Lines Matching defs:MipsAsmParser

1 //===-- MipsAsmParser.cpp - Parse Mips assembly to MCInst instructions ----===//
136 class MipsAsmParser : public MCTargetAsmParser {
526 MipsAsmParser(const MCSubtargetInfo &sti, MCAsmParser &parser,
843 MipsOperand(KindTy K, MipsAsmParser &Parser) : Kind(K), AsmParser(Parser) {}
862 MipsAsmParser &AsmParser;
904 MipsAsmParser &Parser) {
1504 MipsAsmParser &Parser) {
1517 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1526 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1534 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1542 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1550 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1558 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1566 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1574 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1579 CreateImm(const MCExpr *Val, SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1589 SMLoc E, MipsAsmParser &Parser) {
1600 MipsAsmParser &Parser) {
1872 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
2424 void MipsAsmParser::onEndOfFile() {
2435 MipsAsmParser::MacroExpanderResultTy
2436 MipsAsmParser::tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
2698 bool MipsAsmParser::expandJalWithRegs(MCInst &Inst, SMLoc IDLoc,
2759 bool MipsAsmParser::loadImmediate(int64_t ImmValue, unsigned DstReg,
2926 bool MipsAsmParser::expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
2940 bool MipsAsmParser::expandLoadAddress(unsigned DstReg, unsigned BaseReg,
2971 bool MipsAsmParser::loadAndAddSymbolAddress(const MCExpr *SymExpr,
3354 bool MipsAsmParser::emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc,
3428 bool MipsAsmParser::expandLoadSingleImmToGPR(MCInst &Inst, SMLoc IDLoc,
3444 bool MipsAsmParser::expandLoadSingleImmToFPR(MCInst &Inst, SMLoc IDLoc,
3498 bool MipsAsmParser::expandLoadDoubleImmToGPR(MCInst &Inst, SMLoc IDLoc,
3563 bool MipsAsmParser::expandLoadDoubleImmToFPR(MCInst &Inst, bool Is64FPU,
3636 bool MipsAsmParser::expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
3681 bool MipsAsmParser::expandBranchImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3747 void MipsAsmParser::expandMem16Inst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3874 void MipsAsmParser::expandMem9Inst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3932 bool MipsAsmParser::expandLoadStoreMultiple(MCInst &Inst, SMLoc IDLoc,
3961 bool MipsAsmParser::expandCondBranches(MCInst &Inst, SMLoc IDLoc,
4232 bool MipsAsmParser::expandDivRem(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4403 bool MipsAsmParser::expandTrunc(MCInst &Inst, bool IsDouble, bool Is64FPU,
4442 bool MipsAsmParser::expandUlh(MCInst &Inst, bool Signed, SMLoc IDLoc,
4494 bool MipsAsmParser::expandUsh(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4545 bool MipsAsmParser::expandUxw(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4600 bool MipsAsmParser::expandSge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4634 bool MipsAsmParser::expandSgeImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4690 bool MipsAsmParser::expandSgtImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4737 bool MipsAsmParser::expandSle(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4771 bool MipsAsmParser::expandSleImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4819 bool MipsAsmParser::expandAliasImmediate(MCInst &Inst, SMLoc IDLoc,
4926 bool MipsAsmParser::expandRotation(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4988 bool MipsAsmParser::expandRotationImm(MCInst &Inst, SMLoc IDLoc,
5051 bool MipsAsmParser::expandDRotation(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5113 bool MipsAsmParser::expandDRotationImm(MCInst &Inst, SMLoc IDLoc,
5208 bool MipsAsmParser::expandAbs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5224 bool MipsAsmParser::expandMulImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5247 bool MipsAsmParser::expandMulO(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5289 bool MipsAsmParser::expandMulOU(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5325 bool MipsAsmParser::expandDMULMacro(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5343 bool MipsAsmParser::expandLoadStoreDMacro(MCInst &Inst, SMLoc IDLoc,
5391 bool MipsAsmParser::expandStoreDM1Macro(MCInst &Inst, SMLoc IDLoc,
5428 bool MipsAsmParser::expandSeq(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5454 bool MipsAsmParser::expandSeqI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5508 bool MipsAsmParser::expandSne(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5535 bool MipsAsmParser::expandSneI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5726 bool MipsAsmParser::expandMXTRAlias(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5796 bool MipsAsmParser::expandSaaAddr(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5830 MipsAsmParser::checkEarlyTargetMatchPredicate(MCInst &Inst,
5844 unsigned MipsAsmParser::checkTargetMatchPredicate(MCInst &Inst) {
5995 bool MipsAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
6197 void MipsAsmParser::warnIfRegIndexIsAT(unsigned RegIndex, SMLoc Loc) {
6203 void MipsAsmParser::warnIfNoMacro(SMLoc Loc) {
6208 void MipsAsmParser::ConvertXWPOperands(MCInst &Inst,
6220 MipsAsmParser::printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
6227 int MipsAsmParser::matchCPURegisterName(StringRef Name) {
6305 int MipsAsmParser::matchHWRegsRegisterName(StringRef Name) {
6319 int MipsAsmParser::matchFPURegisterName(StringRef Name) {
6332 int MipsAsmParser::matchFCCRegisterName(StringRef Name) {
6345 int MipsAsmParser::matchACRegisterName(StringRef Name) {
6358 int MipsAsmParser::matchMSA128RegisterName(StringRef Name) {
6370 int MipsAsmParser::matchMSA128CtrlRegisterName(StringRef Name) {
6387 bool MipsAsmParser::canUseATReg() {
6391 unsigned MipsAsmParser::getATReg(SMLoc Loc) {
6403 unsigned MipsAsmParser::getReg(int RC, int RegNo) {
6407 bool MipsAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic) {
6468 bool MipsAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc,
6473 ParseStatus MipsAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
6499 bool MipsAsmParser::parseMemOffset(const MCExpr *&Res, bool isParenExpr) {
6507 ParseStatus MipsAsmParser::parseMemOperand(OperandVector &Operands) {
6639 bool MipsAsmParser::searchSymbolAlias(OperandVector &Operands) {
6680 ParseStatus MipsAsmParser::matchAnyRegisterNameWithoutDollar(
6742 MipsAsmParser::matchAnyRegisterWithoutDollar(OperandVector &Operands,
6770 MipsAsmParser::matchAnyRegisterWithoutDollar(OperandVector &Operands, SMLoc S) {
6775 ParseStatus MipsAsmParser::parseAnyRegister(OperandVector &Operands) {
6802 ParseStatus MipsAsmParser::parseJumpTarget(OperandVector &Operands) {
6824 ParseStatus MipsAsmParser::parseInvNum(OperandVector &Operands) {
6849 ParseStatus MipsAsmParser::parseRegisterList(OperandVector &Operands) {
6930 bool MipsAsmParser::parseParenSuffix(StringRef Name, OperandVector &Operands) {
6957 bool MipsAsmParser::parseBracketSuffix(StringRef Name,
6982 bool MipsAsmParser::areEqualRegs(const MCParsedAsmOperand &Op1,
6995 bool MipsAsmParser::ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
7049 bool MipsAsmParser::reportParseError(const Twine &ErrorMsg) {
7054 bool MipsAsmParser::reportParseError(SMLoc Loc, const Twine &ErrorMsg) {
7058 bool MipsAsmParser::parseSetNoAtDirective() {
7078 bool MipsAsmParser::parseSetAtDirective() {
7141 bool MipsAsmParser::parseSetReorderDirective() {
7155 bool MipsAsmParser::parseSetNoReorderDirective() {
7169 bool MipsAsmParser::parseSetMacroDirective() {
7183 bool MipsAsmParser::parseSetNoMacroDirective() {
7201 bool MipsAsmParser::parseSetMsaDirective() {
7214 bool MipsAsmParser::parseSetNoMsaDirective() {
7227 bool MipsAsmParser::parseSetNoDspDirective() {
7242 bool MipsAsmParser::parseSetNoMips3DDirective() {
7257 bool MipsAsmParser::parseSetMips16Directive() {
7273 bool MipsAsmParser::parseSetNoMips16Directive() {
7289 bool MipsAsmParser::parseSetFpDirective() {
7316 bool MipsAsmParser::parseSetOddSPRegDirective() {
7330 bool MipsAsmParser::parseSetNoOddSPRegDirective() {
7344 bool MipsAsmParser::parseSetMtDirective() {
7360 bool MipsAsmParser::parseSetNoMtDirective() {
7377 bool MipsAsmParser::parseSetNoCRCDirective() {
7394 bool MipsAsmParser::parseSetNoVirtDirective() {
7411 bool MipsAsmParser::parseSetNoGINVDirective() {
7428 bool MipsAsmParser::parseSetPopDirective() {
7451 bool MipsAsmParser::parseSetPushDirective() {
7465 bool MipsAsmParser::parseSetSoftFloatDirective() {
7476 bool MipsAsmParser::parseSetHardFloatDirective() {
7487 bool MipsAsmParser::parseSetAssignment() {
7519 bool MipsAsmParser::parseSetMips0Directive() {
7536 bool MipsAsmParser::parseSetArchDirective() {
7580 bool MipsAsmParser::parseSetFeature(uint64_t Feature) {
7681 bool MipsAsmParser::eatComma(StringRef ErrorStr) {
7695 // MipsTargetELFStreamer and MipsAsmParser.
7696 bool MipsAsmParser::isPicAndNotNxxAbi() {
7700 bool MipsAsmParser::parseDirectiveCpAdd(SMLoc Loc) {
7725 bool MipsAsmParser::parseDirectiveCpLoad(SMLoc Loc) {
7757 bool MipsAsmParser::parseDirectiveCpLocal(SMLoc Loc) {
7791 bool MipsAsmParser::parseDirectiveCpRestore(SMLoc Loc) {
7836 bool MipsAsmParser::parseDirectiveCPSetup() {
7907 bool MipsAsmParser::parseDirectiveCPReturn() {
7913 bool MipsAsmParser::parseDirectiveNaN() {
7934 bool MipsAsmParser::parseDirectiveSet() {
8068 bool MipsAsmParser::parseDirectiveGpWord() {
8086 bool MipsAsmParser::parseDirectiveGpDWord() {
8104 bool MipsAsmParser::parseDirectiveDtpRelWord() {
8122 bool MipsAsmParser::parseDirectiveDtpRelDWord() {
8140 bool MipsAsmParser::parseDirectiveTpRelWord() {
8158 bool MipsAsmParser::parseDirectiveTpRelDWord() {
8174 bool MipsAsmParser::parseDirectiveOption() {
8187 // MipsAsmParser needs to know if the current PIC mode changes.
8200 // MipsAsmParser needs to know if the current PIC mode changes.
8221 bool MipsAsmParser::parseInsnDirective() {
8238 bool MipsAsmParser::parseRSectionDirective(StringRef Section) {
8256 bool MipsAsmParser::parseSSectionDirective(StringRef Section, unsigned Type) {
8284 bool MipsAsmParser::parseDirectiveModule() {
8525 bool MipsAsmParser::parseDirectiveModuleFP() {
8557 bool MipsAsmParser::parseFpABIValue(MipsABIFlagsSection::FpABIKind &FpABI,
8628 bool MipsAsmParser::ParseDirective(AsmToken DirectiveID) {
8950 bool MipsAsmParser::parseInternalDirectiveReallowModule() {
8964 RegisterMCAsmParser<MipsAsmParser> X(getTheMipsTarget());
8965 RegisterMCAsmParser<MipsAsmParser> Y(getTheMipselTarget());
8966 RegisterMCAsmParser<MipsAsmParser> A(getTheMips64Target());
8967 RegisterMCAsmParser<MipsAsmParser> B(getTheMips64elTarget());
8975 bool MipsAsmParser::mnemonicIsValid(StringRef Mnemonic, unsigned VariantID) {