summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/LevelRaise.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert backward conversion of expression trees into a new more powerful ↵Chris Lattner2001-11-041-11/+297
| | | | | | bidirectional approach. Add transforms for more instructions. llvm-svn: 1121
* Minor method renameChris Lattner2001-11-041-4/+4
| | | | llvm-svn: 1119
* Add transformations for Load and GetElementPtr. Fix broken transform with shr.Chris Lattner2001-11-041-0/+99
| | | | llvm-svn: 1118
* * Add comments for peepholesChris Lattner2001-11-011-3/+91
| | | | | | | | | | | | | | * Implement new peephole: // Peephole optimize the following instructions: // %t1 = cast {<...>} * %StructPtr to <ty> * // // Into: %t2 = getelementptr {<...>} * %StructPtr, <0, 0, 0, ...> // %t1 = cast <eltype> * %t1 to <ty> * This peephole eliminated 9 evil casts in the health benchmark, and completely turned the addList method around. :) llvm-svn: 1085
* Add DCE as integral part of the level raising to avoid processing ↵Chris Lattner2001-11-011-4/+9
| | | | | | instructions that are dead llvm-svn: 1084
* * Implement expression type conversion for constant valuesChris Lattner2001-11-011-11/+76
| | | | | | | | | | | | | | | * Fix a problem setting a name on a constant value that died because no symbol table was passed in * Add some comments describing the passes * Implement a new peephole: // Peephole optimize the following instructions: // %t = cast <T1>* %P to <T2> * ;; If T1 is losslessly convertable to T2 // store <T2> %V, <T2>* %t // // Into: // %t = cast <T2> %V to <T1> // store <T1> %t2, <T1>* %P llvm-svn: 1080
* * Convert getelementptr/store pairs into a single storeChris Lattner2001-11-011-1/+26
| | | | | | * Convert getelementptr/load pairs into a single load llvm-svn: 1075
* Initial checkin of level raising code, after move and cleanup and expands ↵Chris Lattner2001-11-011-0/+592
from the opt directory llvm-svn: 1074
OpenPOWER on IntegriCloud