History log of /external/llvm/unittests/ADT/TripleTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
69f60e7c4a77866b3d0a5907e4955baa05216a20 31-Jan-2013 Michael Gottesman <mgottesman@apple.com> Added a unit test for r173983 that verifies that Target.isiOS() works correctly.

As a bonus I put in some extra checks to make sure that we are identifying the
machine word of various Mac OS X/iOS targets appropriately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
2e522d05278a69cf75b41dcd4b358e46b5350425 12-Oct-2012 Duncan Sands <baldrick@free.fr> Add powerpc-ibm-aix to Triple. Patch by Kai.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
42a0b48dd3773574f648c19b4d9abafb6b4a4f16 24-May-2012 Justin Holewinski <jholewinski@nvidia.com> Remove the PTX back-end and all of its artifacts (triple, etc.)

This back-end was deprecated in favor of the NVPTX back-end.

NV_CONTRIB

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
9166d23327c8dfb5b600795715e75e8b446b5690 09-May-2012 Chad Rosier <mcrosier@apple.com> Add unittests for Triple::getMacOSXVersion and Triple::getiOSVersion.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156507 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
a47406c442a81aaf368b6e1a9b31d1730975a717 02-Apr-2012 Hal Finkel <hfinkel@anl.gov> Add triple support for the IBM BG/P and BG/Q supercomputers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153882 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
fdf0dc9e0bb5c0b848286e6c96bfc9a390d26775 22-Feb-2012 Chandler Carruth <chandlerc@gmail.com> Support was removed from LLVM's MIPS backend for the PSP variant of that
chip in r139383, and the PSP components of the triple are really
annoying to parse. Let's leave this chapter behind. There is no reason
to expect LLVM to see a PSP-related triple these days, and so no
reasonable motivation to support them.

It might be reasonable to prune a few of the older MIPS triple forms in
general, but as those at least cause no burden on parsing (they aren't
both a chip and an OS!), I'm happy to leave them in for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
124e51c0d2b521b0fb3aaaf2443403cd451b7857 21-Feb-2012 Chandler Carruth <chandlerc@gmail.com> Switch the llvm::Triple class to immediately parse the triple string on
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
7d5a289f2d7d75c29df4c17856ab54dd28dec508 06-Feb-2012 Chandler Carruth <chandlerc@gmail.com> Introduce helpers to compute the 32-bit varaints and 64-bit variants of
some architectures. These are useful for interacting with multiarch or
bi-arch GCC (or GCC-based) toolchains.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
6f72ac4799a1a20c07cd96cc994dd6394ebff9a2 31-Jan-2012 Chandler Carruth <chandlerc@gmail.com> Add various coarse bit-width architecture predicates to llvm::Triple.
These are very useful for frontends and other utilities reasoning about
or selecting between triples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
ee64684710486bf8a0cd156d0516e0a7caecfb0b 03-Feb-2011 Duncan Sands <baldrick@free.fr> Part of this test is invariant inside the inner loop - move it outside
the loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
ae200c60c31666da81a8550172de03a9f417ba1b 02-Feb-2011 Duncan Sands <baldrick@free.fr> Remove NoVendor and NoOS, added in commit 123990, from Triple. While it
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
859f8183639346378ed29d1e04a4b070ebc7e97f 21-Jan-2011 Renato Golin <renato.golin@arm.com> Clang was not parsing target triples involving EABI and was generating wrong 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
5754a4525625a67a6c9b4f63512ea9db6997bf05 16-Sep-2010 Duncan Sands <baldrick@free.fr> Add better support for environment portion of triple. Original patch by
Cameron Esfahani, tweaked to use array_lengthof.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
335db223926931db204bf54d4accac6677b8e6b1 12-Aug-2010 Duncan Sands <baldrick@free.fr> Add a 'normalize' method to the Triple class, which takes a mucked up
target triple and straightens it out. This does less than gcc's script
config.sub, for example it turns i386-mingw32 into i386--mingw32 not
i386-pc-mingw32, but it does a decent job of turning funky triples into
something that the rest of the Triple class can understand. The plan
is to use this to canonicalize triple's when they are first provided
by users, and have the rest of LLVM only deal with canonical triples.
Once this is done the special case workarounds in the Triple constructor
can be removed, making the class more regular and easier to use. The
comments and unittests for the Triple class are already adjusted in this
patch appropriately for this brave new world of increased uniformity.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
651aa689cc37d5932fac0e096aa8b536f282aa21 18-Aug-2009 Daniel Dunbar <daniel@zuster.org> Improve Triple to recognize the OS in i386-mingw32.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79359 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
a14d225ef4d3d8bd8ec9ec913246d1fb47d2edc1 26-Jul-2009 Daniel Dunbar <daniel@zuster.org> Update Triple to use StringRef/Twine based APIs.
- This is now shorter, simpler, safer, and more efficient, what a deal.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
697b3780ac2297477c1bd799c9978e5dc49148f1 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Revert my intentional breakage.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74531 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
2a4aa97f0d938a5d2ef03d8a83d9bde3f9f33fb1 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Intentionally break a unittest to test my buildbot gtest command.
- Apologies in advance for the noise.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
efee4ee46e5cc8f108391a33f2119891531989c6 09-Jun-2009 Misha Brukman <brukman+llvm@gmail.com> Reversed order of args in EXPECT_EQ() macros to be in the correct order:
EXPECT_EQ(expected, actual) . This will make error messages understandable as
it uses terms such as "expected" and "actual" based on the order of arguments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73150 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp
23e97b05da7b31ed97e5ccc6330670da0173ca2e 01-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add llvm::Triple class for abstracting access to target triples.
- The code is silly, I'm just amusing myself. Rewrite to be efficient
if you like. :)

Also, if you wish to debate the proper names of the triple components
I'm all ears.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/TripleTest.cpp