Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | long long is 64 bits on msp430 | Anton Korobeynikov | 2010-01-14 | 1 | -1/+2 |
| | | | | llvm-svn: 93451 | ||||
* | Predefine __weak attribute when doing objective-c | Fariborz Jahanian | 2010-01-13 | 1 | -4/+0 |
| | | | | | | rewriting for any target. (refixes radar 7530235). llvm-svn: 93331 | ||||
* | Define __weak attribute for objective-c pointers in | Fariborz Jahanian | 2010-01-12 | 1 | -0/+4 |
| | | | | | | win32 targets. Fixes radar 7530235. Daniel please review. llvm-svn: 93246 | ||||
* | Hopefully unbreak build with g++ >= 4.3. | Benjamin Kramer | 2010-01-09 | 1 | -0/+1 |
| | | | | llvm-svn: 93060 | ||||
* | Use MacroBuilder for TargetDefines instead of std::vector. | Benjamin Kramer | 2010-01-09 | 1 | -233/+217 |
| | | | | llvm-svn: 93058 | ||||
* | improve support for dragonfly, patch by Sascha Wildner! | Chris Lattner | 2010-01-09 | 1 | -0/+2 |
| | | | | llvm-svn: 93044 | ||||
* | move a few more symbols to .rodata/.data.rel.ro | Nuno Lopes | 2009-12-23 | 1 | -1/+1 |
| | | | | llvm-svn: 92012 | ||||
* | ARM: Remove a FIXME, it's not actually more complicated than that. | Daniel Dunbar | 2009-12-22 | 1 | -1/+0 |
| | | | | llvm-svn: 91924 | ||||
* | ARM: Honor -mfpu= and set __VFP_FP__ and __ARM_NEON__ "correctly". | Daniel Dunbar | 2009-12-21 | 1 | -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 Dunbar | 2009-12-19 | 1 | -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 Dunbar | 2009-12-19 | 1 | -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 targets | Anton Korobeynikov | 2009-12-19 | 1 | -2/+2 |
| | | | | llvm-svn: 91746 | ||||
* | Use proper alignment for i16/i32 on msp430. This fixes PR5815. | Anton Korobeynikov | 2009-12-19 | 1 | -1/+1 |
| | | | | llvm-svn: 91739 | ||||
* | ARM: Define __thumb2__ for V6T2 targets and only define | Daniel Dunbar | 2009-12-18 | 1 | -5/+4 |
| | | | | | | __USING_SJLJ_EXCEPTIONS__ on Darwin. llvm-svn: 91705 | ||||
* | ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX). | Daniel Dunbar | 2009-12-18 | 1 | -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 Thompson | 2009-12-18 | 1 | -0/+3 |
| | | | | llvm-svn: 91685 | ||||
* | Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to ↵ | Edward O'Callaghan | 2009-11-21 | 1 | -0/+2 |
| | | | | | | Ken Dyck. llvm-svn: 89520 | ||||
* | Added preliminary support step for PS3 | John Thompson | 2009-11-19 | 1 | -0/+47 |
| | | | | llvm-svn: 89362 | ||||
* | Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better done | Daniel Dunbar | 2009-11-17 | 1 | -24/+0 |
| | | | | | | in the driver. llvm-svn: 89073 | ||||
* | Move -fnext-runtime defaulting to driver (and change clang-cc default to | Daniel Dunbar | 2009-11-17 | 1 | -2/+0 |
| | | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 | ||||
* | Move -fms-extensions defaulting to driver, instead of using ↵ | Daniel Dunbar | 2009-11-17 | 1 | -9/+0 |
| | | | | | | getDefaultLangOptions. llvm-svn: 89057 | ||||
* | Move char-is-signed defaulting to driver, instead of using | Daniel Dunbar | 2009-11-17 | 1 | -13/+0 |
| | | | | | | getDefaultLangOptions. llvm-svn: 89053 | ||||
* | Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes. | Edward O'Callaghan | 2009-11-15 | 1 | -0/+163 |
| | | | | llvm-svn: 88850 | ||||
* | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 1 | -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 info | Chris Lattner | 2009-11-12 | 1 | -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 into | Daniel Dunbar | 2009-11-11 | 1 | -17/+22 |
| | | | | | | InitializeCompileOptions. llvm-svn: 86826 | ||||
* | teach the various targets what native integer types they have. | Chris Lattner | 2009-11-07 | 1 | -17/+18 |
| | | | | llvm-svn: 86395 | ||||
* | Add a preprocessor define for adding a "near" section attribute for allowing | Sanjiv Gupta | 2009-10-24 | 1 | -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'Callaghan | 2009-10-18 | 1 | -0/+35 |
| | | | | | | header and the clang stddef.h header where clang was defining as int where we use long. llvm-svn: 84416 | ||||
* | Disallow arbitrary custom inline asm constraints for msp430. | Anton Korobeynikov | 2009-10-15 | 1 | -2/+2 |
| | | | | llvm-svn: 84219 | ||||
* | fix some cfstring related issues: | Chris Lattner | 2009-10-14 | 1 | -4/+0 |
| | | | | | | | | | | | | | 1) -fwritable-string does affect the non-utf16 version of cfstrings just not the utf16 ones. 2) utf16 strings should always be marked constant, as the __TEXT segment is readonly. 3) The name of the global doesn't matter, remove it from TargetInfo. 4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now. This fixes rdar://7115750 llvm-svn: 84077 | ||||
* | "Someone pointed out that in my previous Targets.cpp patch I didn't | Mike Stump | 2009-10-08 | 1 | -0/+1 |
| | | | | | | | handle the long size difference for one of the Windows targets." Patch by John Thompson. llvm-svn: 83592 | ||||
* | Handle Eli remark on mingw __declspec macro definition | Cedric Venet | 2009-09-27 | 1 | -1/+1 |
| | | | | llvm-svn: 82894 | ||||
* | Factor Windows target into VS, MinGW and Cygwin variants. | Daniel Dunbar | 2009-09-23 | 1 | -11/+128 |
| | | | | | | - Patch by John Thompson! llvm-svn: 82621 | ||||
* | implement support for __builtin_eh_return_data_regno on x86-32 and x86-64. | Chris Lattner | 2009-09-23 | 1 | -0/+12 |
| | | | | | | This implements PR5034 and rdar://6836445. llvm-svn: 82614 | ||||
* | Reconcile Clang/ARM target data string with llvm-gcc (module eabi weirdness). | Daniel Dunbar | 2009-09-22 | 1 | -3/+20 |
| | | | | llvm-svn: 82578 | ||||
* | Fix typo. | Mike Stump | 2009-09-17 | 1 | -1/+1 |
| | | | | llvm-svn: 82164 | ||||
* | ARM: Incremental improvement to preprocessor defines. | Daniel Dunbar | 2009-09-17 | 1 | -13/+38 |
| | | | | | | - Based on patch by Shantonu. llvm-svn: 82147 | ||||
* | Add ARM register names and aliases. | Daniel Dunbar | 2009-09-17 | 1 | -75/+107 |
| | | | | | | | | - Patch by Shantonu Sen! <rdar://problem/6922650> clang doesn't know about ARM registers for inline asm clobber lists llvm-svn: 82132 | ||||
* | fix some ppc register name issues, patch by Richard Pennington! | Chris Lattner | 2009-09-16 | 1 | -45/+78 |
| | | | | llvm-svn: 82009 | ||||
* | Add TargetInfo::getABI(), and base ARM APCS vs AAPCS choice on that. | Daniel Dunbar | 2009-09-14 | 1 | -1/+9 |
| | | | | llvm-svn: 81735 | ||||
* | ARM target tweaks. | Daniel Dunbar | 2009-09-14 | 1 | -2/+24 |
| | | | | | | | - Change TargetData string to match llvm-gcc. - Some -target-abi support for 'apcs-gnu', most importantly the alignment of double and long long changes. llvm-svn: 81732 | ||||
* | Swizzle the target triple based on -mthumb, and update clang-cc to recognize | Daniel Dunbar | 2009-09-11 | 1 | -0/+1 |
| | | | | | | thumb-foo-bar as an ARM target. llvm-svn: 81497 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -37/+37 |
| | | | | llvm-svn: 81346 | ||||
* | Add basic support for -pthread. | Daniel Dunbar | 2009-09-03 | 1 | -0/+9 |
| | | | | | | - Patch by David Chisnall, with PCH and Darwin support mixed in. llvm-svn: 80883 | ||||
* | Remove TargetInfo::getTargetPrefix(). | Daniel Dunbar | 2009-08-24 | 1 | -27/+9 |
| | | | | llvm-svn: 79907 | ||||
* | Switch TargetInfo to store an llvm::Triple. | Daniel Dunbar | 2009-08-24 | 1 | -27/+27 |
| | | | | | | - Primarily to discourage clients form making decisions based on the string. llvm-svn: 79901 | ||||
* | Issue an error if the user specifies parameters in a function marked as ISR. | Sanjiv Gupta | 2009-08-20 | 1 | -2/+7 |
| | | | | llvm-svn: 79544 | ||||
* | Add TCE target to clang; patch by Mikael Lepistö. | Eli Friedman | 2009-08-19 | 1 | -0/+67 |
| | | | | llvm-svn: 79462 | ||||
* | Switch to SmallString::str from SmallString::c_str. | Daniel Dunbar | 2009-08-19 | 1 | -6/+7 |
| | | | | | | - Several FIXMEs due to non-Twinification of IRBuilder. llvm-svn: 79455 |