summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Made distinction between object->iterator and iterator->objectJoel Stanley2002-09-091-54/+64
| | | | | | | | | | conversion more clear. - Added content to "Iterating over Instructions in a Function" section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3634 91177308-0d34-0410-b5e6-96231b3b80d8
* Silly bug fix: Machine code vector could be empty for a no-op cast instruction,Vikram S. Adve2002-09-091-5/+9
| | | | | | | e.g., cast double to double. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3633 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the isa section stub. It should not be listed twiceChris Lattner2002-09-091-5/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3632 91177308-0d34-0410-b5e6-96231b3b80d8
* Stub out another couple sections that it looks like 426's MP1 will reallyChris Lattner2002-09-091-10/+32
| | | | | | | need. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3631 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor typoChris Lattner2002-09-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3630 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase no longer applicable since shifts of pointers are no longer allowedChris Lattner2002-09-091-20/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3629 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate multiply of pointer typeChris Lattner2002-09-091-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor silly code duplication outChris Lattner2002-09-081-10/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3627 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Bug: test/Regression/Transforms/InstCombine/2002-09-08-PointerShiftBug.llChris Lattner2002-09-081-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3626 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for a bug identified by VikramChris Lattner2002-09-081-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3625 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the leakdetector is told about temporary Phi nodes also, so it doesn'tChris Lattner2002-09-082-2/+12
| | | | | | | erroneously report them as leaks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3624 91177308-0d34-0410-b5e6-96231b3b80d8
* Inform the memory leak detector that TmpInstruction objects should not beChris Lattner2002-09-082-0/+48
| | | | | | | subject to memory leak checking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3623 91177308-0d34-0410-b5e6-96231b3b80d8
* Move TmpInstruction ctor to InstrSelection.cpp fileChris Lattner2002-09-081-12/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3622 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable "garbage detection" of LLVM objects. Check for leaks after runningChris Lattner2002-09-081-0/+5
| | | | | | | every pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3621 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable "garbage detection" of LLVM objects. Now users should be obnoxiousChris Lattner2002-09-085-7/+70
| | | | | | | warnings. If they accidentally leak LLVM Value's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3620 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor simplificationChris Lattner2002-09-081-6/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3619 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin initial support for automatic memory leak detection routinesChris Lattner2002-09-083-0/+198
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3618 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin initial support for automatic memory leak detection routinesChris Lattner2002-09-082-0/+158
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3617 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add capability to recognize alias properties of the following common cases:Chris Lattner2002-09-081-12/+79
| | | | | | | | | | | | | | | | | | - A[c1] cannot alias A[c2] where constants c1 != c2 - A[i] cannot alias B[j] if A & B are provably different arrays This should help out array based codes. For example, from bzip2 from spec, 3 additional loads can be GCSE'd, and _21_ additional loads can be LICMd due to this change. In a test example from the Spec GAP benchmark (vecffe.c), this change allows _52_ additional loads to be GCSE'd and _224_ additional LICM'd loads. Not bad for such a simple change. Other testcases show no change at all because they just don't use arrays. Not too suprising there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3616 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that tests for array pointer analysis type stuffChris Lattner2002-09-082-0/+84
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3615 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in testcase now that load-vn is not built into gcseChris Lattner2002-09-072-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix broken testChris Lattner2002-09-072-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613 91177308-0d34-0410-b5e6-96231b3b80d8
* Test commitChris Lattner2002-09-071-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3612 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Joel Stanley2002-09-061-13/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3611 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed typos and added &lt/&gt/&amp tags where appropriateJoel Stanley2002-09-061-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3610 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix a couple more <>&'sChris Lattner2002-09-061-9/+12
| | | | | | | * Correct an extremely minor technical point about a deprecated interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3609 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor fixes html type fixes: & -> &amp; > -> &gt; etc.Chris Lattner2002-09-061-8/+8
| | | | | | | Hopefully permission thing works this time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3608 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor fix, test that web autoupdate works for people non-chrisChris Lattner2002-09-061-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3607 91177308-0d34-0410-b5e6-96231b3b80d8
* Added subsections to 'Basic Inspection and Traversal Routines':Joel Stanley2002-09-061-8/+175
| | | | | | | | | | * Iterating over the BasicBlocks in a Function * Iterating over the Instructions in a BasicBlock * Turning an iterator into a class pointer * Finding call sites: a more complex example git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3606 91177308-0d34-0410-b5e6-96231b3b80d8
* Move code out of header files into .cpp files to make future changes easierChris Lattner2002-09-063-2/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3605 91177308-0d34-0410-b5e6-96231b3b80d8
* * Clean up some commentsChris Lattner2002-09-066-21/+27
| | | | | | | | | * Move code out of header file to .cpp files, to make future changes easier * Add arguments to classes so that they can be automatically inserted into their parent structure upon creation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3604 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix script due to new www/ top level directoryChris Lattner2002-09-062-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3603 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete scriptChris Lattner2002-09-061-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3602 91177308-0d34-0410-b5e6-96231b3b80d8
* * Clean up indentation a bitChris Lattner2002-09-061-15/+21
| | | | | | | | | | * Fix broken comments (copy and pasto) * Remove irrelevant comment * Add extra argument to function that causes it to get inserted into a module automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3601 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove extraneous #includesChris Lattner2002-09-061-6/+5
| | | | | | | * Add extra argument to Function ctor to allow automatic insertion into module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3600 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of Correlated Expression Elimination PassChris Lattner2002-09-061-0/+974
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3599 91177308-0d34-0410-b5e6-96231b3b80d8
* * No longer need to run die after instcombineChris Lattner2002-09-061-3/+5
| | | | | | | | | * Run new correlated expressions pass * Simplify the CFG (removing dead blocks, merging blocks, eliminating branches on constant booleans, etc) after correlated exprs pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3598 91177308-0d34-0410-b5e6-96231b3b80d8
* Include stub for correlated expression elimination passChris Lattner2002-09-061-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3597 91177308-0d34-0410-b5e6-96231b3b80d8
* Add skeleton to the section contents so that Joel knows what to fill inChris Lattner2002-09-061-16/+107
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3596 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new sectionChris Lattner2002-09-061-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3595 91177308-0d34-0410-b5e6-96231b3b80d8
* Trivial change to test CVS checkout scriptsChris Lattner2002-09-061-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3594 91177308-0d34-0410-b5e6-96231b3b80d8
* Commit Vikram's changes for 426 classChris Lattner2002-09-061-71/+146
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3593 91177308-0d34-0410-b5e6-96231b3b80d8
* Add information about the GlobalVariable and Module classesChris Lattner2002-09-061-10/+140
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3592 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix file header to be accurate, instead of something I just copied and pasted.Chris Lattner2002-09-061-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3591 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug with critical edge splitting code where it wouldn't update PHI nodesChris Lattner2002-09-061-2/+12
| | | | | | | | in the old destination block to indicate that the value flows from the new edge splitting block, not from the original multi-successor block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3590 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the first part of the Programmer's ManualChris Lattner2002-09-061-0/+847
| | | | | | | There is still much to be done, but it's a good start. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3589 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in the implementation of critical edge detection and splittingChris Lattner2002-09-061-0/+84
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3588 91177308-0d34-0410-b5e6-96231b3b80d8
* - Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdgeChris Lattner2002-09-061-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587 91177308-0d34-0410-b5e6-96231b3b80d8
* * Doxygenize APIChris Lattner2002-09-061-23/+39
| | | | | | | * Add new functions for identifying and breaking critical edges git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3586 91177308-0d34-0410-b5e6-96231b3b80d8
* - Doxygenize commentsChris Lattner2002-09-061-11/+69
| | | | | | | | | | - Add new method to dominatorset: properlyDominates - Add synonmys for operator[] to classes so that pointers to dominator information can be used more easily. - Add API's to update dominator information git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3585 91177308-0d34-0410-b5e6-96231b3b80d8