Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tiny cosmetic change to use the same style for all of the while loops in | Chandler Carruth | 2012-02-21 | 1 | -2/+4 |
| | | | | | | the normalize routine, especially the empty while loops. llvm-svn: 151050 | ||||
* | Replace a hand rolled loop with a lovely StringRef helper we have these | Chandler Carruth | 2012-02-21 | 1 | -4/+1 |
| | | | | | | days. No functionality changed. llvm-svn: 151048 | ||||
* | Pull the parsing helper functions out of the Triple interface entirely. | Chandler Carruth | 2012-02-21 | 1 | -89/+90 |
| | | | | | | | | | | | | | They're private static methods but we can just make them static functions in the implementation. It makes the implementations a touch more wordy, but takes another chunk out of the header file. Also, take the opportunity to switch the names to the new coding conventions. No functionality changed here. llvm-svn: 151047 | ||||
* | Clean up comments that I missed when changing the triple representation. | Chandler Carruth | 2012-02-21 | 1 | -10/+7 |
| | | | | | | | | Somehow, I even missed the ones I wrote just the other day... Thanks to Matt for the code review. llvm-svn: 151045 | ||||
* | Switch the llvm::Triple class to immediately parse the triple string on | Chandler Carruth | 2012-02-21 | 1 | -20/+16 |
| | | | | | | | | | construction. Simplify its interface, implementation, and users accordingly as there is no longer an 'uninitialized' state to check for. Also, fixes a bug lurking in the interface as there was one method that didn't correctly check for initialization. llvm-svn: 151024 | ||||
* | Move constructors out-of-line and flesh out their documentation. No | Chandler Carruth | 2012-02-20 | 1 | -2/+32 |
| | | | | | | | functionality changed. This is in preparation for some refactoring of how this class behaves. llvm-svn: 150941 | ||||
* | Trivial cleanup to group the generic 'armvN' cases with the 'arm' case, | Chandler Carruth | 2012-02-18 | 1 | -4/+4 |
| | | | | | | etc. No functionality changed. llvm-svn: 150867 | ||||
* | StringSwitchify the rest of Triple.cpp. | Benjamin Kramer | 2012-02-12 | 1 | -62/+34 |
| | | | | llvm-svn: 150332 | ||||
* | Switch a bunch of manual if-chains to use StringSwitch. Clean them up in | Chandler Carruth | 2012-02-12 | 1 | -170/+93 |
| | | | | | | | | the process. Some of these are still a bit gross. Still, this cuts 80 some lines out of this ridiculous file. ;] llvm-svn: 150331 | ||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 1 | -3/+2 |
| | | | | llvm-svn: 149967 | ||||
* | Introduce helpers to compute the 32-bit varaints and 64-bit variants of | Chandler Carruth | 2012-02-06 | 1 | -0/+74 |
| | | | | | | | some architectures. These are useful for interacting with multiarch or bi-arch GCC (or GCC-based) toolchains. llvm-svn: 149895 | ||||
* | Add Triple::getMacOSXVersion to replace crufty code in the clang driver. | Bob Wilson | 2012-01-31 | 1 | -0/+39 |
| | | | | | | | This new function provides a way to get the Mac OS X version number from either generic "darwin" triples of macosx triples. llvm-svn: 149438 | ||||
* | Add various coarse bit-width architecture predicates to llvm::Triple. | Chandler Carruth | 2012-01-31 | 1 | -0/+49 |
| | | | | | | | These are very useful for frontends and other utilities reasoning about or selecting between triples. llvm-svn: 149353 | ||||
* | More dead code removal (using -Wunreachable-code) | David Blaikie | 2012-01-20 | 1 | -4/+5 |
| | | | | llvm-svn: 148578 | ||||
* | Add support for the gnueabihf environment. Patch by Sylvestre Ledru. | Rafael Espindola | 2012-01-18 | 1 | -0/+3 |
| | | | | llvm-svn: 148434 | ||||
* | Teach the triple library about the androideabi environment. | Chandler Carruth | 2012-01-10 | 1 | -0/+3 |
| | | | | | | Patch by Evgeniy Stepanov. llvm-svn: 147871 | ||||
* | Hexagon backend support | Tony Linthicum | 2011-12-12 | 1 | -0/+7 |
| | | | | llvm-svn: 146412 | ||||
* | Remove the Alpha backend. | Dan Gohman | 2011-10-27 | 1 | -7/+0 |
| | | | | llvm-svn: 143164 | ||||
* | Remove the Blackfin backend. | Dan Gohman | 2011-10-25 | 1 | -7/+0 |
| | | | | llvm-svn: 142880 | ||||
* | Remove the SystemZ backend. | Dan Gohman | 2011-10-24 | 1 | -5/+0 |
| | | | | llvm-svn: 142878 | ||||
* | Add mips64 & mips64el to Triple. Patch by Liu with modifications. | Akira Hatanaka | 2011-09-20 | 1 | -0/+10 |
| | | | | llvm-svn: 140157 | ||||
* | Add AMDIL as valid target triple to LLVM. | Tobias Grosser | 2011-08-29 | 1 | -1/+10 |
| | | | | | | Submitted by: Villmow, Micah <Micah.Villmow@amd.com> llvm-svn: 138734 | ||||
* | This patch adds support of le32 pseudo-cpu that stands for generic | Ivan Krasin | 2011-08-23 | 1 | -0/+9 |
| | | | | | | 32-bit little-endian CPU. Used by PNaCl and Emscripten. llvm-svn: 138335 | ||||
* | Add NativeClient support to Triple::ParseOS. | Ivan Krasin | 2011-08-22 | 1 | -0/+2 |
| | | | | llvm-svn: 138291 | ||||
* | Add NativeClient operating system support. | Ivan Krasin | 2011-08-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This patch adds support of NativeClient (*-*-nacl) OS support to LLVM. It's already supported in autoconf/config.sub. The motivation for this change is to start upstreaming PNaCl work. The whole set of patches include llvm backends (i686, x86_64, ARM), llvm-gcc (probably, would not be upstreamed because it's deprecated) and clang (the work has been just started, the amount of changes is going to be low and the most of the work is expected to be done close to the mainline). llvm-svn: 138005 | ||||
* | Added several architecture names. | Sean Callanan | 2011-07-30 | 1 | -1/+2 |
| | | | | llvm-svn: 136552 | ||||
* | Teach the Triple class about kfreebsd (FreeBSD kernel with | Duncan Sands | 2011-07-26 | 1 | -0/+3 |
| | | | | | | a GNU userspace). llvm-svn: 136085 | ||||
* | switch Triple to take twines instead of stringrefs. | Chris Lattner | 2011-07-24 | 1 | -5/+0 |
| | | | | llvm-svn: 135889 | ||||
* | lib/Support/Triple.cpp: Recognize "-march=ppc32" to llc properly, as quick hack. | NAKAMURA Takumi | 2011-07-22 | 1 | -0/+2 |
| | | | | | FIXME: There is an inconsistency. llvm::Triple does not understand "ppc32" and PowerPC/TargetInfo holds "ppc32". llvm-svn: 135745 | ||||
* | Recognize mipseb as alias for mips for symmetry with mipsel. | Joerg Sonnenberger | 2011-07-07 | 1 | -1/+2 |
| | | | | llvm-svn: 134617 | ||||
* | Fix missing triple support for RTEMS target. | Eli Friedman | 2011-07-06 | 1 | -0/+2 |
| | | | | llvm-svn: 134532 | ||||
* | Add initial *-*-rtems* target, from Joel Sherrill | Douglas Gregor | 2011-07-01 | 1 | -0/+1 |
| | | | | llvm-svn: 134282 | ||||
* | ...this is not a good commit day for me. | John McCall | 2011-05-29 | 1 | -7/+0 |
| | | | | llvm-svn: 132294 | ||||
* | On Darwin ARM, set the UNWIND_RESUME libcall to _Unwind_SjLj_Resume. | John McCall | 2011-05-29 | 1 | -0/+7 |
| | | | | | | | This is important for the correct lowering of unwind instructions (which doesn't matter at all) and llvm.eh.resume calls (which does). llvm-svn: 132291 | ||||
* | PTX: Add intrinsics to list of built-in intrinsics, which allows them to be | Justin Holewinski | 2011-04-20 | 1 | -10/+20 |
| | | | | | | | | | | used by Clang. To help Clang integration, the PTX target has been split into two targets: ptx32 and ptx64, depending on the desired pointer size. - Add GCCBuiltin class to all intrinsics - Split PTX target into ptx32 and ptx64 llvm-svn: 129851 | ||||
* | ADT/Triple: Drop support for -osx style triples, we are going with -macosx | Daniel Dunbar | 2011-04-19 | 1 | -3/+0 |
| | | | | | | instead. llvm-svn: 129836 | ||||
* | ADT/Triple: Add support for Triple::MacOSX per feedback from Chris, will remove | Daniel Dunbar | 2011-04-19 | 1 | -0/+3 |
| | | | | | | Triple::OSX once Clang has moved. llvm-svn: 129833 | ||||
* | ADT/Triple: Add isOSDarwin() and isOSWindows() helper functions. | Daniel Dunbar | 2011-04-19 | 1 | -2/+1 |
| | | | | llvm-svn: 129815 | ||||
* | ADT/Triple: Fix Triple::getArchNameForAssembler to support OSX and iOS | Daniel Dunbar | 2011-04-19 | 1 | -1/+2 |
| | | | | | | enumeration values. llvm-svn: 129814 | ||||
* | ADT/Triple: Generalize and simplify getDarwinNumber to just be getOSVersion. | Daniel Dunbar | 2011-04-19 | 1 | -47/+24 |
| | | | | llvm-svn: 129799 | ||||
* | ADT/Triple: Add support for more explicit "osx" and "ios" OS names. | Daniel Dunbar | 2011-04-19 | 1 | -0/+6 |
| | | | | llvm-svn: 129798 | ||||
* | Add scei vendor | John Thompson | 2011-03-15 | 1 | -0/+3 |
| | | | | llvm-svn: 127705 | ||||
* | Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 generally. | NAKAMURA Takumi | 2011-02-17 | 1 | -3/+0 |
| | | | | | | No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. In llvm side, i686 and x64 can be treated as similar way. llvm-svn: 125747 | ||||
* | Fix a clang warning. | Anders Carlsson | 2011-02-05 | 1 | -1/+2 |
| | | | | llvm-svn: 124960 | ||||
* | Remove NoVendor and NoOS, added in commit 123990, from Triple. While it | Duncan Sands | 2011-02-02 | 1 | -25/+5 |
| | | | | | | | | | may be useful to understand "none", this is not the place for it. Tweak the fix to Normalize while there: the fix added in 123990 works correctly, but I like this way better. Finally, now that Triple understands some non-trivial environment values, teach the unittests about them. llvm-svn: 124720 | ||||
* | Patches to build EFI with Clang/LLVM. By Carl Norum. | Evan Cheng | 2011-02-01 | 1 | -0/+3 |
| | | | | llvm-svn: 124639 | ||||
* | Clang was not parsing target triples involving EABI and was generating wrong ↵ | Renato Golin | 2011-01-21 | 1 | -3/+33 |
| | | | | | | IR (wrong PCS) and passing the wrong information down llc via the target-triple printed in IR. I've fixed this by adding the parsing of EABI into LLVM's Triple class and using it to choose the correct PCS in Clang's Tools. A Clang patch is on its way to use this infrastructure. llvm-svn: 123990 | ||||
* | Trailing whitespace and 80 column fixups. | Jim Grosbach | 2010-12-17 | 1 | -14/+15 |
| | | | | llvm-svn: 122026 | ||||
* | Remove PIC16 remnants. | Benjamin Kramer | 2010-11-27 | 1 | -5/+0 |
| | | | | llvm-svn: 120223 | ||||
* | Add better support for environment portion of triple. Original patch by | Duncan Sands | 2010-09-16 | 1 | -6/+32 |
| | | | | | | Cameron Esfahani, tweaked to use array_lengthof. llvm-svn: 114073 |