- Apr 02, 2007
-
-
Reid Spencer authored
this intrinsic. llvm-svn: 35566
-
Reid Spencer authored
rules for overloaded intrinsic functions. llvm-svn: 35565
-
Reid Spencer authored
llvm-svn: 35564
-
Chris Lattner authored
llvm-svn: 35563
-
Anton Korobeynikov authored
llvm-svn: 35562
-
- Apr 01, 2007
-
-
Chris Lattner authored
llvm-svn: 35561
-
Chris Lattner authored
llvm-svn: 35560
-
Chris Lattner authored
llvm-svn: 35559
-
Reid Spencer authored
llvm-svn: 35558
-
Jeff Cohen authored
llvm-svn: 35557
-
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
-
Duncan Sands authored
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html llvm-svn: 35554
-
Zhou Sheng authored
llvm-svn: 35553
-
Reid Spencer authored
Preview documentation for the llvm.bit.concat intrinsic (yet to be implemented). llvm-svn: 35552
-
Evan Cheng authored
llvm-svn: 35551
-
Reid Spencer authored
Document changes to bswap and bit counting intrinsics. bswap's name now requires two types in the suffix per overloaded intrinsic naming rules. The ctpop, cttz, and ctlz intrinsics were changed to always return i32. llvm-svn: 35550
-
Reid Spencer authored
llvm-svn: 35549
-
Reid Spencer authored
Update these test cases to use proper signatures for bswap which is now and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32 since both the parameter and the result or of type "iAny". Also, the bit counting intrinsics changed to always return i32. llvm-svn: 35548
-
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 bswap, ctpop, ctlz, and cttz utilizing the new overloaded intrinsic feature of tblgen. By defining llvm_int_ty to have an ValueType of iAny, any intrinsic using that type becomes an overloaded intrinsic. This signals that a) any integer type could be used for that argument and b) the intrinsic needs a suffix to match each such argument for the actual intrinsic. llvm-svn: 35544
-
Reid Spencer authored
Intrinsic functions might need to be generated (if they are overloaded) so returning a const char* is no longer possible. Change getOperationName to return a std::string instead. llvm-svn: 35543
-
Reid Spencer authored
Change the interface to the getName, getType, getDeclaration methods to include the "actual" types of the result/arguments. This is necessary to support overloaded intrinsics. llvm-svn: 35542
-
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
-
Reid Spencer authored
Implement code generation for overloaded intrinsic functions. The basic difference is that "actual" argument types must be provided when constructing intrinsic names and types. Also, for recognition, only the prefix is examined. If it matches, the suffix is assumed to match. The suffix is checked by the Verifier, however. llvm-svn: 35539
-
Reid Spencer authored
Add an "iAny" ValueType as a place holder for an integer type of any bit width. This is used for intrinsics overloading on integer type. llvm-svn: 35538
-
Chris Lattner authored
llvm-svn: 35537
-
Chris Lattner authored
llvm-svn: 35536
-
Chris Lattner authored
llvm-svn: 35535
-
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
-