aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use < and >Devang Patel2006-08-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29662 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix verification failures.Devang Patel2006-08-141-14/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29661 91177308-0d34-0410-b5e6-96231b3b80d8
* Add lto doc link.Devang Patel2006-08-141-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29660 91177308-0d34-0410-b5e6-96231b3b80d8
* Add lto doc.Devang Patel2006-08-141-0/+361
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29659 91177308-0d34-0410-b5e6-96231b3b80d8
* Added some comments to clarify code around sub TestDirectoryPatrick Jenkins2006-08-141-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29658 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm2cpp.Reid Spencer2006-08-131-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29656 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. fix bug by ensuring we start at the llvm source root.Reid Spencer2006-08-131-1/+6
| | | | | | | | 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-131-5/+5
| | | | | | | 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-131-1/+1
| | | | | | | | 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-131-80/+116
| | | | | | | 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-131-508/+491
| | | | | | | | | | | | | | 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
* Emit .set directives for jump table entries when possible, which reducesNate Begeman2006-08-124-4/+50
| | | | | | | the number of relocations in object files, shrinkifying them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29650 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in a recent refactoring that broke a bunch of stuff.Chris Lattner2006-08-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29649 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an obvious bug, noticed by inspection. No current targets trigger this.Chris Lattner2006-08-121-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29648 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't attempt to split subloops out of a loop with a huge number of backedges.Chris Lattner2006-08-121-8/+19
| | | | | | | | | | Not only will this take huge amounts of compile time, the resultant loop nests won't be useful for optimization. This reduces loopsimplify time on Transforms/LoopSimplify/2006-08-11-LoopSimplifyLongTime.ll from ~32s to ~0.4s with a debug build of llvm on a 2.7Ghz G5. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29647 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase, this used to take hours to loopsimplify.Chris Lattner2006-08-122-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29646 91177308-0d34-0410-b5e6-96231b3b80d8
* Make Loop::getExitBlocks significantly faster for large loops. Instead ofChris Lattner2006-08-121-3/+9
| | | | | | | | | pounding on Loop::contains (which is O(n) in the size of the loop), use a sorted vector, which is O(log(N)) for each query. This speeds up Duraid's horrible testcase from ~72s to ~31s in a debug build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29645 91177308-0d34-0410-b5e6-96231b3b80d8
* Reimplement the loopsimplify code which deletes edges from unreachableChris Lattner2006-08-121-29/+53
| | | | | | | | | | | | | | | | | | | | blocks that target loop blocks. Before, the code was run once per loop, and depended on the number of predecessors each block in the loop had. Unfortunately, scanning preds can be really slow when huge numbers of phis exist or when phis with huge numbers of inputs exist. Now, the code is run once per function and scans successors instead of preds, which is far faster. In addition, the new code is simpler and is goto free, woo. This change speeds up a nasty testcase Duraid provided me from taking hours to taking ~72s with a debug build. The functionality this implements is already tested in the testsuite as Transforms/CodeExtractor/2004-03-13-LoopExtractorCrash.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29644 91177308-0d34-0410-b5e6-96231b3b80d8
* Track # nodes in a CSEMap.Chris Lattner2006-08-121-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29643 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to using SuperFastHash instead of adding all elements together. ThisChris Lattner2006-08-121-6/+24
| | | | | | | doesn't significantly improve performance but it helps a small amount. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29642 91177308-0d34-0410-b5e6-96231b3b80d8
* Lexer.cpp is a generated file both in lib/AsmParser and projects/StackerReid Spencer2006-08-111-0/+1
| | | | | | | so we remove it from being counted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29641 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch NodeID to track 32-bit chunks instead of 8-bit chunks, for a 2.5%Chris Lattner2006-08-112-31/+18
| | | | | | | speedup in isel time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29640 91177308-0d34-0410-b5e6-96231b3b80d8
* remove IncludeFile turds in MathExtras.h, which bloats every .o file thatChris Lattner2006-08-113-16/+9
| | | | | | | #includes it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29639 91177308-0d34-0410-b5e6-96231b3b80d8
* Weed out some cruft and add in some missing extensions.Reid Spencer2006-08-111-18/+40
| | | | 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-111-106/+50
| | | | | | | previously missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29637 91177308-0d34-0410-b5e6-96231b3b80d8
* move code out of line so that GCC doesn't inline it at -O3Chris Lattner2006-08-111-61/+68
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29636 91177308-0d34-0410-b5e6-96231b3b80d8
* Added information for the new nightly tester.Patrick Jenkins2006-08-111-19/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29635 91177308-0d34-0410-b5e6-96231b3b80d8
* Split SmallVector into SmallVector and SmallVectorImpl, which allows us toChris Lattner2006-08-111-40/+45
| | | | | | | eliminate code duplication due to the 'N' parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29634 91177308-0d34-0410-b5e6-96231b3b80d8
* Added two flags (-submit-server and -submit-script) which allow the user to ↵Patrick Jenkins2006-08-111-5/+18
| | | | | | 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-111-1/+1
| | | | | | | root from the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29632 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove 8 more std::map's.Chris Lattner2006-08-113-108/+74
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29631 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmdo and llvmgrep invulnerable to where they are run from by gettingReid Spencer2006-08-112-5/+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
* Don't print double newline for --src-root and --obj-root as it tends toReid Spencer2006-08-111-2/+2
| | | | | | | confuse shells that might use this output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29629 91177308-0d34-0410-b5e6-96231b3b80d8
* remove old piece of the V9 backend.Chris Lattner2006-08-111-39/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29628 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate extraneous blank lineChris Lattner2006-08-111-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29627 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the BBNodes, GlobalValues, TargetGlobalValues, Constants, TargetConstants,Chris Lattner2006-08-112-88/+83
| | | | | | | RegNodes, and ValueNodes maps into the CSEMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29626 91177308-0d34-0410-b5e6-96231b3b80d8
* Start moving leaf nodes over to the CSEMap.Chris Lattner2006-08-112-14/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29625 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the HTML output. Add a -filedetails option to report the number ofReid Spencer2006-08-111-50/+61
| | | | | | | 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-111-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29623 91177308-0d34-0410-b5e6-96231b3b80d8
* new method for adding intsChris Lattner2006-08-111-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29622 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate the NullaryOps map, use CSEMap instead.Chris Lattner2006-08-112-24/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29621 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop the -details option, it was broken. If you want to know about aReid Spencer2006-08-111-54/+42
| | | | | | | | | 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-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29619 91177308-0d34-0410-b5e6-96231b3b80d8
* change internal impl of dag combiner so that calls to CombineTo never have toChris Lattner2006-08-111-12/+9
| | | | | | | make a temporary vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29618 91177308-0d34-0410-b5e6-96231b3b80d8
* Change one ReplaceAllUsesWith method to take an array of operands to ↵Chris Lattner2006-08-111-1/+1
| | | | | | replaceinstead of a vector of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29617 91177308-0d34-0410-b5e6-96231b3b80d8
* Change one ReplaceAllUsesWith method to take an array of operands to replaceChris Lattner2006-08-112-6/+5
| | | | | | | instead of a vector of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29616 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove now-dead method.Chris Lattner2006-08-111-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29615 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate use of getNode that takes a vector.Chris Lattner2006-08-115-33/+47
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29614 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a (now) unused getNode method.Chris Lattner2006-08-111-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29613 91177308-0d34-0410-b5e6-96231b3b80d8
* elimiante use of getNode that takes vector of operands.Chris Lattner2006-08-111-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29612 91177308-0d34-0410-b5e6-96231b3b80d8