summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* emit .subsections_via_symbols through MCStreamer instead of textually.Chris Lattner2009-10-193-3/+5
| | | | llvm-svn: 84509
* cleanup doFinalization -> EmitEndOfAsmFile.Chris Lattner2009-10-191-6/+3
| | | | llvm-svn: 84508
* PR 5245 - The imediate size target flag was not set on 3A-prefixed SSSE3 ↵Nate Begeman2009-10-191-2/+2
| | | | | | instructions. llvm-svn: 84506
* Fix SplitBlockPredecessors' LoopInfo updating code to handle the caseDan Gohman2009-10-191-8/+20
| | | | | | | | where a loop's header is being split and it has predecessors which are not contained by the most-nested loop which contains the loop. This fixes PR5235. llvm-svn: 84505
* Fix a typo in a comment.Dan Gohman2009-10-191-1/+1
| | | | llvm-svn: 84504
* Change a few instance variables to be local variables.Dan Gohman2009-10-191-11/+6
| | | | llvm-svn: 84503
* Change instnamer to name arguments "arg" instead of "tmp" for clarity, andDan Gohman2009-10-191-2/+2
| | | | | | to name basic blocks "bb" instead of "BB", for consistency. llvm-svn: 84502
* Fix PR5247, "lock addq" pattern (and other atomics), it DOES modify EFLAGS.Torok Edwin2009-10-191-1/+2
| | | | | | | LLC was scheduling compares before the adds causing wrong branches to be taken in programs, resulting in misoptimized code wherever atomic adds where used. llvm-svn: 84485
* various cleanups.Chris Lattner2009-10-191-30/+31
| | | | llvm-svn: 84471
* simplify.Chris Lattner2009-10-191-3/+1
| | | | llvm-svn: 84465
* clean up after metadata changes.Chris Lattner2009-10-192-11/+4
| | | | llvm-svn: 84463
* Add support for matching shuffle patterns with palignr.Nate Begeman2009-10-193-12/+116
| | | | llvm-svn: 84459
* Spill slots cannot alias.Evan Cheng2009-10-183-9/+16
| | | | llvm-svn: 84432
* Turn on post-alloc scheduling for x86.Evan Cheng2009-10-181-2/+1
| | | | llvm-svn: 84431
* Oops. I forgot to change the tests first. Disable post-alloc scheduling.Evan Cheng2009-10-181-1/+1
| | | | llvm-svn: 84425
* -Revert parts of 84326 and 84411. Distinquishing between fixed and non-fixedEvan Cheng2009-10-1814-93/+89
| | | | | | | | | | | stack slots and giving them different PseudoSourceValue's did not fix the problem of post-alloc scheduling miscompiling llvm itself. - Apply Dan's conservative workaround by assuming any non fixed stack slots can alias other memory locations. This means a load from spill slot #1 cannot move above a store of spill slot #2. - Enable post-alloc scheduling for x86 at optimization leverl Default and above. llvm-svn: 84424
* Only fixed stack objects and spill slots should be get FixedStack ↵Evan Cheng2009-10-189-54/+77
| | | | | | PseudoSourceValue. llvm-svn: 84411
* remove some nonascii weird stuffChris Lattner2009-10-181-1/+1
| | | | llvm-svn: 84410
* add some fixme'sChris Lattner2009-10-182-1/+3
| | | | llvm-svn: 84408
* remove the IndMemRemPass, which only made sense for when malloc/free were ↵Chris Lattner2009-10-182-100/+0
| | | | | | | | intrinsic instructions. llvm-svn: 84404
* fix the other issue with ID's, hopefully really fixing the linux build.Chris Lattner2009-10-181-7/+6
| | | | llvm-svn: 84403
* fix some problems with ID definitions, which will hopefully fix the build bots.Chris Lattner2009-10-181-7/+5
| | | | llvm-svn: 84399
* add function passes for printing various dominator datastructuresChris Lattner2009-10-182-0/+269
| | | | | | accessible through opt. Patch by Tobias Grosser! llvm-svn: 84397
* make DOTGraphTraits public, patch by Tobias Grosser!Chris Lattner2009-10-181-61/+2
| | | | llvm-svn: 84396
* Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed,Nick Lewycky2009-10-172-15/+18
| | | | | | | LLVMBuildMalloc was reimplemented but with the bug that it didn't insert the resulting instruction. llvm-svn: 84374
* inline isGEP away.Chris Lattner2009-10-171-10/+6
| | | | llvm-svn: 84373
* Fix my -Asserts warning fix.Daniel Dunbar2009-10-171-2/+3
| | | | llvm-svn: 84372
* Teach vm core to more aggressively fold 'trunc' constantexprs,Chris Lattner2009-10-171-9/+160
| | | | | | | | | allowing it to simplify the crazy constantexprs in the testcases down to something sensible. This allows -std-compile-opts to completely "devirtualize" the pointers to member functions in the testcase from PR5176. llvm-svn: 84368
* Move UnescapeString to a static function for its sole client; its ↵Daniel Dunbar2009-10-171-30/+0
| | | | | | inefficient and broken. llvm-svn: 84358
* Remove llvm::EscapeString, raw_ostream::write_escaped is much faster.Daniel Dunbar2009-10-171-26/+0
| | | | llvm-svn: 84357
* Use raw_ostream::write_escaped instead of EscapeString.Daniel Dunbar2009-10-171-6/+4
| | | | llvm-svn: 84356
* Add raw_ostream::write_escaped, for writing escaped strings.Daniel Dunbar2009-10-171-0/+34
| | | | llvm-svn: 84355
* First draft of the OptionPreprocessor.Mikhail Glushenkov2009-10-172-12/+10
| | | | | | More to follow... llvm-svn: 84352
* Emit newlines at the end of instructions too.Nick Lewycky2009-10-171-2/+2
| | | | llvm-svn: 84348
* Move StringMap's string has function into StringExtras.hDaniel Dunbar2009-10-171-16/+3
| | | | llvm-svn: 84344
* Remove unnecessary include.Daniel Dunbar2009-10-171-1/+0
| | | | llvm-svn: 84336
* Suppress -Asserts warning.Daniel Dunbar2009-10-171-2/+2
| | | | llvm-svn: 84327
* Distinquish stack slots from other stack objects. They (and fixed objects) ↵Evan Cheng2009-10-176-8/+17
| | | | | | get FixedStack PseudoSourceValues. llvm-svn: 84326
* Revert 84315 for now. Re-thinking the patch.Evan Cheng2009-10-1715-48/+45
| | | | llvm-svn: 84321
* Rename getFixedStack to getStackObject. The stack objects represented are notEvan Cheng2009-10-1715-45/+48
| | | | | | necessarily fixed. Only those will negative frame indices are "fixed." llvm-svn: 84315
* 80 col violation.Evan Cheng2009-10-171-1/+2
| | | | llvm-svn: 84311
* Simplify some code (first hunk) and fix PR5208 (second hunk) byChris Lattner2009-10-171-8/+6
| | | | | | updating the callgraph when introducing a call. llvm-svn: 84310
* Delete an obsolete comment.Dan Gohman2009-10-171-2/+1
| | | | llvm-svn: 84300
* Remove MallocInst from LLVM Instructions.Victor Hernandez2009-10-1718-572/+27
| | | | llvm-svn: 84299
* Enhance CodePlacementOpt's unconditional intra-loop branch elimination logicDan Gohman2009-10-171-177/+354
| | | | | | | | | | | | to be more general and understand more varieties of loops. Teach CodePlacementOpt to reorganize the basic blocks of a loop so that they are contiguous. This also includes a fair amount of logic for preserving fall-through edges while doing so. This fixes a BranchFolding-ism where blocks which can't be made to use a fall-through edge and don't conveniently fit anywhere nearby get tossed out to the end of the function. llvm-svn: 84295
* Autoupgrade malloc insts to malloc calls.Victor Hernandez2009-10-179-146/+126
| | | | | | | | Update testcases that rely on malloc insts being present. Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step. llvm-svn: 84292
* HeapAllocSRoA also needs to check if malloc array size can be computed.Victor Hernandez2009-10-161-36/+40
| | | | llvm-svn: 84288
* Allow widening of extract subvectorMon P Wang2009-10-162-0/+8
| | | | llvm-svn: 84279
* Do not emit name entry for a pointer type.Devang Patel2009-10-161-1/+1
| | | | llvm-svn: 84276
* Change createPostRAScheduler so it can be turned off at llc -O1.Evan Cheng2009-10-164-8/+19
| | | | llvm-svn: 84273
OpenPOWER on IntegriCloud