summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* RegenerateAnton Korobeynikov2007-01-286-5677/+6350
| | | | llvm-svn: 33599
* Drop CSRET CCAnton Korobeynikov2007-01-282-126/+22
| | | | llvm-svn: 33598
* Propagate changes from my local tree. This patch includes:Anton Korobeynikov2007-01-2824-838/+502
| | | | | | | | | | | | | | | | | | | | | | 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. llvm-svn: 33597
* This file has been dead for a long time. Remove it.Reid Spencer2007-01-281-191/+0
| | | | llvm-svn: 33596
* Regenerate.Reid Spencer2007-01-283-284/+388
| | | | llvm-svn: 33595
* For PR1137:Reid Spencer2007-01-281-10/+62
| | | | | | | | | | When a value is found to have the same name as another, try harder to disambiguate when its a type plane collapse issue and when it isn't. We traverse the type to see if it contains an integer. If it does not then we issue the error because it can't be resulting from integer type planes collapsing. Otherwise we just rename it, even if that's a bit of overkill. llvm-svn: 33594
* Test case for PR1137. This makes sure that we don't get erroneousReid Spencer2007-01-281-0/+21
| | | | | | "redefinition" errors that cause the upgrade to fail. llvm-svn: 33593
* provide a definition for uintptr_tChris Lattner2007-01-271-0/+1
| | | | llvm-svn: 33592
* Fix test/Transforms/InstCombine/2007-01-27-AndICmp.ll, a miscompilation ofChris Lattner2007-01-271-1/+2
| | | | | | Mozilla that Anton tracked down. llvm-svn: 33591
* Testcase for an instcombine miscompilation reduced by Anton.Chris Lattner2007-01-271-0/+8
| | | | llvm-svn: 33590
* Use -f option so test is repeatable.Reid Spencer2007-01-271-2/+2
| | | | llvm-svn: 33589
* Add a test case for PR411.Reid Spencer2007-01-271-0/+13
| | | | llvm-svn: 33588
* Make this really do nothing.Reid Spencer2007-01-271-1/+1
| | | | llvm-svn: 33587
* Describe the recent changes to the bytecode format for PR761.Owen Anderson2007-01-271-40/+13
| | | | llvm-svn: 33586
* Make d'tor out-of-line.Bill Wendling2007-01-272-1/+2
| | | | llvm-svn: 33585
* Make SmallSet<whatever*, N> faster by transparently implementing it withChris Lattner2007-01-271-0/+5
| | | | | | | SmallPtrSet. Some clients will need to use SmallPtrSet directly though if they need to iterate over the set. llvm-svn: 33584
* add some missing APIChris Lattner2007-01-271-0/+3
| | | | llvm-svn: 33583
* Give SmallSet a reasonable fallback if it gets large: use an std::set.Chris Lattner2007-01-271-27/+51
| | | | llvm-svn: 33582
* implement SmallPtrSet::eraseChris Lattner2007-01-272-3/+37
| | | | llvm-svn: 33581
* Fix a limitation of SmallPtrSet. Before it would assert if the smallsizeChris Lattner2007-01-271-2/+30
| | | | | | was not a power of two. Now it rounds up to the next power of two internally. llvm-svn: 33580
* add some comments on the algorithmChris Lattner2007-01-271-1/+20
| | | | llvm-svn: 33579
* add a noteChris Lattner2007-01-271-1/+2
| | | | llvm-svn: 33578
* Add a new SmallSet ADT specialized for pointers.Chris Lattner2007-01-272-0/+278
| | | | llvm-svn: 33577
* Add some comments, fix an 80 cols violation.Reid Spencer2007-01-271-12/+16
| | | | llvm-svn: 33576
* Return an X86ELFWriterInfo object.Bill Wendling2007-01-271-1/+6
| | | | llvm-svn: 33574
* Use TargetELFWriterInfo class.Bill Wendling2007-01-271-2/+2
| | | | llvm-svn: 33573
* Accessor for the TargetELFWriterInfo class object.Bill Wendling2007-01-271-1/+7
| | | | llvm-svn: 33572
* X86 implementation of the TargetELFWriterInfo class.Bill Wendling2007-01-272-0/+46
| | | | llvm-svn: 33571
* The TargetELFWriterInfo class holds target-specific information for the ELF ↵Bill Wendling2007-01-271-0/+43
| | | | | | writer. llvm-svn: 33570
* New entry.Evan Cheng2007-01-271-0/+4
| | | | llvm-svn: 33569
* Thumb jumptable support.Evan Cheng2007-01-273-3/+32
| | | | llvm-svn: 33568
* simplify insert interfaceChris Lattner2007-01-271-3/+3
| | | | llvm-svn: 33567
* clean up commentChris Lattner2007-01-271-3/+3
| | | | llvm-svn: 33566
* add an explanatory comment.Chris Lattner2007-01-271-0/+1
| | | | llvm-svn: 33565
* Apparently the last commit is wrong. Reverted.Reid Spencer2007-01-271-1/+2
| | | | llvm-svn: 33564
* Remove a double negative.Reid Spencer2007-01-271-2/+1
| | | | llvm-svn: 33563
* Thumb add / sub with carry.Evan Cheng2007-01-271-1/+17
| | | | llvm-svn: 33562
* Thumb tests.Evan Cheng2007-01-271-2/+9
| | | | llvm-svn: 33561
* Merge tests.Evan Cheng2007-01-272-31/+28
| | | | llvm-svn: 33560
* Some asm directives fixes for ELF.Lauro Ramos Venancio2007-01-261-8/+7
| | | | | | Now we can compile llvm-gcc on arm-linux-gnueabi! llvm-svn: 33558
* Make the constant honest.Jim Laskey2007-01-261-1/+3
| | | | llvm-svn: 33557
* Fix a spelling errorNate Begeman2007-01-261-1/+1
| | | | llvm-svn: 33556
* Handle multiple functions, properly mangle symbols, and fix support forNate Begeman2007-01-263-35/+80
| | | | | | scattered relocations. llvm-svn: 33555
* fit in 80 colsChris Lattner2007-01-261-2/+2
| | | | llvm-svn: 33553
* rename filesJim Laskey2007-01-262-62/+64
| | | | llvm-svn: 33552
* Represent tADDspi and tSUBspi as two-address instructions.Evan Cheng2007-01-262-5/+5
| | | | llvm-svn: 33551
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-2621-119/+119
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Fix Data16bitsDirective for ELF.Lauro Ramos Venancio2007-01-261-1/+0
| | | | llvm-svn: 33549
* Conditional branch being fixed up is not the last MI in the BB, there is aEvan Cheng2007-01-261-13/+51
| | | | | | | | | | | | | unconditional branch following it. Simply invert the condition and swap destinations if the conditional branch can reach the destination of the unconditional branch: beq L1 b L2 => bne L2 b L1 llvm-svn: 33548
* Regenerate.Reid Spencer2007-01-263-267/+271
| | | | llvm-svn: 33547
OpenPOWER on IntegriCloud