summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IntrinsicLowering.cpp
Commit message (Collapse)AuthorAgeFilesLines
* IntrinsicLowering.cpp now lives in lib/CodeGen/Chris Lattner2004-06-201-214/+0
| | | | llvm-svn: 14269
* Move the IntrinsicLowering header into the CodeGen directory, as per PR346Chris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14266
* Remove isnan support, correct isunordered supportChris Lattner2004-06-151-10/+2
| | | | llvm-svn: 14187
* Add the isunordered intrinsic.Alkis Evlogimenos2004-06-121-0/+6
| | | | llvm-svn: 14159
* Fix lowering to work correctlyChris Lattner2004-06-111-3/+12
| | | | llvm-svn: 14134
* I misled Alkis: LLVM should have isnan, not isunordered.Chris Lattner2004-06-111-4/+6
| | | | | | | | isunordered(X, Y) === isnan(X) | isnan(Y) Remove isunordered, add isnan. llvm-svn: 14132
* Add the isunordered intrinsic.Alkis Evlogimenos2004-06-111-0/+6
| | | | llvm-svn: 14127
* Remove an unused variable.Chris Lattner2004-06-051-7/+10
| | | | | | | Work around for bogus errors: no those static functions don't need to be executed to be initialized! llvm-svn: 14040
* Implement the AddPrototypes methodChris Lattner2004-05-091-1/+43
| | | | llvm-svn: 13432
* By default, llvm.setjmp/llvm.longjmp intrinsics get lowered to their libc ↵Chris Lattner2004-02-151-3/+15
| | | | | | counterparts llvm-svn: 11483
* Refactor code. Now the intrinsic lowering pass tries to recycle preexistingChris Lattner2004-02-151-35/+63
| | | | | | | | | | | | | | | | | prototypes, even if they don't precisely match what it would prefer to use. This fixes: CBackend/2004-02-15-PreexistingExternals.llx compiling it into: ltmp_0_30 = memcpy(l14_C, 4u, 17); ltmp_1_30 = memcpy(((int *)l27_A), ((unsigned )(long)l27_B), ((int )123u)); instead of: ltmp_0_30 = memcpy(l14_C, 4u, 17); ltmp_1_27 = l43_memcpy(l27_A, l27_B, 123u); Which does the wrong thing as you could imagine. llvm-svn: 11481
* A target that doesn't support these intrinsics will still meet spec (theChris Lattner2004-02-141-0/+3
| | | | | | | intrinsic will always produce zero), but it will behave unexpectedly, so warn like GCC does. llvm-svn: 11444
* Add llvm.memset/frameaddress/returnaddress intrinsics.Chris Lattner2004-02-141-2/+21
| | | | llvm-svn: 11431
* Add support for the llvm.memmove intrinsicChris Lattner2004-02-121-0/+13
| | | | | | Patch graciously contributed by Reid Spencer! llvm-svn: 11355
* Implement the llvm.memcpy intrinsicChris Lattner2004-02-121-1/+15
| | | | llvm-svn: 11349
* Hrm, apparently I missed lowering this intrinsic. :(Chris Lattner2004-01-141-0/+1
| | | | llvm-svn: 10858
* Add VMCore and code generator support for debugging intrinsics. By defaultChris Lattner2004-01-051-0/+8
| | | | | | code generators completely ignore them. llvm-svn: 10691
* Clean up a lot of the code I added yesterday by exposing the IntrinsicLoweringChris Lattner2003-12-281-1/+0
| | | | | | implementation from the TargetMachine directly. llvm-svn: 10636
* Move into the VMCore libraryChris Lattner2003-12-281-0/+57
llvm-svn: 10623
OpenPOWER on IntegriCloud