Lines Matching refs:WebAssemblyOperand
48 struct WebAssemblyOperand : public MCParsedAsmOperand { struct
81 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, TokOp T) in WebAssemblyOperand() argument
83 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, IntOp I) in WebAssemblyOperand() function
85 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, FltOp F) in WebAssemblyOperand() argument
87 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, SymOp S) in WebAssemblyOperand() argument
89 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End) in WebAssemblyOperand() argument
92 ~WebAssemblyOperand() { in ~WebAssemblyOperand() argument
390 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleInteger()
391 WebAssemblyOperand::Integer, Int.getLoc(), Int.getEndLoc(), in parseSingleInteger()
392 WebAssemblyOperand::IntOp{Val})); in parseSingleInteger()
403 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleFloat()
404 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
405 WebAssemblyOperand::FltOp{Val})); in parseSingleFloat()
425 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSpecialFloatMaybe()
426 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSpecialFloatMaybe()
427 WebAssemblyOperand::FltOp{Val})); in parseSpecialFloatMaybe()
461 Operands.push_back(std::make_unique<WebAssemblyOperand>( in checkForP2AlignIfLoadStore()
462 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(), in checkForP2AlignIfLoadStore()
463 WebAssemblyOperand::IntOp{-1})); in checkForP2AlignIfLoadStore()
476 Operands.push_back(std::make_unique<WebAssemblyOperand>( in addBlockTypeOperand()
477 WebAssemblyOperand::Integer, NameLoc, NameLoc, in addBlockTypeOperand()
478 WebAssemblyOperand::IntOp{static_cast<int64_t>(BT)})); in addBlockTypeOperand()
503 bool parseFunctionTableOperand(std::unique_ptr<WebAssemblyOperand> *Op) { in parseFunctionTableOperand()
514 *Op = std::make_unique<WebAssemblyOperand>( in parseFunctionTableOperand()
515 WebAssemblyOperand::Symbol, Tok.getLoc(), Tok.getEndLoc(), in parseFunctionTableOperand()
516 WebAssemblyOperand::SymOp{Val}); in parseFunctionTableOperand()
522 *Op = std::make_unique<WebAssemblyOperand>( in parseFunctionTableOperand()
523 WebAssemblyOperand::Symbol, SMLoc(), SMLoc(), in parseFunctionTableOperand()
524 WebAssemblyOperand::SymOp{Val}); in parseFunctionTableOperand()
532 *Op = std::make_unique<WebAssemblyOperand>(WebAssemblyOperand::Integer, in parseFunctionTableOperand()
534 WebAssemblyOperand::IntOp{0}); in parseFunctionTableOperand()
566 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
567 WebAssemblyOperand::Token, NameLoc, SMLoc::getFromPointer(Name.end()), in ParseInstruction()
568 WebAssemblyOperand::TokOp{Name})); in ParseInstruction()
575 std::unique_ptr<WebAssemblyOperand> FunctionTable; in ParseInstruction()
654 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
655 WebAssemblyOperand::Symbol, Loc.getLoc(), Loc.getEndLoc(), in ParseInstruction()
656 WebAssemblyOperand::SymOp{Expr})); in ParseInstruction()
678 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
679 WebAssemblyOperand::Integer, Id.getLoc(), Id.getEndLoc(), in ParseInstruction()
680 WebAssemblyOperand::IntOp{static_cast<int64_t>(HeapType)})); in ParseInstruction()
688 Operands.push_back(std::make_unique<WebAssemblyOperand>( in ParseInstruction()
689 WebAssemblyOperand::Symbol, Id.getLoc(), Id.getEndLoc(), in ParseInstruction()
690 WebAssemblyOperand::SymOp{Val})); in ParseInstruction()
723 auto Op = std::make_unique<WebAssemblyOperand>( in ParseInstruction()
724 WebAssemblyOperand::BrList, Tok.getLoc(), Tok.getEndLoc()); in ParseInstruction()