aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/TableGen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make tblgen's exception handling a little more robust by printing theReid Spencer2004-09-031-1/+8
| | | | | | | program name and also catching ... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16160 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | | 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
* RemoveFileOnErrorSignal is now in the llvm::sys namespace. AdjustReid Spencer2004-08-291-1/+1
| | | | | | | accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16093 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial cut at an asm writer emitter. So far, this only handles emission ofChris Lattner2004-08-011-1/+9
| | | | | | | 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
* Finegrainify namespacificationChris Lattner2004-08-011-9/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15381 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some abandoned code that was never finished. If needed in the futureChris Lattner2004-07-221-7/+1
| | | | | | | it can be ressurected from CVS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15113 91177308-0d34-0410-b5e6-96231b3b80d8
* Passing integer 0 in for a pointer value doesn't work on IA64. Fix thisChris Lattner2004-07-161-1/+1
| | | | | | | by using a new macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14863 91177308-0d34-0410-b5e6-96231b3b80d8
* Make tblgen not try to be smart. This is better handled in makefiles ifChris Lattner2004-07-131-14/+3
| | | | | | | at all. Patch contributed by Vladimir Prus! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14784 91177308-0d34-0410-b5e6-96231b3b80d8
* Header file movedChris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
* add tablgen backend for really simple instruction selectorJakub Staszak2004-04-061-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12712 91177308-0d34-0410-b5e6-96231b3b80d8
* exit(1) instead of abort()'ing on errorChris Lattner2004-02-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11380 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the record NAME not the record ADDRESSChris Lattner2004-02-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11144 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright header.John Criswell2003-10-201-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9305 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed spelling of `intentionally'.Misha Brukman2003-09-071-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8387 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an option to TableGen that allows users to specify a directory in whichJohn Criswell2003-08-271-2/+6
| | | | | | | | | | | 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
* Using `std::remove' requires `cstdio.h'.Misha Brukman2003-08-141-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7843 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an instruction selector emitter skeletonChris Lattner2003-08-061-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7629 91177308-0d34-0410-b5e6-96231b3b80d8
* add new --gen-instr-desc optionChris Lattner2003-08-031-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7545 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for instruction enum emissionChris Lattner2003-08-031-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7516 91177308-0d34-0410-b5e6-96231b3b80d8
* Tablegen should only replace the output if it changesChris Lattner2003-08-011-4/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7486 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to delete the output file if there is an errorChris Lattner2003-08-011-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7481 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the ability to emit register file enumsChris Lattner2003-08-011-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7471 91177308-0d34-0410-b5e6-96231b3b80d8
* Dead code eliminationChris Lattner2003-08-011-10/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7468 91177308-0d34-0410-b5e6-96231b3b80d8
* Add file commentChris Lattner2003-08-011-40/+52
| | | | | | | | 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
* Rename createEmitter to run because eventually all tablegen backends willChris Lattner2003-07-311-1/+1
| | | | | | | be subclasses of a common interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7445 91177308-0d34-0410-b5e6-96231b3b80d8
* Make tablegen take an input filename to parse if one is specified, otherwiseChris Lattner2003-07-301-5/+8
| | | | | | | use stdin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7431 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't crash if there is no Inst class in the tablegen file!Chris Lattner2003-07-291-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7402 91177308-0d34-0410-b5e6-96231b3b80d8
* Spiff up options a bitChris Lattner2003-06-031-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6573 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -o support for TableGenChris Lattner2003-06-031-4/+25
| | | | | | | | 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
* Make tablegen use more structured command line optionsChris Lattner2003-06-031-16/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6570 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to utilize the code emitter generator (CodeEmitterGen).Misha Brukman2003-05-241-1/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6322 91177308-0d34-0410-b5e6-96231b3b80d8
* Add code that can be used for debuggingChris Lattner2002-12-031-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4888 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjustments due to new FieldInit stuffChris Lattner2002-12-021-6/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4852 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of TableGen utilityChris Lattner2002-12-021-0/+351
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8