aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For PR1138:Reid Spencer2007-01-281-4/+11
| | | | | | | | Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33608 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust a comment to reflect reality.Reid Spencer2007-01-281-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33607 91177308-0d34-0410-b5e6-96231b3b80d8
* Arguments are counting from 1. not from 0. Maybe we should changeAnton Korobeynikov2007-01-281-1/+1
| | | | | | | numbering somehow? E.g. make return argument the last? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33606 91177308-0d34-0410-b5e6-96231b3b80d8
* More cleanupAnton Korobeynikov2007-01-282-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33605 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop CSRET from here too.Nick Lewycky2007-01-281-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33604 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compile error "jump to case label crosses initialization".Nick Lewycky2007-01-281-5/+6
| | | | | | | What compiler are people using that accepts this code? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33603 91177308-0d34-0410-b5e6-96231b3b80d8
* Grammar fixAnton Korobeynikov2007-01-281-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33602 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge error at my side. Fixed.Anton Korobeynikov2007-01-284-294/+450
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33601 91177308-0d34-0410-b5e6-96231b3b80d8
* Document 'inreg' & 'sret'Anton Korobeynikov2007-01-281-19/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33600 91177308-0d34-0410-b5e6-96231b3b80d8
* RegenerateAnton Korobeynikov2007-01-286-5677/+6350
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33599 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop CSRET CCAnton Korobeynikov2007-01-282-126/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33598 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33597 91177308-0d34-0410-b5e6-96231b3b80d8
* This file has been dead for a long time. Remove it.Reid Spencer2007-01-281-191/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33596 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2007-01-283-284/+388
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33595 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33594 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33593 91177308-0d34-0410-b5e6-96231b3b80d8
* provide a definition for uintptr_tChris Lattner2007-01-271-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33592 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test/Transforms/InstCombine/2007-01-27-AndICmp.ll, a miscompilation ofChris Lattner2007-01-271-1/+2
| | | | | | | Mozilla that Anton tracked down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33591 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for an instcombine miscompilation reduced by Anton.Chris Lattner2007-01-271-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33590 91177308-0d34-0410-b5e6-96231b3b80d8
* Use -f option so test is repeatable.Reid Spencer2007-01-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33589 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test case for PR411.Reid Spencer2007-01-271-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33588 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this really do nothing.Reid Spencer2007-01-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33587 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe the recent changes to the bytecode format for PR761.Owen Anderson2007-01-271-40/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33586 91177308-0d34-0410-b5e6-96231b3b80d8
* Make d'tor out-of-line.Bill Wendling2007-01-272-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33585 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33584 91177308-0d34-0410-b5e6-96231b3b80d8
* add some missing APIChris Lattner2007-01-271-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33583 91177308-0d34-0410-b5e6-96231b3b80d8
* Give SmallSet a reasonable fallback if it gets large: use an std::set.Chris Lattner2007-01-271-27/+51
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33582 91177308-0d34-0410-b5e6-96231b3b80d8
* implement SmallPtrSet::eraseChris Lattner2007-01-272-3/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33581 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33580 91177308-0d34-0410-b5e6-96231b3b80d8
* add some comments on the algorithmChris Lattner2007-01-271-1/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33579 91177308-0d34-0410-b5e6-96231b3b80d8
* add a noteChris Lattner2007-01-271-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33578 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new SmallSet ADT specialized for pointers.Chris Lattner2007-01-272-0/+278
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33577 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some comments, fix an 80 cols violation.Reid Spencer2007-01-271-12/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33576 91177308-0d34-0410-b5e6-96231b3b80d8
* Return an X86ELFWriterInfo object.Bill Wendling2007-01-271-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33574 91177308-0d34-0410-b5e6-96231b3b80d8
* Use TargetELFWriterInfo class.Bill Wendling2007-01-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33573 91177308-0d34-0410-b5e6-96231b3b80d8
* Accessor for the TargetELFWriterInfo class object.Bill Wendling2007-01-271-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33572 91177308-0d34-0410-b5e6-96231b3b80d8
* X86 implementation of the TargetELFWriterInfo class.Bill Wendling2007-01-272-0/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33571 91177308-0d34-0410-b5e6-96231b3b80d8
* The TargetELFWriterInfo class holds target-specific information for the ELF ↵Bill Wendling2007-01-271-0/+43
| | | | | | writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33570 91177308-0d34-0410-b5e6-96231b3b80d8
* New entry.Evan Cheng2007-01-271-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33569 91177308-0d34-0410-b5e6-96231b3b80d8
* Thumb jumptable support.Evan Cheng2007-01-273-3/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33568 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify insert interfaceChris Lattner2007-01-271-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33567 91177308-0d34-0410-b5e6-96231b3b80d8
* clean up commentChris Lattner2007-01-271-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33566 91177308-0d34-0410-b5e6-96231b3b80d8
* add an explanatory comment.Chris Lattner2007-01-271-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33565 91177308-0d34-0410-b5e6-96231b3b80d8
* Apparently the last commit is wrong. Reverted.Reid Spencer2007-01-271-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33564 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a double negative.Reid Spencer2007-01-271-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33563 91177308-0d34-0410-b5e6-96231b3b80d8
* Thumb add / sub with carry.Evan Cheng2007-01-271-1/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33562 91177308-0d34-0410-b5e6-96231b3b80d8
* Thumb tests.Evan Cheng2007-01-271-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33561 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge tests.Evan Cheng2007-01-272-31/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33560 91177308-0d34-0410-b5e6-96231b3b80d8
* Some asm directives fixes for ELF.Lauro Ramos Venancio2007-01-261-8/+7
| | | | | | | Now we can compile llvm-gcc on arm-linux-gnueabi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33558 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the constant honest.Jim Laskey2007-01-261-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33557 91177308-0d34-0410-b5e6-96231b3b80d8