Lines Matching refs:LoongArchAsmParser

32 class LoongArchAsmParser : public MCTargetAsmParser {  class
151 LoongArchAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in LoongArchAsmParser() function in __anon571544da0111::LoongArchAsmParser
244 return LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isBareSymbol()
254 return LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isTPRelAddSymbol()
294 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm12addlike()
317 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm12lu52id()
341 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isUImm12ori()
365 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm16lsl2()
387 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm20pcalau12i()
409 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm20lu12iw()
433 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm20lu32id()
449 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm20pcaddu18i()
467 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm20pcaddi()
482 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm21lsl2()
499 : LoongArchAsmParser::classifySymbolRef(getImm(), VK) && in isSImm26Operand()
627 bool LoongArchAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
632 ParseStatus LoongArchAsmParser::tryParseRegister(MCRegister &Reg, in tryParseRegister()
638 bool LoongArchAsmParser::classifySymbolRef(const MCExpr *Expr, in classifySymbolRef()
653 ParseStatus LoongArchAsmParser::parseRegister(OperandVector &Operands) { in parseRegister()
673 ParseStatus LoongArchAsmParser::parseImmediate(OperandVector &Operands) { in parseImmediate()
702 LoongArchAsmParser::parseOperandWithModifier(OperandVector &Operands) { in parseOperandWithModifier()
733 ParseStatus LoongArchAsmParser::parseSImm26Operand(OperandVector &Operands) { in parseSImm26Operand()
757 ParseStatus LoongArchAsmParser::parseAtomicMemOp(OperandVector &Operands) { in parseAtomicMemOp()
777 bool LoongArchAsmParser::parseOperand(OperandVector &Operands, in parseOperand()
796 bool LoongArchAsmParser::ParseInstruction(ParseInstructionInfo &Info, in ParseInstruction()
824 void LoongArchAsmParser::emitLAInstSeq(MCRegister DestReg, MCRegister TmpReg, in emitLAInstSeq()
830 for (LoongArchAsmParser::Inst &Inst : Insts) { in emitLAInstSeq()
902 void LoongArchAsmParser::emitLoadAddressAbs(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressAbs()
918 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressAbs()
920 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressAbs()
924 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressAbs()
926 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressAbs()
933 void LoongArchAsmParser::emitLoadAddressPcrel(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressPcrel()
944 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressPcrel()
947 LoongArchAsmParser::Inst(ADDI, LoongArchMCExpr::VK_LoongArch_PCALA_LO12)); in emitLoadAddressPcrel()
952 void LoongArchAsmParser::emitLoadAddressPcrelLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressPcrelLarge()
966 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressPcrelLarge()
968 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressPcrelLarge()
970 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressPcrelLarge()
972 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressPcrelLarge()
974 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::ADD_D)); in emitLoadAddressPcrelLarge()
979 void LoongArchAsmParser::emitLoadAddressGot(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressGot()
990 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressGot()
993 LoongArchAsmParser::Inst(LD, LoongArchMCExpr::VK_LoongArch_GOT_PC_LO12)); in emitLoadAddressGot()
998 void LoongArchAsmParser::emitLoadAddressGotLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressGotLarge()
1012 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressGotLarge()
1014 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressGotLarge()
1016 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressGotLarge()
1018 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressGotLarge()
1020 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::LDX_D)); in emitLoadAddressGotLarge()
1025 void LoongArchAsmParser::emitLoadAddressTLSLE(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLE()
1035 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLE()
1037 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLE()
1043 void LoongArchAsmParser::emitLoadAddressTLSIE(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSIE()
1054 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIE()
1056 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIE()
1062 void LoongArchAsmParser::emitLoadAddressTLSIELarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSIELarge()
1076 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIELarge()
1078 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIELarge()
1080 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIELarge()
1082 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSIELarge()
1084 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::LDX_D)); in emitLoadAddressTLSIELarge()
1089 void LoongArchAsmParser::emitLoadAddressTLSLD(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLD()
1100 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLD()
1102 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLD()
1108 void LoongArchAsmParser::emitLoadAddressTLSLDLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSLDLarge()
1122 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLDLarge()
1124 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLDLarge()
1126 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLDLarge()
1128 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSLDLarge()
1130 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::ADD_D)); in emitLoadAddressTLSLDLarge()
1135 void LoongArchAsmParser::emitLoadAddressTLSGD(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSGD()
1146 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGD()
1148 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGD()
1154 void LoongArchAsmParser::emitLoadAddressTLSGDLarge(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSGDLarge()
1168 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGDLarge()
1170 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGDLarge()
1172 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGDLarge()
1174 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSGDLarge()
1176 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::ADD_D)); in emitLoadAddressTLSGDLarge()
1181 void LoongArchAsmParser::emitLoadAddressTLSDescAbs(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSDescAbs()
1204 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescAbs()
1206 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescAbs()
1210 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescAbs()
1212 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescAbs()
1217 LoongArchAsmParser::Inst(LD, LoongArchMCExpr::VK_LoongArch_TLS_DESC_LD)); in emitLoadAddressTLSDescAbs()
1218 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescAbs()
1224 void LoongArchAsmParser::emitLoadAddressTLSDescPcrel(MCInst &Inst, SMLoc IDLoc, in emitLoadAddressTLSDescPcrel()
1238 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrel()
1240 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrel()
1243 LoongArchAsmParser::Inst(LD, LoongArchMCExpr::VK_LoongArch_TLS_DESC_LD)); in emitLoadAddressTLSDescPcrel()
1244 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrel()
1250 void LoongArchAsmParser::emitLoadAddressTLSDescPcrelLarge(MCInst &Inst, in emitLoadAddressTLSDescPcrelLarge()
1267 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1269 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1271 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1273 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1275 Insts.push_back(LoongArchAsmParser::Inst(LoongArch::ADD_D)); in emitLoadAddressTLSDescPcrelLarge()
1276 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1278 Insts.push_back(LoongArchAsmParser::Inst( in emitLoadAddressTLSDescPcrelLarge()
1284 void LoongArchAsmParser::emitLoadImm(MCInst &Inst, SMLoc IDLoc, in emitLoadImm()
1306 void LoongArchAsmParser::emitFuncCall36(MCInst &Inst, SMLoc IDLoc, in emitFuncCall36()
1335 bool LoongArchAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()
1404 unsigned LoongArchAsmParser::checkTargetMatchPredicate(MCInst &Inst) { in checkTargetMatchPredicate()
1466 LoongArchAsmParser::validateTargetOperandClass(MCParsedAsmOperand &AsmOp, in validateTargetOperandClass()
1484 bool LoongArchAsmParser::generateImmOutOfRangeError( in generateImmOutOfRangeError()
1491 bool LoongArchAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
1734 RegisterMCAsmParser<LoongArchAsmParser> X(getTheLoongArch32Target()); in LLVMInitializeLoongArchAsmParser()
1735 RegisterMCAsmParser<LoongArchAsmParser> Y(getTheLoongArch64Target()); in LLVMInitializeLoongArchAsmParser()