aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* This was a good idea, but until this does not break the build ofChris Lattner2004-08-101-3/+3
| | | | | | | lib/Target/Sparc, we should not use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15603 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the current target name instead of a ClassPrefix.Misha Brukman2004-08-091-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15585 91177308-0d34-0410-b5e6-96231b3b80d8
* * Use Classname and ClassPrefix instead of hard-coded V9 valuesMisha Brukman2004-08-091-8/+7
| | | | | | | * Simplify code and shorten lines by not recomputing values git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15582 91177308-0d34-0410-b5e6-96231b3b80d8
* Split out -disable-codegen into -disable-llc and -disable-jit.Brian Gaeke2004-08-051-5/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15530 91177308-0d34-0410-b5e6-96231b3b80d8
* * Added documentation in the file headerMisha Brukman2004-08-041-2/+4
| | | | | | | * Shorten assert() text to make it fit within 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15508 91177308-0d34-0410-b5e6-96231b3b80d8
* Be pickyChris Lattner2004-08-011-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15400 91177308-0d34-0410-b5e6-96231b3b80d8
* Instructions no longer need to have names.Chris Lattner2004-08-011-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15399 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for asm printing machine instructions that have operands.Chris Lattner2004-08-011-2/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15391 91177308-0d34-0410-b5e6-96231b3b80d8
* Parse the operand list of the instruction. We currently support register ↵Chris Lattner2004-08-013-7/+54
| | | | | | and immediate operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15390 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial cut at an asm writer emitter. So far, this only handles emission ofChris Lattner2004-08-014-3/+99
| | | | | | | 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
* Add, and start using, the CodeGenInstruction class. This class representsChris Lattner2004-08-015-47/+144
| | | | | | | an instance of the Instruction tablegen class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15385 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)Chris Lattner2004-08-018-181/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15382 91177308-0d34-0410-b5e6-96231b3b80d8
* Finegrainify namespacificationChris Lattner2004-08-019-49/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15381 91177308-0d34-0410-b5e6-96231b3b80d8
* Support new flagChris Lattner2004-07-311-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15355 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the nightly tester to default to using gnuplot in /usr/binChris Lattner2004-07-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15287 91177308-0d34-0410-b5e6-96231b3b80d8
* Ugh, the upgrade of zion brought in GCC 3.3.2, our arch nemesis.Chris Lattner2004-07-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15269 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement test/Regression/TableGen/ListSlices.tdChris Lattner2004-07-272-29/+142
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15249 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial support for list slices. This currently allows you to do stuffChris Lattner2004-07-263-16/+65
| | | | | | | | | | | | | like this: def B { list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6]; } ... which isn't particularly useful, but more is to come. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15247 91177308-0d34-0410-b5e6-96231b3b80d8
* A utility to run an arbitrary program on each of the LLVM source files.Reid Spencer2004-07-261-0/+31
| | | | | | | | | | | | | | | | | This is like llvmgrep but instead of running grep, it runs the command given by the first argument. For example, to find the top ten files with the most lines in llvm, you could: utils/llvmdo wc -l | sort -nb | tail Or, to find any source files with the wrong permissions, you could: utils/llvmdo ls -l | grep -v rw-r--r-- Hopefully, you get the idea. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15246 91177308-0d34-0410-b5e6-96231b3b80d8
* Change column nameChris Lattner2004-07-231-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15129 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some abandoned code that was never finished. If needed in the futureChris Lattner2004-07-223-521/+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
* Fix some thinkos in the script (error handling, proper argument handling).Reid Spencer2004-07-071-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14676 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the "rotate by 90" xtics specification to just "rotate" which isReid Spencer2004-07-061-7/+7
| | | | | | | | | equivalent. The "by <angle>" syntax is not acceptable for all output devices. Apparently the Sparc and x86 output devices (no color) don't accept this, but should accept the plain "rotate". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14645 91177308-0d34-0410-b5e6-96231b3b80d8
* Caused the labels on the small plots to be drawn vertically instead ofReid Spencer2004-07-051-0/+28
| | | | | | | | | horizontally so they no longer overlap. This eye-strain-lessening patch contributed by Vladimir Merzliakov. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14632 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix relative links for nightly testers not hosted on llvm.cs.Chris Lattner2004-06-251-2/+2
| | | | | | | Patch contributed by Vladimir Merzliakov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14419 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to run qmtests if we fail to build the tree. The qmtests (atBrian Gaeke2004-06-251-0/+2
| | | | | | | least, on macosx) will spiral out of control instead of failing gracefully. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14396 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the tests for readability of the template and gnuplot files so theyReid Spencer2004-06-231-11/+11
| | | | | | | | | occur AFTER the source is checked out. This ensures that if either of the -gnuplotscript or -templatefile options are not given, that they get picked up from the checkout directory and don't abort the test unnecessarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14346 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a -noexternals options to avoid performing the externals tests onReid Spencer2004-06-231-5/+17
| | | | | | | test environments that don't have Povray or SPEC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14345 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure GetRegEx returns something gnuplot can deal with (a number, notReid Spencer2004-06-231-1/+1
| | | | | | | a ?) so that graphs don't bail if something fails in a test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14344 91177308-0d34-0410-b5e6-96231b3b80d8
* - Added the -nice option for nicing the build processes.Reid Spencer2004-06-221-152/+201
| | | | | | | | | | | | | - Added the -gnuplotscript option to specify the GnuPlot script to use. - Added the -templatefile option to specify the HTML template to use. - Moved subroutines to top of file. - Used variables for file names in case we want to change to directories. - Made program track its directory changes in $VERBOSE mode (for debugging) - Added variables to support tracking start time, finish time, and platform details about each nightly test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14321 91177308-0d34-0410-b5e6-96231b3b80d8
* Added start time, finish time, and platform (uname -a output) informationReid Spencer2004-06-221-1/+6
| | | | | | | to the top of the template for identification purposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14318 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed extra href close tagTanya Lattner2004-06-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14315 91177308-0d34-0410-b5e6-96231b3b80d8