Lines Matching refs:IDLoc
53 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
69 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
88 SMLoc IDLoc, MCStreamer &Out, bool RelaxHint = false);
91 void emitLoadAddressAbs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
94 void emitLoadAddressPcrel(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
96 void emitLoadAddressPcrelLarge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
99 void emitLoadAddressGot(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
101 void emitLoadAddressGotLarge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
104 void emitLoadAddressTLSLE(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
107 void emitLoadAddressTLSIE(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
109 void emitLoadAddressTLSIELarge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
112 void emitLoadAddressTLSLD(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
114 void emitLoadAddressTLSLDLarge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
117 void emitLoadAddressTLSGD(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
119 void emitLoadAddressTLSGDLarge(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
122 void emitLoadImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
125 void emitFuncCall36(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
771 SMLoc IDLoc, MCStreamer &Out, in emitLAInstSeq() argument
832 void LoongArchAsmParser::emitLoadAddressAbs(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressAbs() argument
860 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressAbs()
863 void LoongArchAsmParser::emitLoadAddressPcrel(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressPcrel() argument
879 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out, true); in emitLoadAddressPcrel()
882 void LoongArchAsmParser::emitLoadAddressPcrelLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressPcrelLarge() argument
906 emitLAInstSeq(DestReg, TmpReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressPcrelLarge()
909 void LoongArchAsmParser::emitLoadAddressGot(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressGot() argument
925 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out, true); in emitLoadAddressGot()
928 void LoongArchAsmParser::emitLoadAddressGotLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressGotLarge() argument
952 emitLAInstSeq(DestReg, TmpReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressGotLarge()
955 void LoongArchAsmParser::emitLoadAddressTLSLE(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLE() argument
970 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSLE()
973 void LoongArchAsmParser::emitLoadAddressTLSIE(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSIE() argument
989 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSIE()
992 void LoongArchAsmParser::emitLoadAddressTLSIELarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSIELarge() argument
1016 emitLAInstSeq(DestReg, TmpReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSIELarge()
1019 void LoongArchAsmParser::emitLoadAddressTLSLD(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLD() argument
1035 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSLD()
1038 void LoongArchAsmParser::emitLoadAddressTLSLDLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLDLarge() argument
1062 emitLAInstSeq(DestReg, TmpReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSLDLarge()
1065 void LoongArchAsmParser::emitLoadAddressTLSGD(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSGD() argument
1081 emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSGD()
1084 void LoongArchAsmParser::emitLoadAddressTLSGDLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSGDLarge() argument
1108 emitLAInstSeq(DestReg, TmpReg, Symbol, Insts, IDLoc, Out); in emitLoadAddressTLSGDLarge()
1111 void LoongArchAsmParser::emitLoadImm(MCInst &Inst, SMLoc IDLoc, in emitLoadImm() argument
1133 void LoongArchAsmParser::emitFuncCall36(MCInst &Inst, SMLoc IDLoc, in emitFuncCall36() argument
1162 bool LoongArchAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction() argument
1165 Inst.setLoc(IDLoc); in processInstruction()
1171 emitLoadAddressAbs(Inst, IDLoc, Out); in processInstruction()
1174 emitLoadAddressPcrel(Inst, IDLoc, Out); in processInstruction()
1177 emitLoadAddressPcrelLarge(Inst, IDLoc, Out); in processInstruction()
1180 emitLoadAddressGot(Inst, IDLoc, Out); in processInstruction()
1183 emitLoadAddressGotLarge(Inst, IDLoc, Out); in processInstruction()
1186 emitLoadAddressTLSLE(Inst, IDLoc, Out); in processInstruction()
1189 emitLoadAddressTLSIE(Inst, IDLoc, Out); in processInstruction()
1192 emitLoadAddressTLSIELarge(Inst, IDLoc, Out); in processInstruction()
1195 emitLoadAddressTLSLD(Inst, IDLoc, Out); in processInstruction()
1198 emitLoadAddressTLSLDLarge(Inst, IDLoc, Out); in processInstruction()
1201 emitLoadAddressTLSGD(Inst, IDLoc, Out); in processInstruction()
1204 emitLoadAddressTLSGDLarge(Inst, IDLoc, Out); in processInstruction()
1208 emitLoadImm(Inst, IDLoc, Out); in processInstruction()
1211 emitFuncCall36(Inst, IDLoc, Out, /*IsTailCall=*/false); in processInstruction()
1214 emitFuncCall36(Inst, IDLoc, Out, /*IsTailCall=*/true); in processInstruction()
1299 bool LoongArchAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1313 return processInstruction(Inst, IDLoc, Operands, Out); in MatchAndEmitInstruction()
1325 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1331 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion); in MatchAndEmitInstruction()
1334 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1341 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1351 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()