aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
Commit message (Collapse)AuthorAgeFilesLines
* Add prototype for the PiNodeInserter passChris Lattner2002-05-101-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2592 91177308-0d34-0410-b5e6-96231b3b80d8
* Add expr reassociation pass prototypeChris Lattner2002-05-081-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2558 91177308-0d34-0410-b5e6-96231b3b80d8
* Spell aggressive rightChris Lattner2002-05-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2549 91177308-0d34-0410-b5e6-96231b3b80d8
* These files are supersumed by include/llvm/Transforms/Scalar.hChris Lattner2002-05-078-172/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2534 91177308-0d34-0410-b5e6-96231b3b80d8
* New header file to replace all of the Scalar/*.h files.Chris Lattner2002-05-071-0/+120
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2533 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin headers for Utils libraryChris Lattner2002-05-072-0/+109
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2528 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup implementation a bit + commentsChris Lattner2002-05-071-19/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2527 91177308-0d34-0410-b5e6-96231b3b80d8
* Update header after moving fileChris Lattner2002-05-071-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2522 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove long dead fileChris Lattner2002-05-071-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2521 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor code out to the Transform Utils libraryChris Lattner2002-05-072-42/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2519 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused files: This is the old induction varaible cannonicalizationChris Lattner2002-04-291-27/+0
| | | | | | | pass built on top of interval analysis git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2411 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-292-0/+4
| | | | | | | to make debugging output a lot nicer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2395 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove all contents of the cfg namespace to the global namespaceChris Lattner2002-04-281-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2369 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of new "Internalize" pass for GCCLDChris Lattner2002-04-281-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2362 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of simple&fast SSA based GCSE algorithmChris Lattner2002-04-281-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2338 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/Function in classnameChris Lattner2002-04-271-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2335 91177308-0d34-0410-b5e6-96231b3b80d8
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-275-45/+33
| | | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2333 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the CleanupGCCOutput pass into two passes, and add real life actualChris Lattner2002-04-101-0/+27
| | | | | | | documentation on when they do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2222 91177308-0d34-0410-b5e6-96231b3b80d8
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-2/+2
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8
* Deparameterize PATypeHolderChris Lattner2002-04-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2099 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin new useful routineChris Lattner2002-03-291-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2046 91177308-0d34-0410-b5e6-96231b3b80d8
* New file for new passChris Lattner2002-03-281-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2012 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename constructor functionCameron Buschardt2002-03-271-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2006 91177308-0d34-0410-b5e6-96231b3b80d8
* Major overhaul to support arbitrary mixed array and structure indices.Vikram S. Adve2002-03-241-7/+9
| | | | | | | Also moved to the Scalar/ directory and renamed to "MultiDim". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1961 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Method to FunctionChris Lattner2002-03-233-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
* New pass to convert Convert multi-dimensionalVikram S. Adve2002-03-231-0/+16
| | | | | | | array references into 1-D references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1950 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to Scalar/ directory.Vikram S. Adve2002-03-231-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1949 91177308-0d34-0410-b5e6-96231b3b80d8
* New pass to convert Convert multi-dimensionalVikram S. Adve2002-03-191-0/+16
| | | | | | | array references into 1-D references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1918 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.llChris Lattner2002-03-111-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1858 91177308-0d34-0410-b5e6-96231b3b80d8
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-2615-341/+60
| | | | | | | creation functions in their public header file, unless they can help it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1816 91177308-0d34-0410-b5e6-96231b3b80d8
* Move ProfilePaths class into ProfilePaths library, only expose a creation ↵Chris Lattner2002-02-261-10/+4
| | | | | | function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial check in of header file for profile-paths passAnand Shukla2002-02-261-0/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1801 91177308-0d34-0410-b5e6-96231b3b80d8
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-0/+1
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1745 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of new memory -> register promotion passChris Lattner2002-02-121-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1739 91177308-0d34-0410-b5e6-96231b3b80d8
* Add constructor for addition to opt programChris Lattner2002-02-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1626 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes ↵Chris Lattner2002-01-311-4/+10
| | | | | | class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1613 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert xforms over to use new pass structureChris Lattner2002-01-3011-23/+98
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1596 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove opt namespaceChris Lattner2002-01-261-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8
* * Expose new pass DeadInstEliminationChris Lattner2002-01-231-0/+25
| | | | | | | * Add comments that describe the differences between the DCE passes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1553 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass inChris Lattner2002-01-222-13/+31
| | | | | | | the ChangeAllocations.h header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1522 91177308-0d34-0410-b5e6-96231b3b80d8
* LowerAllocations is really a BasicBlock pass. Make it so.Chris Lattner2002-01-211-5/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1521 91177308-0d34-0410-b5e6-96231b3b80d8
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-214-15/+0
| | | | | | | directories. Eliminate the opt namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved headerChris Lattner2002-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1509 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-2116-65/+90
| | | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1507 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-203-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of instcombineChris Lattner2001-12-141-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1479 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor trace values to work as a proper pass. Before it used to addChris Lattner2001-12-141-4/+9
| | | | | | | | methods while the pass was running which was a no no. Now it adds the printf method at pass initialization git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1456 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-2/+2
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify induction variables passChris Lattner2001-12-031-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1406 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused methodChris Lattner2001-11-261-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1368 91177308-0d34-0410-b5e6-96231b3b80d8