Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Clean up code, implement array indexing stuff | Chris Lattner | 2001-11-26 | 1 | -423/+175 | |
| | | | | llvm-svn: 1340 | |||||
* | Remove much cruft from the MemAccessInst instruction | Chris Lattner | 2001-11-14 | 1 | -4/+4 | |
| | | | | llvm-svn: 1298 | |||||
* | Better heuristics for handling arrays | Chris Lattner | 2001-11-14 | 1 | -50/+175 | |
| | | | | llvm-svn: 1296 | |||||
* | Avoid assertion failure when taking size of unsized array. Todo item herE | Chris Lattner | 2001-11-13 | 1 | -0/+7 | |
| | | | | llvm-svn: 1286 | |||||
* | Improve raising significantly | Chris Lattner | 2001-11-08 | 1 | -54/+93 | |
| | | | | llvm-svn: 1214 | |||||
* | Fix bugs | Chris Lattner | 2001-11-06 | 1 | -1/+3 | |
| | | | | llvm-svn: 1152 | |||||
* | Fix bug with ADD nodes and malloc promotion | Chris Lattner | 2001-11-05 | 1 | -9/+29 | |
| | | | | llvm-svn: 1144 | |||||
* | Use the expression map correctly. | Chris Lattner | 2001-11-05 | 1 | -6/+3 | |
| | | | | llvm-svn: 1140 | |||||
* | Refactor code to share stuff | Chris Lattner | 2001-11-04 | 1 | -558/+2 | |
| | | | | llvm-svn: 1127 | |||||
* | * Relax restriction that prevented malloc promotion in certain cases | Chris Lattner | 2001-11-04 | 1 | -21/+22 | |
| | | | | llvm-svn: 1125 | |||||
* | * Disable debug output | Chris Lattner | 2001-11-04 | 1 | -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 Lattner | 2001-11-04 | 1 | -11/+297 | |
| | | | | | | bidirectional approach. Add transforms for more instructions. llvm-svn: 1121 | |||||
* | Minor method rename | Chris Lattner | 2001-11-04 | 1 | -4/+4 | |
| | | | | llvm-svn: 1119 | |||||
* | Add transformations for Load and GetElementPtr. Fix broken transform with shr. | Chris Lattner | 2001-11-04 | 1 | -0/+99 | |
| | | | | llvm-svn: 1118 | |||||
* | * Add comments for peepholes | Chris Lattner | 2001-11-01 | 1 | -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 Lattner | 2001-11-01 | 1 | -4/+9 | |
| | | | | | | instructions that are dead llvm-svn: 1084 | |||||
* | * Implement expression type conversion for constant values | Chris Lattner | 2001-11-01 | 1 | -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 store | Chris Lattner | 2001-11-01 | 1 | -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 Lattner | 2001-11-01 | 1 | -0/+592 | |
from the opt directory llvm-svn: 1074 |