Lines Matching refs:SMLoc
133 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
139 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
146 SMLoc NameLoc, OperandVector &Operands) override;
153 StringRef Identifier, SMLoc S);
155 SMLoc S);
177 tryExpandInstruction(MCInst &Inst, SMLoc IDLoc,
180 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc,
184 bool Is32BitImm, bool IsAddress, SMLoc IDLoc,
188 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc,
191 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
196 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions);
198 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
201 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
205 bool expandLoadStoreMultiple(MCInst &Inst, SMLoc IDLoc,
208 bool expandAliasImmediate(MCInst &Inst, SMLoc IDLoc,
211 bool expandBranchImm(MCInst &Inst, SMLoc IDLoc,
214 bool expandCondBranches(MCInst &Inst, SMLoc IDLoc,
217 bool expandDiv(MCInst &Inst, SMLoc IDLoc,
221 bool expandUlh(MCInst &Inst, bool Signed, SMLoc IDLoc,
224 bool expandUlw(MCInst &Inst, SMLoc IDLoc,
227 bool expandRotation(MCInst &Inst, SMLoc IDLoc,
229 bool expandRotationImm(MCInst &Inst, SMLoc IDLoc,
231 bool expandDRotation(MCInst &Inst, SMLoc IDLoc,
233 bool expandDRotationImm(MCInst &Inst, SMLoc IDLoc,
236 void createNop(bool hasShortDelaySlot, SMLoc IDLoc,
242 void createCpRestoreMemOp(bool IsLoad, int StackOffset, SMLoc IDLoc,
246 bool reportParseError(SMLoc Loc, Twine ErrorMsg);
258 bool parseDirectiveCpLoad(SMLoc Loc);
259 bool parseDirectiveCpRestore(SMLoc Loc);
288 bool parseDataDirective(unsigned Size, SMLoc L);
325 unsigned getATReg(SMLoc Loc);
327 bool processInstruction(MCInst &Inst, SMLoc IDLoc,
547 void warnIfRegIndexIsAT(unsigned RegIndex, SMLoc Loc);
549 void warnIfNoMacro(SMLoc Loc);
639 SMLoc StartLoc, EndLoc;
644 SMLoc S, SMLoc E, in CreateReg()
1146 static std::unique_ptr<MipsOperand> CreateToken(StringRef Str, SMLoc S, in CreateToken()
1159 createNumericReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, in createNumericReg()
1160 SMLoc E, MipsAsmParser &Parser) { in createNumericReg()
1168 createGPRReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E, in createGPRReg()
1176 createFGRReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E, in createFGRReg()
1185 SMLoc S, SMLoc E, MipsAsmParser &Parser) { in createHWRegsReg()
1192 createFCCReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E, in createFCCReg()
1200 createACCReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E, in createACCReg()
1208 createMSA128Reg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, in createMSA128Reg()
1209 SMLoc E, MipsAsmParser &Parser) { in createMSA128Reg()
1216 createMSACtrlReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, in createMSACtrlReg()
1217 SMLoc E, MipsAsmParser &Parser) { in createMSACtrlReg()
1222 CreateImm(const MCExpr *Val, SMLoc S, SMLoc E, MipsAsmParser &Parser) { in CreateImm()
1231 CreateMem(std::unique_ptr<MipsOperand> Base, const MCExpr *Off, SMLoc S, in CreateMem()
1232 SMLoc E, MipsAsmParser &Parser) { in CreateMem()
1242 CreateRegList(SmallVectorImpl<unsigned> &Regs, SMLoc StartLoc, SMLoc EndLoc, in CreateRegList()
1254 CreateRegPair(unsigned RegNo, SMLoc S, SMLoc E, MipsAsmParser &Parser) { in CreateRegPair()
1321 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
1323 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
1438 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc, in emitRX()
1448 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, in emitRI()
1453 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc, in emitRR()
1458 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, in emitII()
1468 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR()
1478 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in emitRRX()
1489 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in emitRRR()
1495 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in emitRRI()
1501 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in emitAppropriateDSLL()
1512 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()
1943 MipsAsmParser::tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, in tryExpandInstruction()
2093 bool MipsAsmParser::expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, in expandJalWithRegs()
2156 bool IsAddress, SMLoc IDLoc, in loadImmediate()
2318 bool MipsAsmParser::expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc, in expandLoadImm()
2334 bool Is32BitAddress, SMLoc IDLoc, in expandLoadAddress()
2362 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in loadAndAddSymbolAddress()
2466 MCInst &Inst, SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) { in expandUncondBranchMMPseudo()
2507 bool MipsAsmParser::expandBranchImm(MCInst &Inst, SMLoc IDLoc, in expandBranchImm()
2551 void MipsAsmParser::expandMemInst(MCInst &Inst, SMLoc IDLoc, in expandMemInst()
2629 MipsAsmParser::expandLoadStoreMultiple(MCInst &Inst, SMLoc IDLoc, in expandLoadStoreMultiple()
2657 bool MipsAsmParser::expandCondBranches(MCInst &Inst, SMLoc IDLoc, in expandCondBranches()
2914 bool MipsAsmParser::expandDiv(MCInst &Inst, SMLoc IDLoc, in expandDiv()
3030 bool MipsAsmParser::expandUlh(MCInst &Inst, bool Signed, SMLoc IDLoc, in expandUlh()
3107 bool MipsAsmParser::expandUlw(MCInst &Inst, SMLoc IDLoc, in expandUlw()
3172 bool MipsAsmParser::expandAliasImmediate(MCInst &Inst, SMLoc IDLoc, in expandAliasImmediate()
3238 bool MipsAsmParser::expandRotation(MCInst &Inst, SMLoc IDLoc, in expandRotation()
3301 bool MipsAsmParser::expandRotationImm(MCInst &Inst, SMLoc IDLoc, in expandRotationImm()
3365 bool MipsAsmParser::expandDRotation(MCInst &Inst, SMLoc IDLoc, in expandDRotation()
3429 bool MipsAsmParser::expandDRotationImm(MCInst &Inst, SMLoc IDLoc, in expandDRotationImm()
3524 void MipsAsmParser::createNop(bool hasShortDelaySlot, SMLoc IDLoc, in createNop()
3535 emitRRR(Is64Bit ? Mips::DADDu : Mips::ADDu, DstReg, SrcReg, TrgReg, SMLoc(), in createAddu()
3540 bool IsLoad, int StackOffset, SMLoc IDLoc, in createCpRestoreMemOp()
3569 static SMLoc RefineErrorLoc(const SMLoc Loc, const OperandVector &Operands, in RefineErrorLoc()
3572 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc()
3573 if (ErrorLoc == SMLoc()) in RefineErrorLoc()
3580 bool MipsAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
3603 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
3609 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
3676 void MipsAsmParser::warnIfRegIndexIsAT(unsigned RegIndex, SMLoc Loc) { in warnIfRegIndexIsAT()
3682 void MipsAsmParser::warnIfNoMacro(SMLoc Loc) { in warnIfNoMacro()
3858 unsigned MipsAsmParser::getATReg(SMLoc Loc) { in getATReg()
3910 SMLoc S = Parser.getTok().getLoc(); in parseOperand()
3925 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
3948 SMLoc S = Parser.getTok().getLoc(); // Start location of the operand. in parseOperand()
3952 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
4055 SMLoc EndLoc; in parseRelocOperand()
4086 bool MipsAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
4087 SMLoc &EndLoc) { in ParseRegister()
4114 SMLoc S; in parseMemOffset()
4149 SMLoc S; in parseMemOperand()
4168 SMLoc E = in parseMemOperand()
4169 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
4174 SMLoc E = in parseMemOperand()
4175 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
4201 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
4232 SMLoc S = Parser.getTok().getLoc(); in searchSymbolAlias()
4265 SMLoc S) { in matchAnyRegisterNameWithoutDollar()
4319 MipsAsmParser::matchAnyRegisterWithoutDollar(OperandVector &Operands, SMLoc S) { in matchAnyRegisterWithoutDollar()
4349 SMLoc S = Token.getLoc(); in parseAnyRegister()
4386 SMLoc S = Parser.getTok().getLoc(); in parseImm()
4390 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseImm()
4400 SMLoc S = getLexer().getLoc(); in parseJumpTarget()
4429 SMLoc S = Parser.getTok().getLoc(); in parseInvNum()
4435 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseInvNum()
4455 SMLoc S = Parser.getTok().getLoc(); in parseLSAImm()
4493 SMLoc S = Parser.getTok().getLoc(); in parseRegisterList()
4495 SMLoc E = getLexer().getLoc(); in parseRegisterList()
4561 SMLoc E = Parser.getTok().getLoc(); in parseRegisterList()
4571 SMLoc S = Parser.getTok().getLoc(); in parseRegisterPair()
4575 SMLoc E = Parser.getTok().getLoc(); in parseRegisterPair()
4592 SMLoc S = Parser.getTok().getLoc(); in parseMovePRegPair()
4601 SMLoc E = Parser.getTok().getLoc(); in parseMovePRegPair()
4670 SMLoc Loc = getLexer().getLoc(); in parseParenSuffix()
4675 SMLoc Loc = getLexer().getLoc(); in parseParenSuffix()
4700 SMLoc Loc = getLexer().getLoc(); in parseBracketSuffix()
4705 SMLoc Loc = getLexer().getLoc(); in parseBracketSuffix()
4717 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction()
4736 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
4748 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
4762 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
4772 SMLoc Loc = getLexer().getLoc(); in reportParseError()
4777 bool MipsAsmParser::reportParseError(SMLoc Loc, Twine ErrorMsg) { in reportParseError()
5054 SMLoc Loc = getLexer().getLoc(); in parseSetPopDirective()
5272 SMLoc Loc = getLexer().getLoc(); in eatComma()
5289 bool MipsAsmParser::parseDirectiveCpLoad(SMLoc Loc) { in parseDirectiveCpLoad()
5321 bool MipsAsmParser::parseDirectiveCpRestore(SMLoc Loc) { in parseDirectiveCpRestore()
5400 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup()
5565 bool MipsAsmParser::parseDataDirective(unsigned Size, SMLoc L) { in parseDataDirective()
5698 SMLoc L = Lexer.getLoc(); in parseDirectiveModule()