summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers
Commit message (Collapse)AuthorAgeFilesLines
* _mm_xor_ps does a xor not a nxor. The other 'xor' builtins look fine,Chris Lattner2010-01-071-1/+1
| | | | | | but this one is wrong. Thanks to Tanya for noticing this. llvm-svn: 92881
* Revert mmx palignr to use an intrinsic, since mmx shuffle patterns are missing.Nate Begeman2009-12-141-1/+1
| | | | llvm-svn: 91269
* Support x86's PALIGNR instruction without the use of a palignr intrinsic.Nate Begeman2009-12-141-2/+2
| | | | llvm-svn: 91264
* minimal fix for PR5743Chris Lattner2009-12-101-2/+2
| | | | llvm-svn: 91032
* Pick up MB_LEN_MAX as defined by the system <limits.h>, when it's provided thereDouglas Gregor2009-12-081-1/+0
| | | | llvm-svn: 90879
* Define SIG_ATOMIC_MIN and SIG_ATOMIC_MAX in terms of __SIG_ATOMIC_WIDTH__.Ken Dyck2009-11-221-2/+2
| | | | llvm-svn: 89598
* Avoid unwanted expansion in macros that paste together INT<n>_C(v) and Ken Dyck2009-11-201-3/+5
| | | | | | UINT<n>_C(v) macros. llvm-svn: 89461
* Avoid unwanted expansion in macros that paste together INT<n>_MIN, INT<n>_MAX,Ken Dyck2009-11-201-13/+16
| | | | | | and UINT<n>_MAX defintions. llvm-svn: 89460
* Avoid unwanted macro expansion in macros that paste together int<n>_t andKen Dyck2009-11-201-4/+7
| | | | | | uint<n>_t definitions. llvm-svn: 89459
* Define WCHAR_MIN and WCHAR_MAX in terms of __WCHAR_WIDTH__ for consistency withKen Dyck2009-11-191-2/+2
| | | | | | other limit macros. llvm-svn: 89355
* Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary Ken Dyck2009-11-191-2/+2
| | | | | | widths. This corrects the values of these definitions for MSP430 and PIC16. llvm-svn: 89350
* Construct definition of SIZE_MAX from __SIZE_WIDTH__ to support targets ofKen Dyck2009-11-191-16/+1
| | | | | | arbitrary widths. llvm-svn: 89347
* Construct the macro body of PTRDIFF_MAX and PTRDIFF_MIN from __PTRDIFF_WIDTH__.Ken Dyck2009-11-191-6/+2
| | | | llvm-svn: 89343
* Construct INTPTR_MIN, INTPTR_MAX, and UINTPTR_MAX from the exact-width limitKen Dyck2009-11-181-9/+4
| | | | | | macros corresponding to __INTPTR_WIDTH__. llvm-svn: 89239
* Define intptr_t and uintptr_t in terms of their equivalent exact-width types.Ken Dyck2009-11-181-4/+5
| | | | llvm-svn: 89237
* Define INTMAX_C and UINTMAX_C in terms of the corresponding exact-widthKen Dyck2009-11-181-2/+2
| | | | | | INTn_C and UINTn_C macros. llvm-svn: 89226
* Define INTMAX_MIN, INTMAX_MAX, and UINTMAX_MAX in terms of the limit macros forKen Dyck2009-11-181-3/+3
| | | | | | their corresponding exact-width type. llvm-svn: 89224
* Define intmax_t and uintmax_t as the [u]intN_t type corresponding toKen Dyck2009-11-181-2/+4
| | | | | | __INTMAX_WIDTH__. llvm-svn: 89221
* Replace (-INT8_C(128)), which uses an illegally out-of-range argument forKen Dyck2009-11-171-6/+3
| | | | | | | INT8_C, with (-INT8_C(127)-1) in the definition of INT8_MIN. Apply similar changes to the definitions of INT16_MIN and INT24_MIN. llvm-svn: 89120
* Use the INTn_C integer constant macros to generate limit constants with correctKen Dyck2009-11-171-24/+27
| | | | | | | suffixes. This corrects the suffixes for the limit constants of the 32-bit types on MSP430 and PIC16, and the 64-bit types on PPC64, SystemZ, X86_64. llvm-svn: 89101
* Remove unnecessary parens around the bodies of integer constant macros. C99Ken Dyck2009-11-171-20/+20
| | | | | | | requires that their arguments be decimal, hex, octal constants---no signs allowed---making the parens unnecessary. llvm-svn: 89095
* Parameterize the constant-generating macros in stdint.h with new built-inKen Dyck2009-11-161-8/+0
| | | | | | | __INTn_C_SUFFIX__ macros that are defined for types with corresponding constant suffixes (i.e. long and long long). llvm-svn: 88914
* Generalize stdint.h for non-8-bit-multiple types, patch by Chris Lattner2009-11-121-96/+523
| | | | | | | | | | Ken Dyck! "This adds definitions for types of 8-bit multiples from 8 to 64 to stdint.h and rationalizes the selection of types for the exact-width definitions in InitPreprocessor.cpp." llvm-svn: 86977
* A simple reordering of the definitions in stdint.h and Chris Lattner2009-11-041-75/+83
| | | | | | introduces no new function changes. Patch by Ken Dyck! llvm-svn: 86062
* Added __has_include and __has_include_next.John Thompson2009-11-021-1/+2
| | | | llvm-svn: 85834
* CMake: Respect LLVM_LIBDIR_SUFFIX for clang-specific headers underOscar Fuentes2009-10-271-1/+1
| | | | | | | | ${libdir}/clang Patch by Ingmar Vanhassel! llvm-svn: 85308
* Make our char vector types not be explicitly signed to match GCC and to fix ↵Anders Carlsson2009-09-182-2/+2
| | | | | | compilation with C++ and -fno-lax-vector-conversions llvm-svn: 82254
* Fix PR4923.Anders Carlsson2009-09-181-2/+14
| | | | | | Fix error in _mm_set_pd/_mm_setr_pd and add _mm_set_epi64x/_mm_set1_epi64x. Patch by Laurent Morichetti! llvm-svn: 82228
* Collapse more clang version numbers down into fewer places.Mike Stump2009-09-161-4/+4
| | | | llvm-svn: 81983
* Back to 1.1 we go.Mike Stump2009-09-151-2/+2
| | | | llvm-svn: 81944
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* CMake: Improve installation of ClangDouglas Gregor2009-08-231-4/+3
| | | | | | | | - Install clang-cc into libexec - Install headers into lib/clang/<version>/include - Don't install other clang-based tools (clang-wpa, clang-index, etc.) llvm-svn: 79827
* Switch some functions from using x86 builtins to using vector Eli Friedman2009-07-222-17/+17
| | | | | | operations. llvm-svn: 76753
* Make sure install Clang headers when building clang-ccDouglas Gregor2009-06-251-1/+1
| | | | llvm-svn: 74163
* Update Clang to include the InitializeAllTargets andDouglas Gregor2009-06-161-1/+6
| | | | | | | InitializeAllAsmPrinters LLVM headers. Also includes some minor fixes for the CMake-based build with Xcode. llvm-svn: 73544
* Following gcc, hide the hack to include the SSE2 intrinsics from Eli Friedman2009-06-111-0/+3
| | | | | | xmmintrin.h in an ifdef. llvm-svn: 73200
* Remove a few more vector builtins.Eli Friedman2009-06-071-1/+1
| | | | llvm-svn: 73022
* xmmintrin needs to include emmintrin, Darwin system headers seem to depend on itDaniel Dunbar2009-06-071-0/+2
| | | | | | defining m128[id], at least. llvm-svn: 73021
* Now that LLVM CodeGen can handle the generic variations a bit better, Eli Friedman2009-06-071-8/+5
| | | | | | get rid of a few more clang vector builtins. llvm-svn: 73015
* CMake: Install Clang's headers into the right place in the build tree, for ↵Douglas Gregor2009-06-071-7/+16
| | | | | | regression testing llvm-svn: 73014
* Replace more calls to builtins with generic code.Eli Friedman2009-06-062-8/+27
| | | | llvm-svn: 72995
* Fix obvious typo.Eli Friedman2009-06-061-3/+3
| | | | llvm-svn: 72994
* Fix some casts to work without -flax-vector-conversions.Eli Friedman2009-06-062-6/+6
| | | | llvm-svn: 72981
* Misc fixes to MMX/SSE intrinsics: a few small bug fixes, and getting rid Eli Friedman2009-06-063-46/+67
| | | | | | of calls to builtins for constructs which can be expressed directly. llvm-svn: 72979
* Add aliases for a couple of SSE intrinsics. Patch by Ed Schouten.Eli Friedman2009-06-022-0/+4
| | | | llvm-svn: 72717
* Add 'cmp' SSE builtins and get rid of a bunch of other builtins.Anders Carlsson2009-05-182-48/+48
| | | | llvm-svn: 72032
* Fix for PR3841: follow gcc's example and fall back to the system Eli Friedman2009-05-031-3/+11
| | | | | | | | stdint.h unless we are freestanding. Any suggestions here are welcome. llvm-svn: 70806
* Fix tyop in SSSE3 header (6808876).Anders Carlsson2009-04-201-2/+2
| | | | llvm-svn: 69623
* glibc plays some weird games with multiple different definitions ofChris Lattner2009-04-181-3/+12
| | | | | | | | int8_t and games it with strange *_defined macros. Emulate its weirdness for better compatibility with linux etc. Problem pointed out by anders johnson. llvm-svn: 69458
* fix misspelt attribute.Chris Lattner2009-04-171-2/+2
| | | | llvm-svn: 69362
OpenPOWER on IntegriCloud