projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change loops to derive the number of tables automatically
[oota-llvm.git]
/
utils
/
TableGen
/
AsmWriterEmitter.h
diff --git
a/utils/TableGen/AsmWriterEmitter.h
b/utils/TableGen/AsmWriterEmitter.h
index 75e69964ef89eeb10533f28cf6b745968d5e869b..84c925b66e8cf4c04650d94cf335e2651ecb8790 100644
(file)
--- a/
utils/TableGen/AsmWriterEmitter.h
+++ b/
utils/TableGen/AsmWriterEmitter.h
@@
-35,6
+35,12
@@
namespace llvm {
void run(raw_ostream &o);
private:
void run(raw_ostream &o);
private:
+ void EmitPrintInstruction(raw_ostream &o);
+ void EmitGetRegisterName(raw_ostream &o);
+ void EmitGetInstructionName(raw_ostream &o);
+ void EmitRegIsInRegClass(raw_ostream &O);
+ void EmitPrintAliasInstruction(raw_ostream &O);
+
AsmWriterInst *getAsmWriterInstByID(unsigned ID) const {
assert(ID < NumberedInstructions.size());
std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I =
AsmWriterInst *getAsmWriterInstByID(unsigned ID) const {
assert(ID < NumberedInstructions.size());
std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I =