Lines Matching refs:WebAssemblyOperand
47 struct WebAssemblyOperand : public MCParsedAsmOperand { struct
80 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, TokOp T) in WebAssemblyOperand() argument
82 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, IntOp I) in WebAssemblyOperand() argument
84 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, FltOp F) in WebAssemblyOperand() argument
86 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, SymOp S) in WebAssemblyOperand() argument
88 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End) in WebAssemblyOperand() argument
91 ~WebAssemblyOperand() { in ~WebAssemblyOperand() argument
403 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleInteger()
404 WebAssemblyOperand::Integer, Int.getLoc(), Int.getEndLoc(), in parseSingleInteger()
405 WebAssemblyOperand::IntOp{Val})); in parseSingleInteger()
416 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleFloat()
417 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
418 WebAssemblyOperand::FltOp{Val})); in parseSingleFloat()
438 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSpecialFloatMaybe()
439 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSpecialFloatMaybe()
440 WebAssemblyOperand::FltOp{Val})); in parseSpecialFloatMaybe()
474 Operands.push_back(std::make_unique<WebAssemblyOperand>( in checkForP2AlignIfLoadStore()
475 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(), in checkForP2AlignIfLoadStore()
476 WebAssemblyOperand::IntOp{-1})); in checkForP2AlignIfLoadStore()
489 Operands.push_back(std::make_unique<WebAssemblyOperand>( in addBlockTypeOperand()
490 WebAssemblyOperand::Integer, NameLoc, NameLoc, in addBlockTypeOperand()
491 WebAssemblyOperand::IntOp{static_cast<int64_t>(BT)})); in addBlockTypeOperand()
516 bool parseFunctionTableOperand(std::unique_ptr<WebAssemblyOperand> *Op) { in parseFunctionTableOperand()
527 *Op = std::make_unique<WebAssemblyOperand>( in parseFunctionTableOperand()
528 WebAssemblyOperand::Symbol, Tok.getLoc(), Tok.getEndLoc(), in parseFunctionTableOperand()
529 WebAssemblyOperand::SymOp{Val}); in parseFunctionTableOperand()
535 *Op = std::make_unique<WebAssemblyOperand>( in parseFunctionTableOperand()
536 WebAssemblyOperand::Symbol, SMLoc(), SMLoc(), in parseFunctionTableOperand()
537 WebAssemblyOperand::SymOp{Val}); in parseFunctionTableOperand()
545 *Op = std::make_unique<WebAssemblyOperand>(WebAssemblyOperand::Integer, in parseFunctionTableOperand()
547 WebAssemblyOperand::IntOp{0}); in parseFunctionTableOperand()
579 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
580 WebAssemblyOperand::Token, NameLoc, SMLoc::getFromPointer(Name.end()), in ParseInstruction()
581 WebAssemblyOperand::TokOp{Name})); in ParseInstruction()
587 std::unique_ptr<WebAssemblyOperand> FunctionTable; in ParseInstruction()
661 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
662 WebAssemblyOperand::Symbol, Loc.getLoc(), Loc.getEndLoc(), in ParseInstruction()
663 WebAssemblyOperand::SymOp{Expr})); in ParseInstruction()
687 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
688 WebAssemblyOperand::Symbol, Start, End, in ParseInstruction()
689 WebAssemblyOperand::SymOp{Val})); in ParseInstruction()
722 auto Op = std::make_unique<WebAssemblyOperand>( in ParseInstruction()
723 WebAssemblyOperand::BrList, Tok.getLoc(), Tok.getEndLoc()); in ParseInstruction()