summaryrefslogtreecommitdiff
path: root/include/llvm/TableGen
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-07 18:25:05 +0000
committerDavid Greene <greened@obbligato.org>2011-10-07 18:25:05 +0000
commita1b1b79be15c4b79a4282f148085ebad1cf877ca (patch)
treeebcc9a679f17963bd672a734ffd0fce3d66f290c /include/llvm/TableGen
parent67370ef9030990baceb42181f2db57b7b8d33ca9 (diff)
downloadllvm-a1b1b79be15c4b79a4282f148085ebad1cf877ca.tar.gz
llvm-a1b1b79be15c4b79a4282f148085ebad1cf877ca.tar.bz2
llvm-a1b1b79be15c4b79a4282f148085ebad1cf877ca.tar.xz
Remove Multidefs
Multidefs are a bit unwieldy and incomplete. Remove them in favor of another mechanism, probably for loops. Revert "Make Test More Thorough" Revert "Fix a typo." Revert "Vim Support for Multidefs" Revert "Emacs Support for Multidefs" Revert "Document Multidefs" Revert "Add a Multidef Test" Revert "Update Test for Multidefs" Revert "Process Multidefs" Revert "Parser Multidef Support" Revert "Lexer Support for Multidefs" Revert "Add Multidef Data Structures" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/TableGen')
-rw-r--r--include/llvm/TableGen/Record.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h
index 0fc50c5a3b..afce760998 100644
--- a/include/llvm/TableGen/Record.h
+++ b/include/llvm/TableGen/Record.h
@@ -1568,23 +1568,6 @@ struct MultiClass {
typedef std::vector<Record*> RecordVector;
RecordVector DefPrototypes;
- struct MultiDef {
- Record *Rec; // The base record for all defs generated.
- // This serves as the multiclass def prototype.
- TypedInit *List; // A list of values to process.
- // Each one generates a new def.
- IntInit *Start; // This specified the list index from which to start
- // processing.
- std::string ItemName; // The name of a temporary iterator value to
- // track the current list item being processed.
-
- MultiDef(Record *R, TypedInit *L, IntInit *S, const std::string &I)
- : Rec(R), List(L), Start(S), ItemName(I) {};
- };
-
- typedef std::vector<MultiDef> MultiDefVector;
- MultiDefVector MultiDefPrototypes;
-
void dump() const;
MultiClass(const std::string &Name, SMLoc Loc, RecordKeeper &Records) :