summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Also convert SUBREG_TO_REG to a KILL when relevant, like the other subregJakob Stoklund Olesen2010-06-221-7/+12
| | | | | | | | | instructions. This does not affect codegen much because SUBREG_TO_REG is only used by X86 and X86 does not use the register scavenger, but it prevents verifier errors. llvm-svn: 106583
* Thumb1 functions using @llvm.returnaddress were not saving the incoming LR.Bob Wilson2010-06-221-3/+3
| | | | | | Radar 8031193. llvm-svn: 106582
* Look for and use a different darwin crash reporter library.Eric Christopher2010-06-221-1/+11
| | | | llvm-svn: 106576
* fix typoJim Grosbach2010-06-221-1/+1
| | | | llvm-svn: 106574
* use high-level accessorsGabor Greif2010-06-221-12/+13
| | | | llvm-svn: 106573
* warmup ritual: use high-level argument accessorsGabor Greif2010-06-221-3/+3
| | | | llvm-svn: 106563
* Clone named metadata while cloning a module.Devang Patel2010-06-221-0/+11
| | | | | | Reapply Bob's patch. llvm-svn: 106560
* Reorganize logical and arithmetic SSE 1 & 2 instructionsBruno Cardoso Lopes2010-06-221-77/+81
| | | | llvm-svn: 106557
* Reorganize SSE instructions, making easier to see oportunities for refactoringBruno Cardoso Lopes2010-06-221-250/+228
| | | | llvm-svn: 106556
* Move PHIElimination's SplitCriticalEdge for MachineBasicBlocks outDan Gohman2010-06-223-75/+130
| | | | | | | into a utility routine, teach it how to update MachineLoopInfo, and make use of it in MachineLICM to split critical edges on demand. llvm-svn: 106555
* Remove the SimpleJoin optimization from SimpleRegisterCoalescing.Jakob Stoklund Olesen2010-06-222-512/+68
| | | | | | | | | Measurements show that it does not speed up coalescing, so there is no reason the keep the added complexity around. Also clean out some unused methods and static functions. llvm-svn: 106548
* Use pre-increment instead of post-increment when the result is not used.Dan Gohman2010-06-2220-87/+87
| | | | llvm-svn: 106542
* Add an explicit keyword.Dan Gohman2010-06-221-1/+1
| | | | llvm-svn: 106538
* Allow "exhaustive" trip count evaluation on phi nodes with allDan Gohman2010-06-221-9/+7
| | | | | | constant operands. llvm-svn: 106537
* Revert 106528. It is causing self host failures.Devang Patel2010-06-221-5/+7
| | | | llvm-svn: 106529
* Do not rely on DenseMap slot which can be easily invalidated when DenseMap ↵Devang Patel2010-06-221-7/+5
| | | | | | grows. llvm-svn: 106528
* Revert my change to clone named metadata. Buildbots are complaining.Bob Wilson2010-06-221-11/+0
| | | | | | | --- Reverse-merging r106508 into '.': U lib/Transforms/Utils/CloneModule.cpp llvm-svn: 106521
* When unfolding a load, avoid assuming which instruction thatDan Gohman2010-06-221-4/+18
| | | | | | kill and dead flags will end up on. llvm-svn: 106520
* Use single interface, using twine, to get named metadata.Devang Patel2010-06-223-9/+4
| | | | | | getNamedMetadata(). llvm-svn: 106518
* Tail merging pass shall not break up IT blocks. rdar://8115404Evan Cheng2010-06-226-20/+55
| | | | llvm-svn: 106517
* Discard special LLVM prefix from linkage name.Devang Patel2010-06-221-1/+2
| | | | llvm-svn: 106516
* Do not rely on Twine temporaries to survive.Devang Patel2010-06-222-7/+8
| | | | llvm-svn: 106515
* make sure to initialize indent_levelChris Lattner2010-06-221-1/+1
| | | | llvm-svn: 106513
* Fix the new load-unfolding code to update LiveVariable's dead flags,Dan Gohman2010-06-221-2/+8
| | | | | | in addition to the kill flags. llvm-svn: 106512
* Include named metadata when cloning a module.Bob Wilson2010-06-221-0/+11
| | | | llvm-svn: 106508
* add some support for blockaddress. This isn't really enough to be useful,Chris Lattner2010-06-211-3/+5
| | | | | | but it will cover uses of blockaddress that are actually in a function. llvm-svn: 106502
* eliminate a mutable global variable, use raw_ostream::indent instead ofChris Lattner2010-06-211-9/+9
| | | | | | rolling our own. llvm-svn: 106501
* un-indent a huge amount of code out of an anonymous namespace.Chris Lattner2010-06-211-1668/+1666
| | | | llvm-svn: 106500
* revert r106482Bruno Cardoso Lopes2010-06-211-42/+44
| | | | llvm-svn: 106499
* Teach two-address lowering how to unfold a load to open up commutingDan Gohman2010-06-211-0/+84
| | | | | | | | | | | | | | | | | | | opportunities. For example, this lets it emit this: movq (%rax), %rcx addq %rdx, %rcx instead of this: movq %rdx, %rcx addq (%rax), %rcx in the case where %rdx has subsequent uses. It's the same number of instructions, and usually the same encoding size on x86, but it appears faster, and in general, it may allow better scheduling for the load. llvm-svn: 106493
* change parameter name to avoid confusion with global definitionBruno Cardoso Lopes2010-06-211-6/+6
| | | | llvm-svn: 106486
* sign_extend_inreg needs to be expanded for pre-v6 Thumb as well as ARM.Bob Wilson2010-06-211-1/+1
| | | | | | Radar 8104310. llvm-svn: 106484
* LEApcrelJT shouldn't be marked as neverHasSideEffects, as we don't want itJim Grosbach2010-06-213-3/+3
| | | | | | being moved around away from the jump table it references. rdar://8104340 llvm-svn: 106483
* Add unpack and interleave AVX instructions, encoding tests cooming soonBruno Cardoso Lopes2010-06-211-44/+42
| | | | llvm-svn: 106482
* Fix PR7421: bug in kill transferring logic. It was ignoring loads / stores ↵Evan Cheng2010-06-211-39/+66
| | | | | | which have already been processed. llvm-svn: 106481
* "This is just a cosmetic change in MCAsmStreamer.cpp/EmitSymbolAttribute: ↵Chris Lattner2010-06-211-11/+11
| | | | | | | | | | | all attributes have now a \t before and after, as done for '.type'. This makes the output look consistent, as well as help some third party assemblers expecting the attributes to be in the second column." Patch by Arnaud de Grandmaison! llvm-svn: 106469
* Remove isTwoAddress from SystemZ.Eric Christopher2010-06-212-8/+9
| | | | llvm-svn: 106467
* Remove isTwoAddress from Sparc.Eric Christopher2010-06-211-1/+1
| | | | llvm-svn: 106466
* Remove isTwoAddress from Mips.Eric Christopher2010-06-211-1/+1
| | | | llvm-svn: 106465
* Remove isTwoAddress from Blackfin.Eric Christopher2010-06-211-6/+6
| | | | llvm-svn: 106457
* Remove isTwoAddress from MSP430.Eric Christopher2010-06-211-219/+219
| | | | llvm-svn: 106455
* Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman2010-06-219-29/+26
| | | | | | SmallVector, and other SmallVector simplifications. llvm-svn: 106452
* Make 80-column.Eric Christopher2010-06-211-5/+10
| | | | llvm-svn: 106448
* Remove isTwoAddress from PIC16.Eric Christopher2010-06-211-6/+6
| | | | llvm-svn: 106447
* Remove isTwoAddress from XCore.Eric Christopher2010-06-211-1/+1
| | | | llvm-svn: 106446
* Remove isTwoAddress from Alpha.Eric Christopher2010-06-212-12/+26
| | | | llvm-svn: 106445
* Move several non-performance-critical member functinos out of line.Dan Gohman2010-06-212-0/+50
| | | | llvm-svn: 106444
* Do not directly use function names to construct new name for named metadata.Devang Patel2010-06-211-1/+8
| | | | | | "llvm.dbg.lv.~A" is not a valid name. llvm-svn: 106438
* Move part of SSE 1 & 2 compare, shuffle and unpack instructions closely. ↵Bruno Cardoso Lopes2010-06-211-69/+54
| | | | | | Preparing them for refactoring and to the addition of their AVX forms llvm-svn: 106437
* Add AVX regular (non-aliased ones) and,or,xor,andn packed instructions. They ↵Bruno Cardoso Lopes2010-06-211-0/+24
| | | | | | are already tested in the MC framework, no test needed llvm-svn: 106436
OpenPOWER on IntegriCloud