summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add an option to enable the SSA based peephole optimizer.Chris Lattner2003-12-012-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 andChris Lattner2003-12-011-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 bitChris Lattner2003-12-011-35/+42
| | | | llvm-svn: 10274
* Print instructions before register allocation is performed. Also fixAlkis Evlogimenos2003-11-301-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 namespacificationChris Lattner2003-11-301-4/+2
| | | | llvm-svn: 10270
* Remove "numReloaded" statistic.Alkis Evlogimenos2003-11-301-2/+0
| | | | llvm-svn: 10268
* Emit constants to one contiguous block, but this time, respect alignment ↵Chris Lattner2003-11-301-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 notMisha Brukman2003-11-301-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.llChris Lattner2003-11-291-6/+7
| | | | | | Some gep generalization changes llvm-svn: 10252
* To not barf when an error occurs.Chris Lattner2003-11-261-9/+9
| | | | llvm-svn: 10236
* output foo(void) as appropriateChris Lattner2003-11-261-0/+2
| | | | llvm-svn: 10232
* Fix bug in previous checkinChris Lattner2003-11-251-1/+1
| | | | llvm-svn: 10231
* Fix const correctnessChris Lattner2003-11-251-1/+1
| | | | llvm-svn: 10229
* Relax constrains on GEP type indexesChris Lattner2003-11-252-10/+16
| | | | llvm-svn: 10228
* Do not use index type to determine what it is indexing into!Chris Lattner2003-11-251-26/+26
| | | | llvm-svn: 10226
* Do not depend on the gep index types to determine what flavor of index it isChris Lattner2003-11-251-18/+22
| | | | llvm-svn: 10225
* Do not depend on structure elements being of type UByteTyChris Lattner2003-11-252-22/+31
| | | | llvm-svn: 10224
* Do not depend on index type to determine whether it is a structure or ↵Chris Lattner2003-11-251-11/+12
| | | | | | sequential index llvm-svn: 10221
* Fix file headerChris Lattner2003-11-251-1/+1
| | | | llvm-svn: 10219
* Remove dead variableChris Lattner2003-11-251-1/+0
| | | | llvm-svn: 10218
* Use gep_type_begin/end instead of looking for ubytesChris Lattner2003-11-251-4/+7
| | | | llvm-svn: 10217
* Finegrainify namespacificationChris Lattner2003-11-251-4/+2
| | | | llvm-svn: 10210
* Fix PR147Chris Lattner2003-11-251-0/+5
| | | | llvm-svn: 10204
* Fix copy-pasto.Misha Brukman2003-11-241-2/+2
| | | | llvm-svn: 10197
* Add ability to query if a file is a legitimate ELF shared object.Misha Brukman2003-11-241-0/+10
| | | | llvm-svn: 10193
* Support constant casting constant pointers to ints/uints, and/orBrian Gaeke2003-11-221-4/+8
| | | | | | the other way around, instead of failing a large, tumor-like assertion. llvm-svn: 10171
* Constant shift expressions, meet InstSelectSimple. Yow!!Brian Gaeke2003-11-221-50/+55
| | | | llvm-svn: 10170
* Stub for constant shift expr support.Brian Gaeke2003-11-221-0/+23
| | | | llvm-svn: 10168
* Fix PR149 - support constant shift expressions.Brian Gaeke2003-11-221-0/+4
| | | | llvm-svn: 10167
* Delete dead lineChris Lattner2003-11-221-1/+0
| | | | llvm-svn: 10164
* Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llxChris Lattner2003-11-221-0/+2
| | | | llvm-svn: 10163
* Do not crash when deleing a region with a dead invoke instructionChris Lattner2003-11-221-0/+4
| | | | llvm-svn: 10161
* Finegrainify namespacificationChris Lattner2003-11-221-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 doMisha Brukman2003-11-211-5/+8
| | | | | | | | * Restore registers *after* everything else to avoid any possible side effects This fixes McCat-imp. llvm-svn: 10147
* Check return types of functionsChris Lattner2003-11-213-0/+9
| | | | llvm-svn: 10146
* Considering that CI is not even IN SCOPE here, I wooda thought the compilerChris Lattner2003-11-211-1/+1
| | | | | | would have caught this. *sigh* llvm-svn: 10142
* Finegrainify namespacificationChris Lattner2003-11-2111-49/+26
| | | | llvm-svn: 10138
* Get rid of using decls, finegrainify namespacificationChris Lattner2003-11-211-23/+18
| | | | llvm-svn: 10137
* * Finegrainify namespacificationChris Lattner2003-11-211-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 namespacificationChris Lattner2003-11-211-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 linkageChris Lattner2003-11-211-3/+2
| | | | llvm-svn: 10133
* Don't crash on bogus source valueChris Lattner2003-11-211-0/+3
| | | | llvm-svn: 10132
* Finegrainify namespacificationChris Lattner2003-11-2112-166/+150
| | | | llvm-svn: 10131
* Fix some problems with assertions printingChris Lattner2003-11-211-7/+19
| | | | llvm-svn: 10129
* improve error messageChris Lattner2003-11-211-2/+2
| | | | llvm-svn: 10128
* Minor cleanups and simplificationsChris Lattner2003-11-217-46/+38
| | | | llvm-svn: 10127
* * Finegrainify namespacificationChris Lattner2003-11-201-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 APIChris Lattner2003-11-2012-46/+32
| | | | llvm-svn: 10111
* Spew symbolic types!Chris Lattner2003-11-201-3/+8
| | | | llvm-svn: 10110
* When spewing out warnings during function resolution, do not vomit out pagesChris Lattner2003-11-201-4/+8
| | | | | | and pages of non-symbolic types. llvm-svn: 10109
OpenPOWER on IntegriCloud