diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-14 21:20:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-14 21:20:55 +0000 |
commit | 45220a84394758c86cc29ee0e3fe6738946fbcd0 (patch) | |
tree | 35a22e5e90600139598ddb3acc4960ea60951854 /include | |
parent | 1a67dd2d47f7b3c5451577ca6cd491a25584259b (diff) |
introduce the MCParsedAsmOperand class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCParsedAsmOperand.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParsedAsmOperand.h b/include/llvm/MC/MCParsedAsmOperand.h new file mode 100644 index 00000000000..7c9e9e65c1e --- /dev/null +++ b/include/llvm/MC/MCParsedAsmOperand.h @@ -0,0 +1,28 @@ +//===-- llvm/MC/MCParsedAsmOperand.h - Asm Parser Operand -------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_MC_MCASMOPERAND_H +#define LLVM_MC_MCASMOPERAND_H + +namespace llvm { + +/// 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 { +public: + MCParsedAsmOperand(); + virtual ~MCParsedAsmOperand() = 0; + // TODO: Out of line vfun. +}; + +} // end namespace llvm. + +#endif |