Lines Matching refs:HexagonOperand
70 struct HexagonOperand;
173 struct HexagonOperand : public MCParsedAsmOperand { struct
201 HexagonOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in HexagonOperand() function
204 HexagonOperand(const HexagonOperand &o) : MCParsedAsmOperand() { in HexagonOperand() argument
575 static std::unique_ptr<HexagonOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() argument
576 HexagonOperand *Op = new HexagonOperand(Token); in CreateToken()
581 return std::unique_ptr<HexagonOperand>(Op); in CreateToken()
584 static std::unique_ptr<HexagonOperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg() argument
586 HexagonOperand *Op = new HexagonOperand(Register); in CreateReg()
590 return std::unique_ptr<HexagonOperand>(Op); in CreateReg()
593 static std::unique_ptr<HexagonOperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm() argument
595 HexagonOperand *Op = new HexagonOperand(Immediate); in CreateImm()
599 return std::unique_ptr<HexagonOperand>(Op); in CreateImm()
605 void HexagonOperand::print(raw_ostream &OS) const { in print()
809 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get())) in matchOneInstruction()
828 HexagonOperand &FirstOperand = static_cast<HexagonOperand &>(*Operands[0]); in MatchAndEmitInstruction()
1079 return static_cast<HexagonOperand &>(Operand).getToken().equals_lower(String); in previousEqual()
1098 Operands.push_back(HexagonOperand::CreateToken(HeadTail.first, Loc)); in splitIdentifier()
1100 Operands.push_back(HexagonOperand::CreateToken( in splitIdentifier()
1126 Operands.push_back(HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1127 Operands.push_back(HexagonOperand::CreateReg(Register, Begin, End)); in parseOperand()
1132 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1142 HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1143 Operands.push_back(HexagonOperand::CreateReg(Register, Begin, End)); in parseOperand()
1148 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1153 Operands.push_back(HexagonOperand::CreateReg( in parseOperand()
1321 Operands.push_back(HexagonOperand::CreateImm(Expr, Loc, Loc)); in parseExpressionOrOperand()
1342 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1349 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1364 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
1366 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
1377 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1438 std::unique_ptr<HexagonOperand> Operand = in parseInstruction()
1439 HexagonOperand::CreateImm(Expr, ExprLoc, ExprLoc); in parseInstruction()
1476 HexagonOperand *Op = static_cast<HexagonOperand *>(&AsmOp); in validateTargetOperandClass()
1498 if (Op->Kind == HexagonOperand::Token && Kind != InvalidMatchClass) { in validateTargetOperandClass()