summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* fix printing of undef vectors, this fixes "simple" and "build" in ↵Chris Lattner2008-03-021-1/+6
| | | | | | | | UnitTests/Vector. Now they all pass. llvm-svn: 47820
* insertelement got the wrong operands.Chris Lattner2008-03-021-2/+2
| | | | llvm-svn: 47819
* Several changes:Chris Lattner2008-03-021-82/+109
| | | | | | | | | | * Simplify handling of byval, making it easier to understand and more consistent. This fixes PR2065. * Clean up and simplify handling of GEPs. I can actually understand it now! * Implement support for GEP'ing into vectors, this fixes SingleSource/UnitTests/Vector/build2 among others. llvm-svn: 47818
* Fix a bug I introduced in constant array and constant vector handling.Chris Lattner2008-03-021-2/+2
| | | | llvm-svn: 47816
* implement shufflevector.Chris Lattner2008-03-021-4/+38
| | | | llvm-svn: 47815
* Add a new ShuffleVectorInst::getMaskValue method.Chris Lattner2008-03-021-6/+24
| | | | llvm-svn: 47813
* implement extractelement.Chris Lattner2008-03-021-2/+17
| | | | llvm-svn: 47812
* implement insertelement.Chris Lattner2008-03-021-1/+17
| | | | llvm-svn: 47811
* respect isSigned for vector types, fixing sdiv of vectors etc.Chris Lattner2008-03-021-2/+2
| | | | llvm-svn: 47810
* print the attribute in the right place, this fixes function returning vectors.Chris Lattner2008-03-021-2/+2
| | | | llvm-svn: 47809
* vector types are simple types. This fixes div/rem of vectors.Chris Lattner2008-03-021-10/+11
| | | | llvm-svn: 47807
* Print vector types appropriately. This gets basic vector code workingChris Lattner2008-03-021-2/+6
| | | | | | (PR1126) llvm-svn: 47806
* rename PT -> VT for VectorTypes.Chris Lattner2008-03-021-8/+7
| | | | llvm-svn: 47805
* Print i32/i64 integer constants as 1u instead of ((unsigned int)1). Chris Lattner2008-03-021-21/+22
| | | | | | Use dyn_cast better. llvm-svn: 47804
* Move pr717 to here.Chris Lattner2008-03-021-0/+14
| | | | llvm-svn: 47803
* Add an unwind_to field to basic blocks, making them Users instead of Values.Nick Lewycky2008-03-026-27/+80
| | | | | | This is the first checkin for PR1269, the new EH infrastructure. llvm-svn: 47802
* good catch antonAndrew Lenharth2008-03-011-6/+6
| | | | llvm-svn: 47800
* make CAS workAndrew Lenharth2008-03-012-2/+3
| | | | llvm-svn: 47799
* all but CAS working on x86Andrew Lenharth2008-03-014-46/+70
| | | | llvm-svn: 47798
* Print the name, not a pointer.Nick Lewycky2008-03-011-1/+1
| | | | llvm-svn: 47796
* Add lock prefix support to x86. Also add the instructions necessary for the ↵Andrew Lenharth2008-03-015-6/+88
| | | | | | atomic ops. They are still marked pseudo, since I cannot figure out what format to use, but they are the correct opcode. llvm-svn: 47795
* Fix PR2113 by verifying allocations.Chris Lattner2008-03-011-3/+6
| | | | llvm-svn: 47792
* allow specified inline threshold to be negative, as the value is Chris Lattner2008-03-011-1/+1
| | | | | | itself sometimes negative. llvm-svn: 47786
* Add MVT::is128BitVector and is64BitVector. ShrinkDale Johannesen2008-03-011-16/+5
| | | | | | | unaligned load/store code using them. Per review of unaligned load/store vector patch. llvm-svn: 47782
* Refactor / clean up code; remove td list scheduler special tie breaker (no ↵Evan Cheng2008-03-011-78/+59
| | | | | | real benefit). llvm-svn: 47779
* Fix cut-n-pasto.Devang Patel2008-02-291-19/+1
| | | | llvm-svn: 47777
* Add pass to promote sret.Devang Patel2008-02-291-0/+292
| | | | | | | | | | | | | | | | | | | This pass transforms %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal void @foo(%struct._Point* sret %agg.result) into %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal %struct._Point @foo() This pass updates foo() clients appropriately to use getresult instruction to extract return values. This pass is not yet ready for prime time. llvm-svn: 47776
* Use enumeration for preffered EH dwarf encoding reasonAnton Korobeynikov2008-02-295-13/+17
| | | | llvm-svn: 47770
* Don't fill eh frames even though these are text sections.Evan Cheng2008-02-292-8/+9
| | | | llvm-svn: 47765
* If we reload a virtual register that's already been assigned, we want to markBill Wendling2008-02-291-1/+2
| | | | | | that instruction as its "last use". This fixes PR1925. llvm-svn: 47758
* Fix PR2112: don't run loop aligner if target doesn't have a TargetLowering ↵Evan Cheng2008-02-291-3/+5
| | | | | | object. llvm-svn: 47755
* fix a bug Anders ran into where scalarrepl would crash when promotingChris Lattner2008-02-291-57/+68
| | | | | | | | a union containing a vector and an array whose elements were smaller than the vector elements. this means we need to compile the load of the array elements into an extract element plus a truncate. llvm-svn: 47752
* Refactor some code out of ConvertUsesToScalar into their own methods, noChris Lattner2008-02-291-148/+190
| | | | | | functionality change. llvm-svn: 47751
* Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same ↵Chris Lattner2008-02-291-1/+2
| | | | | | fp type. llvm-svn: 47750
* No need for coalescer to update kills. Only copies are coalesced and those ↵Evan Cheng2008-02-292-69/+3
| | | | | | instructions will be deleted. Doh. llvm-svn: 47749
* Remove redundant #include.Evan Cheng2008-02-291-1/+0
| | | | llvm-svn: 47748
* More APInt-ification.Dan Gohman2008-02-291-107/+42
| | | | llvm-svn: 47746
* Use the new convertFromAPInt instead of convertFromZeroExtendedInteger,Dan Gohman2008-02-291-5/+3
| | | | | | | which allows more of the surrounding arithmetic to be done with APInt instead of uint64_t. llvm-svn: 47745
* Use the new convertFromAPInt instead of convertFromZeroExtendedInteger.Dan Gohman2008-02-291-6/+3
| | | | llvm-svn: 47744
* Use the new APInt-enabled form of getConstant instead of convertingDan Gohman2008-02-291-1/+1
| | | | | | an APInt into a uint64_t to call getConstant. llvm-svn: 47742
* Add support to APInt for shift and rotate operations with APIntDan Gohman2008-02-291-0/+27
| | | | | | instead of uint32_t for the shift/rotate count operand type. llvm-svn: 47741
* Use the correct instruction encodings for the 64-bit MMX movd.Anders Carlsson2008-02-291-2/+2
| | | | llvm-svn: 47740
* Simplify code using convertFromZeroExtendedInteger with an APIntDan Gohman2008-02-291-6/+6
| | | | | | by using the new convertFromAPInt directly. llvm-svn: 47739
* Add a method to APFloat to convert directly from APInt.Dan Gohman2008-02-291-0/+17
| | | | llvm-svn: 47738
* Added option -align-loops=<true/false> to disable loop aligner pass.Evan Cheng2008-02-284-8/+7
| | | | llvm-svn: 47736
* Interface of getByValTypeAlignment differed betweenDale Johannesen2008-02-283-2/+19
| | | | | | | | generic & x86 versions; change generic to follow x86 and improve comments. Add PPC version (not right for non-Darwin.) llvm-svn: 47734
* Make llvm-ar behave like ar, if you create an empty archive, ar creates an ↵Andrew Lenharth2008-02-281-1/+1
| | | | | | empty archive. llvm-ar would not generate an output file in this case llvm-svn: 47733
* Initialize TextAlignFillValue. Fix revision 47703.Lauro Ramos Venancio2008-02-281-0/+1
| | | | llvm-svn: 47732
* Avoid collisions in value names.Lauro Ramos Venancio2008-02-281-3/+5
| | | | llvm-svn: 47725
* Fix an assertion message.Dale Johannesen2008-02-281-1/+1
| | | | llvm-svn: 47722
OpenPOWER on IntegriCloud