Lines Matching refs:LoongArchOperand
92 class LoongArchOperand : public MCParsedAsmOperand { class
115 LoongArchOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in LoongArchOperand() function in __anon1ba74a0a0111::LoongArchOperand
208 static std::unique_ptr<LoongArchOperand> createToken(StringRef Str, SMLoc S) { in createToken()
209 auto Op = std::make_unique<LoongArchOperand>(KindTy::Token); in createToken()
216 static std::unique_ptr<LoongArchOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
218 auto Op = std::make_unique<LoongArchOperand>(KindTy::Register); in createReg()
225 static std::unique_ptr<LoongArchOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
227 auto Op = std::make_unique<LoongArchOperand>(KindTy::Immediate); in createImm()
311 Operands.push_back(LoongArchOperand::createReg(RegNo, S, E)); in parseRegister()
325 Operands.push_back(LoongArchOperand::createImm(Res, S, E)); in parseImmediate()
346 Operands.push_back(LoongArchOperand::createToken(Name, NameLoc)); in ParseInstruction()
413 LoongArchOperand &Op = static_cast<LoongArchOperand &>(AsmOp); in validateTargetOperandClass()
432 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
467 ((LoongArchOperand &)*Operands[0]).getToken(), FBS, 0); in MatchAndEmitInstruction()
476 ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()