Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | consolidate LinkLibraries into LinkItems | Chris Lattner | 2005-03-15 | 2 | -76/+57 |
| | | | | llvm-svn: 20629 | ||||
* | make sure to mark nodes in the globals graph incomplete after computing it | Chris Lattner | 2005-03-15 | 1 | -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 Lattner | 2005-03-15 | 3 | -3/+3 |
| | | | | llvm-svn: 20627 | ||||
* | Fix a crash that happens when mapping something like this: | Chris Lattner | 2005-03-15 | 1 | -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 | ||||
* | sure, I can set a flag, but if I never check it, why bother setting it? ↵ | Andrew Lenharth | 2005-03-15 | 2 | -3/+5 |
| | | | | | | Should fix 20 programs :) llvm-svn: 20623 | ||||
* | Make computeGGToGMapping compute an invnodemap | Chris Lattner | 2005-03-15 | 1 | -9/+11 |
| | | | | llvm-svn: 20622 | ||||
* | remove warning, make computeGGToGMapping return an invnodemap. | Chris Lattner | 2005-03-15 | 1 | -7/+8 |
| | | | | llvm-svn: 20621 | ||||
* | add support for hashing nodehandles. | Chris Lattner | 2005-03-15 | 1 | -0/+9 |
| | | | | llvm-svn: 20620 | ||||
* | Finally fix (the right way) the problem where functions like this: | Chris Lattner | 2005-03-15 | 1 | -0/+24 |
| | | | | | | | | | | | void foo() { G = 1; } would have an empty DSGraph even though G (a global) is directly used in the function. llvm-svn: 20619 | ||||
* | Start using retnodes_* for iteration. | Chris Lattner | 2005-03-15 | 6 | -39/+34 |
| | | | | llvm-svn: 20618 | ||||
* | add iterators for return nodes list. | Chris Lattner | 2005-03-15 | 1 | -0/+7 |
| | | | | llvm-svn: 20617 | ||||
* | method renamed | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20616 | ||||
* | Replace more a*'s with arg_*'s, thanks to Gabor Greif! | Chris Lattner | 2005-03-15 | 3 | -5/+5 |
| | | | | llvm-svn: 20615 | ||||
* | add missing copyright header | Chris Lattner | 2005-03-15 | 1 | -0/+7 |
| | | | | llvm-svn: 20614 | ||||
* | Stop using abegin and aend. | Alkis Evlogimenos | 2005-03-15 | 1 | -2/+2 |
| | | | | llvm-svn: 20610 | ||||
* | Stop using abegin. | Alkis Evlogimenos | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20609 | ||||
* | Use arg_iterator and arg_begin and arg_end functions. | Alkis Evlogimenos | 2005-03-15 | 1 | -4/+5 |
| | | | | llvm-svn: 20608 | ||||
* | Add EquivClassGraphs.cpp to VC++ project. | Jeff Cohen | 2005-03-15 | 1 | -0/+3 |
| | | | | llvm-svn: 20607 | ||||
* | avoid varialbe name collisions | Chris Lattner | 2005-03-15 | 1 | -2/+3 |
| | | | | llvm-svn: 20606 | ||||
* | Do it right... | Jeff Cohen | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20605 | ||||
* | Fix VC++ breakage. | Jeff Cohen | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20604 | ||||
* | stop using method. | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20603 | ||||
* | methods removed. | Chris Lattner | 2005-03-15 | 1 | -7/+7 |
| | | | | llvm-svn: 20602 | ||||
* | remove reverse BB iterators. | Chris Lattner | 2005-03-15 | 1 | -7/+0 |
| | | | | llvm-svn: 20601 | ||||
* | remove a whole bunch of dead methods. Noone should use reverse iterators ↵ | Chris Lattner | 2005-03-15 | 2 | -66/+0 |
| | | | | | | anyway. llvm-svn: 20600 | ||||
* | stop using arg_front | Chris Lattner | 2005-03-15 | 2 | -2/+2 |
| | | | | llvm-svn: 20599 | ||||
* | stop using arg_back | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | llvm-svn: 20598 | ||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 62 | -169/+169 |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | ||||
* | switch from a* to arg_* and g* to global_* for argument/global var iterators | Chris Lattner | 2005-03-15 | 1 | -8/+8 |
| | | | | llvm-svn: 20596 | ||||
* | Don't crash if computing a mapping to a node with zero size | Chris Lattner | 2005-03-15 | 1 | -0/+2 |
| | | | | llvm-svn: 20595 | ||||
* | rename method, add counterpart | Chris Lattner | 2005-03-15 | 2 | -4/+16 |
| | | | | llvm-svn: 20593 | ||||
* | Rename method, add counterpart. | Chris Lattner | 2005-03-15 | 1 | -2/+8 |
| | | | | llvm-svn: 20592 | ||||
* | Remove the reverse iterators for arguments and global vars. | Chris Lattner | 2005-03-14 | 2 | -40/+89 |
| | | | | | | | | | | | Rename argument iterators arg_* instead of a* Remove global variable iterators global_* instead of g*. Keep the old names for temporary compatibility. Patch contributed by Gabor Greif! llvm-svn: 20591 | ||||
* | FP 0.0 setcc optimization, and generate short branch sequence for setcc(FP) ↵ | Andrew Lenharth | 2005-03-14 | 2 | -19/+37 |
| | | | | | | rather than stack usage llvm-svn: 20589 | ||||
* | add a method to compute a commonly used mapping. | Chris Lattner | 2005-03-14 | 2 | -5/+16 |
| | | | | llvm-svn: 20588 | ||||
* | Add a useful method. | Chris Lattner | 2005-03-14 | 1 | -0/+4 |
| | | | | llvm-svn: 20587 | ||||
* | regardless of whether or not the client things we should mark globals ↵ | Chris Lattner | 2005-03-13 | 1 | -7/+7 |
| | | | | | | | | incomplete, ALWAYS mark them incomplete if they are external! llvm-svn: 20586 | ||||
* | Make sure to remove incomplete markers before we add to them! :) | Chris Lattner | 2005-03-13 | 3 | -0/+3 |
| | | | | llvm-svn: 20585 | ||||
* | The incoming arguments to main (the argv list) are not complete! | Chris Lattner | 2005-03-13 | 1 | -4/+3 |
| | | | | llvm-svn: 20584 | ||||
* | After finishing BU analysis, move all global variables from the globals | Chris Lattner | 2005-03-13 | 3 | -6/+71 |
| | | | | | | graph into main and mark them complete. llvm-svn: 20583 | ||||
* | ADd support for printing eqgraphs. | Chris Lattner | 2005-03-13 | 2 | -2/+8 |
| | | | | llvm-svn: 20582 | ||||
* | Add support for printing EQ graphs | Chris Lattner | 2005-03-13 | 1 | -0/+8 |
| | | | | llvm-svn: 20581 | ||||
* | Replace linear search with logrithmic one. | Chris Lattner | 2005-03-13 | 1 | -4/+1 |
| | | | | llvm-svn: 20580 | ||||
* | add a StructLayout::getElementContainingOffset method. | Chris Lattner | 2005-03-13 | 1 | -0/+17 |
| | | | | llvm-svn: 20579 | ||||
* | add a helper method | Chris Lattner | 2005-03-13 | 1 | -0/+5 |
| | | | | llvm-svn: 20578 | ||||
* | Should fix mesa | Andrew Lenharth | 2005-03-13 | 1 | -1/+1 |
| | | | | llvm-svn: 20577 | ||||
* | make sure to mark nodes returned from functions as incomplete | Chris Lattner | 2005-03-12 | 1 | -0/+1 |
| | | | | llvm-svn: 20576 | ||||
* | remove this from the PA namespace, leaving it in the llvm ns | Chris Lattner | 2005-03-12 | 2 | -15/+9 |
| | | | | llvm-svn: 20574 | ||||
* | Move this from the pool allocator project to here, where it logically belongs. | Chris Lattner | 2005-03-12 | 2 | -0/+554 |
| | | | | llvm-svn: 20570 | ||||
* | this doesn't fail on the suns either! | Chris Lattner | 2005-03-12 | 1 | -1/+0 |
| | | | | llvm-svn: 20567 |