summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Sema: Reject '#pragma options align=mac68k' everywhere except i386-apple-darwin.Daniel Dunbar2010-05-271-0/+1
| | | | llvm-svn: 104789
* david conrad points out that {|} in inline assembly on arm are not asmChris Lattner2010-04-231-0/+4
| | | | | | variants. This fixes neon inline asm which my patch for PR6780 broke. llvm-svn: 102181
* another tweak for haiku support, patch by Paul Davey!Chris Lattner2010-04-221-0/+2
| | | | llvm-svn: 102098
* ARM/APCS: Don't respect bit-field types when laying out structures.Daniel Dunbar2010-04-221-0/+4
| | | | | | | | | | | - This fixes the last known ABI issues with ARM/APCS. - I've run the first 1k ABITests with '--no-unsigned --no-vector --no-complex' on {armv6, armv7} x {-mno-thumb, -mthumb}, and the first 10k tests for armv7 -mthumb, for both function return types and single argument calls. These all pass now (they failed horribly before without --no-bitfield). llvm-svn: 102070
* Sink the _GNU_SOURCE definition down into the target configuration,Douglas Gregor2010-04-211-0/+4
| | | | | | | and only define it where we know we need it---Linux and Cygwin. Thanks to Chris for the prodding. llvm-svn: 101989
* add haiku support, patch by Paul Davey!Chris Lattner2010-04-111-0/+19
| | | | llvm-svn: 100982
* Add option and macro definition for AES instructions. Now produces realEric Christopher2010-04-021-2/+20
| | | | | | assembly for testcases. llvm-svn: 100253
* PS3 needs __PPC__. Should this be in the PPC target?John Thompson2010-03-251-0/+1
| | | | llvm-svn: 99513
* fix PR6584: __SSE3__ not defined with -mss3Nuno Lopes2010-03-121-0/+1
| | | | llvm-svn: 98342
* add mblaze target support, patch by Wesley Peck!Chris Lattner2010-03-061-0/+131
| | | | llvm-svn: 97890
* 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
OpenPOWER on IntegriCloud