summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/LevelRaise.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up code, implement array indexing stuffChris Lattner2001-11-261-423/+175
| | | | llvm-svn: 1340
* Remove much cruft from the MemAccessInst instructionChris Lattner2001-11-141-4/+4
| | | | llvm-svn: 1298
* Better heuristics for handling arraysChris Lattner2001-11-141-50/+175
| | | | llvm-svn: 1296
* Avoid assertion failure when taking size of unsized array. Todo item herEChris Lattner2001-11-131-0/+7
| | | | llvm-svn: 1286
* Improve raising significantlyChris Lattner2001-11-081-54/+93
| | | | llvm-svn: 1214
* Fix bugsChris Lattner2001-11-061-1/+3
| | | | llvm-svn: 1152
* Fix bug with ADD nodes and malloc promotionChris Lattner2001-11-051-9/+29
| | | | llvm-svn: 1144
* Use the expression map correctly.Chris Lattner2001-11-051-6/+3
| | | | llvm-svn: 1140
* Refactor code to share stuffChris Lattner2001-11-041-558/+2
| | | | llvm-svn: 1127
* * Relax restriction that prevented malloc promotion in certain casesChris Lattner2001-11-041-21/+22
| | | | llvm-svn: 1125
* * Disable debug outputChris Lattner2001-11-041-22/+48
| | | | | | | * fix minor bug with taking datasize of unsized array type * Insert code to support speculative changes later llvm-svn: 1122
* 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