Lines Matching defs:MipsAsmParser
1 //===-- MipsAsmParser.cpp - Parse Mips assembly to MCInst instructions ----===//
135 class MipsAsmParser : public MCTargetAsmParser {
525 MipsAsmParser(const MCSubtargetInfo &sti, MCAsmParser &parser,
842 MipsOperand(KindTy K, MipsAsmParser &Parser) : Kind(K), AsmParser(Parser) {}
861 MipsAsmParser &AsmParser;
903 MipsAsmParser &Parser) {
1503 MipsAsmParser &Parser) {
1516 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1525 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1533 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1541 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1549 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1557 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1565 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1573 SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1578 CreateImm(const MCExpr *Val, SMLoc S, SMLoc E, MipsAsmParser &Parser) {
1588 SMLoc E, MipsAsmParser &Parser) {
1599 MipsAsmParser &Parser) {
1871 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
2427 void MipsAsmParser::onEndOfFile() {
2438 MipsAsmParser::MacroExpanderResultTy
2439 MipsAsmParser::tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
2701 bool MipsAsmParser::expandJalWithRegs(MCInst &Inst, SMLoc IDLoc,
2762 bool MipsAsmParser::loadImmediate(int64_t ImmValue, unsigned DstReg,
2929 bool MipsAsmParser::expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
2943 bool MipsAsmParser::expandLoadAddress(unsigned DstReg, unsigned BaseReg,
2974 bool MipsAsmParser::loadAndAddSymbolAddress(const MCExpr *SymExpr,
3357 bool MipsAsmParser::emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc,
3431 bool MipsAsmParser::expandLoadSingleImmToGPR(MCInst &Inst, SMLoc IDLoc,
3447 bool MipsAsmParser::expandLoadSingleImmToFPR(MCInst &Inst, SMLoc IDLoc,
3501 bool MipsAsmParser::expandLoadDoubleImmToGPR(MCInst &Inst, SMLoc IDLoc,
3566 bool MipsAsmParser::expandLoadDoubleImmToFPR(MCInst &Inst, bool Is64FPU,
3639 bool MipsAsmParser::expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
3684 bool MipsAsmParser::expandBranchImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3750 void MipsAsmParser::expandMem16Inst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3877 void MipsAsmParser::expandMem9Inst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
3935 bool MipsAsmParser::expandLoadStoreMultiple(MCInst &Inst, SMLoc IDLoc,
3964 bool MipsAsmParser::expandCondBranches(MCInst &Inst, SMLoc IDLoc,
4235 bool MipsAsmParser::expandDivRem(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4406 bool MipsAsmParser::expandTrunc(MCInst &Inst, bool IsDouble, bool Is64FPU,
4445 bool MipsAsmParser::expandUlh(MCInst &Inst, bool Signed, SMLoc IDLoc,
4497 bool MipsAsmParser::expandUsh(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4548 bool MipsAsmParser::expandUxw(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4603 bool MipsAsmParser::expandSge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4637 bool MipsAsmParser::expandSgeImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4693 bool MipsAsmParser::expandSgtImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4740 bool MipsAsmParser::expandSle(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4774 bool MipsAsmParser::expandSleImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4822 bool MipsAsmParser::expandAliasImmediate(MCInst &Inst, SMLoc IDLoc,
4929 bool MipsAsmParser::expandRotation(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
4991 bool MipsAsmParser::expandRotationImm(MCInst &Inst, SMLoc IDLoc,
5054 bool MipsAsmParser::expandDRotation(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5116 bool MipsAsmParser::expandDRotationImm(MCInst &Inst, SMLoc IDLoc,
5211 bool MipsAsmParser::expandAbs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5227 bool MipsAsmParser::expandMulImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5250 bool MipsAsmParser::expandMulO(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5292 bool MipsAsmParser::expandMulOU(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5328 bool MipsAsmParser::expandDMULMacro(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5346 bool MipsAsmParser::expandLoadStoreDMacro(MCInst &Inst, SMLoc IDLoc,
5394 bool MipsAsmParser::expandStoreDM1Macro(MCInst &Inst, SMLoc IDLoc,
5431 bool MipsAsmParser::expandSeq(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5457 bool MipsAsmParser::expandSeqI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5511 bool MipsAsmParser::expandSne(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5538 bool MipsAsmParser::expandSneI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5729 bool MipsAsmParser::expandMXTRAlias(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5799 bool MipsAsmParser::expandSaaAddr(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
5833 MipsAsmParser::checkEarlyTargetMatchPredicate(MCInst &Inst,
5847 unsigned MipsAsmParser::checkTargetMatchPredicate(MCInst &Inst) {
5998 bool MipsAsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
6200 void MipsAsmParser::warnIfRegIndexIsAT(unsigned RegIndex, SMLoc Loc) {
6206 void MipsAsmParser::warnIfNoMacro(SMLoc Loc) {
6211 void MipsAsmParser::ConvertXWPOperands(MCInst &Inst,
6223 MipsAsmParser::printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
6230 int MipsAsmParser::matchCPURegisterName(StringRef Name) {
6308 int MipsAsmParser::matchHWRegsRegisterName(StringRef Name) {
6322 int MipsAsmParser::matchFPURegisterName(StringRef Name) {
6335 int MipsAsmParser::matchFCCRegisterName(StringRef Name) {
6348 int MipsAsmParser::matchACRegisterName(StringRef Name) {
6361 int MipsAsmParser::matchMSA128RegisterName(StringRef Name) {
6373 int MipsAsmParser::matchMSA128CtrlRegisterName(StringRef Name) {
6390 bool MipsAsmParser::canUseATReg() {
6394 unsigned MipsAsmParser::getATReg(SMLoc Loc) {
6406 unsigned MipsAsmParser::getReg(int RC, int RegNo) {
6410 bool MipsAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic) {
6476 bool MipsAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc,
6481 ParseStatus MipsAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
6507 bool MipsAsmParser::parseMemOffset(const MCExpr *&Res, bool isParenExpr) {
6515 ParseStatus MipsAsmParser::parseMemOperand(OperandVector &Operands) {
6647 bool MipsAsmParser::searchSymbolAlias(OperandVector &Operands) {
6688 ParseStatus MipsAsmParser::matchAnyRegisterNameWithoutDollar(
6750 MipsAsmParser::matchAnyRegisterWithoutDollar(OperandVector &Operands,
6778 MipsAsmParser::matchAnyRegisterWithoutDollar(OperandVector &Operands, SMLoc S) {
6783 ParseStatus MipsAsmParser::parseAnyRegister(OperandVector &Operands) {
6810 ParseStatus MipsAsmParser::parseJumpTarget(OperandVector &Operands) {
6832 ParseStatus MipsAsmParser::parseInvNum(OperandVector &Operands) {
6857 ParseStatus MipsAsmParser::parseRegisterList(OperandVector &Operands) {
6938 bool MipsAsmParser::parseParenSuffix(StringRef Name, OperandVector &Operands) {
6965 bool MipsAsmParser::parseBracketSuffix(StringRef Name,
6990 bool MipsAsmParser::areEqualRegs(const MCParsedAsmOperand &Op1,
7003 bool MipsAsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
7057 bool MipsAsmParser::reportParseError(const Twine &ErrorMsg) {
7062 bool MipsAsmParser::reportParseError(SMLoc Loc, const Twine &ErrorMsg) {
7066 bool MipsAsmParser::parseSetNoAtDirective() {
7086 bool MipsAsmParser::parseSetAtDirective() {
7149 bool MipsAsmParser::parseSetReorderDirective() {
7163 bool MipsAsmParser::parseSetNoReorderDirective() {
7177 bool MipsAsmParser::parseSetMacroDirective() {
7191 bool MipsAsmParser::parseSetNoMacroDirective() {
7209 bool MipsAsmParser::parseSetMsaDirective() {
7222 bool MipsAsmParser::parseSetNoMsaDirective() {
7235 bool MipsAsmParser::parseSetNoDspDirective() {
7250 bool MipsAsmParser::parseSetNoMips3DDirective() {
7265 bool MipsAsmParser::parseSetMips16Directive() {
7281 bool MipsAsmParser::parseSetNoMips16Directive() {
7297 bool MipsAsmParser::parseSetFpDirective() {
7324 bool MipsAsmParser::parseSetOddSPRegDirective() {
7338 bool MipsAsmParser::parseSetNoOddSPRegDirective() {
7352 bool MipsAsmParser::parseSetMtDirective() {
7368 bool MipsAsmParser::parseSetNoMtDirective() {
7385 bool MipsAsmParser::parseSetNoCRCDirective() {
7402 bool MipsAsmParser::parseSetNoVirtDirective() {
7419 bool MipsAsmParser::parseSetNoGINVDirective() {
7436 bool MipsAsmParser::parseSetPopDirective() {
7459 bool MipsAsmParser::parseSetPushDirective() {
7473 bool MipsAsmParser::parseSetSoftFloatDirective() {
7484 bool MipsAsmParser::parseSetHardFloatDirective() {
7495 bool MipsAsmParser::parseSetAssignment() {
7527 bool MipsAsmParser::parseSetMips0Directive() {
7544 bool MipsAsmParser::parseSetArchDirective() {
7588 bool MipsAsmParser::parseSetFeature(uint64_t Feature) {
7689 bool MipsAsmParser::eatComma(StringRef ErrorStr) {
7703 // MipsTargetELFStreamer and MipsAsmParser.
7704 bool MipsAsmParser::isPicAndNotNxxAbi() {
7708 bool MipsAsmParser::parseDirectiveCpAdd(SMLoc Loc) {
7733 bool MipsAsmParser::parseDirectiveCpLoad(SMLoc Loc) {
7765 bool MipsAsmParser::parseDirectiveCpLocal(SMLoc Loc) {
7799 bool MipsAsmParser::parseDirectiveCpRestore(SMLoc Loc) {
7844 bool MipsAsmParser::parseDirectiveCPSetup() {
7915 bool MipsAsmParser::parseDirectiveCPReturn() {
7921 bool MipsAsmParser::parseDirectiveNaN() {
7942 bool MipsAsmParser::parseDirectiveSet() {
8076 bool MipsAsmParser::parseDirectiveGpWord() {
8094 bool MipsAsmParser::parseDirectiveGpDWord() {
8112 bool MipsAsmParser::parseDirectiveDtpRelWord() {
8130 bool MipsAsmParser::parseDirectiveDtpRelDWord() {
8148 bool MipsAsmParser::parseDirectiveTpRelWord() {
8166 bool MipsAsmParser::parseDirectiveTpRelDWord() {
8182 bool MipsAsmParser::parseDirectiveOption() {
8195 // MipsAsmParser needs to know if the current PIC mode changes.
8208 // MipsAsmParser needs to know if the current PIC mode changes.
8229 bool MipsAsmParser::parseInsnDirective() {
8246 bool MipsAsmParser::parseRSectionDirective(StringRef Section) {
8264 bool MipsAsmParser::parseSSectionDirective(StringRef Section, unsigned Type) {
8292 bool MipsAsmParser::parseDirectiveModule() {
8533 bool MipsAsmParser::parseDirectiveModuleFP() {
8565 bool MipsAsmParser::parseFpABIValue(MipsABIFlagsSection::FpABIKind &FpABI,
8636 bool MipsAsmParser::ParseDirective(AsmToken DirectiveID) {
8958 bool MipsAsmParser::parseInternalDirectiveReallowModule() {
8972 RegisterMCAsmParser<MipsAsmParser> X(getTheMipsTarget());
8973 RegisterMCAsmParser<MipsAsmParser> Y(getTheMipselTarget());
8974 RegisterMCAsmParser<MipsAsmParser> A(getTheMips64Target());
8975 RegisterMCAsmParser<MipsAsmParser> B(getTheMips64elTarget());
8983 bool MipsAsmParser::mnemonicIsValid(StringRef Mnemonic, unsigned VariantID) {