summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
Commit message (Collapse)AuthorAgeFilesLines
* set features for k8-sse3Roman Divacky2010-12-291-0/+3
| | | | llvm-svn: 122629
* Change MBlaze target to have the same description string as its LLVM equivalent.Wesley Peck2010-12-121-2/+1
| | | | llvm-svn: 121640
* Such function decls,as objc's objc_msgSend, builtins in Fariborz Jahanian2010-11-301-6/+9
| | | | | | | | | a specific language. We are adding such language info. by extensing Builtins.def and via a language flag added to LIBBUILTIN/BUILTIN and check for that when deciding a name is builtin or not. Implements //rdar://8689273. llvm-svn: 120429
* Add support for soft/hard float options to the Sparc targetBruno Cardoso Lopes2010-11-091-0/+20
| | | | llvm-svn: 118514
* Include System/DataTypes.h in Diagnostic.h to get intptr_t.Rafael Espindola2010-11-091-0/+1
| | | | | | | Set Haiku's UserLabelPrefix to "". Patch by Paul Davey. llvm-svn: 118510
* Handle Type.h a better way.Dale Johannesen2010-10-291-0/+1
| | | | llvm-svn: 117743
* Generate bitcasts going in and out of MMX parametersDale Johannesen2010-10-291-0/+13
| | | | | | | | | in asm's. PR 8501, 8602988. I don't like including Type.h where it is; the idea was to get references to X86_MMXTy out of the common code. Maybe there's a better way? llvm-svn: 117736
* Ahem. Add rest of D and Q registers to ARM inline asm handling.Dale Johannesen2010-10-281-1/+4
| | | | llvm-svn: 117517
* Add D and Q register names to ARM inline asm handling.Dale Johannesen2010-10-271-3/+9
| | | | | | No aliasing is needed, these work as given in the BE. llvm-svn: 117508
* Change handling of inline asm 'p' constraint to match llvm-gcc.Dale Johannesen2010-10-221-0/+2
| | | | llvm-svn: 117149
* Revert r117005, WIN32 is not predefined after all.Francois Pichet2010-10-211-1/+0
| | | | llvm-svn: 117026
* MSVC defines WIN32 as a predefined macro.Francois Pichet2010-10-211-0/+1
| | | | llvm-svn: 117005
* Targets: Fix MinGW and VisualStudio predefined macros.Michael J. Spencer2010-10-211-12/+56
| | | | llvm-svn: 117003
* Reorganize predefined macros for all Windows targets.Michael J. Spencer2010-10-211-55/+74
| | | | | | | | | | This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) llvm-svn: 116999
* Fix Whitespace.Michael J. Spencer2010-10-211-45/+45
| | | | llvm-svn: 116990
* Revert "Cleanup and fix predefined macros for windows."Michael J. Spencer2010-10-211-72/+53
| | | | | | Didn't realize this was on my branch ;/. llvm-svn: 116989
* Cleanup and fix predefined macros for windows.Michael J. Spencer2010-10-211-53/+72
| | | | llvm-svn: 116988
* CodeGen: Fix long double on Windows using MSVC runtime.Michael J. Spencer2010-10-181-0/+2
| | | | llvm-svn: 116700
* Fix Whitespace.Michael J. Spencer2010-10-181-3/+3
| | | | llvm-svn: 116699
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-72/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116191
* Fix Windows64 target info so pointer arithmetic is done correctly, and no ↵Cameron Esfahani2010-09-151-0/+3
| | | | | | sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. llvm-svn: 113910
* Add support for windows x86-64 varargs, patch by Cameron Esfahani!Chris Lattner2010-08-311-0/+3
| | | | llvm-svn: 112603
* Add some missing X86-specific asm constraint letters, and fixDale Johannesen2010-08-241-4/+18
| | | | | | | some bugs in setting allowsRegister on the ones there. 8348447. llvm-svn: 111980
* Detabify.Eli Friedman2010-08-221-1/+1
| | | | llvm-svn: 111768
* The ARM C++ ABI is sufficiently different from the Itanium C++ ABI thatJohn McCall2010-08-211-1/+4
| | | | | | | it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749
* Get rid of pretty non-ASCII quotes.Sebastian Redl2010-08-171-2/+2
| | | | llvm-svn: 111316
* apparently msvc defines _STDCALL_SUPPORTED, so we shouldChris Lattner2010-08-171-0/+1
| | | | | | too. Patch by Per Linden! llvm-svn: 111236
* ARM: Recognize single precision float register names.Daniel Dunbar2010-08-111-1/+11
| | | | | | | - We don't recognize double or NEON register names yet -- we don't have the infrastructure to generate the right clobbers for them. llvm-svn: 110775
* ARM: Swap which registers we consider real / aliases to match LLVM and llvm-gcc.Daniel Dunbar2010-08-111-6/+5
| | | | llvm-svn: 110774
* Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!Douglas Gregor2010-08-061-0/+2
| | | | llvm-svn: 110442
* fix the va_list definition for vc++64, patch by Cameron Esfahani!Chris Lattner2010-08-051-3/+0
| | | | llvm-svn: 110370
* Add -mavx and -mno-avx command line supportBruno Cardoso Lopes2010-08-041-2/+18
| | | | llvm-svn: 110265
* Catch thinko that Daniel Dunbar found.Nate Begeman2010-07-211-0/+1
| | | | llvm-svn: 109023
* Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULLNate Begeman2010-07-211-1/+3
| | | | | | intmax_t is __int64 (long long to clang), per VS 2010 stdint.h llvm-svn: 108980
* CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosingDaniel Dunbar2010-07-141-0/+8
| | | | | | | | whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI dependent. - <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug llvm-svn: 108379
* Revert 107953, remove comma ignoring from PPC constraints.John Thompson2010-07-091-2/+0
| | | | llvm-svn: 107956
* Updating PPC target to ignore commas in asm contrains, as apparently that is ↵John Thompson2010-07-091-0/+2
| | | | | | what gcc does. llvm-svn: 107953
* add driver support for minix, patch by Kees van ReeuwijkChris Lattner2010-07-071-0/+26
| | | | | | from PR7583 llvm-svn: 107788
* Translate numbers properly.Eric Christopher2010-06-251-1/+1
| | | | llvm-svn: 106873
* Fixed another double-char in PPC-specific asm constraints.John Thompson2010-06-251-2/+6
| | | | llvm-svn: 106812
* Added PPC-specific asm constraints, PS3 configuration changes.John Thompson2010-06-241-2/+91
| | | | llvm-svn: 106806
* More clang support for darwin tls. Add a __has_feature macro andEric Christopher2010-06-241-1/+1
| | | | | | target specific preprocessor define as well. llvm-svn: 106715
* Add an option to specify the target C++ ABI to the frontend. Use it toCharles Davis2010-06-111-0/+6
| | | | | | select either the default Itanium ABI or the new, experimental Microsoft ABI. llvm-svn: 105804
* Create a LinuxTargetInfo on ARM. This make clang correctly expandRafael Espindola2010-06-101-0/+2
| | | | | | __USER_LABEL_PREFIX__. llvm-svn: 105771
* On Darwin, initialization and destruction functions should go into the ↵Anders Carlsson2010-06-081-0/+6
| | | | | | __StaticInit section. llvm-svn: 105650
* Correctly align large arrays in x86-64. This fixes PR5599.Rafael Espindola2010-06-041-0/+2
| | | | llvm-svn: 105500
* Accept '#pragma options align=mac68k' on Darwin/PPC and Darwin/PPC64.Daniel Dunbar2010-05-301-2/+23
| | | | llvm-svn: 105116
* Roll back r104941.John McCall2010-05-281-1/+1
| | | | llvm-svn: 104990
* Add a new attribute on records, __attribute__((adl_invisible)), and defineJohn McCall2010-05-281-1/+1
| | | | | | | | | | | | the x86-64 __va_list_tag with this attribute. The attribute causes the affected type to behave like a fundamental type when considered by ADL. (x86-64 is the only target we currently provide with a struct-based __builtin_va_list) Fixes PR6762. llvm-svn: 104941
* Darwin/ARM seems to support mac68k align as well.Daniel Dunbar2010-05-271-1/+3
| | | | llvm-svn: 104828
OpenPOWER on IntegriCloud