summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add TCE target support, patch by Pekka J!Chris Lattner2010-03-041-3/+4
| | | | llvm-svn: 97746
* Add in disabled case as well.Eric Christopher2010-03-041-0/+4
| | | | llvm-svn: 97716
* Add in -msse4.1 and -msse4.2 options and continuing a ratherEric Christopher2010-03-041-3/+8
| | | | | | | hacky solution for translating. Expanded on comment explaining the hack a bit. llvm-svn: 97714
* add framework for ARM builtins, Patch by Edmund Grimley Evans!Chris Lattner2010-03-031-3/+10
| | | | llvm-svn: 97656
* Add in some more MIPS command line options.Eric Christopher2010-03-021-1/+29
| | | | | | Patch by Oleksandr Tymoshenko! llvm-svn: 97544
* add freebsd/ppc[64] support, patch by Nathan Whitehorn, PR6318Chris Lattner2010-02-161-1/+10
| | | | llvm-svn: 96362
* Re-applying 96173. Looks like finally I got the test case right.Sanjiv Gupta2010-02-161-5/+7
| | | | llvm-svn: 96321
* reverting back 96242 as it still causes a test failure.Sanjiv Gupta2010-02-151-7/+5
| | | | llvm-svn: 96244
* Re-applying 96173 with corresponding changes in test.Sanjiv Gupta2010-02-151-5/+7
| | | | llvm-svn: 96242
* temporarily revert 96173, it is causing test failures.Chris Lattner2010-02-141-7/+5
| | | | llvm-svn: 96176
* renamed pic16 specifiic macros.Sanjiv Gupta2010-02-141-5/+7
| | | | llvm-svn: 96173
* Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixesDaniel Dunbar2010-02-101-3/+0
| | | | | | | calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787
* Don't explicitly force utf strings into the __TEXT,__ustringChris Lattner2010-02-011-4/+0
| | | | | | | | | | by setting the section of the generated global. This is an optimization done by the code generator, and the code being removed didn't handle the case when the string contained an embedded nul (which the code generator does correctly handle). This is rdar://7589850 llvm-svn: 95003
* Simplify FreeBSD version parsing.Benjamin Kramer2010-01-301-10/+4
| | | | llvm-svn: 94919
* StringRef-ize the TargetInfo::ConstraintInfo constructor.Anders Carlsson2010-01-301-1/+1
| | | | llvm-svn: 94916
* Fix alignment for msp430 integer types.Anton Korobeynikov2010-01-301-7/+4
| | | | llvm-svn: 94879
* ARM/APCS: Fix alignment of long double.Daniel Dunbar2010-01-271-1/+1
| | | | llvm-svn: 94685
* Add support for 3dnow and 3dnowa, and define the target macros accordingly. ↵Anders Carlsson2010-01-271-1/+23
| | | | | | (This is needed in order to build Qt). llvm-svn: 94658
* Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) ↵Daniel Dunbar2010-01-261-46/+39
| | | | | | triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number. llvm-svn: 94487
* Move the MacroBuilder utilitiy to its own header. Update references.Chandler Carruth2010-01-201-0/+1
| | | | | | Comments and/or improvements to the documentation are welcome. llvm-svn: 93982
* Actually remove the include that r93974 made unnecessary.Chandler Carruth2010-01-201-1/+0
| | | | llvm-svn: 93975
* long long is 64 bits on msp430Anton Korobeynikov2010-01-141-1/+2
| | | | llvm-svn: 93451
* Predefine __weak attribute when doing objective-cFariborz Jahanian2010-01-131-4/+0
| | | | | | rewriting for any target. (refixes radar 7530235). llvm-svn: 93331
* Define __weak attribute for objective-c pointers inFariborz Jahanian2010-01-121-0/+4
| | | | | | win32 targets. Fixes radar 7530235. Daniel please review. llvm-svn: 93246
* Hopefully unbreak build with g++ >= 4.3.Benjamin Kramer2010-01-091-0/+1
| | | | llvm-svn: 93060
* Use MacroBuilder for TargetDefines instead of std::vector.Benjamin Kramer2010-01-091-233/+217
| | | | llvm-svn: 93058
* improve support for dragonfly, patch by Sascha Wildner!Chris Lattner2010-01-091-0/+2
| | | | llvm-svn: 93044
* move a few more symbols to .rodata/.data.rel.roNuno Lopes2009-12-231-1/+1
| | | | llvm-svn: 92012
* ARM: Remove a FIXME, it's not actually more complicated than that.Daniel Dunbar2009-12-221-1/+0
| | | | llvm-svn: 91924
* ARM: Honor -mfpu= and set __VFP_FP__ and __ARM_NEON__ "correctly".Daniel Dunbar2009-12-211-9/+59
| | | | | | | | - Correctly is in quotes, because we are following what I interpreted as GCC's intent (which diverges from practice, naturally). - Also, fix the arch define for arm1136jf-s. llvm-svn: 91855
* ARM: Use front-end specific target features "soft-float" and ↵Daniel Dunbar2009-12-191-4/+36
| | | | | | "soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now. llvm-svn: 91755
* Targets: Allow CreateTargetInfo to mutate the target features.Daniel Dunbar2009-12-191-7/+6
| | | | | | | - In particular, it can claim features for itself instead of always passing them on to LLVM. - This allows using the target features as a generic mechanism for passing target specific options to the TargetInfo instance, which may need them for initializing preprocessor defines, etc. llvm-svn: 91753
* Add f80 entry for windows targetsAnton Korobeynikov2009-12-191-2/+2
| | | | llvm-svn: 91746
* Use proper alignment for i16/i32 on msp430. This fixes PR5815.Anton Korobeynikov2009-12-191-1/+1
| | | | llvm-svn: 91739
* ARM: Define __thumb2__ for V6T2 targets and only defineDaniel Dunbar2009-12-181-5/+4
| | | | | | __USING_SJLJ_EXCEPTIONS__ on Darwin. llvm-svn: 91705
* ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX).Daniel Dunbar2009-12-181-54/+59
| | | | | | | - This should be done leveraging the backend, but I'm a little refactored out. I'll fix it one day, I promise. llvm-svn: 91700
* Tweaks for PS3 target.John Thompson2009-12-181-0/+3
| | | | llvm-svn: 91685
* Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to ↵Edward O'Callaghan2009-11-211-0/+2
| | | | | | Ken Dyck. llvm-svn: 89520
* Added preliminary support step for PS3John Thompson2009-11-191-0/+47
| | | | llvm-svn: 89362
* Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better doneDaniel Dunbar2009-11-171-24/+0
| | | | | | in the driver. llvm-svn: 89073
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-2/+0
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Move -fms-extensions defaulting to driver, instead of using ↵Daniel Dunbar2009-11-171-9/+0
| | | | | | getDefaultLangOptions. llvm-svn: 89057
* Move char-is-signed defaulting to driver, instead of usingDaniel Dunbar2009-11-171-13/+0
| | | | | | getDefaultLangOptions. llvm-svn: 89053
* Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes.Edward O'Callaghan2009-11-151-0/+163
| | | | llvm-svn: 88850
* Add TargetOptions and use it when constructing targets.Daniel Dunbar2009-11-151-5/+56
| | | | | | | | - This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833
* do not store wchar/char16/char32/intmax width/alignment infoChris Lattner2009-11-121-6/+0
| | | | | | | into TargetInfo, just derive this based on the underlying type. This prevents them from getting out of synch, patch by Ken Dyck! llvm-svn: 86976
* Simplifiy target feature handling by coalescing all the logic intoDaniel Dunbar2009-11-111-17/+22
| | | | | | InitializeCompileOptions. llvm-svn: 86826
* teach the various targets what native integer types they have.Chris Lattner2009-11-071-17/+18
| | | | llvm-svn: 86395
* Add a preprocessor define for adding a "near" section attribute for allowing Sanjiv Gupta2009-10-241-0/+2
| | | | | | objects to be placed at shared memory. llvm-svn: 85007
* The AuroraUX toolchain has conflicting wchar_t between the system stdlib.h ↵Edward O'Callaghan2009-10-181-0/+35
| | | | | | header and the clang stddef.h header where clang was defining as int where we use long. llvm-svn: 84416
OpenPOWER on IntegriCloud