summaryrefslogtreecommitdiff
path: root/utils/TableGen/FastISelEmitter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-19 18:06:12 +0000
committerDan Gohman <gohman@apple.com>2008-08-19 18:06:12 +0000
commit04b7dfb233de210cd1c7d846f9fbde85f6824d5e (patch)
tree9390db2a7afd873b30e3fcc0c2d9f61eaa8def7e /utils/TableGen/FastISelEmitter.cpp
parent88c6b57ef039a37f1bb5b1c0a891b20143a9f21f (diff)
downloadllvm-04b7dfb233de210cd1c7d846f9fbde85f6824d5e.tar.gz
llvm-04b7dfb233de210cd1c7d846f9fbde85f6824d5e.tar.bz2
llvm-04b7dfb233de210cd1c7d846f9fbde85f6824d5e.tar.xz
Add a few doxygen comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FastISelEmitter.cpp')
-rw-r--r--utils/TableGen/FastISelEmitter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp
index 8007b7ed70..ae12201600 100644
--- a/utils/TableGen/FastISelEmitter.cpp
+++ b/utils/TableGen/FastISelEmitter.cpp
@@ -44,6 +44,9 @@ using namespace llvm;
namespace {
+/// OperandsSignature - This class holds a description of a list of operand
+/// types. It has utility methods for emitting text based on the operands.
+///
struct OperandsSignature {
std::vector<std::string> Operands;
@@ -86,6 +89,9 @@ struct OperandsSignature {
}
};
+/// InstructionMemo - This class holds additional information about an
+/// instruction needed to emit code for it.
+///
struct InstructionMemo {
std::string Name;
const CodeGenRegisterClass *RC;