summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Add new function getPtrPtrFromArrayPtr().Alkis Evlogimenos2005-03-192-0/+11
| | | | llvm-svn: 20684
* Stop using deprecated interface.Alkis Evlogimenos2005-03-192-2/+3
| | | | llvm-svn: 20679
* Switch to use the new interface for the EquivalenceClasses class, and fixChris Lattner2005-03-191-59/+63
| | | | | | a bug involving SCC's who have multiple members that are part of an EC. llvm-svn: 20678
* Rewrite this class, making the following improvements:Chris Lattner2005-03-191-79/+189
| | | | | | | | | | | 1. It now actually uses tarjan's algorithm, so it is a efficient inverse ackerman's function for union operations, not linear time. 2. It now stores one copy of the data in the set instead of two. 3. It now works for elements other than pointers. 4. It now has a more STL-like interface that exposes iterators instead of internal implementation details. llvm-svn: 20677
* do not bother inlining nullary functions without return values. The onlyChris Lattner2005-03-183-1/+15
| | | | | | | | | effect these calls can have is due to global variables, and these passes all use the globals graph to capture their effect anyway. This speeds up the BU pass very slightly on perlbmk, reducing the number of dsnodes allocated from 98913 to 96423. llvm-svn: 20676
* fix a bogus assertionChris Lattner2005-03-181-1/+1
| | | | llvm-svn: 20675
* another fastpathChris Lattner2005-03-181-1/+2
| | | | llvm-svn: 20674
* remove use of getPrev() and getNext() on ilist nodes.Chris Lattner2005-03-181-5/+8
| | | | llvm-svn: 20673
* expose this pass to both opt and analyzeChris Lattner2005-03-181-2/+3
| | | | llvm-svn: 20672
* We shall have IA64 as a new experimental backend released with LLVM 1.5Misha Brukman2005-03-181-3/+3
| | | | llvm-svn: 20671
* remove a bogus optimization. This only works if there are no globals in theChris Lattner2005-03-181-4/+0
| | | | | | | graph, and the combination of a function that does not reference globals, takes not arguments and returns no value is pretty rare. llvm-svn: 20670
* Rewrite DSAA::getModRefInfo to compute the mapping between caller and calleeChris Lattner2005-03-181-24/+47
| | | | | | | | | | to determine mod/ref behavior, instead of creating a *copy* of the caller graph and inlining the callee graph into the copy. This speeds up aa-eval on Ptrdist/yacr2 from 109.13s to 3.98s, and gives identical results. The speedup is similar on other programs. llvm-svn: 20669
* implement a new method.Chris Lattner2005-03-171-0/+36
| | | | llvm-svn: 20668
* add 3 methodsChris Lattner2005-03-171-0/+8
| | | | llvm-svn: 20667
* Recognize an IA64 when we see oneMisha Brukman2005-03-172-29/+31
| | | | llvm-svn: 20666
* add some possibly bogus assertions.Chris Lattner2005-03-171-0/+10
| | | | llvm-svn: 20665
* Do not include the Function* for direct call/invoke instructions in theChris Lattner2005-03-171-1/+6
| | | | | | alias evaluation. Clients really don't care. llvm-svn: 20664
* typo/denialDuraid Madina2005-03-171-1/+1
| | | | llvm-svn: 20663
* simplify this function a bit, allow DS-AA to build on/improve the mod/refChris Lattner2005-03-171-8/+11
| | | | | | results returned by AA, not just use one or the other. llvm-svn: 20662
* Clean up some code, handle null pointer specially to avoid an assertionChris Lattner2005-03-171-6/+10
| | | | llvm-svn: 20660
* Two changes:Chris Lattner2005-03-171-3/+3
| | | | | | | | | 1. Chain to the parent implementation of M/R analysis if we can't find any information. It has some heuristics that often do well. 2. Do not clear all flags, this can make invalid nodes by turning nodes that used to be collapsed into non-collapsed nodes (fixing crashes) llvm-svn: 20659
* clean up warnings when building in release modeDuraid Madina2005-03-171-0/+2
| | | | llvm-svn: 20658
* now the angry bug reports have somewhere to go!Duraid Madina2005-03-171-0/+5
| | | | llvm-svn: 20657
* statically link ia64 into llcChris Lattner2005-03-171-0/+1
| | | | llvm-svn: 20656
* OK, IA64 is statically linked into llcDuraid Madina2005-03-171-2/+0
| | | | llvm-svn: 20655
* build the IA64 target as a .so for nowDuraid Madina2005-03-172-1/+3
| | | | llvm-svn: 20654
* daintyDuraid Madina2005-03-171-1/+2
| | | | llvm-svn: 20653
* and so it begins...Duraid Madina2005-03-1717-0/+3756
| | | | | | | | PHASE 1: write instruction selector PHASE 2: ??? PHASE 3: profit! llvm-svn: 20652
* Don't emit two comparisons when comparing a FP value against zero!Chris Lattner2005-03-171-0/+1
| | | | llvm-svn: 20651
* spiff up the nightly tester output one more notchChris Lattner2005-03-171-3/+3
| | | | llvm-svn: 20650
* Fix the missing symbols problem Bill was hitting. Patch contributed byChris Lattner2005-03-1712-0/+12
| | | | | | Bill Wendling!! llvm-svn: 20649
* Do not create ridiculously huge DSNodes, as described in the comments.Chris Lattner2005-03-171-1/+21
| | | | | | This speeds up the BU pass on 172.mgrid from 62.3 -> 0.1242s. llvm-svn: 20648
* Fix a bug where we would consider " .99" and "1.0" different because of theChris Lattner2005-03-171-0/+9
| | | | | | leading whitespace. llvm-svn: 20647
* remove compat_iterator, which is dead in the tree.Chris Lattner2005-03-161-92/+0
| | | | llvm-svn: 20644
* remove use of compat_iterator.Chris Lattner2005-03-163-14/+15
| | | | llvm-svn: 20643
* remove use of compat_iteratorChris Lattner2005-03-162-9/+11
| | | | llvm-svn: 20642
* Print out who commits and what files were modified at the bottom of the test ↵Chris Lattner2005-03-161-8/+14
| | | | | | summary log sent to llvm-commits. llvm-svn: 20641
* Do #include HashExtras.h with VC++Jeff Cohen2005-03-161-1/+1
| | | | llvm-svn: 20640
* Don't provide default hash struct instantiation.Jeff Cohen2005-03-161-6/+9
| | | | llvm-svn: 20639
* Convert tabs to spacesMisha Brukman2005-03-161-5/+5
| | | | llvm-svn: 20638
* Add adapter class to let VC++ hash_map use GCC's hash struct.Jeff Cohen2005-03-161-0/+26
| | | | llvm-svn: 20637
* Remove deleted files from VC++ project.Jeff Cohen2005-03-161-6/+0
| | | | llvm-svn: 20636
* Fix grammar wrt apostrophe'sMisha Brukman2005-03-161-3/+3
| | | | llvm-svn: 20635
* Convert tabs to spacesMisha Brukman2005-03-162-14/+14
| | | | llvm-svn: 20634
* fix some 80 column violationsChris Lattner2005-03-151-4/+11
| | | | | | Add support for programs that define main in a .a file, such as f2c'd programs. llvm-svn: 20631
* consolidate LinkFiles into LinkItems, use lib_* iterators.Chris Lattner2005-03-152-85/+61
| | | | llvm-svn: 20630
* consolidate LinkLibraries into LinkItemsChris Lattner2005-03-152-76/+57
| | | | llvm-svn: 20629
* make sure to mark nodes in the globals graph incomplete after computing itChris Lattner2005-03-151-0/+1
| | | | | | so that external globals (and whatever they point to) are marked incomplete. llvm-svn: 20628
* fix crashes when we only have a prototype for main.Chris Lattner2005-03-153-3/+3
| | | | llvm-svn: 20627
* Fix a crash that happens when mapping something like this:Chris Lattner2005-03-151-6/+12
| | | | | | | | | | | | | { short, short } to short where the second short maps onto the second field of the first struct. In this case, the struct index is not aligned, so we should avoid calling getLink(2), which asserts out. llvm-svn: 20626
OpenPOWER on IntegriCloud