diff options
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 18 | ||||
-rw-r--r-- | utils/TableGen/EDEmitter.h | 3 | ||||
-rw-r--r-- | utils/TableGen/TableGen.cpp | 7 |
3 files changed, 1 insertions, 27 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 80d09f9..93786ee 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -896,21 +896,3 @@ void EDEmitter::run(raw_ostream &o) { o << "}\n"; } - -void EDEmitter::runHeader(raw_ostream &o) { - EmitSourceFileHeader("Enhanced Disassembly Info Header", o); - - o << "#ifndef EDInfo_" << "\n"; - o << "#define EDInfo_" << "\n"; - o << "\n"; - o << "#define EDIS_MAX_OPERANDS " << format("%d", EDIS_MAX_OPERANDS) << "\n"; - o << "#define EDIS_MAX_SYNTAXES " << format("%d", EDIS_MAX_SYNTAXES) << "\n"; - o << "\n"; - - unsigned int i = 0; - - emitCommonEnums(o, i); - - o << "\n"; - o << "#endif" << "\n"; -} diff --git a/utils/TableGen/EDEmitter.h b/utils/TableGen/EDEmitter.h index 9e40a8b..e30373f 100644 --- a/utils/TableGen/EDEmitter.h +++ b/utils/TableGen/EDEmitter.h @@ -27,9 +27,6 @@ namespace llvm { // run - Output the instruction table. void run(raw_ostream &o); - - // runHeader - Emit a header file that allows use of the instruction table. - void runHeader(raw_ostream &o); }; } // End llvm namespace diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 7a4f74f..ebd163d 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -67,7 +67,7 @@ enum ActionType { GenIntrinsic, GenTgtIntrinsic, GenLLVMCConf, - GenEDHeader, GenEDInfo, + GenEDInfo, GenArmNeon, GenArmNeonSema, PrintEnums @@ -128,8 +128,6 @@ namespace { "Generate Clang AST statement nodes"), clEnumValN(GenLLVMCConf, "gen-llvmc", "Generate LLVMC configuration library"), - clEnumValN(GenEDHeader, "gen-enhanced-disassembly-header", - "Generate enhanced disassembly info header"), clEnumValN(GenEDInfo, "gen-enhanced-disassembly-info", "Generate enhanced disassembly info"), clEnumValN(GenArmNeon, "gen-arm-neon", @@ -301,9 +299,6 @@ int main(int argc, char **argv) { case GenLLVMCConf: LLVMCConfigurationEmitter(Records).run(Out); break; - case GenEDHeader: - EDEmitter(Records).runHeader(Out); - break; case GenEDInfo: EDEmitter(Records).run(Out); break; |