diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-01 05:04:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-01 05:04:00 +0000 |
commit | ec3524064c57fbc2c5976ca301bbaadc94006d07 (patch) | |
tree | 3573ecb2d47dc12b96dfd076e79b71eeb848ea0c /utils/TableGen/InstrInfoEmitter.h | |
parent | c139203f049e1a10e19f3ec4f6785e21323dec6e (diff) | |
download | llvm-ec3524064c57fbc2c5976ca301bbaadc94006d07.tar.gz llvm-ec3524064c57fbc2c5976ca301bbaadc94006d07.tar.bz2 llvm-ec3524064c57fbc2c5976ca301bbaadc94006d07.tar.xz |
Add, and start using, the CodeGenInstruction class. This class represents
an instance of the Instruction tablegen class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.h')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.h b/utils/TableGen/InstrInfoEmitter.h index 2a6b063deb..87a140b43a 100644 --- a/utils/TableGen/InstrInfoEmitter.h +++ b/utils/TableGen/InstrInfoEmitter.h @@ -22,6 +22,7 @@ namespace llvm { class StringInit; class IntInit; class ListInit; +class CodeGenInstruction; class InstrInfoEmitter : public TableGenBackend { RecordKeeper &Records; @@ -36,7 +37,8 @@ public: private: void printDefList(ListInit *LI, const std::string &Name, std::ostream &OS) const; - void emitRecord(Record *R, unsigned Num, Record *InstrInfo, std::ostream &OS); + void emitRecord(const CodeGenInstruction &Inst, unsigned Num, + Record *InstrInfo, std::ostream &OS); void emitShiftedValue(Record *R, StringInit *Val, IntInit *Shift, std::ostream &OS); }; |