| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add an option to enable the SSA based peephole optimizer. | Chris Lattner | 2003-12-01 | 2 | -4/+13 | |
| | | | | | | | | | | | Eventually this pass will provide substantially better code in the interim between when we have a crappy isel and nice isel. Unfortunately doing so requires fixing the backend to actually SUPPORT all of the fancy addressing modes that we now generate, and writing a DCE pass for machine code. Each of these is a fairly substantial job, so this will remain disabled for the immediate future. :( llvm-svn: 10276 | |||||
| * | Add a new SSA-based peephole optimizer which includes copy propagation and | Chris Lattner | 2003-12-01 | 1 | -2/+283 | |
| | | | | | | | | | folding of instructions into addressing modes. This creates lots of dead instructions, which are currently not deleted. It also creates a lot of instructions that the X86 backend currently cannot handle. :( llvm-svn: 10275 | |||||
| * | generalize the instruction types permitted a bit | Chris Lattner | 2003-12-01 | 1 | -35/+42 | |
| | | | | | llvm-svn: 10274 | |||||
| * | Print instructions before register allocation is performed. Also fix | Alkis Evlogimenos | 2003-11-30 | 1 | -6/+26 | |
| | | | | | | | | | bug where spill instructions were added to the next basic block instead of the end of the current one if the instruction that required the spill was the last in the block. llvm-svn: 10272 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-30 | 1 | -4/+2 | |
| | | | | | llvm-svn: 10270 | |||||
| * | Remove "numReloaded" statistic. | Alkis Evlogimenos | 2003-11-30 | 1 | -2/+0 | |
| | | | | | llvm-svn: 10268 | |||||
| * | Emit constants to one contiguous block, but this time, respect alignment ↵ | Chris Lattner | 2003-11-30 | 1 | -5/+27 | |
| | | | | | | | | | constraints. If this doesn't work Misha, feel free to revert it. llvm-svn: 10267 | |||||
| * | Go back to allocating memory for each constant separately. Since SPARCs do not | Misha Brukman | 2003-11-30 | 1 | -20/+5 | |
| | | | | | | | | | allow unaligned loads, that is probably the problem I've been seeing in numerous SPARC test cases failing. X86, on the other hand, just slows down unaligned accesses, since it must make 2 aligned accesses for each unaligned one. llvm-svn: 10266 | |||||
| * | Fix test: Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll | Chris Lattner | 2003-11-29 | 1 | -6/+7 | |
| | | | | | | | Some gep generalization changes llvm-svn: 10252 | |||||
| * | To not barf when an error occurs. | Chris Lattner | 2003-11-26 | 1 | -9/+9 | |
| | | | | | llvm-svn: 10236 | |||||
| * | output foo(void) as appropriate | Chris Lattner | 2003-11-26 | 1 | -0/+2 | |
| | | | | | llvm-svn: 10232 | |||||
| * | Fix bug in previous checkin | Chris Lattner | 2003-11-25 | 1 | -1/+1 | |
| | | | | | llvm-svn: 10231 | |||||
| * | Fix const correctness | Chris Lattner | 2003-11-25 | 1 | -1/+1 | |
| | | | | | llvm-svn: 10229 | |||||
| * | Relax constrains on GEP type indexes | Chris Lattner | 2003-11-25 | 2 | -10/+16 | |
| | | | | | llvm-svn: 10228 | |||||
| * | Do not use index type to determine what it is indexing into! | Chris Lattner | 2003-11-25 | 1 | -26/+26 | |
| | | | | | llvm-svn: 10226 | |||||
| * | Do not depend on the gep index types to determine what flavor of index it is | Chris Lattner | 2003-11-25 | 1 | -18/+22 | |
| | | | | | llvm-svn: 10225 | |||||
| * | Do not depend on structure elements being of type UByteTy | Chris Lattner | 2003-11-25 | 2 | -22/+31 | |
| | | | | | llvm-svn: 10224 | |||||
| * | Do not depend on index type to determine whether it is a structure or ↵ | Chris Lattner | 2003-11-25 | 1 | -11/+12 | |
| | | | | | | | sequential index llvm-svn: 10221 | |||||
| * | Fix file header | Chris Lattner | 2003-11-25 | 1 | -1/+1 | |
| | | | | | llvm-svn: 10219 | |||||
| * | Remove dead variable | Chris Lattner | 2003-11-25 | 1 | -1/+0 | |
| | | | | | llvm-svn: 10218 | |||||
| * | Use gep_type_begin/end instead of looking for ubytes | Chris Lattner | 2003-11-25 | 1 | -4/+7 | |
| | | | | | llvm-svn: 10217 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-25 | 1 | -4/+2 | |
| | | | | | llvm-svn: 10210 | |||||
| * | Fix PR147 | Chris Lattner | 2003-11-25 | 1 | -0/+5 | |
| | | | | | llvm-svn: 10204 | |||||
| * | Fix copy-pasto. | Misha Brukman | 2003-11-24 | 1 | -2/+2 | |
| | | | | | llvm-svn: 10197 | |||||
| * | Add ability to query if a file is a legitimate ELF shared object. | Misha Brukman | 2003-11-24 | 1 | -0/+10 | |
| | | | | | llvm-svn: 10193 | |||||
| * | Support constant casting constant pointers to ints/uints, and/or | Brian Gaeke | 2003-11-22 | 1 | -4/+8 | |
| | | | | | | | the other way around, instead of failing a large, tumor-like assertion. llvm-svn: 10171 | |||||
| * | Constant shift expressions, meet InstSelectSimple. Yow!! | Brian Gaeke | 2003-11-22 | 1 | -50/+55 | |
| | | | | | llvm-svn: 10170 | |||||
| * | Stub for constant shift expr support. | Brian Gaeke | 2003-11-22 | 1 | -0/+23 | |
| | | | | | llvm-svn: 10168 | |||||
| * | Fix PR149 - support constant shift expressions. | Brian Gaeke | 2003-11-22 | 1 | -0/+4 | |
| | | | | | llvm-svn: 10167 | |||||
| * | Delete dead line | Chris Lattner | 2003-11-22 | 1 | -1/+0 | |
| | | | | | llvm-svn: 10164 | |||||
| * | Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx | Chris Lattner | 2003-11-22 | 1 | -0/+2 | |
| | | | | | llvm-svn: 10163 | |||||
| * | Do not crash when deleing a region with a dead invoke instruction | Chris Lattner | 2003-11-22 | 1 | -0/+4 | |
| | | | | | llvm-svn: 10161 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-22 | 1 | -14/+16 | |
| | | | | | | | The module stripping pass should not strip symbols on external globals llvm-svn: 10157 | |||||
| * | * Add code to flush the ICache, which any self-respecting SMC must do | Misha Brukman | 2003-11-21 | 1 | -5/+8 | |
| | | | | | | | | | * Restore registers *after* everything else to avoid any possible side effects This fixes McCat-imp. llvm-svn: 10147 | |||||
| * | Check return types of functions | Chris Lattner | 2003-11-21 | 3 | -0/+9 | |
| | | | | | llvm-svn: 10146 | |||||
| * | Considering that CI is not even IN SCOPE here, I wooda thought the compiler | Chris Lattner | 2003-11-21 | 1 | -1/+1 | |
| | | | | | | | would have caught this. *sigh* llvm-svn: 10142 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 11 | -49/+26 | |
| | | | | | llvm-svn: 10138 | |||||
| * | Get rid of using decls, finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -23/+18 | |
| | | | | | llvm-svn: 10137 | |||||
| * | * Finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -30/+99 | |
| | | | | | | | | | * Make the cost metric for passing constants in as arguments to functions MUCH more accurate, by actually estimating the amount of code that will be constant propagated away. llvm-svn: 10136 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -4/+5 | |
| | | | | | | | Print out the costs for functions that AREN'T inlined as well llvm-svn: 10135 | |||||
| * | Fix problem Reid was having with external globals and nonexternal linkage | Chris Lattner | 2003-11-21 | 1 | -3/+2 | |
| | | | | | llvm-svn: 10133 | |||||
| * | Don't crash on bogus source value | Chris Lattner | 2003-11-21 | 1 | -0/+3 | |
| | | | | | llvm-svn: 10132 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 12 | -166/+150 | |
| | | | | | llvm-svn: 10131 | |||||
| * | Fix some problems with assertions printing | Chris Lattner | 2003-11-21 | 1 | -7/+19 | |
| | | | | | llvm-svn: 10129 | |||||
| * | improve error message | Chris Lattner | 2003-11-21 | 1 | -2/+2 | |
| | | | | | llvm-svn: 10128 | |||||
| * | Minor cleanups and simplifications | Chris Lattner | 2003-11-21 | 7 | -46/+38 | |
| | | | | | llvm-svn: 10127 | |||||
| * | * Finegrainify namespacification | Chris Lattner | 2003-11-20 | 1 | -8/+27 | |
| | | | | | | | | | * Implement FuncResolve/2003-11-20-BogusResolveWarning.ll ... which eliminates a large number of annoying warnings. I know misha will miss them though! llvm-svn: 10123 | |||||
| * | Start using the nicer terminator auto-insertion API | Chris Lattner | 2003-11-20 | 12 | -46/+32 | |
| | | | | | llvm-svn: 10111 | |||||
| * | Spew symbolic types! | Chris Lattner | 2003-11-20 | 1 | -3/+8 | |
| | | | | | llvm-svn: 10110 | |||||
| * | When spewing out warnings during function resolution, do not vomit out pages | Chris Lattner | 2003-11-20 | 1 | -4/+8 | |
| | | | | | | | and pages of non-symbolic types. llvm-svn: 10109 | |||||

