Lines Matching defs:WebAssemblyOperand

45 /// WebAssemblyOperand - Instances of this class represent the operands in a
47 struct WebAssemblyOperand : public MCParsedAsmOperand {
80 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, TokOp T)
82 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, IntOp I)
84 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, FltOp F)
86 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, SymOp S)
88 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End)
91 ~WebAssemblyOperand() {
390 Operands.push_back(std::make_unique<WebAssemblyOperand>(
391 WebAssemblyOperand::Integer, Int.getLoc(), Int.getEndLoc(),
392 WebAssemblyOperand::IntOp{Val}));
403 Operands.push_back(std::make_unique<WebAssemblyOperand>(
404 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(),
405 WebAssemblyOperand::FltOp{Val}));
425 Operands.push_back(std::make_unique<WebAssemblyOperand>(
426 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(),
427 WebAssemblyOperand::FltOp{Val}));
461 Operands.push_back(std::make_unique<WebAssemblyOperand>(
462 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(),
463 WebAssemblyOperand::IntOp{-1}));
476 Operands.push_back(std::make_unique<WebAssemblyOperand>(
477 WebAssemblyOperand::Integer, NameLoc, NameLoc,
478 WebAssemblyOperand::IntOp{static_cast<int64_t>(BT)}));
503 bool parseFunctionTableOperand(std::unique_ptr<WebAssemblyOperand> *Op) {
514 *Op = std::make_unique<WebAssemblyOperand>(
515 WebAssemblyOperand::Symbol, Tok.getLoc(), Tok.getEndLoc(),
516 WebAssemblyOperand::SymOp{Val});
522 *Op = std::make_unique<WebAssemblyOperand>(
523 WebAssemblyOperand::Symbol, SMLoc(), SMLoc(),
524 WebAssemblyOperand::SymOp{Val});
532 *Op = std::make_unique<WebAssemblyOperand>(WebAssemblyOperand::Integer,
534 WebAssemblyOperand::IntOp{0});
566 Operands.push_back(std::make_unique<WebAssemblyOperand>(
567 WebAssemblyOperand::Token, NameLoc, SMLoc::getFromPointer(Name.end()),
568 WebAssemblyOperand::TokOp{Name}));
574 std::unique_ptr<WebAssemblyOperand> FunctionTable;
647 Operands.push_back(std::make_unique<WebAssemblyOperand>(
648 WebAssemblyOperand::Symbol, Loc.getLoc(), Loc.getEndLoc(),
649 WebAssemblyOperand::SymOp{Expr}));
673 Operands.push_back(std::make_unique<WebAssemblyOperand>(
674 WebAssemblyOperand::Symbol, Start, End,
675 WebAssemblyOperand::SymOp{Val}));
708 auto Op = std::make_unique<WebAssemblyOperand>(
709 WebAssemblyOperand::BrList, Tok.getLoc(), Tok.getEndLoc());