summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* Use compiler.h instead of hand rolling our own macroChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29913 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not emit getTargetNode() and SelectNodeTo() which takes more than 3Evan Cheng2006-08-27
| | | | | | | SDOperand arguments. Use the variants which take an array and number instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29906 91177308-0d34-0410-b5e6-96231b3b80d8
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29901 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor getCopyToReg() call change.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29900 91177308-0d34-0410-b5e6-96231b3b80d8
* Select() no longer require Result operand by reference.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29898 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29897 91177308-0d34-0410-b5e6-96231b3b80d8
* A bit more clean up.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29893 91177308-0d34-0410-b5e6-96231b3b80d8
* - Clean up tablegen dag isel generator code.Evan Cheng2006-08-26
| | | | | | | | | | | | | | - Clean up the code generated by tablegen: * AddToISelQueue now takes one argument. * ComplexPattern matching condition can now be shared. * Eliminate passing unnecessary arguments to emit routines. * Eliminate some unneeded SDOperand declarations in select routines. * Other minor clean ups. - This reduces foot print slightly: X86ISelDAGToDAG.o is reduced from 971k to 823k. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29892 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrected an error that was introduced yesterday that caused the GCCPatrick Jenkins2006-08-22
| | | | | | | | | | | version to be left blank if the build failed. Also corrected a problem where if the build failed the nightly tester would still try to read the results of the Dejagnutests log even though it didnt exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29829 91177308-0d34-0410-b5e6-96231b3b80d8
* The new nightly tester should stop outputing a message stating thePatrick Jenkins2006-08-21
| | | | | | | testresults directory is not present unless the script is run as verbose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29797 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes reflect the changes in the database for how tests are storedPatrick Jenkins2006-08-18
| | | | | | | and bring the handing of dejagnu tests into compliance with this new scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29772 91177308-0d34-0410-b5e6-96231b3b80d8
* Changing the format dejagnu tests are submitted. We used to only submit ↵Patrick Jenkins2006-08-17
| | | | | | multisource information for pass fail. Now we submit all pass/fail test information. This should fix the issue where some results were not being reported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29757 91177308-0d34-0410-b5e6-96231b3b80d8
* My last commit added some experimental features I have been working on. This ↵Patrick Jenkins2006-08-16
| | | | | | commit rolls those back. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29738 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the call to countloc.sh so that the correct topdirectory of the llvm ↵Patrick Jenkins2006-08-16
| | | | | | build is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29736 91177308-0d34-0410-b5e6-96231b3b80d8
* SelectNodeTo() may return a SDOperand that is different from the input.Evan Cheng2006-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29726 91177308-0d34-0410-b5e6-96231b3b80d8
* The generated runloop shouldn't require Select to update 'Result'. In factChris Lattner2006-08-15
| | | | | | | we'd like to remove result entirely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29713 91177308-0d34-0410-b5e6-96231b3b80d8
* allow Select to return the node being selected if RAU isn't needed.Chris Lattner2006-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29712 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify this a little bit.Reid Spencer2006-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29695 91177308-0d34-0410-b5e6-96231b3b80d8
* This script takes arguments so remove the check for number of arguments,Reid Spencer2006-08-15
| | | | | | | just check the first arg to see if its -topdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29694 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all tools that use llvmdo have a -topdir option that allows the topReid Spencer2006-08-14
| | | | | | | | | | | | source dir for LLVM to be specified explicitly. This removes the dependency on the llvm-config script. If the option is not given, then the scripts use llvm-config which should be both built and in the PATH. This arrangement provides a useful default for most developers but also allows the nightly tester to execute countloc.sh before llvm-config is built and without altering the PATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29663 91177308-0d34-0410-b5e6-96231b3b80d8
* Added some comments to clarify code around sub TestDirectoryPatrick Jenkins2006-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29658 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. fix bug by ensuring we start at the llvm source root.Reid Spencer2006-08-13
| | | | | | | | 2. make use of the -code-only option on llvmdo 3. Add some debug print statements to find #1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29655 91177308-0d34-0410-b5e6-96231b3b80d8
* Count the documentation. Otherwise we take a 30,000 hit in the LOC on theReid Spencer2006-08-13
| | | | | | | nightly test graph. And, documentation is important. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29654 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new -code-only option to llvmdo so that we only count things thatReid Spencer2006-08-13
| | | | | | | | are considered to be code. This will give a drop in the LOC count on the nightly testers, but it is more accurate than previous estimates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29653 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a -code-only option which restricts llvmdo to visiting just thoseReid Spencer2006-08-13
| | | | | | | files that are considered to be code. Documentation is excluded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29652 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for LLVM coding standard compliance:Reid Spencer2006-08-13
| | | | | | | | | | | | | | 1. Remove tabs 2. Wrap to 80 columns 3. Put spaces between "if" or "elsif" and expression 4. Put { on same line as if statement. 5. Make indentation be 2 spaces. Functionality change: Run utils/countloc.sh after the build is done. This is necessary because that script now uses llvm-config to find the top src directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29651 91177308-0d34-0410-b5e6-96231b3b80d8
* Lexer.cpp is a generated file both in lib/AsmParser and projects/StackerReid Spencer2006-08-11
| | | | | | | so we remove it from being counted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29641 91177308-0d34-0410-b5e6-96231b3b80d8
* Weed out some cruft and add in some missing extensions.Reid Spencer2006-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29638 91177308-0d34-0410-b5e6-96231b3b80d8
* Weed out cruft that should not be counted and add in extensions weReid Spencer2006-08-11
| | | | | | | previously missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29637 91177308-0d34-0410-b5e6-96231b3b80d8
* Added two flags (-submit-server and -submit-script) which allow the user to ↵Patrick Jenkins2006-08-11
| | | | | | specify where the test results are submitted too. If these are not specified they default to the LLVM.org server. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29633 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this script not care where it is run from by getting the llvm srcReid Spencer2006-08-11
| | | | | | | root from the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29632 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmdo and llvmgrep invulnerable to where they are run from by gettingReid Spencer2006-08-11
| | | | | | | | | the llvm source root from the llvm-config command. The dependency now is that the correct llvm-config command is in the path. For most developers this is the case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29630 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the HTML output. Add a -filedetails option to report the number ofReid Spencer2006-08-11
| | | | | | | lines contributed by each user to each file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29624 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove blank line at end of file, removing test user "foo" from CVS history.Reid Spencer2006-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29623 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop the -details option, it was broken. If you want to know about aReid Spencer2006-08-11
| | | | | | | | | particular directory, just pass that directory to the script. Also, clean up the HTML output, put list of skipped dirs at the end, and make a few other minor improvements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29620 91177308-0d34-0410-b5e6-96231b3b80d8
* Use SmallVector instead.Evan Cheng2006-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29619 91177308-0d34-0410-b5e6-96231b3b80d8
* - Prevent some functions from being inlined to eliminate the code size bloatEvan Cheng2006-08-11
| | | | | | | | | | | | | | introduced by previous commit. - SelectCode now returns a SDNode*. If it is not null, the selected node produces the same number of results as the input node. The seletion loop is responsible for calling ReplaceAllUsesWith() to replace the input node with the output target node. For other cases, e.g. when load is folded, the selection code is responsible for calling ReplaceAllUsesOfValueWith() and SelectCode returns NULL. - Other clean ups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29602 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a comment.Reid Spencer2006-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29590 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert previous patchChris Lattner2006-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29585 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting back to original 1.8 version so I can manually merge in patch.Tanya Lattner2006-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29584 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge some NightlyTest.pl changes.Evan Cheng2006-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29579 91177308-0d34-0410-b5e6-96231b3b80d8
* Start eliminating temporary vectors used to create DAG nodes. Instead, passChris Lattner2006-08-08
| | | | | | | | | | | | | | | | | | | | in the start of an array and a count of operands where applicable. In many cases, the number of operands is known, so this static array can be allocated on the stack, avoiding the heap. In many other cases, a SmallVector can be used, which has the same benefit in the common cases. I updated a lot of code calling getNode that takes a vector, but ran out of time. The rest of the code should be updated, and these methods should be removed. We should also do the same thing to eliminate the methods that take a vector of MVT::ValueTypes. It would be extra nice to convert the dagiselemitter to avoid creating vectors for operands when calling getTargetNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29566 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed unneccesary output from nightly testerPatrick Jenkins2006-08-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29565 91177308-0d34-0410-b5e6-96231b3b80d8
* Making TableGen'd instruction selection code non-recursive. This fixes PR805.Evan Cheng2006-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29548 91177308-0d34-0410-b5e6-96231b3b80d8
* Reinstated the sending of a list of all dejagnutests run. Also fixed a ↵Patrick Jenkins2006-08-07
| | | | | | rather embarresing error introduced during version 1.41 where i commented out the actual sending of the data to the results server. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29538 91177308-0d34-0410-b5e6-96231b3b80d8
* no longer sending the list of all dejagnu tests because it is too big at the ↵Patrick Jenkins2006-08-06
| | | | | | present time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29537 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed a = to a .= so we now append tests we have performed to the master ↵Patrick Jenkins2006-08-04
| | | | | | list of all tests instead of assigning it as the master list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29531 91177308-0d34-0410-b5e6-96231b3b80d8
* Made some more changes to the print statements in the nightly tester. The ↵Patrick Jenkins2006-08-04
| | | | | | last commit was a preemptive strike. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29526 91177308-0d34-0410-b5e6-96231b3b80d8
* Encapsulated all of the print statements in "if( $VERBOSE) { }". The testing ↵Patrick Jenkins2006-08-04
| | | | | | script will be absoutely silent now except for errors, which will still be printed to the annoyance of the user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29525 91177308-0d34-0410-b5e6-96231b3b80d8
* We should now send the correct list of dejagnu tests instead of the csv file ↵Patrick Jenkins2006-08-04
| | | | | | of test results when we submit results back to the nightly tester. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29523 91177308-0d34-0410-b5e6-96231b3b80d8