diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-06-04 01:26:15 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-06-04 01:26:15 +0000 |
commit | 73cef3e9b111844fda5eedd68998628f14f7e6ab (patch) | |
tree | a890ab6d3f2f1e15b11c03954bb10ebceb0deb2b /utils/TableGen/TableGen.cpp | |
parent | 958e4e1967838766d327f1112e5b4900be939275 (diff) |
BuiltinsARM.def emitter, still needs a substantial bit of tweaking to lighten the load on clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r-- | utils/TableGen/TableGen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 039653eb81..f0674db0fe 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -66,6 +66,7 @@ enum ActionType { GenLLVMCConf, GenEDHeader, GenEDInfo, GenNeonHeader, + GenNeonBuiltinsDef, PrintEnums }; @@ -126,6 +127,8 @@ namespace { "Generate enhanced disassembly info"), clEnumValN(GenNeonHeader, "gen-arm-neon-header", "Generate arm_neon.h for clang"), + clEnumValN(GenNeonBuiltinsDef, "gen-arm-neon-builtins-def", + "Generate NEON BuiltinsARM.def for clang"), clEnumValN(PrintEnums, "print-enums", "Print enum values for a class"), clEnumValEnd)); @@ -294,6 +297,9 @@ int main(int argc, char **argv) { case GenNeonHeader: NeonEmitter(Records).run(Out); break; + case GenNeonBuiltinsDef: + NeonEmitter(Records).runHeader(Out); + break; case PrintEnums: { std::vector<Record*> Recs = Records.getAllDerivedDefinitions(Class); |