summaryrefslogtreecommitdiffstats
path: root/clang/Driver/X86Builtins.def
Commit message (Collapse)AuthorAgeFilesLines
* Move target specific builtin IDs to TargetBuiltins.h so that they can be ↵Anders Carlsson2007-12-091-415/+0
| | | | | | used by CGBuiltin.cpp llvm-svn: 44748
* Add correct types for the last remaining intrinsics.Anders Carlsson2007-11-281-87/+79
| | | | llvm-svn: 44396
* Add more intrinsics. We can now correctly parse both Carbon.h and Cocoa.h ↵Anders Carlsson2007-11-281-237/+237
| | | | | | without having to do -arch ppc. llvm-svn: 44392
* Add builtin type signature support for vector types. Add correct type ↵Anders Carlsson2007-11-271-60/+63
| | | | | | signatures for a bunch of MMX builtins. We now parse all the intrinsics in mmintrin.h llvm-svn: 44357
* Bug #:Steve Naroff2007-03-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Reviewed by: carbon.h looking good! Only 1 warning left...no parse errors! This fixes 3 bugs... - A couple tricky bugs with type canonicalization. Nested typedef's weren't being handled properly. For example, the following didn't work: typdef int __darwin_pid_t; typedef __darwin_pid_t pid_t; int getpgid(pid_t); int getpgid(int); - The storage class wasn't being preserved. As a result, Sema was complaining about the following: extern char *foo; char *foo; - various built-ins weren't registered...resulting in spurious warnings. llvm-svn: 39357
* add 3 apple-local intrinsics.Chris Lattner2007-01-301-0/+7
| | | | llvm-svn: 39330
* Stub out the i386 SSE builtins, this eliminates nearly 300 warnings parsingChris Lattner2007-01-301-2/+384
| | | | | | carbon.h on intel, bringing the total to 257. llvm-svn: 39329
* Add support for target-specific builtins, including detecting nonportabilityChris Lattner2007-01-291-0/+23
of source code. For example: $ clang INPUTS/carbon_h.c -arch i386 -arch ppc prints: ... /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/mmintrin.h:51:3: note: use of a target-specific builtin function, source is not 'portable' __builtin_ia32_emms (); ^ because carbon.h pulls in xmmintrin.h, and __builtin_ia32_emms isn't a builtin on ppc. Though clang now supports target-specific builtins, the full table isn't implemented yet. llvm-svn: 39328
OpenPOWER on IntegriCloud