summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* - Divides the comparisons in two types: comparisons that only use N and ZLauro Ramos Venancio2007-04-024-7/+45
| | | | | | | flags (ARMISD::CMPNZ) and comparisons that use all flags (ARMISD::CMP). - Defines the instructions: TST, TEQ (ARM) and TST (Thumb). llvm-svn: 35573
* For PR1297:Reid Spencer2007-04-021-1/+1
| | | | | | | Make sure that the CTPOP result is casted to i32 as the bit counting intrinsics all return i32 now (this affects CTLZ and CTTZ as well). llvm-svn: 35567
* print the type of an inserted IV in -debug mode.Chris Lattner2007-04-011-3/+4
| | | | llvm-svn: 35563
* simplify this code, make it work for ap intsChris Lattner2007-04-011-17/+6
| | | | llvm-svn: 35561
* fix breakage from last night, simplify code.Chris Lattner2007-04-011-15/+6
| | | | llvm-svn: 35560
* The bit counting intrinsics return i32 not the operand type. This fixesReid Spencer2007-04-011-4/+3
| | | | | | last night's regression in SingleSource/UnitTests/2005-05-11-Popcount-ffs-fls llvm-svn: 35556
* Avoid unnecessary APInt construction.Zhou Sheng2007-04-011-18/+17
| | | | llvm-svn: 35555
* Add i16 address mode.Evan Cheng2007-04-011-2/+7
| | | | llvm-svn: 35551
* For PR1297:Reid Spencer2007-04-013-65/+28
| | | | | | Support overloaded intrinsics bswap, ctpop, cttz, ctlz. llvm-svn: 35547
* For PR1297:Reid Spencer2007-04-011-24/+31
| | | | | | | Adjust for changes in the bit counting intrinsics. They all return i32 now so we have to trunc/zext the DAG node accordingly. llvm-svn: 35546
* For PR1297:Reid Spencer2007-04-011-1/+1
| | | | | | Change getOperationName to return std::string instead of const char* llvm-svn: 35545
* For PR1297:Reid Spencer2007-04-011-5/+14
| | | | | | | | | | Implement "actual" argument types for the Intrinsic member functions. This involves changing the getName, getType, and getDeclaration methods to have optional parameters for the actual types. These are necessary in order for the type/name to be constructed properly for overloaded intrinsics. Only the caller knows the actual argument types desired. llvm-svn: 35541
* For PR1297:Reid Spencer2007-04-011-7/+42
| | | | | | | | | | | | 1. Clear up confusion between "GotBits" and "ExpectBits". GotBits is the type actually provided. ExpectedBits is the type expected for the intrinsics. Before this patch, it was reversed! 2. Implement checks for overloaded intrinsics. This involves computing the suffix expected and making sure the suffix matches the function name. It also includes some intrinsic-specific checks such as ensuring that the bswap parameter and result are the same width and an even number of bytes. llvm-svn: 35540
* Fix InstCombine/2007-03-31-InfiniteLoop.llChris Lattner2007-04-011-1/+3
| | | | llvm-svn: 35536
* Implement union of wrapped sets.Nick Lewycky2007-04-011-7/+65
| | | | llvm-svn: 35534
* ReadmeAndrew Lenharth2007-03-311-1/+42
| | | | llvm-svn: 35533
* Consistency with native compilersAnton Korobeynikov2007-03-311-3/+9
| | | | llvm-svn: 35532
* Fix comment.Bill Wendling2007-03-311-1/+1
| | | | llvm-svn: 35531
* add a noteChris Lattner2007-03-311-0/+23
| | | | llvm-svn: 35530
* move a bunch of code out of the sdisel pass into its own opt pass ↵Chris Lattner2007-03-312-485/+21
| | | | | | "codegenprepare". llvm-svn: 35529
* Split the sdisel code munging stuff out into its own opt-pass, CodeGenPrepare.Chris Lattner2007-03-311-0/+548
| | | | llvm-svn: 35528
* switch TL::getValueType to use MVT::getValueType.Chris Lattner2007-03-311-22/+0
| | | | llvm-svn: 35527
* add a method to turn a type into a VT.Chris Lattner2007-03-311-0/+28
| | | | llvm-svn: 35526
* Delete dead code.Zhou Sheng2007-03-311-1/+0
| | | | llvm-svn: 35525
* Use APInt operators to calculate the carry bits, remove this loop.Zhou Sheng2007-03-311-16/+2
| | | | llvm-svn: 35524
* Match GCC's MMX calling convention.Bill Wendling2007-03-311-0/+4
| | | | llvm-svn: 35523
* Add a -print-lsr-output option to LLC, to print the output of the LSR pass.Chris Lattner2007-03-311-1/+9
| | | | llvm-svn: 35522
* implement the new addressing mode description hook.Chris Lattner2007-03-306-1/+129
| | | | llvm-svn: 35521
* add one addressing mode description hook to rule them all.Chris Lattner2007-03-301-0/+34
| | | | llvm-svn: 35520
* Fix incorrect combination of different loads. Reenable zext-over-truncateDale Johannesen2007-03-302-75/+71
| | | | | | combination. llvm-svn: 35517
* Don't add the same MI to register reuse "last def/use" twice if it reads theEvan Cheng2007-03-301-1/+4
| | | | | | register more than once. llvm-svn: 35513
* Bug fix for PR1279. When isDead is propagate by copy coalescing, we keep lengthEvan Cheng2007-03-301-5/+10
| | | | | | | | of dead def live interval at 1 to avoid multiple def's targeting the same register. The previous patch missed a case where the source operand is live-in. In that case, remove the whole interval. llvm-svn: 35512
* Make sure the use of ConstantInt::getZExtValue() for shift amount safe.Zhou Sheng2007-03-301-18/+20
| | | | llvm-svn: 35510
* For PR1293:Reid Spencer2007-03-301-49/+67
| | | | | | | | | | * Rename the FunctionType* parameter from M to FT on all the functions. * Implement a fix for PR1293 by just asserting that library functions that must return pointers should have pointer typed results. This just makes sure that we don't attempt to use an uninitialized integer or something later on. llvm-svn: 35508
* 1. Make sure the use of ConstantInt::getZExtValue() for getting shiftZhou Sheng2007-03-301-27/+25
| | | | | | | | amount is safe. 2. Use new method on ConstantInt instead of (? :) operator. 3. Use new method uge() on ConstantInt to simplify codes. llvm-svn: 35505
* Use APInt operation instead of ConstantExpr::getXX.Zhou Sheng2007-03-301-6/+6
| | | | llvm-svn: 35503
* For PR1289: RegenerateReid Spencer2007-03-302-0/+64
| | | | llvm-svn: 35500
* For PR1289:Reid Spencer2007-03-301-0/+32
| | | | | | | | | Check at the end of the parse that there are no unresolved types and no undefined values. Issue errors if there are. This gets rid of the need for implementation or checkpoint by ensuring you can't finish a parse with undefined things. llvm-svn: 35499
* Add MMX calling conventions.Bill Wendling2007-03-301-4/+14
| | | | llvm-svn: 35489
* New entry.Evan Cheng2007-03-291-0/+5
| | | | llvm-svn: 35480
* Can't re-materialize mov r, imm in thumb since mov would clobber the ↵Evan Cheng2007-03-291-1/+1
| | | | | | condition code. llvm-svn: 35479
* Use the stat information in the Path object, if it is already obtained. ThisReid Spencer2007-03-291-4/+3
| | | | | | | avoids a call to ::fstat by MappedFile when the file size information was already obtained by the Path object. llvm-svn: 35477
* For PR789:Reid Spencer2007-03-298-60/+75
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* the bytecode reader supports dematerializeFunctionChris Lattner2007-03-292-7/+22
| | | | llvm-svn: 35475
* Regenerate.Reid Spencer2007-03-295-448/+451
| | | | llvm-svn: 35473
* Give users a grace period on the implementation keyword. This *will* getReid Spencer2007-03-292-3/+3
| | | | | | removed in a few days. llvm-svn: 35472
* MS C does have inlining after all, just uses _inline instead of inline.Jeff Cohen2007-03-291-1/+1
| | | | llvm-svn: 35467
* Determine absolute paths the correct way :)Jeff Cohen2007-03-291-3/+9
| | | | llvm-svn: 35464
* Add a uniqueID field to the FileStatus structure for Paths. This will mapReid Spencer2007-03-292-0/+8
| | | | | | | to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. llvm-svn: 35461
* For PR789:Reid Spencer2007-03-293-4/+4
| | | | | | Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458
OpenPOWER on IntegriCloud