Lines Matching defs:WebAssemblyOperand
44 /// WebAssemblyOperand - Instances of this class represent the operands in a
46 struct WebAssemblyOperand : public MCParsedAsmOperand {
90 WebAssemblyOperand(SMLoc Start, SMLoc End, TokOp T)
92 WebAssemblyOperand(SMLoc Start, SMLoc End, IntOp I)
94 WebAssemblyOperand(SMLoc Start, SMLoc End, FltOp F)
96 WebAssemblyOperand(SMLoc Start, SMLoc End, SymOp S)
98 WebAssemblyOperand(SMLoc Start, SMLoc End, BrLOp B)
100 WebAssemblyOperand(SMLoc Start, SMLoc End, CaLOp C)
103 ~WebAssemblyOperand() {
435 Operands.push_back(std::make_unique<WebAssemblyOperand>(
436 Int.getLoc(), Int.getEndLoc(), WebAssemblyOperand::IntOp{Val}));
447 Operands.push_back(std::make_unique<WebAssemblyOperand>(
448 Flt.getLoc(), Flt.getEndLoc(), WebAssemblyOperand::FltOp{Val}));
468 Operands.push_back(std::make_unique<WebAssemblyOperand>(
469 Flt.getLoc(), Flt.getEndLoc(), WebAssemblyOperand::FltOp{Val}));
503 Operands.push_back(std::make_unique<WebAssemblyOperand>(
504 Tok.getLoc(), Tok.getEndLoc(), WebAssemblyOperand::IntOp{-1}));
519 Operands.push_back(std::make_unique<WebAssemblyOperand>(
520 NameLoc, NameLoc, WebAssemblyOperand::IntOp{static_cast<int64_t>(BT)}));
545 bool parseFunctionTableOperand(std::unique_ptr<WebAssemblyOperand> *Op) {
558 *Op = std::make_unique<WebAssemblyOperand>(
559 Tok.getLoc(), Tok.getEndLoc(), WebAssemblyOperand::SymOp{Val});
565 *Op = std::make_unique<WebAssemblyOperand>(
566 SMLoc(), SMLoc(), WebAssemblyOperand::SymOp{Val});
573 *Op = std::make_unique<WebAssemblyOperand>(SMLoc(), SMLoc(),
574 WebAssemblyOperand::IntOp{0});
605 Operands.push_back(std::make_unique<WebAssemblyOperand>(
607 WebAssemblyOperand::TokOp{Name}));
614 std::unique_ptr<WebAssemblyOperand> FunctionTable;
705 Operands.push_back(std::make_unique<WebAssemblyOperand>(
706 Loc.getLoc(), Loc.getEndLoc(), WebAssemblyOperand::SymOp{Expr}));
755 Operands.push_back(std::make_unique<WebAssemblyOperand>(
756 Start, End, WebAssemblyOperand::SymOp{Val}));
789 auto Op = std::make_unique<WebAssemblyOperand>(
790 Tok.getLoc(), Tok.getEndLoc(), WebAssemblyOperand::BrLOp{});
819 Operands.push_back(std::make_unique<WebAssemblyOperand>(
820 NameLoc, NameLoc, WebAssemblyOperand::CaLOp{}));
847 auto Op = std::make_unique<WebAssemblyOperand>(
848 Lexer.getTok().getLoc(), SMLoc(), WebAssemblyOperand::CaLOp{});