- Apr 02, 2007
-
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 35563
-
- Apr 01, 2007
-
-
Chris Lattner authored
llvm-svn: 35561
-
Chris Lattner authored
llvm-svn: 35560
-
Reid Spencer authored
last night's regression in SingleSource/UnitTests/2005-05-11-Popcount-ffs-fls llvm-svn: 35556
-
Zhou Sheng authored
llvm-svn: 35555
-
Evan Cheng authored
llvm-svn: 35551
-
Reid Spencer authored
Support overloaded intrinsics bswap, ctpop, cttz, ctlz. llvm-svn: 35547
-
Reid Spencer authored
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
-
Reid Spencer authored
Change getOperationName to return std::string instead of const char* llvm-svn: 35545
-
Reid Spencer authored
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
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 35536
-
Nick Lewycky authored
llvm-svn: 35534
-
- Mar 31, 2007
-
-
Andrew Lenharth authored
llvm-svn: 35533
-
Anton Korobeynikov authored
llvm-svn: 35532
-
Bill Wendling authored
llvm-svn: 35531
-
Chris Lattner authored
llvm-svn: 35530
-
Chris Lattner authored
llvm-svn: 35529
-
Chris Lattner authored
llvm-svn: 35528
-
Chris Lattner authored
llvm-svn: 35527
-
Chris Lattner authored
llvm-svn: 35526
-
Zhou Sheng authored
llvm-svn: 35525
-
Zhou Sheng authored
llvm-svn: 35524
-
Bill Wendling authored
llvm-svn: 35523
-
Chris Lattner authored
llvm-svn: 35522
-
Chris Lattner authored
llvm-svn: 35521
-
Chris Lattner authored
llvm-svn: 35520
-
- Mar 30, 2007
-
-
Dale Johannesen authored
combination. llvm-svn: 35517
-
Evan Cheng authored
register more than once. llvm-svn: 35513
-
Evan Cheng authored
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
-
Zhou Sheng authored
llvm-svn: 35510
-
Reid Spencer authored
* 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
-
Zhou Sheng authored
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
-
Zhou Sheng authored
llvm-svn: 35503
-
Reid Spencer authored
llvm-svn: 35500
-
Reid Spencer authored
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
-
Bill Wendling authored
llvm-svn: 35489
-
- Mar 29, 2007
-
-
Evan Cheng authored
llvm-svn: 35480
-
Evan Cheng authored
llvm-svn: 35479
-