[llvm-commits] [llvm] r108893 - in /llvm/trunk/utils/TableGen: EDEmitter.cpp EDEmitter.h TableGen.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 20 12:45:21 PDT 2010
Author: lattner
Date: Tue Jul 20 14:45:21 2010
New Revision: 108893
URL: http://llvm.org/viewvc/llvm-project?rev=108893&view=rev
Log:
remove option from tablegen for building static header.
Modified:
llvm/trunk/utils/TableGen/EDEmitter.cpp
llvm/trunk/utils/TableGen/EDEmitter.h
llvm/trunk/utils/TableGen/TableGen.cpp
Modified: llvm/trunk/utils/TableGen/EDEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/EDEmitter.cpp?rev=108893&r1=108892&r2=108893&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/EDEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/EDEmitter.cpp Tue Jul 20 14:45:21 2010
@@ -896,21 +896,3 @@
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";
-}
Modified: llvm/trunk/utils/TableGen/EDEmitter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/EDEmitter.h?rev=108893&r1=108892&r2=108893&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/EDEmitter.h (original)
+++ llvm/trunk/utils/TableGen/EDEmitter.h Tue Jul 20 14:45:21 2010
@@ -27,9 +27,6 @@
// 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
Modified: llvm/trunk/utils/TableGen/TableGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TableGen.cpp?rev=108893&r1=108892&r2=108893&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TableGen.cpp (original)
+++ llvm/trunk/utils/TableGen/TableGen.cpp Tue Jul 20 14:45:21 2010
@@ -67,7 +67,7 @@
GenIntrinsic,
GenTgtIntrinsic,
GenLLVMCConf,
- GenEDHeader, GenEDInfo,
+ GenEDInfo,
GenArmNeon,
GenArmNeonSema,
PrintEnums
@@ -128,8 +128,6 @@
"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 @@
case GenLLVMCConf:
LLVMCConfigurationEmitter(Records).run(Out);
break;
- case GenEDHeader:
- EDEmitter(Records).runHeader(Out);
- break;
case GenEDInfo:
EDEmitter(Records).run(Out);
break;
More information about the llvm-commits
mailing list