History log of /external/llvm/utils/TableGen/TableGen.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2dd674fdce68f8fd59d78a3bbab2cf5b8d220290 17-Jan-2012 David Blaikie <dblaikie@gmail.com> Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.

(This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
2d24e2a396a1d211baaeedf32148a3b657240170 20-Dec-2011 David Blaikie <dblaikie@gmail.com> Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
dc81e5da271ed394e2029c83458773c4ae2fc5f4 01-Dec-2011 Anshuman Dasgupta <adasgupt@codeaurora.org> Add a deterministic finite automaton based packetizer for VLIW architectures


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
a25e292d5f94e63bda3d57583a0b02405bbd9ace 10-Nov-2011 Owen Anderson <resistor@mac.com> Remove the old-style ARM disassembler, which is no longer used.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
6d1409dcc517185dca5fe6aef8d0417615951cd3 06-Oct-2011 Peter Collingbourne <peter@pcc.me.uk> Remove the Clang tblgen backends from LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7c788888872233748da10a8177a9a1eb176c1bc8 01-Oct-2011 Peter Collingbourne <peter@pcc.me.uk> Move TableGen's parser and entry point into a library

This is the first step towards splitting LLVM and Clang's tblgen executables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
eae5a13078037e6b6591fd4f414452a7075cecf7 20-Sep-2011 Eric Christopher <echristo@apple.com> Remove more of llvmc and dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
5d97ee31bb6ba2b72e2bef862ec7c07729447cc0 08-Sep-2011 Caitlin Sadowski <supertri@google.com> Added LateParsed property to TableGen attributes.

This patch was written by DeLesley Hutchins.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
08708c8ef3185058ef879a977f580996b83b75ea 07-Sep-2011 Joerg Sonnenberger <joerg@bec.de> Dependency should be on the output file name, not the dependency file
name.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139220 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d568b3f55294917d1cc701da14a8a7daeb6563e6 12-Jul-2011 Eric Christopher <echristo@apple.com> Revert r134921, 134917, 134908 and 134907. They're causing failures
in multiple buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d4a9066c93da9a5aab47ca228d82e796fdec70c0 11-Jul-2011 David Greene <greened@obbligato.org> [AVX] Make Inits Foldable

Manage Inits in a FoldingSet. This provides several benefits:

- Memory for Inits is properly managed

- Duplicate Inits are folded into Flyweights, saving memory

- It enforces const-correctness, protecting against certain classes
of bugs

The above benefits allow Inits to be used in more contexts, which in
turn provides more dynamism to TableGen. This enhanced capability
will be used by the AVX code generator to a fold common patterns
together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
86f9adb8becf5da6962bd89301e96bccba26f72a 08-Jul-2011 Jim Grosbach <grosbach@apple.com> TableGen'erated MC lowering for simple pseudo-instructions.

This allows the (many) pseudo-instructions we have that map onto a single
real instruction to have their expansion during MC lowering handled
automatically instead of the current cumbersome manual expansion required.
These sorts of pseudos are common when an instruction is used in situations
that require different MachineInstr flags (isTerminator, isBranch, et. al.)
than the generic instruction description has. For example, using a move
to the PC to implement a branch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
22fee2dff4c43b551aefa44a96ca74fcade6bfac 28-Jun-2011 Evan Cheng <evan.cheng@apple.com> Merge XXXGenRegisterNames.inc into XXXGenRegisterInfo.inc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
73f50d9bc3bd46cc0abeba9bb0d46977ba1aea42 27-Jun-2011 Evan Cheng <evan.cheng@apple.com> Merge XXXGenRegisterDesc.inc XXXGenRegisterNames.inc XXXGenRegisterInfo.h.inc
into XXXGenRegisterInfo.inc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
a347f85dbeee37a7f2bb68df1a7d4cdfbb7b576d 24-Jun-2011 Evan Cheng <evan.cheng@apple.com> Starting to refactor Target to separate out code that's needed to fully describe
target machine from those that are only needed by codegen. The goal is to
sink the essential target description into MC layer so we can start building
MC based tools without needing to link in the entire codegen.

First step is to refactor TargetRegisterInfo. This patch added a base class
MCRegisterInfo which TargetRegisterInfo is derived from. Changed TableGen to
separate register description from the rest of the stuff.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
0b6a44afb92fed0365b6709c1f46b0c5e49e1a72 22-Jun-2011 Jim Grosbach <grosbach@apple.com> Consolidate some TableGen diagnostic helper functions.

TableGen had diagnostic printers sprinkled about in a few places. Pull them
together into a single location in Error.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
c017bc1c1e2fa0995e957f6c2ada1339832bb221 04-Jun-2011 Jakob Stoklund Olesen <stoklund@2pi.dk> Drop a RecordKeeper reference that wasn't necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1de99829b6bebe3310682efac8be2a9a95323220 04-Jun-2011 Jakob Stoklund Olesen <stoklund@2pi.dk> Teach TableGen to evaluate DAG expressions as set operations.

A TableGen backend can define how certain classes can be expanded into
ordered sets of defs, typically by evaluating a specific field in the
record. The SetTheory class can then evaluate DAG expressions that refer
to these named sets.

A number of standard set and list operations are predefined, and the
backend can add more specialized operators if needed. The -print-sets
backend is used by SetTheory.td to provide examples.

This is intended to simplify how register classes are defined:

def GR32_NOSP : RegisterClass<"X86", [i32], 32, (sub GR32, ESP)>;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
dd137903e47fdb5822724baaddae88f119badc86 01-Jun-2011 Joerg Sonnenberger <joerg@bec.de> Add new -d option to tblgen. It writes a make(1)-style dependency file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
96883ec7002890b949e369cc6e0a5043c110a462 06-May-2011 Jim Grosbach <grosbach@apple.com> ParseFile() may throw, so extend the try/catch to handle that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
4954e9f2d9e6626b94b4f1e4863c78a7491b72b5 16-Apr-2011 Douglas Gregor <dgregor@apple.com> Initial work to improve documentation for Clang's diagnostics, from Matthieu Monrocq

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
50a47e93cebdf22dacb95a6e75a5b803fc4c3e04 14-Feb-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> Add the ClangSACheckersEmitter tablegen backend which will be used for the clang static analyzer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
348c975cb89c0f92e2114d021388334c711292b5 19-Jan-2011 Douglas Gregor <dgregor@apple.com> Fix comment for gen-clang-decl-nodes tblgen backend, from Michael Han

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3ff9563c3e391954b2e224afcf8b2b0fcc3888aa 16-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
333f5194cbffd98c30667d2a70df210bae06d220 15-Dec-2010 Bob Wilson <bob.wilson@apple.com> Add a Neon intrinsic test generator.
This is still a WIP. It's already good enough to expose a few bugs, though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9c6b60eb28d2717008f8d6ff52f7666ebc81113d 15-Dec-2010 Chris Lattner <sabre@nondot.org> various cleanups to tblgen, patch by Garrison Venn!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121837 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
67db883487fca3472fdde51e931657e22d4d0495 13-Dec-2010 Chris Lattner <sabre@nondot.org> eliminate the Records global variable, patch by Garrison Venn!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
333fb04506233255f10d8095c9e2de5e5f0fdc6f 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
238777eb58010dd23d83c6225ed71bfc9bcb0331 20-Oct-2010 Anders Carlsson <andersca@mac.com> Add a way to emit StringSwitch of clang attribute spellings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
e4f1a9b8a272ff7452759019ee7774e9dbdf1568 07-Oct-2010 Dan Gohman <gohman@apple.com> Move tool_output_file into its own file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d1e1703c39742f3c9fc3d27a442ff59bbdbfb5aa 27-Sep-2010 Benjamin Kramer <benny.kra@googlemail.com> Push twines deeper into SourceMgr's error handling methods.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d4c454317a38d65957edebe62bfc69fc8d9885e8 01-Sep-2010 Dan Gohman <gohman@apple.com> Make tool_output_file's raw_ostream instance a member variable instead
of a base class.

This makes it possible to unregister the file from FilesToRemove when
the file is done. Also, this eliminates the need for
formatted_tool_output_file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
cec358ae167464e7c5a382ea008c3e369be136f3 20-Aug-2010 Dan Gohman <gohman@apple.com> Convert tablegen to use tool_output_file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
726a3d284ec1949c4ccf77e79ca0506e8a38b05c 19-Aug-2010 Sean Hunt <rideau3@gmail.com> Finish full attribute class emission for clang.

For more information, see the accompanying clang patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111454 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
cb5d3ef88281057c81436e40bf9b43b720425b6f 13-Aug-2010 Mikhail Glushenkov <foldr@codedgers.com> Revert r111007.

Apparently, this is now fixed in Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
aa1a373a66fdc9602baa01b5405f6da69b3588f2 13-Aug-2010 Mikhail Glushenkov <foldr@codedgers.com> Add a workaround for building with Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
444e2f530e8ee74a4628e68f6f33f079f83ed2b2 20-Jul-2010 Chris Lattner <sabre@nondot.org> remove option from tablegen for building static header.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f8c4c27d845d97463cbd56852e6e6964d7acc8ec 17-Jun-2010 Nate Begeman <natebegeman@mac.com> Modify tablegen to support generating all NEON code used by clang at once.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106207 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
16171446c685fb5334e582362a01f20b094aa88a 17-Jun-2010 Sean Hunt <rideau3@gmail.com> Add preliminary clang attribute generation support.

The attribute class generation support is still somewhat limited.
See the accompanying clang commit for more details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
73cef3e9b111844fda5eedd68998628f14f7e6ab 04-Jun-2010 Nate Begeman <natebegeman@mac.com> 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
/external/llvm/utils/TableGen/TableGen.cpp
c10a62b0d53a7cb39b2ccb12c2dd9748ccd12f43 30-May-2010 Sean Hunt <rideau3@gmail.com> Allow for creation of clang DeclNodes tables.

The StmtNodes generator has been generalized to allow for the
creation of DeclNodes tables as well, and another emitter was
added for DeclContexts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
a4fda2c7573e7633f6ca8a2b6715d9f499d570c6 28-May-2010 Eli Friedman <eli.friedman@gmail.com> Fix build breakage.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
5ddb087f7fea1c4898d233a6cad6589d6f0a0b11 28-May-2010 Nate Begeman <natebegeman@mac.com> Add support to tablegen for auto-generating arm_neon.h from a tablegen description
of the intrinsics. The goal is to auto-generate both support for GCC-style (vector)
and ARM-style (struct of vector) intrinsics.

This is work in progress, but will be completed soon.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9d2cbffed0f6efe53d1ccdbe78de5990203db4b6 27-May-2010 Dan Gohman <gohman@apple.com> Simplify raw_ostream usage.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104874 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
84e2f959b770c4271f97eb29e36d62ba2f598af3 05-May-2010 Sean Hunt <rideau3@gmail.com> Add an emitter to handle the list of clang statement nodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
b68a3ee82a8a34f7bae1d68d76f574e76a5535ef 03-Apr-2010 Johnny Chen <johnny.chen@apple.com> Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgen
backend (ARMDecoderEmitter) which emits the decoder functions for ARM and Thumb,
and the disassembler core which invokes the decoder function and builds up the
MCInst based on the decoded Opcode.

Reviewed by Chris Latter and Bob Wilson.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f65f294c993371a1db782ed63e86af2fe7bcc60a 27-Mar-2010 Dan Gohman <gohman@apple.com> Remove an unnecessary #include.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
49d9dc4dd205b615beb7af160ef974eaabe4d1cf 16-Mar-2010 Bob Wilson <bob.wilson@apple.com> --- Reverse-merging r98637 into '.':
U test/CodeGen/ARM/tls2.ll
U test/CodeGen/ARM/arm-negative-stride.ll
U test/CodeGen/ARM/2009-10-30.ll
U test/CodeGen/ARM/globals.ll
U test/CodeGen/ARM/str_pre-2.ll
U test/CodeGen/ARM/ldrd.ll
U test/CodeGen/ARM/2009-10-27-double-align.ll
U test/CodeGen/Thumb2/thumb2-strb.ll
U test/CodeGen/Thumb2/ldr-str-imm12.ll
U test/CodeGen/Thumb2/thumb2-strh.ll
U test/CodeGen/Thumb2/thumb2-ldr.ll
U test/CodeGen/Thumb2/thumb2-str_pre.ll
U test/CodeGen/Thumb2/thumb2-str.ll
U test/CodeGen/Thumb2/thumb2-ldrh.ll
U utils/TableGen/TableGen.cpp
U utils/TableGen/DisassemblerEmitter.cpp
D utils/TableGen/RISCDisassemblerEmitter.h
D utils/TableGen/RISCDisassemblerEmitter.cpp
U Makefile.rules
U lib/Target/ARM/ARMInstrNEON.td
U lib/Target/ARM/Makefile
U lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
U lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
U lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
D lib/Target/ARM/Disassembler
U lib/Target/ARM/ARMInstrFormats.td
U lib/Target/ARM/ARMAddressingModes.h
U lib/Target/ARM/Thumb2ITBlockPass.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d30a98e43ae18e1fc70a7dc748edf669d809c685 16-Mar-2010 Johnny Chen <johnny.chen@apple.com> Initial ARM/Thumb disassembler check-in. It consists of a tablgen backend
(RISCDisassemblerEmitter) which emits the decoder functions for ARM and Thumb,
and the disassembler core which invokes the decoder function and builds up the
MCInst based on the decoded Opcode.

Added sub-formats to the NeonI/NeonXI instructions to further refine the NEONFrm
instructions to help disassembly.

We also changed the output of the addressing modes to omit the '+' from the
assembler syntax #+/-<imm> or +/-<Rm>. See, for example, A8.6.57/58/60.

And modified test cases to not expect '+' in +reg or #+num. For example,

; CHECK: ldr.w r9, [r7, #28]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
95fcebd5c490c725ee5d88be963d39ddaf0971bd 29-Jan-2010 Sean Callanan <scallanan@apple.com> Added a custom TableGen backend to support the
enhanced disassembler, and the necessary makefile
rules to build the table for X86.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
405887419f3954545be8da2da12000d2aa61ae16 25-Nov-2009 Daniel Dunbar <daniel@zuster.org> Sketch TableGen disassembler emitter, based on patch by Sean Callanan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
2d6a8fb827e3c83ab2271dfb05c7c73902859297 18-Nov-2009 Daniel Dunbar <daniel@zuster.org> TableGen: Add initial backend for clang Driver's option parsing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
baa26395ccf17fc988bb9cf62d6659ca8415ece9 25-Aug-2009 Dan Gohman <gohman@apple.com> Make LLVM command-line tools overwrite their output files without -f.
This is conventional command-line tool behavior. -f now just means
"enable binary output on terminals".

Add a -f option to llvm-extract and llvm-link, for consistency.

Remove F_Force from raw_fd_ostream and enable overwriting and
truncating by default. Introduce an F_Excl flag to permit users to
enable a failure when the file already exists. This flag is
currently unused.

Update Makefiles and documentation accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
17e9edc4a7bbeadf756494cf39fcacc9eff72202 23-Aug-2009 Chris Lattner <sabre@nondot.org> Change raw_fd_ostream to take flags as an optional bitmask
instead of as two bools. Use this to add a F_Append flag
which has the obvious behavior.

Other unrelated changes conflated into this patch:

1. REmove EH stuff from llvm-dis and llvm-as, the try blocks
are dead.
2. Simplify the filename inference code in llvm-as/llvm-dis,
because raw_fd_ostream does the right thing with '-'.
3. Switch machine verifier to use raw_ostream instead of ostream
(Which is the thing that needed append in the first place).




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
a1bdcedc3879510a874d24c450e07feb170d9cd6 15-Jul-2009 Dan Gohman <gohman@apple.com> Add a Force option to raw_fd_ostream to specify whether opening
an existing file is considered an error. Convert several tools
to use raw_fd_ostream instead of std::ostream, and to use this
new option instead of doing a manual check.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d51ffcf303070b0a5aea7f365b85f6f969c384cb 11-Jul-2009 Daniel Dunbar <daniel@zuster.org> Stub out assembly matcher (.s -> MCInst) tblgen backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
81cb8caa3eb482d45e0fd54f8022384256619178 08-Jul-2009 Chris Lattner <sabre@nondot.org> Add a new little "FileCheck" utility for regression testing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1a55180238dbcf11113f610aea010447e51f595b 03-Jul-2009 Daniel Dunbar <daniel@zuster.org> Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself.

- No intended functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3fb7683bec8c8edb24e80c95f3b0668c6ecc0ae6 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Normalize SourceMgr messages.
- Don't print "Parsing" in front of every message.

- Take additional "type" argument which is prepended to the message (with ": ")
if given.

- Update clients to print errors (warnings) as:
<filename>:<line number>: error(warning): ...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
14ee48a5bae352780b767a14bd97e8e91800a95b 21-Jun-2009 Chris Lattner <sabre@nondot.org> rename SourceMgr::PrintError to PrintMessage.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7ee5d5f97b3fa709038ff7fd640dc775efaadc26 21-Jun-2009 Chris Lattner <sabre@nondot.org> move include searching logic from TGLexer to SourceMgr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
8070ea3f068980d08cc10381f4c9369d19a91353 21-Jun-2009 Chris Lattner <sabre@nondot.org> Rename TGSourceMgr -> SourceMgr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1e3a8a492471f5dc3f50452af9eb9a2dfb1aeb39 21-Jun-2009 Chris Lattner <sabre@nondot.org> rename TGLoc -> SMLoc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
ac9e7da69c3fe26c6496f5093a953c2841df7a29 15-Apr-2009 Chris Lattner <sabre@nondot.org> rename -gen-clang-diags-options -> -gen-clang-diag-groups


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
8b9d027701dbfe4e0dad8c0fd8a2fdc95e7bf7db 18-Mar-2009 Ted Kremenek <kremenek@apple.com> Add another Clang TableGen-backend (-gen-clang-diags-options) for emitting
declarations for controlling groups of warnings. Currently this transforms:

def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>;

into:

static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used };



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
557f7f88ba686886278f83159b7a629c24a47176 13-Mar-2009 Ted Kremenek <kremenek@apple.com> Add (hidden) TableGen command option '-clang-component' which specifies the
component's warnings to process for '-gen-clang-diags-defs'.

Also, when the component is specified, generate a '#if' prologue at the top of
the generated .def file (to match the current files).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
04a847e70616cba0208c654729736a9d8f4047ac 13-Mar-2009 Ted Kremenek <kremenek@apple.com> Add initial implementation of a TableGen backend for converting Clang-warnings
tablegen files to the original .def preprocessor include files. This is my first
TableGen backend; I don't claim that it is awesome.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
a14b1ded69dc76f4e41ef60eeab89dc8575af44b 13-Mar-2009 Chris Lattner <sabre@nondot.org> add a new TGError class and use it to propagate location info with
errors when thrown. This gets us nice errors like this from tblgen:

CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: error:
Included from X86.td:116:
Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands!
def CMOVL32rr : I<0x4C, MRMSrcReg, // if <s, GR32 = GR32
^

instead of just:

CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands!

This is all I plan to do with this, but it should be easy enough to improve if anyone
cares (e.g. keeping more loc info in "dag" expr records in tblgen.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7b9ffe4a6db2e59c18510aac4ba30902653e13eb 13-Mar-2009 Chris Lattner <sabre@nondot.org> give each Record a location.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1c8ae59dfdc85d917db0333ae0b93e2be4ca6c36 13-Mar-2009 Chris Lattner <sabre@nondot.org> make "locations" a class instead of a typedef.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
aa739d26b1e65aec7f9afa1cde7e069c081ea355 13-Mar-2009 Chris Lattner <sabre@nondot.org> split buffer management and diagnostic printing out of the tblgen
lexer into its own TGSourceMgr class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
cc14d25dd99e891c586bd56aa41796abbe4ac3d8 06-Mar-2009 Chris Lattner <sabre@nondot.org> Change various llvm utilities to use PrettyStackTraceProgram in
their main routines. This makes the tools print their argc/argv
commands if they crash.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
49de98214b82fefeb8f16efbf8cdd8813a85469b 05-Feb-2009 Dale Johannesen <dalej@apple.com> Reapply 63765. Patches for clang and llvm-gcc to follow.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
4d452de1506344bf1d28bb4a8c4ddb78c51a28c8 04-Feb-2009 Dale Johannesen <dalej@apple.com> Reverting 63765. This broke the build of both clang
and llvm-gcc.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d24479730a8790d82c4859dc477bc2416d7a6bda 04-Feb-2009 Nate Begeman <natebegeman@mac.com> New feature: add support for target intrinsics being defined in the
target directories themselves. This also means that VMCore no longer
needs to know about every target's list of intrinsics. Future work
will include converting the PowerPC target to this interface as an
example implementation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
212e6983eb7f209d1308c2b489af7c483bda511e 07-Nov-2008 Dan Gohman <gohman@apple.com> Make tablegen print out a nice error message for a const char*
exception, like it does for a std::string exception.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
b0cf29c5cfff797284b3660dc233e135feb65d9a 13-Aug-2008 Dan Gohman <gohman@apple.com> Initial checkin of the new "fast" instruction selection support. See
the comments in FastISelEmitter.cpp for details on what this is.
This is currently experimental and unusable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
895820da243713e78ff3ee66ba54c4db4ee121ac 06-May-2008 Mikhail Glushenkov <foldr@codedgers.com> Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
ecbdcf2ae056404cde449783a1ec8ba798c36562 06-May-2008 Mikhail Glushenkov <foldr@codedgers.com> Rename LLVMCCConfigurationEmitter to LLVMCConfigurationEmitter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
038112a4e0a9afd656f415ab397a230ae5921627 01-Apr-2008 Chris Lattner <sabre@nondot.org> Change the MemoryBuffer::getFile* methods to take just a pointer to the
start of a filename, not a filename+length. All clients can produce a
null terminated name, and the system api's require null terminated
strings anyway.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
ac67b7ea8fcd530995d7aefd2ad0f04543789855 23-Mar-2008 Anton Korobeynikov <asl@math.spbu.ru> Add first proof-of-concept universal compiler driver framework based
on ideas mentioned in PR686.
Written by Mikhail Glushenkov and contributed by Codedgers, Inc.

Old llvmc will be removed soon after new one will have all its properties.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7b11712ef2d41631137a3c124a58407702ffa8af 06-Jan-2008 Chris Lattner <sabre@nondot.org> split enum emission out from InstrInfoEmitter into it's own tblgen backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3060910e290949a9ac5eda8726d030790c4d60ff 29-Dec-2007 Chris Lattner <sabre@nondot.org> remove attributions from utils.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f460165a4c1bf4bc762f9b3f12b9ed284b89cc99 22-Nov-2007 Chris Lattner <sabre@nondot.org> Rewrite the tblgen parser in a recursive descent style, eliminating the bison parser.

This makes the parser much easier to understand, eliminates a ton of global variables,
and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't
care about performance.

There are a couple of FIXMEs which I will take care of next.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
50d456539dea5e61d7a1592a78f1861fb35b0063 27-Feb-2007 Chris Lattner <sabre@nondot.org> reapply


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
53c9b3f68c74c6ea4d739bb268e5fc5b495adff3 27-Feb-2007 Evan Cheng <evan.cheng@apple.com> Backing out
CodeGenTarget.cpp updated: 1.82 -> 1.83
Record.cpp updated: 1.55 -> 1.56
Record.h updated: 1.59 -> 1.60
TableGen.cpp updated: 1.47 -> 1.48
It's missing CallingConvEmitter.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34693 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
798dc7adb4f473c196c0000728fbaab0eb4fd8f2 27-Feb-2007 Chris Lattner <sabre@nondot.org> initial support for calling convention generation, still unfinished.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8 07-Dec-2006 Bill Wendling <isanbard@gmail.com> What should be the last unnecessary <iostream>s in the library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3b2397211b806e723369f99b0ec674c6f616901b 03-Mar-2006 Chris Lattner <sabre@nondot.org> remove a bunch of long-dead testing code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9e493cfcc32aee58e6750ce1efa52d5c3bc3f893 03-Mar-2006 Chris Lattner <sabre@nondot.org> initial implementation of intrinsic parsing


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
ed5424196d79746542e14bf959842fb94bc8fb9c 03-Mar-2006 Chris Lattner <sabre@nondot.org> Add support for "-Ifoo" in addition to "-I foo"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d9f5d90af198eff5fa78e313d019bd1770db7f03 03-Mar-2006 Chris Lattner <sabre@nondot.org> add support for multiple include directories


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
6fb9a84e79212f550981b6545aa435e7ca0cd794 26-Dec-2005 Duraid Madina <duraid@octopus.com.au> more standards-compliance stuff


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25014 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
2dc74dd831c611895bf5ac66521b4d944b15cc0b 23-Oct-2005 Chris Lattner <sabre@nondot.org> Remove the obsolete instr selector emitter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f5fc2cbd6bcf80cc34c8114007f31d8ffd1d138d 21-Oct-2005 Jim Laskey <jlaskey@mac.com> Plugin new subtarget backend into the build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
4a24c645c8402dff59dbf20d5a422227a611e908 03-Sep-2005 Chris Lattner <sabre@nondot.org> Add an option and stuff implementation of a dag isel emitter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23236 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
ea3e5e56fdc56e5c2ddafb36eab26676e137dfa0 22-Apr-2005 Jeff Cohen <jeffc@jolt-lang.org> Eliminate tabs and trailing spaces


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3da94aec4d429b2ba0f65fa040c33650cade196b 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
227b6d00dd1faee07c921c7e2256e0fca737d2e5 14-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Fix usage of changed function prototype


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
23f7d5131cf9519b90ac4fc2d200671d128b5464 04-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Make tblgen's exception handling a little more robust by printing the
program name and also catching ...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
debb5f085ad6dcdafc6e939aa044852b469c8d7f 29-Aug-2004 Reid Spencer <rspencer@reidspencer.com> RemoveFileOnErrorSignal is now in the llvm::sys namespace. Adjust
accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
2e1f51b8a583649d74cb666ca5e4cf680cc1ced9 01-Aug-2004 Chris Lattner <sabre@nondot.org> Initial cut at an asm writer emitter. So far, this only handles emission of
instructions, and only instructions that take no operands at that!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
2082ebe8b3a5db302748828ab4f79a36d239c1d9 01-Aug-2004 Chris Lattner <sabre@nondot.org> Finegrainify namespacification


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15381 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9879aa9c95850021da29bcc0ca3643c11b67f481 22-Jul-2004 Chris Lattner <sabre@nondot.org> Remove some abandoned code that was never finished. If needed in the future
it can be ressurected from CVS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
bd935336d4dd9d9a55feed9d9ef0bd6941060f37 16-Jul-2004 Chris Lattner <sabre@nondot.org> Passing integer 0 in for a pointer value doesn't work on IA64. Fix this
by using a new macro.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
42df6d1396d0335621f648b0e4a6e59f13e868f2 13-Jul-2004 Chris Lattner <sabre@nondot.org> Make tblgen not try to be smart. This is better handled in makefiles if
at all. Patch contributed by Vladimir Prus!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
bed85ff010b95923646ed4e187a5d432cedf67da 27-May-2004 Chris Lattner <sabre@nondot.org> Header file moved


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
01b6a6f27917ca3549d76cf2eec964b362d987a4 06-Apr-2004 Jakub Staszak <kuba@gcc.gnu.org> add tablgen backend for really simple instruction selector


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f5761a5e68fa805d58422ca0db5f32f049e77551 13-Feb-2004 Chris Lattner <sabre@nondot.org> exit(1) instead of abort()'ing on error


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7b9ee51a55f7f16b54e9839d99841bc2fab71ebe 06-Feb-2004 Chris Lattner <sabre@nondot.org> Print the record NAME not the record ADDRESS


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
01d45827a1e512f3b19ba857772bf02baa3c0c4e 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added LLVM copyright header.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
737af827e830eb8eeecda42a31d44d284fbe0204 07-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Fixed spelling of `intentionally'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
96b4beda5c180f4091d55752bc22129f15d4030c 27-Aug-2003 John Criswell <criswell@uiuc.edu> Added an option to TableGen that allows users to specify a directory in which
to find include files. TableGen will load include files from this directory if
it cannot find them in the current directory.
This feature was needed for building code inside the object tree (a la autoconf
style).
TODO: Allow for multiple -I options to specify a list of directories to search.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
c3fe45b2f577eaf4d12cb7890773af3a8dea73c7 14-Aug-2003 Misha Brukman <brukman+llvm@gmail.com> Using `std::remove' requires `cstdio.h'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
3f781341f97da31bfee55bc221ff58b76e7a60df 06-Aug-2003 Chris Lattner <sabre@nondot.org> Add an instruction selector emitter skeleton


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
15de32d706287e1457ab26b74d731f5367083b99 03-Aug-2003 Chris Lattner <sabre@nondot.org> add new --gen-instr-desc option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
169e66bfc23c20a3df7d0364f5f1abb43f33694b 03-Aug-2003 Chris Lattner <sabre@nondot.org> Add support for instruction enum emission


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
e79c72d4cd68fce6ccb30b2cc222069619f7d503 01-Aug-2003 Chris Lattner <sabre@nondot.org> Tablegen should only replace the output if it changes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f1e366acffbe4bdbb1d4a573c178f5531efdf7f8 01-Aug-2003 Chris Lattner <sabre@nondot.org> Make sure to delete the output file if there is an error


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7481 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
54d156d33324b7715453993f21684915a28e310a 01-Aug-2003 Chris Lattner <sabre@nondot.org> Add the ability to emit register file enums


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
accd8abeebfa73e0a4cb2d4372ecf42513561460 01-Aug-2003 Chris Lattner <sabre@nondot.org> Dead code elimination


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
1d1adea4937aa5c7b4bd0aa0463fe38fcdd22c7e 01-Aug-2003 Chris Lattner <sabre@nondot.org> Add file comment
Add register info emitter
Simplify code by using "high-level" methods.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f745a20deb40ba0113fe368efcba5393e9d3e99c 31-Jul-2003 Chris Lattner <sabre@nondot.org> Rename createEmitter to run because eventually all tablegen backends will
be subclasses of a common interface.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
90523906fa31c8f4e156dc7ef4a433a50d4b706d 30-Jul-2003 Chris Lattner <sabre@nondot.org> Make tablegen take an input filename to parse if one is specified, otherwise
use stdin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
30709543d2463948d2b6e30a4411a29940cfde69 30-Jul-2003 Chris Lattner <sabre@nondot.org> Don't crash if there is no Inst class in the tablegen file!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
85df22568d3eebfde900dd30038c29ae01caf5bd 03-Jun-2003 Chris Lattner <sabre@nondot.org> Spiff up options a bit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6573 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9a886386a4067a2407a284c947bd1044b43e2b1b 03-Jun-2003 Chris Lattner <sabre@nondot.org> Add -o support for TableGen

I figure that misha has done a lot of things on my todo list, the least I
can do is reciprocate a bit. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
bc52013e30f69655f941313c3fa1a2c18de5b7ab 03-Jun-2003 Chris Lattner <sabre@nondot.org> Make tablegen use more structured command line options


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
f00ce8bc29c3194485b7251dd3e234cead10008e 24-May-2003 Misha Brukman <brukman+llvm@gmail.com> Add ability to utilize the code emitter generator (CodeEmitterGen).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
7b1d49b61d212d3428f7505d550ef767f19543f8 03-Dec-2002 Chris Lattner <sabre@nondot.org> Add code that can be used for debugging


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
9833493bae15d9b84cb1c5dc26a2d7bcc8aefebd 02-Dec-2002 Chris Lattner <sabre@nondot.org> Adjustments due to new FieldInit stuff


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp
e62c1185bee05facc25d1d725434f517261d308b 02-Dec-2002 Chris Lattner <sabre@nondot.org> Initial checkin of TableGen utility


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/TableGen/TableGen.cpp