aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variable.Reid Spencer2004-10-081-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16844 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it so that positional parameters can have spaces in them.Reid Spencer2004-10-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16843 91177308-0d34-0410-b5e6-96231b3b80d8
* Properly `quote' names, and don't forget to add the ending quote!Misha Brukman2004-10-081-24/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16838 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix usage description typoMisha Brukman2004-10-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16831 91177308-0d34-0410-b5e6-96231b3b80d8
* Make comment header span the entire lineMisha Brukman2004-10-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16830 91177308-0d34-0410-b5e6-96231b3b80d8
* Make these scripts work on SunOS too.Reid Spencer2004-10-072-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16805 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly parse variant notationChris Lattner2004-10-031-6/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16637 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial support for variants. This just parses the new format, noChris Lattner2004-10-031-1/+12
| | | | | | | functionality is added git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16636 91177308-0d34-0410-b5e6-96231b3b80d8
* #include DataTypes.h to compile on MinGW, patch by Henrik Bach.Misha Brukman2004-09-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16616 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add `deplibs' keyword for specifying a list of dependent librariesMisha Brukman2004-09-281-4/+4
| | | | | | | * Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16558 91177308-0d34-0410-b5e6-96231b3b80d8
* Add `deplibs' keyword for specifying a list of dependent librariesMisha Brukman2004-09-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16557 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the isLoad and isStore flags, needed by the instruction ↵Nate Begeman2004-09-283-0/+6
| | | | | | scheduler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16554 91177308-0d34-0410-b5e6-96231b3b80d8
* Turn the hasDelaySlot flag into the M_DELAY_SLOT_FLAGChris Lattner2004-09-283-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16553 91177308-0d34-0410-b5e6-96231b3b80d8
* Touch output files before reading or writing them, so that they areBrian Gaeke2004-09-281-3/+26
| | | | | | | | | | | | always guaranteed to exist. This fixes PR444. Thanks to Alkis for reporting the bug and testing the patch. AddRecord used to return a big list, but that return value was never used. So now it doesn't return anything. Create the WebDir if it does not exist. Fix a typo in a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16541 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation upgrade.Reid Spencer2004-09-203-6/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16445 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish the documentation.Reid Spencer2004-09-201-9/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16444 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up the specification of what counts as a code file. The previousReid Spencer2004-09-201-11/+60
| | | | | | | | | specification was too liberal in some areas and missing things in others. This specification is based on the actual extensions found in the source tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16443 91177308-0d34-0410-b5e6-96231b3b80d8
* Base the implementation on the llvmdo script so that we only have toReid Spencer2004-09-203-38/+11
| | | | | | | maintain the logic for "what counts as a source file" in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16442 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed to actually work correctly and be the basis for other tools byReid Spencer2004-09-201-9/+39
| | | | | | | | allowing the set of directories searched to be specified either by the LLVMDO_DIRS env var or by the -dirs "dirs..." command line option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16441 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't count .lo files :)Chris Lattner2004-09-201-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16439 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't include libtool "object" filesChris Lattner2004-09-182-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16391 91177308-0d34-0410-b5e6-96231b3b80d8
* Revamp the Register class, and allow the use of the RegisterGroup class toChris Lattner2004-09-141-8/+5
| | | | | | | | | specify aliases directly in register definitions. Patch contributed by Jason Eckhardt! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16330 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify the lines of code counting mechanism to use the new "countloc.sh"Reid Spencer2004-09-061-1/+1
| | | | | | | | utility. This avoids some problems with long line lengths and counting the wrong things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16200 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a tool to more accurately count the lines of code. The previousReid Spencer2004-09-061-0/+38
| | | | | | | | | | | | utility, getsrcs.sh suffered from two problems: (1) it generated command lines too long for some platforms and (2) it searched the projects diretory which now contains the llvm-test module (in nightly tester) but we don't want to include the test code in our LOC calculation. This script should be maintained as LLVM adds new top level directories that contain source code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16199 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove double paren use in system() function so that the command line canReid Spencer2004-09-051-2/+2
| | | | | | | be correctly interpreted by non-bash shells. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16194 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the NightlyTest run tests out of projects/llvm-test instead ofReid Spencer2004-09-051-4/+6
| | | | | | | llvm/test/Programs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16181 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up some "clean:" targets so they use $(VERB) and don't print anythingReid Spencer2004-09-032-4/+4
| | | | | | | by default, like every other "clean" target in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16161 91177308-0d34-0410-b5e6-96231b3b80d8
* 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-016-10/+10
| | | | | | | | | 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
* Link with LLVMsystem.a for operating system independence.Reid Spencer2004-08-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16094 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
* Add the examples directory to these scripts.Reid Spencer2004-08-242-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16030 91177308-0d34-0410-b5e6-96231b3b80d8
* Alignment is now in bits.Chris Lattner2004-08-211-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15976 91177308-0d34-0410-b5e6-96231b3b80d8
* Make alignment be in bits, just like size isChris Lattner2004-08-212-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15969 91177308-0d34-0410-b5e6-96231b3b80d8
* Infer the spillsize/alignment of a register based on the register classesChris Lattner2004-08-211-3/+34
| | | | | | | it is embedded into. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15966 91177308-0d34-0410-b5e6-96231b3b80d8
* Support "Methods" in register classes in CodgeGenRegisterClassChris Lattner2004-08-213-11/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15965 91177308-0d34-0410-b5e6-96231b3b80d8
* Start parsing register classes into a more structured formChris Lattner2004-08-214-19/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15961 91177308-0d34-0410-b5e6-96231b3b80d8
* Read in declared reg sizesChris Lattner2004-08-212-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15960 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not #include files into the llvm namespaceChris Lattner2004-08-177-18/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15849 91177308-0d34-0410-b5e6-96231b3b80d8
* Use CodeGenRegister class to make reading in of register information moreChris Lattner2004-08-163-19/+42
| | | | | | | systematic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15805 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial support for register and register class representation.Chris Lattner2004-08-161-0/+37
| | | | | | | Obviously this is not done. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15804 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove awareness of isDummyClassChris Lattner2004-08-151-9/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15789 91177308-0d34-0410-b5e6-96231b3b80d8
* Include .td and .txt files in the greps. This will allow me to find symbols inChris Lattner2004-08-152-2/+2
| | | | | | | them, and also count them in the LOC of LLVM for the nightly tester. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15786 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the AsmWriter a first-class tblgen object. Allow targets to specifyChris Lattner2004-08-144-8/+32
| | | | | | | name of the generated asmwriter class, and the name of the format string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15747 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor bug in previous checkinChris Lattner2004-08-111-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15649 91177308-0d34-0410-b5e6-96231b3b80d8
* change how we invoke the printer. Instead of passing in the MO directly,Chris Lattner2004-08-111-1/+2
| | | | | | | pass in the MI, operand number, and the type of the operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15645 91177308-0d34-0410-b5e6-96231b3b80d8
* Start parsing more information from the Operand informationChris Lattner2004-08-112-8/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15644 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove special case hacksChris Lattner2004-08-111-8/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15643 91177308-0d34-0410-b5e6-96231b3b80d8
* Deleted commented-out code as we now get namespace directly, add commentsMisha Brukman2004-08-101-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15627 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the target name instead of hard-coding SparcV9.Misha Brukman2004-08-101-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15616 91177308-0d34-0410-b5e6-96231b3b80d8