//===- llvm/MC/MCParsedAsmOperand.h - Asm Parser Operand --------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H #define LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H #include "llvm/ADT/StringRef.h" #include "llvm/Support/SMLoc.h" #include <string> namespace llvm { class MCRegister; class raw_ostream; /// MCParsedAsmOperand - This abstract class represents a source-level assembly /// instruction operand. It should be subclassed by target-specific code. This /// base class is used by target-independent clients and is the interface /// between parsing an asm instruction and recognizing it. class MCParsedAsmOperand { … }; //===----------------------------------------------------------------------===// // Debugging Support inline raw_ostream& operator<<(raw_ostream &OS, const MCParsedAsmOperand &MO) { … } } // end namespace llvm #endif // LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H