History log of /external/clang/lib/Basic/Targets.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ac73c7514f9e836b4d9781738f333c5cb91cb63 08-Aug-2013 Stephen Hines <srhines@google.com> Merge commit '51e75aecf4fb303b91c9e54fd88e3509e5acc7a6' into merge-20130807

Conflicts:
lib/Basic/Targets.cpp
lib/Sema/SemaDeclAttr.cpp

Change-Id: If457223ecbee9e43c73d15333bf10d36590d05c4
b793f0d3448a15277cd6b6cc4ba558ded39a8084 01-Aug-2013 Tim Northover <tnorthover@apple.com> AArch64: initial NEON support

Patch by Ana Pazos

- Completed implementation of instruction formats:
AdvSIMD three same
AdvSIMD modified immediate
AdvSIMD scalar pairwise

- Completed implementation of instruction classes
(some of the instructions in these classes
belong to yet unfinished instruction formats):
Vector Arithmetic
Vector Immediate
Vector Pairwise Arithmetic

- Initial implementation of instruction formats:
AdvSIMD scalar two-reg misc
AdvSIMD scalar three same

- Intial implementation of instruction class:
Scalar Arithmetic

- Initial clang changes to support arm v8 intrinsics.
Note: no clang changes for scalar intrinsics function name mangling yet.

- Comprehensive test cases for added instructions
To verify auto codegen, encoding, decoding, diagnosis, intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ea7fb0ce25acc04664a2e7c2b24af03cef2c0d1f 26-Jul-2013 Bill Schmidt <wschmidt@linux.vnet.ibm.com> [PowerPC] Support powerpc64le as a syntax-checking target.

This patch provides basic support for powerpc64le as an LLVM target.
However, use of this target will not actually generate little-endian
code. Instead, use of the target will cause the correct little-endian
built-in defines to be generated, so that code that tests for
__LITTLE_ENDIAN__, for example, will be correctly parsed for
syntax-only testing. Code generation will otherwise be the same as
powerpc64 (big-endian), for now.

The patch leaves open the possibility of creating a little-endian
PowerPC64 back end, but there is no immediate intent to create such a
thing.

The new test case variant ensures that correct built-in defines for
little-endian code are generated.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7185d6272b8dc75d5492a6ea0ed43d7631554b61 25-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the mblaze backend from clang.

Approval in here http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/064169.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5c92b9ab4e4dce3233ea3e400a02c443f9afd372 19-Jul-2013 Richard Sandiford <rsandifo@linux.vnet.ibm.com> [SystemZ] Add -march= command-line option


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186694 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b1baad643c287a3656e9bbda08aab143e6c00873 03-Jul-2013 Bill Schmidt <wschmidt@linux.vnet.ibm.com> [PowerPC] FreeBSD does not require f128 in its data layout string.

Long double is 64 bits on FreeBSD PPC, so the f128 entry is superfluous.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b2f6f4764e4d7da70b9ed99aa5bbb346018feedc 03-Jul-2013 Roman Divacky <rdivacky@freebsd.org> Dont define __LONG_DOUBLE_128__ unless LongDoubleWidth is really 128bits width.
It's not the case on ie. FreeBSD.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
18a295d96d66c2d99b089882366966e460ed5072 01-Jul-2013 Anton Korobeynikov <asl@math.spbu.ru> Fix MSP430 builtin types.

Patch by Job Noorman!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9df0823a4b82794f573e333115ad4dfff3ab0a34 29-Jun-2013 Benjamin Kramer <benny.kra@googlemail.com> Driver: Push triple objects around instead of going to std::string all the time.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cbed3bfe79bbd16ced68078c7385bd21151f44cd 27-Jun-2013 Joey Gouly <joey.gouly@arm.com> Add support for passing v8fp options via -mfpu.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4ec8d5b63d3e2a2c0d9f35243e5f798a89cd97bd 26-Jun-2013 Joey Gouly <joey.gouly@arm.com> Add support for passing '-target armv8' through the Driver.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c6fa1153f882c01decb676ca1208705ae2e2508a 25-Jun-2013 Chandler Carruth <chandlerc@gmail.com> Fix a couple of PPC predefined macros that I spotted while driving by
this code. These aren't technically standard predefines for the platform
but apparantly lots of folks use them as they show up within LLVM's own
codebase. ;] This may even fix some self host issues w/ the JIT!!!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0ac428eb8ae01995d70a8704862aafaea7c16c53 21-Jun-2013 Justin Holewinski <jholewinski@nvidia.com> [NVPTX] Add NVPTX register constraints

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e4bce7a4250e3d646ceab372ebed71ca7e79cf28 18-Jun-2013 Bob Wilson <bob.wilson@apple.com> size_t on Darwin AAPCS targets is "unsigned long". <rdar://problem/14136459>

Some embedded targets use ARM's AAPCS with iOS header files that define size_t
as unsigned long, which conflicts with the usual AAPCS definition of size_t
as unsigned int.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e1e03424469ac00811f70ff17b4441ad5c75dff6 17-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Use atomic instructions on Bitrig armv6. Patch by Patrick Wildt.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
04491635b1b497c08f6b04afbf83887718a6d667 15-Jun-2013 Ed Schouten <ed@80386.nl> Emit native implementations of atomic operations on FreeBSD/armv6.

Just like on Linux, FreeBSD/armv6 assumes the system supports
ldrex/strex unconditionally. It is also used by the kernel. We can
therefore enable support for it, like we do on Linux.

While there, change one of the unit tests to explicitly test against
armv5 instead of armv7, as it actually tests whether libcalls are
emitted.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2049840b0ffe8ee4bf39051cfa8ca08440c8f667 12-Jun-2013 Stephen Hines <srhines@google.com> Merge commit '1342a4ef62dd7b839c6f09348b246a4f00282f29' into merge_20130612
221a8908e4521de533bace49566b5281df9b1924 04-Jun-2013 Bob Wilson <bob.wilson@apple.com> Do not report -Wasm-operand-widths for ARM output operands. <rdar://14050337>

We're getting reports of this warning getting triggered in cases where it
is not adding any value. There is no asm operand modifier that you can use
to silence it, and there's really nothing wrong with having an LDRB, for
example, with a "char" output.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5ac8c4f449e291d5a1a34777e58f4218794f4646 19-May-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> OpenBSD/sparc64 uses long long for int64_t and intmax_t.

Other operating systems, including FreeBSD and NetBSD, use long.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182215 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b5afadd210609294c9c8ec6a9456b1cf53eff690 16-May-2013 David Fang <fang@csl.cornell.edu> fix PR 15726: ptrdiff_t should be int on PowerPC Darwin

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fcec0c991edbb011a1eeb85d8de836502f799aed 15-May-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> Use correct types for SPARC v9.

It's an LP64 platform.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
69db555a7a4d0aa11d65001ffc25669c354a5de0 14-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Use atomic instructions on linux thumb v7.

This matches gcc's behaviour. The patch also explicitly parses the version so
that this keeps working when we add support for v8.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
620c0afe5ea7185688d066de9e3b3680067934d3 13-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Use atomic instructions on ARM linux.

This is safe given how the pre-v6 atomic ops funcions in libgcc are
implemented.

This fixes pr15429.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b8409215523e5478b8b0aa9cdcd10038cf7651fe 06-May-2013 Ulrich Weigand <ulrich.weigand@de.ibm.com> Add SystemZ support

This patch then adds all the usual platform-specific pieces for SystemZ:
driver support, basic target info, register names and constraints,
ABI info and vararg support. It also adds new tests to verify pre-defined
macros and inline asm, and updates a test for the minimum alignment change.

This version of the patch incorporates feedback from reviews by
Eric Christopher and John McCall. Thanks to all reviewers!

Patch by Richard Sandiford.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ff920eec4d449bee560d8d99636ad0eb50cd9d8d 04-May-2013 Tim Northover <Tim.Northover@arm.com> AArch64: teach Clang about __clear_cache intrinsic

libgcc provides a __clear_cache intrinsic on AArch64, much like it
does on 32-bit ARM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
83eba02c2ea333015335e2f74c4d11c5315b655d 03-May-2013 Stephen Hines <srhines@google.com> Merge remote-tracking branch 'upstream/master' into merge-20130502
63063f5dd7e6cee865f513d3c3f283fc20de18d0 03-May-2013 Benjamin Kramer <benny.kra@googlemail.com> Add support for -march=btver2.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
44f72d34a947c654f88ea212b7fe5834615bca11 24-Apr-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> Add some more required SPARC v9 predefined macros.

Solaris/AuroraUX only need __arch64__, the BSDs need the other variants.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
56e1f1f7abda394b81a5df7f75d3c6e0a570d6c0 16-Apr-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> Add support for sparcv9 targets.

The SPARC v8 and SPARC v8 architectures are very similar, so use a base
class to share most information between them.

Include operating systems with known SPARC v9 ports.

Also fix two issues with the SPARC v8 data layout string: SPARC v8 is a
big endian target with a 64-bit aligned stack.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
321ae79aae228aa069795e78449a95fa35e2abfd 14-Apr-2013 Simon Atanasyan <simon@atanasyan.com> [Mips] Support -mmicromips / -mno-micromips command line options.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d96e315fb82950e105188055151d665c03e781ed 14-Apr-2013 Simon Atanasyan <simon@atanasyan.com> [Mips] Follow-up to r179481. Consider "single-float" as a separate
independent of float ABI feature in the MipsTargetInfoBase class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c0783dc18a78b55e9486b72fa0b193dbf1b65fbb 08-Apr-2013 Eli Bendersky <eliben@google.com> The PNaCl target no longer permits __attribute__((regparm)).

Remove the custom lowering code dealing with it, disallow it in PNaclTargetInfo
and adjust tests accordingly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dabcbf95483a59f2342b5c29112a8f4f8b8ecf1b 05-Apr-2013 Tim Northover <Tim.Northover@arm.com> AArch64: bring predefines in line with most recent ACLE document

The prefixes and names used are now identical to 32-bit ARM, which is also
expected to remain unchanged.

If we made this change after a release, we'd probably have to support both
variants for a while, but I think since AArch64 exists only on trunk now, it's
acceptable to simply swap them now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d1b33945f3254de9b02063cd203374856492ed02 05-Apr-2013 Michael J. Spencer <bigcheesegs@gmail.com> Add support for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8} on x86.

This fixes std::thread with libstdc++.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3b848ec836c94ed6deb850f332638f085280f8e6 01-Apr-2013 Tom Stellard <thomas.stellard@amd.com> R600: Add missing Southern Islands GPU to setCPU() function

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178498 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
affa3af144eb1ae1b5e6e1c9ca0f979bc6982990 30-Mar-2013 Justin Holewinski <jholewinski@nvidia.com> Remove old NVPTX cpus and add new NVPTX cpus

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fe6b2713656c2d1bf559be357f0e0bf2d09bebd6 30-Mar-2013 Hal Finkel <hfinkel@anl.gov> Add support for gcc-compatible -mfprnd -mno-fprnd PPC options

gcc provides -mfprnd and -mno-fprnd for controlling the fprnd target
feature; support these options as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1bfc28c48c1b86a05d2e07b403107ef3da5a0f8e 29-Mar-2013 Michael Liao <michael.liao@intel.com> Add RDSEED intrinsic support defined in AVX2 extension



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
829d187e2100d2cfd85acefc2e867d12336e393f 28-Mar-2013 Hal Finkel <hfinkel@anl.gov> Add support for gcc-compatible -mpopcntd -mno-popcntd PPC options

gcc provides -mpopcntd and -mno-popcntd for controlling the popcntd target
feature; support these options as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f4320ab08da5e4c927ef326c68d5081f5f2a2268 28-Mar-2013 Hal Finkel <hfinkel@anl.gov> Add support for gcc-compatible -mmfcrf -mno-mfcrf PPC options

gcc provides -mmfcrf and -mno-mfcrf for controlling what we call
the mfocrf target feature. Also, PPC is now making use of the
static function AddTargetFeature used by the Mips Driver code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
72339a0d160720c6301d629761e701e5fad56f5e 26-Mar-2013 Michael Liao <michael.liao@intel.com> Add PRFCHW intrinsic support

- Add head 'prfchwintrin.h' to define '_m_prefetchw' which is mapped to
LLVM/clang prefetch builtin
- Add option '-mprfchw' to enable PRFCHW feature and pre-define '__PRFCHW__'
macro



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
15d68882f5fa4afae8333e75b2bfd5e2834c8aaf 19-Mar-2013 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge_2013_03_18

Conflicts:
lib/Sema/SemaDeclAttr.cpp

Change-Id: I05e70941163ec5a461eba43ef78f6738cd5a1e69
e8a1efcafbea9a40fe12454d27baa30488475862 12-Mar-2013 Matthew Curtis <mcurtis@codeaurora.org> Remove driver support for Hexagon V2 and V3

Driver will now error when trying to compile for V2 or V3.

Removal of V2 and V3 support will allow us to simplify the hexagon
back-end.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f3ddf639697d9be7f0429f3672a32c9fbac3653d 07-Mar-2013 Guy Benyei <guy.benyei@intel.com> Add 'e' to the SPIR data layout - SPIR is little endian for now.
Add 32/64 bit specific target defines for SPIR.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
450b86c0c9ff8307f5145ced621914600196c500 06-Mar-2013 Stephen Hines <srhines@google.com> Merge commit 'b58f810669d9c17bcc025b7560de01d162856f34' into merge_20130226

Conflicts:
include/clang/Basic/LangOptions.def
lib/Sema/SemaDeclAttr.cpp

Change-Id: Ia10b4d3b2c949a72d328cb58b113f90237d4a5d5
971023066ce2a20aa693cc981412d015bac304b9 05-Mar-2013 Jack Carter <jack.carter@imgtec.com> Mips specific inline assembler constraint 'R'

'R' An address that can be sued in a non-macro load or store.

Including missing positive test case and fixed typo for r176453.

Thanks to Richard Smith for catching this!

Jack



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176506 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fc55345144f636f7687fd37649f0302914981fff 04-Mar-2013 Bob Wilson <bob.wilson@apple.com> Tidy up lists of Cortex-A series processors, adding entries for A7.

Also fix a missing entry for cortex-r5 in one copy of getLLVMArchSuffixForARM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176457 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d2ab6d371e2bb93ced857041b9173ad50bbcbfcd 04-Mar-2013 Jack Carter <jack.carter@imgtec.com> Mips specific inline assembler constraint 'R'

'R' An address that can be sued in a non-macro load or store.
This patch includes a positive test case.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fd07591ea5bcdb7fdd391dc64488d3551619ed3d 04-Mar-2013 Tom Stellard <thomas.stellard@amd.com> R600: Use the GPU type to determine the correct DataLayout v2

v2:
- Add R600_DOUBLE_OPS for RV670
- s/CPU/GPU/

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176440 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e9616a4972a4c2fdc28128c057f21d7a79516c86 27-Feb-2013 Simon Atanasyan <simon@atanasyan.com> [Mips] Add two new aliases for MIPS ABI names 32 (means o32 abi) and 64
(means n64 abi) to improve compatibility with GNU tools.
Patch by Jia Liu <proljc@gmail.com>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a8f7a97a22d1ed92fd3309f071c0121c22e52aa3 23-Feb-2013 Logan Chien <tzuhsiang.chien@gmail.com> Implement __builtin_eh_return_data_regno() for ARM and MIPS.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175954 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7728cddd7866fadd07f1191eee40985e3cdbc6bf 23-Feb-2013 Peter Collingbourne <peter@pcc.me.uk> Revert r175912, "Add support for coldcc to clang" at John's request.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4c67aa96401b67b5200e701cff87485067ab0792 22-Feb-2013 Peter Collingbourne <peter@pcc.me.uk> Add support for coldcc to clang

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
90a7820de7685cec75fcd47e98f0f9623c0f0477 20-Feb-2013 Jordan Rose <jordan_rose@apple.com> Revert "intmax_t is long long on Darwin, not long."

'long' and 'long long' are different for the purposes of mangling.
This caused <rdar://problem/13254874>.

This reverts commit c2f994d31ec85e9af811af38eb1b28709aef0b2c.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a905c4fd256396b589013304d9793cc199b8a0c6 20-Feb-2013 Jordan Rose <jordan_rose@apple.com> intmax_t is long long on Darwin, not long.

<rdar://problem/11540697>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6a93c86fc73d84a40d3460be04444669c8439e20 18-Feb-2013 Tim Northover <Tim.Northover@arm.com> AArch64: add atomic support parameters to TargetInfo

This allows Clang to detect and deal wih __atomic_* operations properly on
AArch64. Previously we produced an error when encountering them at high
optimisation levels.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175438 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2821e180094459cbdef37e7d7c12bb406d5b82ba 01-Feb-2013 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Add some missing PPC cpus

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174215 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3c6aaeb26202b41173dd9ea982833fe975147d80 01-Feb-2013 Hal Finkel <hfinkel@anl.gov> Add -mqpx and -mno-qpx feature flags to toggle use of the PPC QPX vector instruction set

I've renamed the altivec test to ppc-features (because now there is more than one feature to test).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5ccd3d0214b9d765a1bb41872da27d3c5530ab2b 01-Feb-2013 Hal Finkel <hfinkel@anl.gov> Add PPC A2Q core and BG/Q preprocessor definitions

The a2q core is the variant of the a2 core used on the BG/Q supercomputers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
199402b9e081dedc28e19ab6e727470b34f2f64d 01-Feb-2013 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Enable -fno-altivec, -mno-altivec for PowerPC.

Introduces these negation forms explicitly and uses them to control a new
"altivec" target feature for PowerPC. This allows avoiding generating
Altivec instructions on processors that support Altivec.

The new test case verifies that the Altivec "lvx" instruction is not
used when -fno-altivec is present on the command line.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c264e16a42b3f6c36521857a29ea0949d9781c22 31-Jan-2013 Tim Northover <Tim.Northover@arm.com> Add support for AArch64 target.

In cooperation with the LLVM patch, this should implement all scalar front-end
parts of the C and C++ ABIs for AArch64.

This patch excludes the NEON support also reviewed due to an outbreak of
batshit insanity in our legal department. That will be committed soon bringing
the changes to precisely what has been approved.

Further reviews would be gratefully received.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174055 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b8b2c9da87e7d70a1679db026f40548b3192b705 25-Jan-2013 John McCall <rjmccall@apple.com> First pass at abstracting out a class for the target C++ ABI.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b0fc94ceaf1462a56068bbe400e6f22ef96ac681 22-Jan-2013 Adhemerval Zanella <azanella@linux.vnet.ibm.com> PowerPC: fix __builtin_eh_return_data_regno return


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
15bb58edc9d053aa49c28167deb41ff0409ddabc 21-Jan-2013 Stephen Hines <srhines@google.com> Merge commit 'd130fd2e141f1fef412c2d58e7385370801bd718' into merge-llvm

Conflicts:
lib/Basic/Targets.cpp

Change-Id: I90a669a33ffe4de8b32c8459016fd0b2a55da0ad
dbee9491716f98d226b3b15cd96dacb01ea69c54 18-Jan-2013 Akira Hatanaka <ahatanaka@mips.com> [mips] Enable inlining of atomic ops on mips32 and mips64.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4f45bc099f2665bc6e4bcbb169aa452390dbf3fe 18-Jan-2013 Will Dietz <wdietz2@illinois.edu> [ubsan] Add support for -fsanitize-blacklist

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cfa88f893915ceb8ae4ce2f17c46c24a4d67502f 12-Jan-2013 Dmitri Gribenko <gribozavr@gmail.com> Remove useless 'llvm::' qualifier from names like StringRef and others that are
brought into 'clang' namespace by clang/Basic/LLVM.h


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7266cf6464bc3ec65044c5783df739cfe7b6cd61 10-Jan-2013 Guy Benyei <guy.benyei@intel.com> Enable intel_ocl_bicc for x86_64 target only. Remove fix from 171969 that enabled this extension for multiple targets.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
390a70f718871933cbfd751f8c3dfde28a762a18 05-Jan-2013 Akira Hatanaka <ahatanaka@mips.com> [mips] Fix data layout string. Add 64 to the list of native integer widths
and add stack alignment information.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1a090f1b239889d0b48e1413152e88ed07e6e09d 02-Jan-2013 Anshuman Dasgupta <adasgupt@codeaurora.org> Correct Hexagon DataLayout string. Fixes bug 14744.

Patch by Krzysztof Parzyszek!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3b844ba7d5be205a9b4f5f0b0d1b7978977f4b8c 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to
reflect the migration in r171366.

Re-sort the #include lines to reflect the new paths.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
80ad52f327b532bded5c5b0ee38779d841c6cd35 02-Jan-2013 Richard Smith <richard-llvm@metafoo.co.uk> s/CPlusPlus0x/CPlusPlus11/g


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
38980086c0f791e8c23cc882574f18e5b4a87db6 25-Dec-2012 Guy Benyei <guy.benyei@intel.com> Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ab13751d76be4473e9317d3885cb351b79f18492 21-Dec-2012 Quentin Colombet <qcolombet@apple.com> Add ARM cortex-r5 subtarget as available mcpu

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e72f4d93ed44e00e1b1433768f0515b9c4f38562 14-Dec-2012 NAKAMURA Takumi <geek4civic@gmail.com> Targets.cpp: [cygwin] Add the predefined macro "_X86_", according to newer version of cygwin/w32api.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8a03357d13daa40d341e5724ed47039b4d8af140 13-Dec-2012 Guy Benyei <guy.benyei@intel.com> Remove little endian specification from SPIR data layout - SPIR doesn't define endiannes in the data layout.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
27fa2364b05ab26138c2ecf0eac1937b7fc6c037 13-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Initial support for FreeBSD on ARM.
Patch by Andrew Turner.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bd5da3ca593fbf354fd19c2894eee50694c96788 11-Dec-2012 Guy Benyei <guy.benyei@intel.com> Add SPIR32/SPIR64 targets to Clang

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fff3248e69c478cfb4d1a1ffdefb808d5885535b 09-Dec-2012 Aaron Ballman <aaron@aaronballman.com> Virtual method overrides can no longer have mismatched calling conventions. This fixes PR14339.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6e399b42b5356d8ee59eb5dc4da8c89a0d0b7ae1 08-Dec-2012 David Chisnall <csdavec@swan.ac.uk> long double should be 64 bits on FreeBSD/MIPS64. It possibly should be on
Linux too, as I think we inherited it from there. The ABI spec says 128-bit,
although I think SGI's compiler on IRIX may be the only thing ever to support
this.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
441d9f7a36d3289eed0299823f05f70f810364ee 04-Dec-2012 Eli Bendersky <eliben@google.com> Adapt to LLVM commit 169291 which streamlines the usage of NaCl/NativeClient
in the triple.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6e6330c07a42ace74637d0ad7356a2fa20de81ec 01-Dec-2012 Bill Wendling <isanbard@gmail.com> Don't emit a warning with an input/output parameter. We assume the user knows what they're doing here.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e2dbaa9f78be2b09b0723d1b614286412808b5d3 01-Dec-2012 Bill Wendling <isanbard@gmail.com> Don't warn if the input size is less than the register size. Also don't warn if
the output size is greater than the register size. No truncation occurs with
those. Reword warning to make it clearer what's the problem is.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
74632aab3ad87c89823421d8239a47b6697b6e79 30-Nov-2012 Quentin Colombet <qcolombet@apple.com> Add ARM cortex-a5 subtarget

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
398b8e86ab421592f9e72b92c4558ea865b26e86 30-Nov-2012 Quentin Colombet <qcolombet@apple.com> Revert commit revision r168953, to change the commit message, which was empty

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b3233f5ed4411af458dc66fa566df2ba7510d26f 29-Nov-2012 Quentin Colombet <qcolombet@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6902e4146d426998ff6a94b16776c1b3f805a048 27-Nov-2012 Eli Friedman <eli.friedman@gmail.com> Fix the definition of the vfork() builtin on Haiku. PR14378.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f5824998702fad8eb2450e992b48d710a59723ff 26-Nov-2012 Eli Friedman <eli.friedman@gmail.com> Add missing "break". Thanks to Craig for spotting it.

I'm looking at ways to fix the relevant test so it can catch this sort of mistake.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7baa711e61258a762db42e449e424bd0928318a6 17-Nov-2012 Benjamin Kramer <benny.kra@googlemail.com> Enable inlining of 4 byte atomic ops on ppc32, 8 byte atomic ops on ppc64.

Also fixes a bit/byte mismatch when checking if a target supports atomic ops of a certain size.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
faf3538605ef3c5ba475639424f6f94ec4aa5179 17-Nov-2012 Eli Friedman <eli.friedman@gmail.com> Add missing features for misc x86 CPUs to CPU feature translation. Patch by Jung-uk Kim.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
612db2aa100453710ce9eb9032268ae30b902d4e 17-Nov-2012 Eli Friedman <eli.friedman@gmail.com> Clean up X86 target feature translation code slightly. No intended functional change. Patch by Jung-uk Kim.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
49a87549f4dc95ecb3d8a593b71df7c167a51f85 16-Nov-2012 Douglas Gregor <dgregor@apple.com> Since CreateTargetInfo is taking ownership of the target options, pass
it as a pointer.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
825d386c1d66c2444117c0142c4d79246aaaa9bd 14-Nov-2012 Eric Christopher <echristo@gmail.com> Remove the cellspu port.

Approved by Chris Lattner.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167983 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f634bdfbf42758f7d49b468df09efa3686f7b699 12-Nov-2012 Bill Wendling <isanbard@gmail.com> The register constraint could mean a 16- or 8-bit register.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
68fd608c2c0866064e974c3d43778c47c1cbb080 12-Nov-2012 Bill Wendling <isanbard@gmail.com> Check that the input size is correct for the given constraint.

The 'a', 'c', and 'd' constraints on i386 mean a 32-bit register. We cannot
place a 64-bit value into the 32-bit register. Error out instead of causing the
compiler to spew general badness.
<rdar://problem/12415959>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
463eb89d5e36b05d74c14b937384076d745b3b84 10-Nov-2012 Michael Liao <michael.liao@intel.com> Add clang support of RTM from TSX

- New options '-mrtm'/'-mno-rtm' are added to enable/disable RTM feature
- Builtin macro '__RTM__' is defined if RTM feature is enabled
- RTM intrinsic header is added and introduces 3 new intrinsics, namely
'_xbegin', '_xend', and '_xabort'.
- 3 new builtins are added to keep compatible with gcc, namely
'__builtin_ia32_xbegin', '__builtin_ia32_xend', and '__builtin_ia32_xabort'.
- Test cases for pre-defined macro and new intrinsic codegen are added.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ef7bceadf4b43c953855013577afac4c2fcb1d62 08-Nov-2012 Benjamin Kramer <benny.kra@googlemail.com> Set TLSSupported to false on Haiku.

Haiku does not support this (yet). Leaving it set to true leads to
configure scripts detecting __thread being available and Clang emitting
code for it, resulting in binaries the runtime_loader will refuse to
load.

Patch by Jonathan Schleifer!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167576 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ca1b62a33cacee20d3bd756210d3211dd663209e 05-Nov-2012 Richard Smith <richard-llvm@metafoo.co.uk> Rename LangOptions members for address sanitizer and thread sanitizer from
*Sanitizer to Sanitize* in preparation for later patches.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dbaf4bc5864d80a3f3e51700219c30900cde7300 29-Oct-2012 Bill Schmidt <wschmidt@linux.vnet.ibm.com> This patch adds alignment information for long double to the 64-bit PowerPC
ELF subtarget.

The existing description string is moved from PPC64TargetInfo to its
DarwinTargetInfo subclass, to avoid any changes to the Darwin ABI.
PPC64TargetInfo now has two possible description strings: one for FreeBSD,
which requires 8-byte alignment, and a default string that requires
16-byte alignment.

I've added a test for PPC64 Linux to verify the 16-byte alignment. If
somebody wants to add a separate test for FreeBSD, that would be great.

Note that there is a companion patch to update the alignment information
in LLVM, which I am committing now as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166927 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
50d46caf00c743312e0ea1f87a693d504b12ef51 26-Oct-2012 Bill Wendling <isanbard@gmail.com> Recommit Eric's code to validate ASM string's constraints and modifiers.

This code checks the ASM string to see if the output size is able to fit within
the variable specified as the output. For instance, scalar-to-vector conversions
may not really work. It's on by default, but can be turned off with a flag if
you think you know what you're doing.

This is placed under a flag ('-Wasm-operand-widths') and flag group ('-Wasm').

<rdar://problem/12284092>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b16abb1bd8ed94c7994836de24915703e6a4e81a 25-Oct-2012 David Tweed <david.tweed@arm.com> Modify the targets to set appropriate calling convention defaults and C variables when using a gnueabihf or aapcs-vfp target.

Tested by me and Wei-Ren Chen.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c6cd9afd15f0f83ee07844e592d2a698416f33ca 25-Oct-2012 Bill Wendling <isanbard@gmail.com> Revert r166647 to rethink the patch...


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a0b9ce03880b7dbab766ec80817eb17a20eba508 25-Oct-2012 Bill Wendling <isanbard@gmail.com> Add some support for diagnosing possibly mismatched constraint, type size and
modifiers. (From an idea by Eric...)
<rdar://problem/12284092>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4d3ee9bc48dc1e6aea0b0d451a4b98e20b04ce00 22-Oct-2012 Daniel Dunbar <daniel@zuster.org> Fix pre-commit refacto failure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
849289e531a97895784ab86b550e43d190618dff 22-Oct-2012 Daniel Dunbar <daniel@zuster.org> driver/Darwin: Follow up to last patch, M-class CPUs are AAPCS but not EABI.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
57016dda61498294120b1a881d9e6606337b29d9 17-Oct-2012 Douglas Gregor <dgregor@apple.com> Serialize TargetOptions into an AST file, and make sure that we keep
target options around so they can be accessed at any point (rather
than keeping them transient).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
263366f9241366f29ba65b703120f302490c39ff 17-Oct-2012 Derek Schuff <dschuff@google.com> Add pnaclcall convention to Native Client targets.

Because PNaCl bitcode must be target-independent, it uses some
different bitcode representations from other targets (e.g. byval and
sret for structures). This means that without additional type
information, it cannot meet some native ABI requirements for some
targets (e.g. passing structures containing unions by value on
x86-64). To allow generation of code which uses the correct native
ABIs, we also support triples such as x86_64-nacl, which uses
target-dependent IR (as opposed to le32-nacl, which uses byval and
sret).

To allow interoperation between the two types of code, this patch adds
a calling convention attribute to be used in code compiled with the
target-dependent triple, which will generate code using the le32-style
bitcode. This calling convention does not need to be explicitly
supported in the backend because it determines bitcode representation
rather than native conventions (the backend just needs to undersand
how to handle byval and sret for the Native Client OS).

This patch implements __attribute__((pnaclcall)) to generate calls in
bitcode according to the le32 bitcode conventions, an attribute which
is accepted by any Native Client target, but issues a warning
otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9a022bb007a3e77e1ac1330f955a239cfb1dd0fb 15-Oct-2012 Douglas Gregor <dgregor@apple.com> Teach TargetInfo to hold on to the TargetOptions with which it was
created.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6505a29cfd629e1a4820282b4cf3871efc1e696f 13-Oct-2012 Eli Friedman <eli.friedman@gmail.com> Add TargetInfo for r600.

Patch by Tom Stellard.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7da46f949f6ec63d7c7dcda5f49588261c669ffb 11-Oct-2012 Derek Schuff <dschuff@google.com> Properly factor Native Client defines to support NaCl as an OS
with x86/ARM architecture

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
babaf31d401310464db93627ef6b195a7ffb1029 11-Oct-2012 Derek Schuff <dschuff@google.com> Make X86_64ABIInfo clean for ABIs with 32 bit pointers, such as X32
and Native Client

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
146e5a4a787a2ebfe89a6b74e7c22d850bf1c858 11-Oct-2012 Manman Ren <mren@apple.com> X86: add F16C support in Clang

Support the following intrinsics:
_mm_cvtph_ps, _mm256_cvtph_ps, _mm_cvtps_ph, _mm256_cvtps_ph

rdar://12407875


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eae5a820bced67465c8517793a1602dfaeed8a06 10-Oct-2012 Logan Chien <tzuhsiang.chien@gmail.com> Fix PR 11709: Change the definition of va_list to meet AAPCS requirement

AAPCS ABI Section 7.1.4 [1] specifies that va_list
should be defined as struct __va_list { void *__ap;};
And in C++, it is defined in namespace std.

[1] http://infocenter.arm.com/help/topic
/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf

Patch by Weiming Zhao.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
82bfa19fe3be324b13fdbcda46304b52c500f0d4 02-Oct-2012 Aaron Ballman <aaron@aaronballman.com> Allowing individual targets to determine whether a given calling convention is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs.

Fixes PR13782

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cfaab00963234237b46b52996e9d72b20540e97f 30-Sep-2012 Bob Wilson <bob.wilson@apple.com> Add ARM VFPv4 feature and enable it by default for Swift.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
336bfa3fb496228a8ab4070def5b4297e5f88358 30-Sep-2012 Bob Wilson <bob.wilson@apple.com> Add armv7s and some other arm variants supported by Mach-O files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
087c65fb270d7f465f221b543731f89343032e90 20-Sep-2012 Alexander Potapenko <glider@google.com> Disable source fortification on Darwin with AddressSanitizer.

ASan doesn't play well with -D_FORTIFY_SOURCE, which is enabled by default starting at OS X 10.7


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7de32964026e4c5ff32cbca484ffb24e73393d87 19-Sep-2012 Hal Finkel <hfinkel@anl.gov> Add e500mc and e5500 to the list of valid PPC CPU names.

Patch by Tobias von Koch!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164176 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2df67ea86f64c2a94b973d8fda2e3c1fd53fc84d 13-Sep-2012 Silviu Baranga <silviu.baranga@arm.com> This patch introduces A15 as a target in Clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9f0b1324a5352713337c75ef4a5acffd96609c6c 11-Sep-2012 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge-2012_09_10
8b0703d641f8a523eec31dd2352c4a650b6738b9 08-Sep-2012 Anton Korobeynikov <asl@math.spbu.ru> Do not construct StringRef from NULL argument.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
70a5cca8e7353e2e3bd16b7e6a47a35695803d5d 08-Sep-2012 Anton Korobeynikov <asl@math.spbu.ru> Provide some ACLE C defines. This should fix PR13796


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
94a7142f74bb4a9daa53c22087b19d4568073109 02-Sep-2012 Logan Chien <tzuhsiang.chien@gmail.com> Rename ANDROIDEABI to Android.

Most of the code guarded with ANDROIDEABI are not
ARM-specific, and having no relation with arm-eabi.
Thus, it will be more natural to call this
environment "Android" instead of "ANDROIDEABI".

Note: We are not using ANDROID because several projects
are using "-DANDROID" as the conditional compilation
flag.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163088 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
600a513a0ff19c7dbedc4292866caddeceb94f57 29-Aug-2012 Simon Atanasyan <satanasyan@mips.com> Define __mips64 / __mips64__ macros for MIPS 64-bit targets.
The patch suggested by Brad Smith.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1d8ae1d7066e1e4a413c791648e3287827f3db06 29-Aug-2012 Simon Atanasyan <satanasyan@mips.com> Use getTargetDefines() virtual function in MipsTargetInfoBase successors
to define all macros for MIPS targets. Remove redundant virtual function
getArchDefines(). Two virtual functions for this task are really too much.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d4935a0fbe0d210e33313e8b3dd6e363491612cd 29-Aug-2012 Simon Atanasyan <satanasyan@mips.com> Factor out MIPS macro definitions common for all MIPS targets.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
260e5067f3cca1630c6ed88757a15b23622b52d1 29-Aug-2012 Simon Atanasyan <satanasyan@mips.com> Define _MIPS_ARCH and _MIPS_ARCH_<cpu name> macros for MIPS targets.
The patch suggested by Logan Chien.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
80ea4bc944eb01c220eeaa004b21ad709ba928e1 24-Aug-2012 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge_2

Conflicts:
lib/Sema/SemaDeclAttr.cpp

Change-Id: If47d0d39459760017258502b4d9e859ac36a273b
8c019df55885e8dbe2819a6c719f5b58f83028f8 17-Aug-2012 Eric Christopher <echristo@apple.com> Remove FIXME, the constraints contain more options than the
current available documentation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a0dfca1f030b06c7f547238f63bfedc969994fcc 17-Aug-2012 Eric Christopher <echristo@apple.com> Add a missing 'break' to ensure that we reject inline assembly
constraints we don't recognize.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6bd3291605a3034b858c8aeecc6990fa4f979f6c 10-Aug-2012 Dylan Noblesmith <nobled@dreamwidth.org> Frontend: define _LP64 in a target-independent way

Instead of adding it to each individual subclass in
Targets.cpp, simply check the appropriate target
values.

Where before it was only on x86_64 and ppc64, it's now
also defined on mips64 and nvptx64.

Also add a bunch of negative tests to ensure it is *not*
defined on any other architectures while we're here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
42f74f21ece01dc8573d5377859d327fbb23b26c 09-Aug-2012 Eli Friedman <eli.friedman@gmail.com> clang support for Bitrig (an OpenBSD fork); patch by David Hill.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f0e956bb379be086b03580af4d341467c3546c04 08-Aug-2012 Hans Wennborg <hans@hanshq.net> Revert part of r161175 which was wrong for OpenBSD's PowerPC target.

Contributed by Brad Smith <brad@comstyle.com>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161481 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
08fc8eb5a1cc9c01af67e016ab21c9b905711eb1 03-Aug-2012 Shih-wei Liao <sliao@google.com> Merge with Clang upstream r160673 (Jul 24th 2012)

Conflicts:
lib/Sema/SemaDeclAttr.cpp

Change-Id: I37f02f20642a037b9da8d35fefa01986cd250b14
5e601dcb398f8af5465d0d1a97a7fcf38d6932ec 02-Aug-2012 Hans Wennborg <hans@hanshq.net> Add OpenBSD arch targets for powerpc, arm, mips64, mips64el and sparc.

Contributed by Brad Smith <brad@comstyle.com>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e48667f2ca71842fa000e9fddd241309a611578b 01-Aug-2012 Hans Wennborg <hans@hanshq.net> TLS is not supported on OpenBSD

This fixes PR13502 and adds a test to keep track of which
targets support TLS and which do not.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f9e9af7df0cea6e997ac04131c7af6ca4384b0cc 14-Jul-2012 Chad Rosier <mcrosier@apple.com> Add a per target max vector alignment field (e.g., 32-byte alignment for x86 due to
AVX). Currently, if no aligned attribute is specified the alignment of a vector is
inferred from its size. Thus, very large vectors will be over-aligned with no
benefit. Target owners should set this target max.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9903e94bee8fbbec6d44fe2de91ccee46f40187f 11-Jul-2012 Justin Holewinski <justin.holewinski@gmail.com> Fix handling of curly braces in NVPTX inline asm

Fixes bug 13322

Patch by Dmitry Mikushin

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
84f30809a2ce02183609a738aaa116d832e61da3 07-Jul-2012 Benjamin Kramer <benny.kra@googlemail.com> Wire up -mrdrnd for X86.

For some reason GCC decided to call the feature rdrnd instead of rdrand,
which requires translating it for LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1c9ae1ce8304a581d87d03bb84d89db477f61dba 06-Jul-2012 Benjamin Kramer <benny.kra@googlemail.com> Remove unreachable default case to pacify clang's -Wcovered-switch-default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a1b62273f8cb823e74e7b67685c0c681efb8ff9d 05-Jul-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Define __mips_dsp_rev / __mips_dspr2 / __mips_dsp macros
if -mdsp or -mdspr2 options are provided.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d797a85866fd5ce62850dd145396b451364032a3 05-Jul-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Add -mdsp/-mno-dsp and -mdspr2/-mno-dspr2 command line options support.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1176bcdb21945c7913d684973887e6f588a49236 05-Jul-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Define __mips16 macro if -mips16 option is provided.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bbd9916bd91eafb97cc73c2def158b6e5c124d1b 05-Jul-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Replace the pair of boolean flags by enumeration to hold selected float ABI.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0b273efa37a38deab77dadf72540c9c07c63f8cf 05-Jul-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Add -mips16 / -mno-mips16 command line support.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
39d5fa131ff0f2de0f04b16dca086c51102cb1bf 03-Jul-2012 Hal Finkel <hfinkel@anl.gov> Add additional architecture defines for PPC targets.

Patch by Andy Gibbs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fbf7005138d199bad238f0dd1ff509931a24ab10 28-Jun-2012 Simon Atanasyan <satanasyan@mips.com> Support MIPS DSP Rev1 intrinsics.
This patch was reviewed in the llvm-commits list by Jim Grosbach.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c5613b26a24a33d7450e3d0bf315c6ccc920ce7b 16-Jun-2012 Meador Inge <meadori@codesourcery.com> Explicitly build __builtin_va_list.

The target specific __builtin_va_list types are now explicitly built instead
of injecting strings into the preprocessor input.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
02a84277864e5476b12c0ec687ed09f0b2922471 12-Jun-2012 Hal Finkel <hfinkel@anl.gov> Add PPC support for translating gcc-style -mcpu options into LLVM -target-cpu options.

This functionality is based on what is done on ARM, and enables selecting PPC CPUs
in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86),
-mcpu=native support was added. This uses the host cpu detection from LLVM
(which will also soon be updated by refactoring code currently in backend).

In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM.
A few preprocessor defines for common CPU types have been added.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b6af69ec6c93f4eba67b638a3f0fece23ad6954b 10-Jun-2012 Craig Topper <craig.topper@gmail.com> Add XOP feature flag.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3dbcc889c1ce291b7aa227597d22c009d5c489e3 05-Jun-2012 Simon Atanasyan <satanasyan@mips.com> Mips: Define __mips_hard_float macro additional to __mips_single_float
when single float ABI is selected.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
31380fb01042b814c0fdac532a07531ee9c52946 04-Jun-2012 Craig Topper <craig.topper@gmail.com> Make disabling SSE levels also disable AVX and FMA.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a7463c34448cbbd6d5262532b4baec78e27931ea 03-Jun-2012 Craig Topper <craig.topper@gmail.com> Make AES and PCLMUL features imply SSE2 as that's needed to get the right types defined.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2ae950726990c09f790931edcf9e6763851ee077 03-Jun-2012 Craig Topper <craig.topper@gmail.com> Add fma feature flag for Intel FMA instructions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3c0bc15afbcbbf6942a64798ba8a23bb8d9a77d9 31-May-2012 Craig Topper <craig.topper@gmail.com> Add builtin for pclmulqdq instruction.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
90ea0363ef3701b8df8d1c437749297c7ef60e19 30-May-2012 Craig Topper <craig.topper@gmail.com> SSE4A should not imply LZCNT and POPCNT. FMA4 should imply SSE4A. Add missing break at the end of btver1 feature list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4dfa5ad7b1f70520f02c754750209138e94b6eb5 29-May-2012 Benjamin Kramer <benny.kra@googlemail.com> Define __SSE4A__ when targeting new AMD CPUs.

This doesn't really fit the existing SSELevel so it gets an extra flag.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157630 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2ae3a474447eede3a94a356b243a40c35c5582d2 29-May-2012 Roman Divacky <rdivacky@freebsd.org> Sparc is bigendian.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2c585b991596859f39860b6094247ba027a03530 24-May-2012 Justin Holewinski <jholewinski@nvidia.com> Replace PTX back-end with NVPTX back-end in all places where Clang cares

NV_CONTRIB

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
edb66f38dbdc501342aa1f17c8a15a34ed73584d 21-May-2012 Peter Collingbourne <peter@pcc.me.uk> Teach Clang about the NVPTX backend.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4dc34ebf2a0716bf77ba110dab6777a3fc4397dd 20-May-2012 Peter Collingbourne <peter@pcc.me.uk> CUDA: add CodeGen support for global variable address spaces.
Because in CUDA types do not have associated address spaces,
globals are declared in their "native" address space, and accessed
by bitcasting the pointer to address space 0. This relies on address
space 0 being a unified address space.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5f9688b7c7fdeafdf530056d49f82d2ec6ca457f 10-May-2012 Sirish Pande <spande@codeaurora.org> Hexagon V5 FP support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
70d9b16e951db66152a1d5ecd723edab01267514 01-May-2012 Craig Topper <craig.topper@gmail.com> Enable AVX on AMD Bulldozer processors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3206403316fa505fbacea92c99ae13c5b664bc3e 26-Apr-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Define __ANDROID__ macro on -androideabi targets.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fd93630cce9b9bce6b4d735e1277be2c7e3a7fbf 26-Apr-2012 Craig Topper <craig.topper@gmail.com> Enable AVX/AVX2 for Sandy Bridge, Ivy Bridge, and Haswell CPUs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4ddcf3b08da0e92bf73049912d40e79c23d17148 25-Apr-2012 Chris Lattner <sabre@nondot.org> OpenBSD: Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h.

Patch by Brad Smith!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155535 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fa784da5b9039ead42323bfe9ae6d33ab3c5c6b3 24-Apr-2012 Shih-wei Liao <sliao@google.com> Merge with CLANG upstream r155088.

Conflicts:
lib/Basic/Targets.cpp

Change-Id: Id80f069ae25e623967b705e9fa11cfd94dd2461c
6603ff85d415c2aa72579f1a247012b75bfc2a19 23-Apr-2012 Chandler Carruth <chandlerc@gmail.com> Revert r155363, due to the underlying patches in LLVM causing regression
test suite failures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ac28eca18a9f0a343c78ba90b02dfe52302c1f19 23-Apr-2012 Sirish Pande <spande@codeaurora.org> Hexagon V5 (floating point) support in cfe.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
103f41d0e72a9e52a07e19cbde58c3afc8735098 18-Apr-2012 Chandler Carruth <chandlerc@gmail.com> Revert some Hexagon builtin commits to match reverts done to LLVM in
r155047. See the LLVM log for the primary motivation:
http://llvm.org/viewvc/llvm-project?rev=155047&view=rev

Primary commit r154828:
- Several issues were raised in review, and fixed in subsequent
commits.
- Follow-up commits also reverted, and which should be folded into the
original before reposting:
- r154837: Re-add the 'undef BUILTIN' thing to fix the build.
- r154928: Fix build warnings, re-add (and correct) header and
license
- r154937: Typo fix.

Please resubmit this patch with the relevant LLVM resubmission.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155048 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8b2a5d2ac07229ce64cc04204118ce0296ea0ea7 18-Apr-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Followup to r154606. Expand list of accepted MIPS target features in the MipsTargetInfoBase::setFeatureEnabled() routine.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7ac715fd3118362f14574c312b044d22e3afeee9 16-Apr-2012 Sirish Pande <spande@codeaurora.org> Hexagon V5(Floating Point) support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
10e1629dc339af33989e6fcabb3fd2214d6322bc 12-Apr-2012 Simon Atanasyan <satanasyan@mips.com> MIPS: Initialize MIPS CPU's name by default value.
Otherwise MipsTargetInfoBase::getDefaultFeatures() might return an invalid
features set with an empty feature name.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9091389771f46e531c9c42012f8e0ab5c072e336 05-Apr-2012 Simon Atanasyan <satanasyan@mips.com> Move some MIPS target macro definitions from class Mips32TargetInfoBase
to the base class MipsTargetInfoBase. These macros are applicable for both
32/64-bits targets.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7a938fa66be42710b034a79106de337a275fd265 04-Apr-2012 Chad Rosier <mcrosier@apple.com> [driver] Create a new -mfpmath= option, which is used to control whether clang
uses Neon instructions for single-precision FP.

-mfpmath=neon is analogous to passing llc -mattr=+neonfp.
-mfpmath=[vfp|vfp2|vfp3|vfp4] is analogous to passing llc -mattr=-neonfp.

rdar://11108618


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0ea6164a7ff685f64ddfe3ec983a2b052ea91afb 03-Apr-2012 Eric Christopher <echristo@apple.com> Add more constraint registers for mips.

Patch by Jack Carter. Testcase cleanup by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6903313102c4e1ca598305850cc209b62711b1b6 29-Mar-2012 Jim Grosbach <grosbach@apple.com> ARM backend knows about cortex-m4. The front end should too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dde3bdb62cd6b0a961ec51a03f494e3aedccb453 29-Mar-2012 Jan Wen Voung <jvoung@google.com> Define __LITTLE_ENDIAN__ for le32, since "le" stands for little endian.
Add a test for this too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fb02784df0a218532018d8c54e3ca7e78c2f5f0a 28-Mar-2012 David Chisnall <csdavec@swan.ac.uk> Fix the type of wchar_t on Solaris.

Patch by Dmitri Shubin!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d1f853d73d7374a410d9458b04add71eb98d22b9 27-Mar-2012 Eric Christopher <echristo@apple.com> Add better support for $fp and $sp for mips inline asm support.

Patch by Jack Carter.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d316862f4fb281ec08a2e45cd3e5580574adb889 24-Mar-2012 Shih-wei Liao <sliao@google.com> Merge branch 'upstream' into sliao_d
ad8d8a31b010ceac4cad2553f16fc1a77c4b2e5e 24-Mar-2012 Akira Hatanaka <ahatanaka@mips.com> Add support for MIPS' floating ABIs (hard, soft and single) to clang driver.

Patch by Simon Atanasyan.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c0765a06ddf3dc7e975c4010a9a3ed5859e1d5c8 14-Mar-2012 Aaron Ballman <aaron@aaronballman.com> No longer defining LP64 in 64-bit builds on platforms which are not LP64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
efe9c0dffc174d92c255e1ec77f791ef007102dc 13-Mar-2012 Roman Divacky <rdivacky@freebsd.org> Fix the long double to be of width/align 64. Rename va_list_test to
powerpc_types and add testing for the (long) double there.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e3d175da72f9c29ae18ff8aae53b992402895b63 13-Mar-2012 Roman Divacky <rdivacky@freebsd.org> Long double is just double on FreeBSD/{PPC,PPC64}.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e45b9b71b9ead9873c50ccd149a10f554f71bd9f 12-Mar-2012 James Molloy <james.molloy@arm.com> Use ZeroLengthBitfieldAlignment for AAPCS, as well as APCS-GNU.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
91932089c31e1233f0c478b03412e90a65e07ad2 05-Mar-2012 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge-20120305

Conflicts:
lib/Basic/Targets.cpp

Change-Id: Ib76c138030a701355ce39a6eda1a89a79f401667
713575afdac1f31de39b4a730143b8d96eeadb6d 05-Mar-2012 Benjamin Kramer <benny.kra@googlemail.com> TargetInfo: create less temporary strings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
178a9b8b22cb77b4291bf076c0cd8d6561c7e711 02-Mar-2012 Hal Finkel <hfinkel@anl.gov> Fix an ABI problem with ptrdiff_t and intptr_t on PPC32

ptrdiff_t on PPC32 on Linux, etc. should be int not long.
This does not matter for C, but it does matter for C++ because of
name mangling.

The preprocessor test has been changed accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151935 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b4f0bd6864f33bc2fd8246f1f841d87e60c4ffc8 02-Mar-2012 David Chisnall <csdavec@swan.ac.uk> Add the Solaris support directory to the header search when using libc++.

Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a
(hopefully temporary) work around for libc++ exposing C99-but-not-C++98
features in C++98 mode.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
165329c1d134d000904d6e08b1d166bf34e05517 28-Feb-2012 David Chisnall <csdavec@swan.ac.uk> Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
48fad493cb452b7c735f29639959ec42c1a9212c 17-Feb-2012 David Chisnall <csdavec@swan.ac.uk> On Solaris, define some standard macros that the Solaris headers require in
order to not be broken (by Solaris standards).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b089c4d91ac70f7ddfd3a36cd605d7982eefe41d 11-Feb-2012 Eli Friedman <eli.friedman@gmail.com> Set UserLabelPrefix and MCountName correctly for DragonFly BSD. Patch by Sascha Wildner.

Setting UserLabelPrefix correctly fixes PR11949.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6f42b62b6194f53bcbc349f5d17388e1936535d7 05-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> Basic: import OwningPtr<> into clang namespace

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
48b68a0dc345b3208cbd9dda719b9b3ec167c8c2 01-Feb-2012 Bob Wilson <bob.wilson@apple.com> Use the new Triple::getMacOSXVersion function in another place.

I removed support for "*-darwin*-iphoneos" triples, since we now have
iOS listed as a separate OS in the triples.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6e1d2eaa7d7f1008a5bac12f73fbf6167802a46d 31-Jan-2012 Nico Weber <nicolasweber@gmx.de> Fix "long double" and __SIZE_TYPE__ on powerpc, now with test fix.

Fixes PR11867. Patch from Jeremy Huddleston!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3128fa1a5db26b288521e2b8136c6f795d34bc4f 31-Jan-2012 Nico Weber <nicolasweber@gmx.de> Revert r149285, it breaks test/Preprocessor/init.c.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
acd8c513b9db3a166b5409cd8e75712a7157b7b6 30-Jan-2012 Nico Weber <nicolasweber@gmx.de> Fix "long double" and __SIZE_TYPE__ on powerpc.

Fixes PR11867. Patch from Jeremy Huddleston!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e727d21d3fd5f6f68d9e7a260bbf84dc2fc8ae3a 30-Jan-2012 Douglas Gregor <dgregor@apple.com> Introduce TargetInfo::hasFeature() to query various feature names in
each of the targets. Use this for module requirements, so that we can
pin the availability of certain modules to certain target features,
e.g., provide a module for xmmintrin.h only when SSE support is
available.

Use these feature names to provide a nearly-complete module map for
Clang's built-in headers. Only mm_alloc.h and unwind.h are missing,
and those two are fairly specialized at the moment. Finishes
<rdar://problem/10710060>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4188760f6bb20f91c6883dffd89204419f852dee 29-Jan-2012 John McCall <rjmccall@apple.com> Complain about attempts to use 'protected' visibility on targets
like Darwin that don't support it. We should also complain about
invalid -fvisibility=protected, but that information doesn't seem
to exist at the most appropriate time, so I've left a FIXME behind.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9f1c49c57d8a5215c3f662b0f00e830a0b06d6de 28-Jan-2012 Bob Wilson <bob.wilson@apple.com> Use defined-at-zero behavior for CLZ/CTZ builtins on PowerPC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8b30a9379f730875ba8fb2d0fe2d43611e0c20ff 26-Jan-2012 Bob Wilson <bob.wilson@apple.com> Make clz/ctz builtins defined for zero on ARM targets. rdar://10732455

ARM supports clz and ctz directly and both operations have well-defined
results for zero. There is no disadvantage in performance to using the
defined-at-zero versions of llvm.ctlz/cttz intrinsics. We're running into
ARM-specific code written with the assumption that __builtin_clz(0) == 32,
even though that value is technically undefined. The code is failing now
because of llvm optimizations that are taking advantage of the undef
behavior (specifically svn r147255). There's nothing wrong with that
optimization on x86 where any incorrect assumptions about __builtin_clz(0)
will quickly be exposed. For ARM, though, optimizations based on that undef
behavior are likely to cause subtle bugs. Other targets with defined-at-zero
clz/ctz support may want to override the default behavior as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9ec60dfe771ff28a84889dced6f8fd3748d3d55e 20-Jan-2012 Sebastian Pop <spop@codeaurora.org> rename -ccc-host-triple into -target

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9bc23ba9e4d06b6619ab6df2995bf7aac929a8fd 17-Jan-2012 Anton Yartsev <anton.yartsev@gmail.com> fix for PR11655
changes i64 alignment from 64 to 32 for powerpc-darwin

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7530c034c0c71a64c5a9173206d9742ae847af8b 17-Jan-2012 David Blaikie <dblaikie@gmail.com> Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
31cbe684302a5ccb001fa2131c0e4aeaa372f5c0 13-Jan-2012 Eli Friedman <eli.friedman@gmail.com> Revert r148138; it's causing test failures.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
43115d4904431917ef6852ee089a8520b9940ba5 13-Jan-2012 Sebastian Pop <spop@codeaurora.org> remove assertions in the Hexagon backend specific clang driver

Patch from Jyotsna Verma:

I have made the changes to remove assertions in the Hexagon backend
specific clang driver. Instead of asserting on invalid arch name, it has
been modified to use the default value.

I have changed the implementation of the CPU flag validation for the
Hexagon backend. Earlier, the clang driver performed the check and
asserted on invalid inputs. In the new implementation, the driver passes
the last CPU flag (or sets to "v4" if not specified) to the compiler (and
also to the assembler and linker which perform their own check) instead of
asserting on incorrect values. This patch changes the setCPU function for
the Hexagon backend in clang/lib/Basic/Targets.cpp which causes the
compiler to error out on incorrect CPU flag values.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
edd4f3c39101912605c2a1868dd2be71aa218798 13-Jan-2012 Sebastian Pop <spop@codeaurora.org> rename -ccc-host-triple into -target

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
35dd732fdff0e31ef0a24d76b7106597862adfcf 11-Jan-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Fix -mfpu parsing on ARM.

- Support gcc-compatible vfpv3 name in addition to vfp3.
- Support vfpv3-d16.
- Disable neon feature for -mfpu=vfp* (yes, we were emitting Neon instructions
for those!).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5660aa6c6828015086d50f7f3a4791574edbeaaf 10-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> Add definitions for AMD's bobcat (aka btver1)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5c65e4f8e02ff4196309b4c490f2ea2a56a0103b 10-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> Enable POPCNT and LZCNT with sse4a.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
448f68d7ef0aa1b8f3016af00ce4851c8526805f 10-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> Factor the repetitive cpu macro definition into a helper function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
05fe4b5ce5cc14b95b4da1bbeb4e4e90282ae1dc 09-Jan-2012 Craig Topper <craig.topper@gmail.com> Merge AVX/AVX2 into the SSE level.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
42378be9a055050c86e3e5cf9c456b40342de950 06-Jan-2012 Joerg Sonnenberger <joerg@bec.de> __FLT_EVAL_METHOD__ should be 1 on NetBSD/i386, since it defaults to
"double" rounding.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b3453a810407cd8d7f526c6faabe9a4c9f0a6f67 04-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> Penryn doesn't support sse4.2, don't enable it in the first place.

While the code took care of disabling the sse42 flag it didn't know
about popcnt. This broke -march=native on penryn.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147531 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6a511e14074e186328020fce78fe0c33deb64d1b 30-Dec-2011 Craig Topper <craig.topper@gmail.com> Add FMA4 feature flag. Intrinsics coming soon. Also make sse4a feature flag imply sse3. Matches gcc behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e14e08b2552b43d81a295401ddf9b8da2c499233 29-Dec-2011 Craig Topper <craig.topper@gmail.com> Add popcnt feature flag to match gcc. This flag is implied when sse42 is enabled, but can be disabled separately. Move popcnt intrinsics to popcntintrin.h to match gcc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147340 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b406669fea7c8db83a377f368f1689c848296974 28-Dec-2011 Benjamin Kramer <benny.kra@googlemail.com> Add a target hook for FLT_EVAL_METHOD and use it to set the value on x86 with sse disabled.

x87 math evaluates everything with 80 bits precision, so we have to set FLT_EVAL_METHOD
to "2".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
31ceea096563c42e083eded27f6fe19ed244c0a1 25-Dec-2011 Craig Topper <craig.topper@gmail.com> Add BMI, BMI2, and LZCNT feature flags to enable adding intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e6a24e83e71f361c7b7de82cf24ee6f5ddc7f1c2 22-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Add support for bitcasts to vector type in Evaluate.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9bddf4324a067b630c0f1147f283de0930092f5a 21-Dec-2011 Nick Lewycky <nicholas@mxc.ca> Bump suitable alignment on darwin ppc 32/64 and x86-32 to 16 bytes. I don't
actually know about the other OSes on X86-32 besides Linux...


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
00852e41261f9860233d3b407fce0506346cdacb 19-Dec-2011 Fariborz Jahanian <fjahanian@apple.com> objc-arc: bridge casts in non-objc-arc mode are ignord.
But, warn too. // rdar://10597832


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2b03bb0314cea77f0a8740609a9cccb2253ec1b1 17-Dec-2011 Craig Topper <craig.topper@gmail.com> Add -mavx2 and -mno-avx2 command line support. Also add core-avx2 processor type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7ec59c78f1e19157767648cbe3f0e3630ca1afe7 16-Dec-2011 Nick Lewycky <nicholas@mxc.ca> Add the value of "suitably aligned" from the C++11 standard to Basic/TargetInfo.
This is equal to alignof(std::max_align_t) on the platform and equal to the
alignment provided by malloc. (Platform owners please double-check your
platform's value.)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146762 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9952070fa22695845c45869a501bc8651ca36e78 16-Dec-2011 Nick Lewycky <nicholas@mxc.ca> Fix 80-column violation and whitespace. No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146761 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
298aaf2c97ab7c4d5bd3a8e8d8112e3bc77b29b6 16-Dec-2011 Logan Chien <loganchien@google.com> Merge with clang upstream r146715 (Dec 16th 2011)

Change-Id: I66024a7b6eb0ee37d7b3ff7ce41c0bfb4b514bee
62d829abaf61d70483a5a584059440a549a306bf 15-Dec-2011 Eli Friedman <eli.friedman@gmail.com> gcov-style profiling support for OpenBSD. Patch by Jonathan Gray.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9631939f82c0eaa6fb3936a0ce58a41adfbc9011 12-Dec-2011 Tony Linthicum <tlinth@codeaurora.org> Hexagon backend support

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6d402dc963aa32194f3604af4463b113858291ae 09-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Misc Minix-specific changes to clang:

. move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg)
. build all clang subdirs
. switches the Minix platform to ELF
. normalizes toolchain invocation

Patch by Ben Gras.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146206 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c5f9a011a5c13361a3a56ed7fa3507b4b585063e 02-Dec-2011 Eric Christopher <echristo@apple.com> Add support for AVX registers to clang inline asm. Add a small testcase
and update the Sema testcase with a register that we won't hit for a while
I hope.

Fixes rdar://10510405

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ee1ad99f1ced9ffee436466ef674d4541c37864e 02-Dec-2011 Eli Friedman <eli.friedman@gmail.com> When we're passing a vector with an illegal type through memory on x86-64, use byval so we're sure the backend does the right thing. Fixes va_arg with illegal vectors and an obscure ABI mismatch with __m64 vectors.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
61ea4fe2c230914061bfbf7f4b4530020e425250 01-Dec-2011 Benjamin Kramer <benny.kra@googlemail.com> Add support for AMD's bulldozer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
53ac3d88f9089affe6c5a93dc31d45a4a6f77447 27-Nov-2011 Rafael Espindola <rafael.espindola@gmail.com> Make our handling of MMX x SSE closer to what gcc does:

* Enabling sse enables mmx.
* Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already).
* The order in not important. -msse -mno-mmx is the same as -mno-mmx -msse.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145194 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2a710c84db1ebf0c16cba0ff121ca8e15f045a07 25-Nov-2011 Logan Chien <loganchien@google.com> Merge with clang upstream r145117 (Nov 25th 2011)

Change-Id: Id4fde985342e3c81f13887e8728bd94b82523642
a6d81f9a2d236ae21491455f649ea765123f6fc7 23-Nov-2011 James Molloy <james.molloy@arm.com> AAPCS compliance - 32-bit wchar_t should be unsigned for both aapcs and aapcs-linux.

Original behaviour of defining wchar_t as signed int has been kept for apcs-gnu as I don't have any spec for this to validate against.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b7bcfe877b55fa64b4d6175e9363b88e47dbb05b 09-Nov-2011 Douglas Gregor <dgregor@apple.com> Define some built-ins macros on mips32 platform, from Simon Atanasyan!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a044ad9d8c1bfdc99204af9eb85c96605f7c1c6e 05-Nov-2011 Akira Hatanaka <ahatanaka@mips.com> Move definitions of SizeType and PtrDiffType to Mips32TargetInfoBase.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a95cba91ab8df9ebc1507e649e808968a9a16821 02-Nov-2011 Douglas Gregor <dgregor@apple.com> Fix various minor issues find via unreachable code warnings, from
Ahmed Charles!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
321b7acdc381a46aa6f5992525a6b78f1963aeb2 31-Oct-2011 Anders Carlsson <andersca@mac.com> In x86_64, when calling an Objective-C method that returns a _Complex long double, make sure to use the objc_msgSend_fp2ret function which ensures that the return value will be {0, 0} if the receiver is nil.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143350 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9979cfeb168461b4b62c506934e91a885acfc490 30-Oct-2011 Roman Divacky <rdivacky@freebsd.org> Add support for sse4a and enable it for amdfam10 cpu.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f051cde860d96d5c8db18e3e6601956fca8dc42d 30-Oct-2011 Roman Divacky <rdivacky@freebsd.org> Add support for amdfam10 cpu.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8b82b6828987f2a01b3d702e0f31e85ec4812724 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the Blackfin backend.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4dc03961bcc6bf521cefbdacc934638ae88ebd37 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the SystemZ backend.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1250759737c993b21f4bde60d31e331dc81972a1 22-Oct-2011 Akira Hatanaka <ahatanaka@mips.com> Make changes necessary for N32/64 ABI conformance.

- Size of long double is 16 bytes for both N32 and N64.
- Size of pointers and long is 8 bytes for N64.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c9a237168cddc136ddba6e59b1bead5d5bf1ee95 09-Nov-2011 Douglas Gregor <dgregor@apple.com> Define some built-ins macros on mips32 platform, from Simon Atanasyan!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
148735ecc78fc58bea17d5cdd3225d484f350865 05-Nov-2011 Akira Hatanaka <ahatanaka@mips.com> Move definitions of SizeType and PtrDiffType to Mips32TargetInfoBase.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
21a25167b8279df3d8f889d041a4fd98733d3c27 02-Nov-2011 Douglas Gregor <dgregor@apple.com> Fix various minor issues find via unreachable code warnings, from
Ahmed Charles!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eea64802558cc398571938b1f28cda1d4fa79ec3 31-Oct-2011 Anders Carlsson <andersca@mac.com> In x86_64, when calling an Objective-C method that returns a _Complex long double, make sure to use the objc_msgSend_fp2ret function which ensures that the return value will be {0, 0} if the receiver is nil.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143350 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
80b32b8c6546a12cf0d4af9c2cd785ec1f123188 30-Oct-2011 Roman Divacky <rdivacky@freebsd.org> Add support for sse4a and enable it for amdfam10 cpu.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
01c770d6c91551ad4f03d9773e243231e52d8c49 30-Oct-2011 Roman Divacky <rdivacky@freebsd.org> Add support for amdfam10 cpu.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
78cf13db148c3a7f86a3f2148591a7a2c1b8e711 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the Blackfin backend.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0986eb5c59c43809df95bac10138edd44c1ebb69 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the SystemZ backend.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
00a92abaf907802bfa4d6f38bdd242c6bfc34c09 21-Oct-2011 Logan Chien <loganchien@google.com> Merge with clang upstream Oct 20th 2011 (r142531)

Change-Id: I42181113f38ce445f2a48694d6f654438562b71e
c7d0ab174c3f5150ba5667a96e621da9e057a3c3 22-Oct-2011 Akira Hatanaka <ahatanaka@mips.com> Make changes necessary for N32/64 ABI conformance.

- Size of long double is 16 bytes for both N32 and N64.
- Size of pointers and long is 8 bytes for N64.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
64f853101a23276621e160cc9b145f0bd699956d 21-Oct-2011 Stephen Hines <srhines@google.com> Properly abstract 64-bit longs for Renderscript.

Change-Id: I4d0c3084f6080f23daadc0534145ec12aaa1a918
/external/clang/lib/Basic/Targets.cpp
474202f657239f4169f8ff8db844e19558daa637 18-Oct-2011 Benjamin Kramer <benny.kra@googlemail.com> Use llvm::Triple's methods to parse FreeBSD version numbers.

Who could've thought that FreeBSD would ever reach version 10!
Patch from Dimitry Andric.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
86d18c56383404f2098c6dbc716852aad60ba060 15-Oct-2011 Benjamin Kramer <benny.kra@googlemail.com> Place static initializers on linux into the ".text.startup" section, so the linker can group them together for performance.

This only has an effect with fairly new binutils (2.21.51 or later). Other ELF targets probably want this as well, but on BSDs binutils is usually old so it doesn't matter.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142076 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2be460723940f8184ec36529b6f6ddf59c04e411 14-Oct-2011 Eli Friedman <eli.friedman@gmail.com> Misc fixes for atomics. Biggest fix is doing alignment correctly for _Atomic types.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142002 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7e1812fa60d1387a459992b2a46df1a6b91d993a 12-Oct-2011 Anton Korobeynikov <asl@math.spbu.ru> Add target info for Linux on PPC & Sparc.
Patch by Hal Finkel!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dd4a889f6a5b05f0061d63af8136ebd70d132c65 11-Oct-2011 David Meyer <pdox@google.com> Allow regparm attribute for PNaCl target

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
567c60024aa905d9039bbeb905b70172b1d12b40 11-Oct-2011 Lang Hames <lhames@gmail.com> Fixed natural stack alignment for Linux x86-32. Thanks Eli.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f4f5003041ca88e0efe81ef8b5d7f0c499da4bf8 11-Oct-2011 Lang Hames <lhames@gmail.com> Update target data strings for ARM and X86 to include the natural stack
alignment parameter "S<size>" that was introduced in r141599.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
209f5bb70b5719e06a64fa6fa1435e6e1f76502a 07-Oct-2011 Eli Friedman <eli.friedman@gmail.com> Add address spaces for TCE target. Patch by Pekka Jääskeläinen.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141390 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
25bedca83404020665b7246d537bda85492a2b3e 03-Oct-2011 Justin Holewinski <justin.holewinski@gmail.com> PTX: Add some basic support for OpenCL address spaces

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
83450aa7e778537a47eb678c8300f41b7f806219 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Fix a typo spotted by Jonathan Sauer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5b7803db01a5cf5fbbeef8dc5d07e8eff303f131 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Attempt to silence the GCC -Wreturn-type warning...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140693 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
49defe63013f6a97aed2f35e50c6b6c69bc0dcf8 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Generate tests for all of the x86 SIMD instruction feature set
predefines based on the output of GCC as well as the CPU predefines.

Invert tests for __AVX__, Clang's AVX feature is hard coded off still.

Switch Atom from 'SSE3' to 'SSSE3'. This matches GCC's behavior, Intel's
documentation, and ICC's documentation (such as I could dig up).

Switch Athlon and Geode to enable 3dnowa rather than just 3dnow and
nothing (resp.).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
53bf4f94185dbd1144724cdd5101d2163890b049 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Fix a think-o on my part that got enshrined in a FIXME by setting up the
__tune_...__ define as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
88c75b0af17d103a116239a04dea7f27081370ab 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Move some of the defines down to more natural locations, consolidating
the target identifying macros at the top, including subtarget macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
26a3914eeda65e0dd6b55899f6d76ef99fc021c6 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Teach Clang to reject 32-bit only CPUs when compiling in 64-bit mode.
Add 64-bit preprocessor macro tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140688 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f17ba331e844ad0b99a35b9e4947b42967e44238 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Simplify the control flow for predefined macro selection by using
fallthrough now that we're working with a switch. Also remove a dubious
"feature" regarding k6 processors and 3dnow and leave a fixme... Not
that anyone is likely to care about correct tuning for k6 processors
with and w/o 3dnow...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d9d3ddff44ca1502661f727dd91f64eb5823d647 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Switch the X86TargetInfo object from a string representation of the
selected CPU model to the enumeration. This parses the string
representation once using a StringSwitch on SetCPU. It returns an error
for strings which are not recognized (yay!). Finally it replaces
ridiculous if-chains with switches that cover all enumerators.

The last change required adding several missing entries to the features
function. These were obvious on inspection. Yay for a pattern that gives
warnings when we miss one.

No new test cases yet, as I want to get the 64-bit errors working first.
I'll then start fleshing out the testing more. Currently I'm primarily
testing on Linux, but I'm hoping check whether there are interesting
differences on darwin before long...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
499d972f08af0f1bffe30f253b24e66dfb0d4e02 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Introduce an enumeration for the x86 CPUs recognized by Clang. I've
tried to give these nice doxyments, but if I've gotten any of my history
wrong, please chime in.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c3a2e654f1e1c5cf956d0666d9c4c2f60a66f112 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Clean up a bit of the uses of CPU in the TargetInfo classes. This makes
it an error if a CPU is provided for a target that doesn't implement
logic handling CPU settings, to match the ABI settings. It also removes
the CPU parameter from the getDefaultFeatures method. This parameter was
always filled in with the same value as setCPU was called with, and at
this point every single target implementation that referenced the CPU
within this function has needed to store the CPU via setCPU anyways in
order to implement other interface points.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f6cf1c28fbdeafee3cee95423a6a76be7278867e 28-Sep-2011 Chandler Carruth <chandlerc@gmail.com> Begin fixing Clang's predefined macros for various architectures. This
is *very* much a WIP that I'll be refining over the next several
commits, but I need to get this checkpoint in place for sanity.

This also adds a much more comprehensive test for architecture macros,
which is roughly generated by inspecting the behavior of a trunk build
of GCC. It still requires some massaging, but eventually I'll even check
in the script that generates these so that others can use it to append
more tests for more architectures, etc.

Next up is a bunch of simplification of the Targets.cpp code, followed
by a lot more test cases once we can reject invalid architectures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d6471f7c1921c7802804ce3ff6fe9768310f72b9 26-Sep-2011 David Blaikie <dblaikie@gmail.com> Rename Diagnostic to DiagnosticsEngine as per issue 5397


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9fe8c74a93ac8e92512615c5f83e7a328b3b0544 23-Sep-2011 David Blaikie <dblaikie@gmail.com> Fix missing includes for llvm_unreachable


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b219cfc4d75f0a03630b7c4509ef791b7e97b2c8 23-Sep-2011 David Blaikie <dblaikie@gmail.com> Switch assert(0/false) llvm_unreachable.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d8e0fe617af3c9fb60a680ecb2ff765b71ef3c1d 22-Sep-2011 Justin Holewinski <justin.holewinski@gmail.com> PTX: Clean up target options code

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bf5851a9f2ba2323b96626bbd78de45c0db1da95 20-Sep-2011 Akira Hatanaka <ahatanak@gmail.com> Define Mips64 TargetInfo classes.





git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b6a37b38c976b05a67f9cacf6fe1d1aa26193e03 20-Sep-2011 Akira Hatanaka <ahatanak@gmail.com> Clean up TargetInfo class hierarchy. Define a base class from which TargetInfos
of Mips32 big and little endian derive.





git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
68018db76756c6959db15160055fd8da6bec5bec 20-Sep-2011 Ivan Krasin <krasin@chromium.org> Clarify PNaCl target characteristics: set LongDoubleWidth, PtrDiffType, IntPtrType,
change __builtin_va_list to from a structure to int[4] (same alignment
and size, but with a simpler representation). Patch by David Meyer!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
62ec1f2fd7368542bb926c04797fb07023547694 17-Sep-2011 Francois Pichet <pichet2000@gmail.com> Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear that this flag must be used only for Microsoft extensions and not emulation; to avoid confusion with the new LangOptions::MicrosoftMode flag.

Many of the code now under LangOptions::MicrosoftExt will eventually be moved under the LangOptions::MicrosoftMode flag.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139987 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
808ef66afbafb210baa19b567ac20f73142f5111 15-Sep-2011 Justin Holewinski <justin.holewinski@gmail.com> PTX: Define target options

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ab9b154c93475fa55e6115774f64661737d113f9 14-Sep-2011 Akira Hatanaka <ahatanak@gmail.com> Add comment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
36f37b6f578249c20d7a3b3aa77f0a00069ca9ac 14-Sep-2011 Akira Hatanaka <ahatanak@gmail.com> O64 will not be supported.




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1d19edc492e8801716a82c61570b6595da00c2c2 14-Sep-2011 Akira Hatanaka <ahatanak@gmail.com> mips*-*-psp is no longer supported as a target.




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139654 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e289d81369914678db386f6aa86faf8f178e245d 13-Sep-2011 Douglas Gregor <dgregor@apple.com> Switch LangOptions over to a .def file that describes header of the
language options. Use that .def file to declare the LangOptions class
and initialize all of its members, eliminating a source of annoying
initialization bugs.

AST serialization changes are next up.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f619cdc13267625a6c63aedc9ba4b52bdb40a3b9 30-Aug-2011 Ivan Krasin <krasin@chromium.org> Clang/PNaCl: Improve test coverage for PNaClTargetInfo (type aligns), fixes nits:
- wrong alignment for double (it was 4, but 8 is desired),
- added checks for _REENTRANT define,
- fixed the issue that defines were not tested (because the check for inside #ifdef).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
089ee11529c2f9318a52f026ecf3acae997c102e 26-Aug-2011 Ivan Krasin <krasin@chromium.org> PNaClTargetInfo: add __ELF__, _REENTRANT and _GNU_SOURCE defines and update the test



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138607 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bba43efdec3b2aa483b55d4287ba1c48c55935d4 24-Aug-2011 Ivan Krasin <krasin@chromium.org> Follow up to r138470 (Add PNaCl TargetInfo). I've occasionally submitted wrong patch.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ef05abda02375a6565edcc0bdf20bdd41c0a87b3 24-Aug-2011 Ivan Krasin <krasin@chromium.org> Add PNaCl TargetInfo.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138470 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
292772c16558cf52a8a01452e259b09d586804ec 18-Aug-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> "-mavx" should also enable all other SSE levels.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6e43f3f0e2fa7a4b50d2497de94a40437cd26003 04-Aug-2011 Chad Rosier <mcrosier@apple.com> Additional comments and whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
61a62216a0bb33fb668ab653d9f9a704e43d2fc6 04-Aug-2011 Chad Rosier <mcrosier@apple.com> Add partial support for using anonymous bitfields (e.g., int : 0) to enforce
alignment. This fixes cases where the anonymous bitfield is followed by a
non-bitfield member. E.g.,

struct t4
{
int foo : 1;
long : 0;
char bar;
};

Part of rdar://9859156

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b9a8adf57b30611951e72e140b61ecc7caee3564 31-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com> Remove dead code flagged by GCC's -Wunused-but-set-variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
895d4220e590a1aefd24954e3ccabe53b9676608 29-Jul-2011 Eric Christopher <echristo@apple.com> Add support for the 'Q' arm memory constraint.

Fixes rdar://9866494


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9f1210c3280104417a4ad30f0a00825ac8fa718a 26-Jul-2011 Chad Rosier <mcrosier@apple.com> After further discussion it has been determined that alignof should report
the preferred alignment. Thus, revert r135934, r135935, and r135940.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
822f54a7ba3eca643104623e8048be20a3391b19 25-Jul-2011 Chad Rosier <mcrosier@apple.com> Allow target to specify about using minimum alignment vs preferred. Takes care of
FIXME: Override "preferred align" for double and long long for ARM apcs-gnu ABI.
Also part of rdar://9802874

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5f9e272e632e951b1efe824cd16acb4d96077930 23-Jul-2011 Chris Lattner <sabre@nondot.org> remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
them into the clang namespace.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8c24d1a29442ff362292ea1690452652bb49d1c6 21-Jul-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Define the _MIPS_SIM builtin macro on MIPS platforms. Patch by Robert Millan!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9d102547dc44d064b40473a5a5166a8bb0dec99a 20-Jul-2011 Logan Chien <loganchien@google.com> Merge with clang upstream r135574 (Jul 20th 2011)

Change-Id: Ib6cc2ba08a63e4cf8febc05fb6e3f2ca58f1d71d
d9259f373f2f0460a1ab12792b282d19bebfc2e2 19-Jul-2011 Chad Rosier <mcrosier@apple.com> Refactor r135502 to avoid an empty if else condition, per Eric's suggestion (good call!).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b536a1565c9d72a8caacf75d97dffd19cb2777ad 19-Jul-2011 Chad Rosier <mcrosier@apple.com> Clang asserts "Invalid environment!" when using -ccc-host-triple
arch-pc-win32-macho (e.g., x86_64-pc-win32-macho), which appears to be a false
positive.
rdar://9786307

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135502 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
174cba922331b896949d02d8b1a05f1998ed98e1 16-Jul-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r135344 at Sat. 16th July 2011.
48b78bda3ede7c77273f9047b9ce2760fa057482 14-Jul-2011 Chris Lattner <sabre@nondot.org> simplify


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e5f83ba515157dc7f263dc91b1d51c7a5754c35 14-Jul-2011 Chris Lattner <sabre@nondot.org> StringMap::first() is about to start returning a StringRef, adapt.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e02d391ffef647ba0d48b85e211a94d9fb83393f 12-Jul-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Disable avx feature from corei7-avx, and use -mavx for now. Right now, if -mavx is
specified, 128 avx code is used and we're not sure yet if this the behavior
we want (and if it does, some improvements are needed before relying on it).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5af80aa8217ff39424e5e3625da5ca43f17f2dad 12-Jul-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Enable "avx" feature, so it can be seen by llvm

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134935 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c3e0fb406fb6fe83566dc6d8b05362e0a2c1e191 09-Jul-2011 Eli Friedman <eli.friedman@gmail.com> Change -mno-mmx to be more compatible with gcc. Specifically, -mno-mmx should not imply -mno-sse.

Note that because we don't usually touch the MMX registers anyway, all -mno-mmx needs to do is tweak the x86-32 calling convention a little for vectors that look like MMX vectors, and prevent the definition of __MMX__.

clang doesn't actually stop the user from using MMX inline asm operands or MMX builtins in -mno-mmx mode; as a QOI issue, it would be nice to diagnose, but I doubt it really matters much.

<rdar://problem/9694837>



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f972b26368570e5fbbb23e1302b28bbf81c15c69 08-Jul-2011 Evan Cheng <evan.cheng@apple.com> Fix a FIXME in clang ARM driver that was exposed as a bug with ARM backend
change.

Previously clang was passing the following feature strings to the ARM backend
when CPU is cortex-a8: +neon,-vfp2,-vfp3

This used to work because -vfp2,-vfp3 had no effect after +neon. Now that the
features are controlled by individual bits (with implied hierarchy), the net
effect is all three features will be turned off.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7c9adf9113b1d1dfeca1d265a7c3bedb3671cfab 08-Jul-2011 Eric Christopher <echristo@apple.com> Fix a typo in the fpsr register and add the fpcr register.

Fixes PR10299 and rdar://9740322

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134654 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8e627066a0765a7c8df69b3ac6e4f25d8a0ce9d8 07-Jul-2011 Joerg Sonnenberger <joerg@bec.de> FreeBSD gets FreeBSD target, just mipsel.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
caf01c5483d0c2f8542d1e18ca6213dc6d0e54bf 06-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Fix C&P error


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e7e66f72221d6233bdad3b87a717e7382acd477b 05-Jul-2011 Eli Friedman <eli.friedman@gmail.com> Remove unused member of Builtin::Info.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
94c9ce54bf69768166deb2a716863c64b12f77a6 05-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Hook up mipsel-netbsd and mipsel-freebsd for OS specific handling.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fa9772b102a2ca59feae2b4463fcd5b9638f8a8d 05-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Use OS-specific configuration for mips-netbsd and mips-freebsd.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7cd1de5cc0b28a7c6f09406e92f182f541572b43 05-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Don't define _BIG_ENDIAN for NetBSD/PowerPC.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
78542df70999c9c7edbf7f4bb0ade643ee79301c 05-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Fix indentation


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1a83b43d34cfc2eb2a1cc9bf9599cf67e265aeec 05-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Add explicit default case for -Wswitch-enum.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134399 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9a11b7410aa8e84af18f0c4076bfd030850bc8ba 04-Jul-2011 Joerg Sonnenberger <joerg@bec.de> Use switch(os) style consistently. Add a bunch of NetBSD branches.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6ac26fae1ad4a8f0c20dfc032f962a020a044100 04-Jul-2011 Joerg Sonnenberger <joerg@bec.de> On PowerPC, both FreeBSD and NetBSD use ints for (s)size_t


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3c54415a4e1db09b210a466469c72d2582ce1d83 02-Jul-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r134305 at Sat. 2nd July 2011.
aa7333c860ac651c75da495217e0d6a9c10c0bb0 02-Jul-2011 Eric Christopher <echristo@apple.com> Update for llvm commit r134291.

Fixes rdar://9714064


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dca5226598097add5d86d57b227aa31df27f0ba4 02-Jul-2011 Douglas Gregor <dgregor@apple.com> Add initial *-*-rtems* target, from Joel Sherrill

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
949fd1aa675099b4340f7943a92a3ef4074b0323 29-Jun-2011 Bob Wilson <bob.wilson@apple.com> Use preferred 64-bit alignment for i64 & f64 for Thumb targets. Radar 9695134.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7062281f240ef9c4fb343614fb2406532307c4a5 23-Jun-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r133678 at Thu. 23th Jun 2011.
cfd323d0d4476dd4ff64097c91b114067ecaa82b 21-Jun-2011 Eric Christopher <echristo@apple.com> Move additional register names to their own lookup, separate from
register aliases. Fixes unnecessary renames of clobbers.

Fixes part of rdar://9425559


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1816442fd19cb2f1c35a807391a6b7f280b35c58 17-Jun-2011 John McCall <rjmccall@apple.com> As a hopefully temporary workaround for a header mistake, treat
__bridge_retain as a synonym for __bridge_retained.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dda231a4a72f793476ce2fa5e9f420c5ba76d267 17-Jun-2011 Eric Christopher <echristo@apple.com> Add some more memory constraints for ARM.

Part of rdar://9197685


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133225 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
283f44752a66e6748de955cd82c37de5faf56f7b 17-Jun-2011 Eric Christopher <echristo@apple.com> On ARM make sure that we continue translating 'p' to 'r' for the
constraints.

rdar://9618597


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8bfa257f156205ca4b423d83417c39f1a7cdc65f 16-Jun-2011 Evan Cheng <evan.cheng@apple.com> Stylistic fix: move virtual keyword before return type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
16c8f9d68ae6d302083763d4733e728634717dec 16-Jun-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r133163 at Fri. 17th Jun 2011.
098df7f1de80527d7a70e410a5830c8b2d742310 16-Jun-2011 John McCall <rjmccall@apple.com> Unconditionally #define the ARC ownership qualifiers, instead of #defining
them only on Darwin tool chains.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f85e193739c953358c865005855253af4f68a497 16-Jun-2011 John McCall <rjmccall@apple.com> Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e5df885367b9e122ac11c89ddfbc62375695cdab 10-Jun-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r132843 at Fri. 10th Jun 2011.
6ce33d67e2ed4f8c9395a807bebd25be04580c0f 08-Jun-2011 Stuart Hastings <stuart@apple.com> Followup to 132737; make two-character string explicit, add some
comments. rdar://problem/9037836


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
002333f8b2cf1a8614e532f6ce366b21af85142c 08-Jun-2011 Stuart Hastings <stuart@apple.com> Clang support for ARM Uv/Uy/Uq inline-asm constraints.
rdar://problem/9037836


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c7f532f9b8e934a0a284d15a739333372e979f61 03-Jun-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r132540 at Fri. 3rd Jun 2011.
619e8875d29cc019c7360595f66b9f91b3439494 02-Jun-2011 Akira Hatanaka <ahatanak@gmail.com> Add stuff for o32 ABI conformance.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
848afb0c1ff4571ca7a21927ecc2699ea2e7429a 24-May-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r131958 at Tue. 24th May 2011.
b65b672c7bd13bc145a2dedc210f46b11858b514 20-May-2011 Benjamin Kramer <benny.kra@googlemail.com> sandybridge is now called corei7-avx

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131729 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d01d2b2de449d68e6c44d99a12c0c1fc53222113 14-May-2011 Nowar Gu <nowar100@gmail.com> Merge upstream to r131335 at Sat. 14th May 2011.
84f95cf115bc9031179e3b2c10a628dee3551142 13-May-2011 Bob Wilson <bob.wilson@apple.com> Define __ARM_NEON__ in both ARM and Thumb modes. Radar 9431992.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0e9972ccccf4e2baf1f65d4cf70f26897d285442 09-May-2011 John McCall <rjmccall@apple.com> __builtin_va_list is void* on ARM, not char*.
rdar://problem/9391966



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cb65de1b211aab46a0c6ddb3d323bdd21e8de378 03-May-2011 Daniel Dunbar <daniel@zuster.org> Revert r130750, "Make the mno flags match GCC. Patch by Alexander Best!", it breaks tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d8b9d687544d094f6e92e1faf877296d3ce8828e 03-May-2011 Michael J. Spencer <bigcheesegs@gmail.com> Make the mno flags match GCC. Patch by Alexander Best!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4d53be4a470fc546b4c1e7618a11cf8bc7c00675 27-Apr-2011 Eric Christopher <echristo@apple.com> Remove this assert, I don't think it's being helpful and people have
been running into it.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8a3a7f36aea62a91d12a4aafd16cc32081ad11cf 21-Apr-2011 Daniel Dunbar <daniel@zuster.org> Driver/Darwin: Allow OS X deployment targets like 10.4.11, even though they
can't be represented in the environment define.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
285dc6530b37d632cd858bac444d29044de4d283 20-Apr-2011 Justin Holewinski <justin.holewinski@gmail.com> PTX: Add PTX intrinsics as builtins and add ptx32 and ptx64 as valid architectures for triples, e.g. ptx32-unknown-unknown

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a4ff648d4a75c752cbdf884c81f4926670f8e6c7 20-Apr-2011 Daniel Dunbar <daniel@zuster.org> TWEAK

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
659d23a4e645c1d7a700da05a1b1aabf9fd4c6f3 20-Apr-2011 Daniel Dunbar <daniel@zuster.org> Driver/Darwin: Switch to using -macosx for OS name in triples.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
db57a4cdb0a6abf3239f3a794a900ce312c5887b 19-Apr-2011 Daniel Dunbar <daniel@zuster.org> ADT/Triple: Switch to using .isOSDarwin() predicate.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0d027ba3e5b0e59ecde05747330a871ba174a0da 19-Apr-2011 Daniel Dunbar <daniel@zuster.org> Basic/Darwin: Add support for new -osx and -ios style triples (not yet used).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b24bac98aa90f1076f348b05b18dc34d6d144521 17-Apr-2011 Michael J. Spencer <bigcheesegs@gmail.com> Make -mno-mmx imply -mno-3dnow. This is what gcc does, and it makes sense.
Also, fold the sse4 and sse4.1 cases together.

Patch by Alexander Best!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9a7319305fc25222b91d585dfa056c8cdbac8434 06-Apr-2011 Nowar Gu <nowar100@gmail.com> Merge upstream until 2011.04.05.
bcaa3b8f1ac945d64cbf6d4d659271b6ef70068b 05-Apr-2011 Roman Divacky <rdivacky@freebsd.org> Enable sse4 and aes for SandyBridge. Leave avx support commented out for now.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3a41d145e4e1e363637eba892c2be8582efe2178 05-Apr-2011 Sandeep Patel <deeppatel1987@gmail.com> Explain why layout prefers 32 for small types on Thumb.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cd5ce091a18bdc601758495b583d33f8667f4272 04-Apr-2011 Bob Wilson <bob.wilson@apple.com> Change ARM data layout strings to match llvm-gcc.
Sandeep Patel noticed that the alignment was wrong for Neon vector types,
and this change is partly derived from his patch. For the APCS ABI, however,
additional changes were required: the maximum ABI alignment is 32 bits and
the preferred alignment for i64 and f64 types should be 64 bits.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f445debe3a6825e6528655db0906ce4fa41240ea 01-Apr-2011 csmon <csmon@csmon-desktop.(none)> Merge branch 'upstream' into logan-fastforward-20110320
0a0d2b179085a52c10402feebeb6db8b4d96a140 23-Mar-2011 Douglas Gregor <dgregor@apple.com> Implement a new 'availability' attribute, that allows one to specify
which versions of an OS provide a certain facility. For example,

void foo()
__attribute__((availability(macosx,introduced=10.2,deprecated=10.4,obsoleted=10.6)));

says that the function "foo" was introduced in 10.2, deprecated in
10.4, and completely obsoleted in 10.6. This attribute ties in with
the deployment targets (e.g., -mmacosx-version-min=10.1 specifies that
we want to deploy back to Mac OS X 10.1). There are several concrete
behaviors that this attribute enables, as illustrated with the
function foo() above:

- If we choose a deployment target >= Mac OS X 10.4, uses of "foo"
will result in a deprecation warning, as if we had placed
attribute((deprecated)) on it (but with a better diagnostic)
- If we choose a deployment target >= Mac OS X 10.6, uses of "foo"
will result in an "unavailable" warning (in C)/error (in C++), as
if we had placed attribute((unavailable)) on it
- If we choose a deployment target prior to 10.2, foo() is
weak-imported (if it is a kind of entity that can be weak
imported), as if we had placed the weak_import attribute on it.

Naturally, there can be multiple availability attributes on a
declaration, for different platforms; only the current platform
matters when checking availability attributes.

The only platforms this attribute currently works for are "ios" and
"macosx", since we already have -mxxxx-version-min flags for them and we
have experience there with macro tricks translating down to the
deprecated/unavailable/weak_import attributes. The end goal is to open
this up to other platforms, and even extension to other "platforms"
that are really libraries (say, through a #pragma clang
define_system), but that hasn't yet been designed and we may want to
shake out more issues with this narrower problem first.

Addresses <rdar://problem/6690412>.

As a drive-by bug-fix, if an entity is both deprecated and
unavailable, we only emit the "unavailable" diagnostic.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d9c3fa30bc6914c12b025073d2779a3ddb8f4787 22-Mar-2011 Eli Friedman <eli.friedman@gmail.com> Make the definition of "long double" consistent for llvm::Triple::Win32 for
both 32-bit and 64-bit targets.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
97d2d2e368d3ead34d83c328383711c7dabab60a 22-Mar-2011 Logan Chien <tzuhsiang.chien@gmail.com> Merge with clang upstream r127980 (Mar 20th 2011)
a291d5fb78bd7b95d825cb3c6ddd5dff44f6f624 21-Mar-2011 Bob Wilson <bob.wilson@apple.com> Another cortex-m0 patch from James Orr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8e02635c9c276720a1e6f926b33303a53cebe9c7 18-Mar-2011 Logan Chien <tzuhsiang.chien@gmail.com> Merge with clang upstream r127869 (Mar 18th 2011)
9ae186f7cac22a1652bb19658393fda4ecf3a463 19-Mar-2011 Daniel Dunbar <daniel@zuster.org> Unbreak build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
853134a0ba349a78e92b8a4a935cb5860fcc3a04 15-Mar-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Basic/Targets.cpp: __declspec(attr) should be provided on mingw as macro, alias of __attribute__.

On mingw without -fms-extensions, we can provide "as-is" __declspec.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
27d70656d3ce7c9e030b6dea468cfc96687010d5 09-Mar-2011 Logan Chien <tzuhsiang.chien@gmail.com> Merge with clang upstream (Nov 6th 2011)
17c964ad98968ad7d88e60b4a60d463d3c5ffb4d 08-Mar-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Basic/Targets.cpp: mingw-w64 should define __MINGW32__, too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127238 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
053ec969e3023e4b4a666546476ff74e6bfdfd9a 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Merge with clang upstream Nov 10th 2010.
e177d3b7445ebe9358f0858a4a23453c4b750c0f 22-Feb-2011 Daniel Dunbar <daniel@zuster.org> Targets/Darwin: mcount name on Darwin needs to be unmangled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126152 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4b93d660c6326ec79b5e369317d1051cf826c2f3 20-Feb-2011 Peter Collingbourne <peter@pcc.me.uk> Re-instate r125819 and r125820 with no functionality change

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
96b1d4b4eb6b18dd6df7a2c0833332b45840580f 19-Feb-2011 Rafael Espindola <rafael.espindola@gmail.com> Revert 125820 and 125819 to fix PR9266.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c9109297856fd32f10c29127c3cdae6a38019a3e 18-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> [Heikki Kultala] This patch contains the ABI changes for the TCE target.

TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ef9a1d0e13662162aa8cdae8732c33b5d751d80c 18-Feb-2011 Peter Collingbourne <peter@pcc.me.uk> Move TargetInfo::adjustInlineAsmType to TargetCodeGenInfo

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125819 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0aa205765aec0aa5eed672f8e3cade543372edcd 17-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead.

No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
be4c8705e499b55548467eb7adaa23cbc6edfef9 10-Feb-2011 Roman Divacky <rdivacky@freebsd.org> Implement mcount profiling, enabled via -pg.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fb7049a21969d856292c278950c0a5c70986d412 01-Feb-2011 Douglas Gregor <dgregor@apple.com> Support EFI target triple, from Carl Norum!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
79521990f774dfd1b8bcfd62179234a223c34d84 17-Jan-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Basic/Targets.cpp: __builtin_va_list is as same on win64 mingw64!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1b24cd3475838aade59d8ca06dc8cabd42aa4fe0 17-Jan-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Basic/Targets.cpp: Fix __declspec() on Mingw-w64.

It should be defined as-is. Some headers would detect existence of __declspec and use one.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8c959d92de08f5dd6e68d2d01f87338ae861fdac 17-Jan-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Basic/Targets.cpp: Set user_label_prefix on Win64 both mingw and msvc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
12e8464da2769bbc1205194714d84c905a571081 12-Jan-2011 Douglas Gregor <dgregor@apple.com> wint_t is defined as 'unsigned int' on Linux. Fixes PR8938.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
06f45635dd2502fbbd1acb59517130ff56869d91 06-Jan-2011 Bob Wilson <bob.wilson@apple.com> Add cortex-m3 CPU to getCPUDefineSuffix mapping.
Patch by Sylvère Teissier.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c81f2a2c7f83e64b3ef2b77030536290d0e2b350 06-Jan-2011 Roman Divacky <rdivacky@freebsd.org> PowerPC fixes.

Fix the width and align of bool type on Darwin to be 32bits
while keeping it 8 everywhere else.

Change the definition of va_list to default to SV4 ABI one
and let darwin subtarget override this.

Both changes submitted by Nathan Whitehorn and reviewed
by Rafael Espindola.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c8b09a1fa2112964496f27094010bae45c97c42a 29-Dec-2010 Roman Divacky <rdivacky@freebsd.org> set features for k8-sse3



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a48fa4bdf716b77bcecade0743c7eb22e47aba01 12-Dec-2010 Wesley Peck <peckw@wesleypeck.com> Change MBlaze target to have the same description string as its LLVM equivalent.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
67aba816901503d9cf7ba699525fa62cc7f8e5e4 30-Nov-2010 Fariborz Jahanian <fjahanian@apple.com> Such function decls,as objc's objc_msgSend, builtins in
a specific language. We are adding such language info. by
extensing Builtins.def and via a language flag added
to LIBBUILTIN/BUILTIN and check for that when deciding
a name is builtin or not. Implements //rdar://8689273.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
584a4569f982e79db3f936429eda918be30a5675 09-Nov-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add support for soft/hard float options to the Sparc target



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9284d215022457ba867080a713f08f026d89ea17 09-Nov-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add support for soft/hard float options to the Sparc target



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a7bdfdd3b9d77383ec221dd48a169d088f88e81c 09-Nov-2010 Rafael Espindola <rafael.espindola@gmail.com> Include System/DataTypes.h in Diagnostic.h to get intptr_t.
Set Haiku's UserLabelPrefix to "".
Patch by Paul Davey.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
19ddda83f9c3a7f1029740047b06035bda5fbb81 09-Nov-2010 Rafael Espindola <rafael.espindola@gmail.com> Include System/DataTypes.h in Diagnostic.h to get intptr_t.
Set Haiku's UserLabelPrefix to "".
Patch by Paul Davey.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8fa024cad01e38f1b16477c838ad7400ea1b1756 30-Oct-2010 Dale Johannesen <dalej@apple.com> Handle Type.h a better way.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e592cba6bc1930e7a01dde8370e5345cef05723 30-Oct-2010 Dale Johannesen <dalej@apple.com> Handle Type.h a better way.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3a161e5ca07ca0c35ad2b0f73e21ed3b1ea43171 30-Oct-2010 Dale Johannesen <dalej@apple.com> Generate bitcasts going in and out of MMX parameters
in asm's. PR 8501, 8602988.
I don't like including Type.h where it is; the idea was
to get references to X86_MMXTy out of the common code.
Maybe there's a better way?



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f6e2c2039f76fa58799f6d155892d54fc95755e1 30-Oct-2010 Dale Johannesen <dalej@apple.com> Generate bitcasts going in and out of MMX parameters
in asm's. PR 8501, 8602988.
I don't like including Type.h where it is; the idea was
to get references to X86_MMXTy out of the common code.
Maybe there's a better way?



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0d79b04d53ce38692d8f12a2eb693edcb7593014 28-Oct-2010 Dale Johannesen <dalej@apple.com> Ahem. Add rest of D and Q registers to ARM inline asm handling.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d14553554654a5dd8839159c42b94938c1122b00 28-Oct-2010 Dale Johannesen <dalej@apple.com> Ahem. Add rest of D and Q registers to ARM inline asm handling.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0bbb50d9e5f3a711d1fd0f189971770615dc13d7 28-Oct-2010 Dale Johannesen <dalej@apple.com> Add D and Q register names to ARM inline asm handling.
No aliasing is needed, these work as given in the BE.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
20eb49b50395fdf54022517abb3fbb31fffe54e7 28-Oct-2010 Dale Johannesen <dalej@apple.com> Add D and Q register names to ARM inline asm handling.
No aliasing is needed, these work as given in the BE.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a49254ea13f795120b78c810f98e5977bdafc9b0 22-Oct-2010 Dale Johannesen <dalej@apple.com> Change handling of inline asm 'p' constraint to match llvm-gcc.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cee55018570c0c46262c6e4ef7beaa707c93fc86 22-Oct-2010 Dale Johannesen <dalej@apple.com> Change handling of inline asm 'p' constraint to match llvm-gcc.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
04a9a351ba44b12c715291e1d617268bc0e3415b 21-Oct-2010 Francois Pichet <pichet2000@gmail.com> Revert r117005, WIN32 is not predefined after all.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4f74d021d044fb9a3ef8cfd047c108ba7887abfe 21-Oct-2010 Francois Pichet <pichet2000@gmail.com> Revert r117005, WIN32 is not predefined after all.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a07c7da88592f070d25104fe8f7ea992b91c704f 21-Oct-2010 Francois Pichet <pichet2000@gmail.com> MSVC defines WIN32 as a predefined macro.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1a6f72df4b29544b10b3068504301e01d41d52da 21-Oct-2010 Francois Pichet <pichet2000@gmail.com> MSVC defines WIN32 as a predefined macro.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4fb461c1067d96f27d6b2b163ec210e35c11dc41 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Targets: Fix MinGW and VisualStudio predefined macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a764e8395a8d99ff534bb74ee302a58fa7d93137 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Targets: Fix MinGW and VisualStudio predefined macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
01e70084f5d9ddfbb09dcecb498ddce71a5c70ae 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Reorganize predefined macros for all Windows targets.

This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.

-fmsc-version=<version> (defaults to VS2003 (1300))

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dae4ac4fe56ec60fc93b3e3c9f51e79e682084b9 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Reorganize predefined macros for all Windows targets.

This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.

-fmsc-version=<version> (defaults to VS2003 (1300))

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d5513a31553eeb274a7dd16500a01a440297e7a5 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
20249a1af2e462dcafdd6a350f1c7967b264ff25 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9b94a32029ae0d5c00a37e45f480b20a1794c0c7 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Revert "Cleanup and fix predefined macros for windows."

Didn't realize this was on my branch ;/.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
542ad38e2b5088c90786cb0d209a2f568aa64f3c 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Revert "Cleanup and fix predefined macros for windows."

Didn't realize this was on my branch ;/.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
636e26e0f3c6aa352104864d3cc245789957dca2 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Cleanup and fix predefined macros for windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
712392e4deb5b14e04047bdaab799b82c5bed37c 21-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Cleanup and fix predefined macros for windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
567af7d4376f75158061fec10a3cb8597ad0098a 18-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> CodeGen: Fix long double on Windows using MSVC runtime.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e2ef189b05bcd258a18bf4b87039694c1b93fd2c 18-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> CodeGen: Fix long double on Windows using MSVC runtime.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3d796930a1057d682dd5f9b719f9f1a42c0d1377 18-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
237cf582b89bbcc22640cea15426ddc7ada8412b 18-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2473b4b5e19eb58080b3986062ef941b97c33039 11-Oct-2010 Chris Lattner <sabre@nondot.org> Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
757e685512b8616c9de918b3d3fad8247562dce2 11-Oct-2010 Chris Lattner <sabre@nondot.org> Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f82728cb95cead54f1bf8c0ccf7d5ebe72c22848 07-Oct-2010 Stephen Hines <srhines@google.com> Use 64-bit "long" for RenderScript ARM targets.

Change-Id: I39b3a978740239f2331f20eb7a1ae152ff2ae163
/external/clang/lib/Basic/Targets.cpp
32083823fb50672a0df6b5e9a4dc728f4bc7e381 15-Sep-2010 Cameron Esfahani <dirty@apple.com> Fix Windows64 target info so pointer arithmetic is done correctly, and no sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1484e0da648e1aa3a68f7114bb771a6ca57f5316 15-Sep-2010 Cameron Esfahani <dirty@apple.com> Fix Windows64 target info so pointer arithmetic is done correctly, and no sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b979e7a58d8bf64a7353ae158a7a01bbdb25d6fc 31-Aug-2010 Chris Lattner <sabre@nondot.org> Add support for windows x86-64 varargs, patch by Cameron Esfahani!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f13721dd91dda7675e499331a2770308ad20ca61 31-Aug-2010 Chris Lattner <sabre@nondot.org> Add support for windows x86-64 varargs, patch by Cameron Esfahani!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eba819ac072cf928f45587520f4fc78769627b9c 25-Aug-2010 Dale Johannesen <dalej@apple.com> Add some missing X86-specific asm constraint letters, and fix
some bugs in setting allowsRegister on the ones there.
8348447.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
545be51fdfbd243b9ee98177a80397504327a687 25-Aug-2010 Dale Johannesen <dalej@apple.com> Add some missing X86-specific asm constraint letters, and fix
some bugs in setting allowsRegister on the ones there.
8348447.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
08f845b775c7be1a417b1b20b445d47b5c72a1bb 22-Aug-2010 Eli Friedman <eli.friedman@gmail.com> Detabify.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a7e6845660f91ec611427e1db842780e1ec12bdb 22-Aug-2010 Eli Friedman <eli.friedman@gmail.com> Detabify.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
68086b9ad26c471322449ea1c030c2ac8397fd07 22-Aug-2010 John McCall <rjmccall@apple.com> The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should
closely follow the Itanium ABI except in cases of divergence.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ee79a4c30e5d1c5285551c9a25b8ec6d45d46aa7 22-Aug-2010 John McCall <rjmccall@apple.com> The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should
closely follow the Itanium ABI except in cases of divergence.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
097ce228a9a66f48b7e27874e0dc0db13b1b7872 18-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at> Get rid of pretty non-ASCII quotes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5005a6cf2e78be57c053d011ce9f95b40c8a5f5b 18-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at> Get rid of pretty non-ASCII quotes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
42be80599fb039f3b7d383feff7a22e90ce1e33e 17-Aug-2010 Chris Lattner <sabre@nondot.org> apparently msvc defines _STDCALL_SUPPORTED, so we should
too. Patch by Per Linden!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111236 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
653f5812f754a1e91991f4901ec4e9145ae2be68 17-Aug-2010 Chris Lattner <sabre@nondot.org> apparently msvc defines _STDCALL_SUPPORTED, so we should
too. Patch by Per Linden!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111236 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
663e9f8d434923e97b5585eaeb140c37f841528b 11-Aug-2010 Daniel Dunbar <daniel@zuster.org> ARM: Recognize single precision float register names.
- We don't recognize double or NEON register names yet -- we don't have the
infrastructure to generate the right clobbers for them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bf3d55243a58bc8ffc80c1fc581275677e348760 11-Aug-2010 Daniel Dunbar <daniel@zuster.org> ARM: Recognize single precision float register names.
- We don't recognize double or NEON register names yet -- we don't have the
infrastructure to generate the right clobbers for them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
00ea8f0d9fef2943790f3a48b5579792ebee2ed3 11-Aug-2010 Daniel Dunbar <daniel@zuster.org> ARM: Swap which registers we consider real / aliases to match LLVM and llvm-gcc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1fd71718eee5f39f560f536f0ee9cf7c68876518 11-Aug-2010 Daniel Dunbar <daniel@zuster.org> ARM: Swap which registers we consider real / aliases to match LLVM and llvm-gcc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
05e6d2136a7c340ecf5d2120cbee8b2f231d7f7f 06-Aug-2010 Douglas Gregor <doug.gregor@gmail.com> Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
72283806e717442536eef55941fd573d4b552393 06-Aug-2010 Douglas Gregor <dgregor@apple.com> Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
866ff8ad29edb97cebce13dbb1b4acfb69b2830b 05-Aug-2010 Chris Lattner <sabre@nondot.org> fix the va_list definition for vc++64, patch by Cameron Esfahani!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
86e83730b5c1dd9d38b9c9317abbf691a617d63f 05-Aug-2010 Chris Lattner <sabre@nondot.org> fix the va_list definition for vc++64, patch by Cameron Esfahani!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8a93f510715475e7b4eb66023ab9597c4c367188 05-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add -mavx and -mno-avx command line support

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7377ed985bb2a529d1abb4ebea88586e5d195d1b 05-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add -mavx and -mno-avx command line support

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3736cc27255fddd14cf5bca6773181709aa163cc 21-Jul-2010 Nate Begeman <natebegeman@mac.com> Catch thinko that Daniel Dunbar found.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ad4f387b451372c3e9b533995aa216678b78c53d 21-Jul-2010 Nate Begeman <natebegeman@mac.com> Catch thinko that Daniel Dunbar found.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
472bd999efd65403e493169e48380f591ff262cc 21-Jul-2010 Nate Begeman <natebegeman@mac.com> Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULL

intmax_t is __int64 (long long to clang), per VS 2010 stdint.h



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dbf8ea413e7b4002d6f0f80415fe447652bc466d 21-Jul-2010 Nate Begeman <natebegeman@mac.com> Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULL

intmax_t is __int64 (long long to clang), per VS 2010 stdint.h



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6f94dbb24b4bda547bf7492cf707aeadef311ddf 15-Jul-2010 Daniel Dunbar <daniel@zuster.org> CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosing
whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI
dependent.
- <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dacf9dda17346c628fdd8c5df53c681738db0dc5 15-Jul-2010 Daniel Dunbar <daniel@zuster.org> CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosing
whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI
dependent.
- <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bb5d1ae16f0f346bfb0ce5177d392758b0476538 09-Jul-2010 John Thompson <john.thompson.jtsoftware@gmail.com> Revert 107953, remove comma ignoring from PPC constraints.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ab9e2f5aa498a5e0a67db4c823de3e995b86688e 09-Jul-2010 John Thompson <John.Thompson.JTSoftware@gmail.com> Revert 107953, remove comma ignoring from PPC constraints.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
da229d7532e27225fe015daaf1a86071c3f0bc3a 09-Jul-2010 John Thompson <john.thompson.jtsoftware@gmail.com> Updating PPC target to ignore commas in asm contrains, as apparently that is what gcc does.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ec3a5d8975ced34ab16fe2d39dc759dc03ea8750 09-Jul-2010 John Thompson <John.Thompson.JTSoftware@gmail.com> Updating PPC target to ignore commas in asm contrains, as apparently that is what gcc does.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6f4bed50c076d7c8dd115c4c8af150d44bb6b379 07-Jul-2010 Chris Lattner <sabre@nondot.org> add driver support for minix, patch by Kees van Reeuwijk
from PR7583


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
38e317d6dce161b249508686cc67eb7176958762 07-Jul-2010 Chris Lattner <sabre@nondot.org> add driver support for minix, patch by Kees van Reeuwijk
from PR7583


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d109c6262ddef0ad4d1c6fdac29f1c7428987505 25-Jun-2010 Eric Christopher <echristo@apple.com> Translate numbers properly.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dd53ec9524cff66dfd7d4ea45ed651bf682a3254 25-Jun-2010 Eric Christopher <echristo@apple.com> Translate numbers properly.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e0a3947f6d035da90ee7a4ebaf69f381c34185e4 25-Jun-2010 John Thompson <john.thompson.jtsoftware@gmail.com> Fixed another double-char in PPC-specific asm constraints.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
56b6ecad6c117a3f937cb22977c02ad9274cad33 25-Jun-2010 John Thompson <John.Thompson.JTSoftware@gmail.com> Fixed another double-char in PPC-specific asm constraints.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1deeb9f84c6e25bbe7b0a00eaa86a8f49d1b1e70 25-Jun-2010 John Thompson <john.thompson.jtsoftware@gmail.com> Added PPC-specific asm constraints, PS3 configuration changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8e6065af76763f47210dcef4fe81b0a0c1f0c999 25-Jun-2010 John Thompson <John.Thompson.JTSoftware@gmail.com> Added PPC-specific asm constraints, PS3 configuration changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
45ead230aed931bef48b9d4e6600941081df44ae 24-Jun-2010 Eric Christopher <echristo@apple.com> More clang support for darwin tls. Add a __has_feature macro and
target specific preprocessor define as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1f84f8d970a673e487b40d341cd3e8d52ca9cc22 24-Jun-2010 Eric Christopher <echristo@apple.com> More clang support for darwin tls. Add a __has_feature macro and
target specific preprocessor define as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fed3a2b1dfd4e96b8bf74851e80e2f162f81b4ec 11-Jun-2010 Charles Davis <cdavis@mines.edu> Add an option to specify the target C++ ABI to the frontend. Use it to
select either the default Itanium ABI or the new, experimental Microsoft ABI.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
98b7c5c496dfccb39287b8f7d8f1444594936d10 11-Jun-2010 Charles Davis <cdavis@mines.edu> Add an option to specify the target C++ ABI to the frontend. Use it to
select either the default Itanium ABI or the new, experimental Microsoft ABI.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d16a220f31e45964495aa6b7fe39b10eee3f5d6f 10-Jun-2010 Rafael Espindola <rafael.espindola@gmail.com> Create a LinuxTargetInfo on ARM. This make clang correctly expand
__USER_LABEL_PREFIX__.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
022a8a59f6eaacbfe3d934ce940e16099e44eebd 10-Jun-2010 Rafael Espindola <rafael.espindola@gmail.com> Create a LinuxTargetInfo on ARM. This make clang correctly expand
__USER_LABEL_PREFIX__.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
608b5793179e667766022a3710204a676f3e350f 09-Jun-2010 Anders Carlsson <andersca@mac.com> On Darwin, initialization and destruction functions should go into the __StaticInit section.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
18af368c080b9d60e34e670cd01f7d2d3ad2ba48 09-Jun-2010 Anders Carlsson <andersca@mac.com> On Darwin, initialization and destruction functions should go into the __StaticInit section.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bfa7c00b14aea814fdbfc693bba43cbd25878775 05-Jun-2010 Rafael Espindola <rafael.espindola@gmail.com> Correctly align large arrays in x86-64. This fixes PR5599.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6deecb0d46bcfd048e651d2db7c4fb0d6407da96 05-Jun-2010 Rafael Espindola <rafael.espindola@gmail.com> Correctly align large arrays in x86-64. This fixes PR5599.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6501cabe7d6b2e6efe746ec3ce23c951255701a0 30-May-2010 Daniel Dunbar <daniel@zuster.org> Accept '#pragma options align=mac68k' on Darwin/PPC and Darwin/PPC64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4c6a22610146e0046602060745a51548d565ab0e 30-May-2010 Daniel Dunbar <daniel@zuster.org> Accept '#pragma options align=mac68k' on Darwin/PPC and Darwin/PPC64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
33bf24b6c409519bd3bff02fca66988e073d85e4 28-May-2010 John McCall <rjmccall@apple.com> Roll back r104941.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2b7baf0816a40af3fde3a3e174192a549b785a50 28-May-2010 John McCall <rjmccall@apple.com> Roll back r104941.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
65c142e3f6681b65406f8c9f0ac7cf3de866e010 28-May-2010 John McCall <rjmccall@apple.com> Add a new attribute on records, __attribute__((adl_invisible)), and define
the x86-64 __va_list_tag with this attribute. The attribute causes the
affected type to behave like a fundamental type when considered by ADL.

(x86-64 is the only target we currently provide with a struct-based
__builtin_va_list)

Fixes PR6762.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1d0a5856d066f9030efbe3e0d9bbbb50ea597b99 28-May-2010 John McCall <rjmccall@apple.com> Add a new attribute on records, __attribute__((adl_invisible)), and define
the x86-64 __va_list_tag with this attribute. The attribute causes the
affected type to behave like a fundamental type when considered by ADL.

(x86-64 is the only target we currently provide with a struct-based
__builtin_va_list)

Fixes PR6762.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0104558d1389454db83e64d878b6f8ce7b766d2f 27-May-2010 Daniel Dunbar <daniel@zuster.org> Darwin/ARM seems to support mac68k align as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
350b9f3e8ff19bcb1f5130ad4fbc99dde4ec24c9 27-May-2010 Daniel Dunbar <daniel@zuster.org> Darwin/ARM seems to support mac68k align as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9451c5428d52c675c93eb968c2fc3e595f8d2f01 27-May-2010 Daniel Dunbar <daniel@zuster.org> Sema: Reject '#pragma options align=mac68k' everywhere except i386-apple-darwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
613fd67e575ff1c038535b18dafebca070f3ed91 27-May-2010 Daniel Dunbar <daniel@zuster.org> Sema: Reject '#pragma options align=mac68k' everywhere except i386-apple-darwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e20b812c499916b8b1c6fbd52823ca6b4c6413ec 23-Apr-2010 Chris Lattner <sabre@nondot.org> david conrad points out that {|} in inline assembly on arm are not asm
variants. This fixes neon inline asm which my patch for PR6780 broke.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9bffb0701d02a10e77e1ac0f196074eed6466ed0 23-Apr-2010 Chris Lattner <sabre@nondot.org> david conrad points out that {|} in inline assembly on arm are not asm
variants. This fixes neon inline asm which my patch for PR6780 broke.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5b8b18a138f0ae834f195e5e1be7fc84931bd4f9 22-Apr-2010 Chris Lattner <sabre@nondot.org> another tweak for haiku support, patch by Paul Davey!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fe1ea7b3e4552a612a1b0a11734598651e5ddfdf 22-Apr-2010 Chris Lattner <sabre@nondot.org> another tweak for haiku support, patch by Paul Davey!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9eb811b460351d6bc0144ab6c2b495f01035123b 22-Apr-2010 Daniel Dunbar <daniel@zuster.org> ARM/APCS: Don't respect bit-field types when laying out structures.
- 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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
684de63867fac4ffe2f4c97756a16bfcb2d8b54b 22-Apr-2010 Daniel Dunbar <daniel@zuster.org> ARM/APCS: Don't respect bit-field types when laying out structures.
- 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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9b22a175df4d06c7fb6b1597444442b241ba6255 21-Apr-2010 Douglas Gregor <doug.gregor@gmail.com> Sink the _GNU_SOURCE definition down into the target configuration,
and only define it where we know we need it---Linux and Cygwin. Thanks
to Chris for the prodding.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2b003fd2766914133fa7418e1b368ca171ac4205 21-Apr-2010 Douglas Gregor <dgregor@apple.com> Sink the _GNU_SOURCE definition down into the target configuration,
and only define it where we know we need it---Linux and Cygwin. Thanks
to Chris for the prodding.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f853e7319cfb327c5390166b53f7c5d812bdbf1e 11-Apr-2010 Chris Lattner <sabre@nondot.org> add haiku support, patch by Paul Davey!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
86ed3a326342fa2a8c9d9b5d1d7280c9bad2b007 11-Apr-2010 Chris Lattner <sabre@nondot.org> add haiku support, patch by Paul Davey!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6c4e7875b76f4ab0709d008ade4c883ee61c75be 03-Apr-2010 Eric Christopher <echristo@apple.com> Add option and macro definition for AES instructions. Now produces real
assembly for testcases.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100253 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eea12d17ec3527f4f9474571fd3011f3d825c45a 03-Apr-2010 Eric Christopher <echristo@apple.com> Add option and macro definition for AES instructions. Now produces real
assembly for testcases.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100253 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fdd2fc31be480a918db8088753b2514c842ac25f 25-Mar-2010 John Thompson <john.thompson.jtsoftware@gmail.com> PS3 needs __PPC__. Should this be in the PPC target?

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fb457977c8667ae0bae4e3cbfd14934ad21f011d 25-Mar-2010 John Thompson <John.Thompson.JTSoftware@gmail.com> PS3 needs __PPC__. Should this be in the PPC target?

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3a16d78a9bbed6e29c8f04d722b3c4a9588e7351 12-Mar-2010 Nuno Lopes <nunoplopes@sapo.pt> fix PR6584: __SSE3__ not defined with -mss3

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
33d3bcac0b53829dc9879d1d3ed95b3a1ef86687 12-Mar-2010 Nuno Lopes <nunoplopes@sapo.pt> fix PR6584: __SSE3__ not defined with -mss3

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2c02647980f16172a25117f6aafeacbf8fb320d7 06-Mar-2010 Chris Lattner <sabre@nondot.org> add mblaze target support, patch by Wesley Peck!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9cbeb63901dbf64acfc489d297b513bf9ff6fd86 06-Mar-2010 Chris Lattner <sabre@nondot.org> add mblaze target support, patch by Wesley Peck!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8a1db93ddce4c6d7c81ce433b512806f3ed4f5b1 04-Mar-2010 Chris Lattner <sabre@nondot.org> add TCE target support, patch by Pekka J!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3a47c4e0a3e8d13ee4fb06cc3a98f9cfa9982400 04-Mar-2010 Chris Lattner <sabre@nondot.org> add TCE target support, patch by Pekka J!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d794f78d414f654885a02d6672ba59b6ed0484ba 04-Mar-2010 Eric Christopher <echristo@apple.com> Add in disabled case as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d41b4ec5803110a164ad576f4d7a374ed41d786f 04-Mar-2010 Eric Christopher <echristo@apple.com> Add in disabled case as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
850e20192ea602882f196f53457f9073a0bba1f4 04-Mar-2010 Eric Christopher <echristo@apple.com> Add in -msse4.1 and -msse4.2 options and continuing a rather
hacky solution for translating. Expanded on comment explaining
the hack a bit.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d39ebe2d2a24a331b89465191dce061fd9c6b5e4 04-Mar-2010 Eric Christopher <echristo@apple.com> Add in -msse4.1 and -msse4.2 options and continuing a rather
hacky solution for translating. Expanded on comment explaining
the hack a bit.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b45275280c16fb078d3eb2826a829a75eeb1fc89 03-Mar-2010 Chris Lattner <sabre@nondot.org> add framework for ARM builtins, Patch by Edmund Grimley Evans!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2752c0137d95aa2f4ee1cdff4b564bac842e041b 03-Mar-2010 Chris Lattner <sabre@nondot.org> add framework for ARM builtins, Patch by Edmund Grimley Evans!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
03cc0effa96475ca77bfb6d97dfa539cd45d36da 02-Mar-2010 Eric Christopher <echristo@apple.com> Add in some more MIPS command line options.

Patch by Oleksandr Tymoshenko!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ed734737d5af31906e30e537d4a41c760ddcfc59 02-Mar-2010 Eric Christopher <echristo@apple.com> Add in some more MIPS command line options.

Patch by Oleksandr Tymoshenko!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f803041305058ac5b65674e81c3ae490df472c09 16-Feb-2010 Chris Lattner <sabre@nondot.org> add freebsd/ppc[64] support, patch by Nathan Whitehorn, PR6318


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e03ae30bc26bbcb0cddc688e3f35a97558118a5f 16-Feb-2010 Chris Lattner <sabre@nondot.org> add freebsd/ppc[64] support, patch by Nathan Whitehorn, PR6318


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2362b4caf5c0fff3968ba4f8190ebaad022e172e 16-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> Re-applying 96173. Looks like finally I got the test case right.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fcd302b5e44e21fce82b5d78133c5c8ba6ed0727 16-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> Re-applying 96173. Looks like finally I got the test case right.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ac2946d5627eb3b7064ff966a072a4ca00ca8458 15-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> reverting back 96242 as it still causes a test failure.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5591a6b5a8dc1498cf997a4f748a5fb035107be4 15-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> reverting back 96242 as it still causes a test failure.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
522751c881f976615c73169d52c70c5819f41820 15-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> Re-applying 96173 with corresponding changes in test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
aed63cbe10bbef09e2bb75592760b7dc8007bbfe 15-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> Re-applying 96173 with corresponding changes in test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9672e6cd0a4910529ba25ce3355f9e60222fa8a4 14-Feb-2010 Chris Lattner <sabre@nondot.org> temporarily revert 96173, it is causing test failures.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96176 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
94baf7fc056f271d1be27c31265431d2e3e5b6c3 14-Feb-2010 Chris Lattner <sabre@nondot.org> temporarily revert 96173, it is causing test failures.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96176 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f06ac4969f809c6fecb81718dae764f61fe87f7b 14-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> renamed pic16 specifiic macros.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a5999e2a51b17b3ec53771d4e9b4a2eb505d6551 14-Feb-2010 Sanjiv Gupta <sanjiv.gupta@microchip.com> renamed pic16 specifiic macros.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
21f7bcaa607ffc73866f7b0c2141f449c2943bbf 10-Feb-2010 Daniel Dunbar <daniel@zuster.org> Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixes
calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling,
for Darwin ARM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b2987d159a88ab0ee2e40c884eb4d77b42ab89b6 10-Feb-2010 Daniel Dunbar <daniel@zuster.org> Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixes
calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling,
for Darwin ARM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
50349fac9368c25c7ac0ecd28009cb11051129e2 01-Feb-2010 Chris Lattner <sabre@nondot.org> Don't explicitly force utf strings into the __TEXT,__ustring
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



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b9f709665a6fe9da5c67d0431de2e63c55dd5322 01-Feb-2010 Chris Lattner <sabre@nondot.org> Don't explicitly force utf strings into the __TEXT,__ustring
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



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eaa3c705462edb79fdaa407ed407abe8b13f51e9 30-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Simplify FreeBSD version parsing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3bb6530019990dba3e0269a204a5511947db01b3 30-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Simplify FreeBSD version parsing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
41f80b5a55bdd4d008bd293b77efc8224182ed35 30-Jan-2010 Anders Carlsson <andersca@mac.com> StringRef-ize the TargetInfo::ConstraintInfo constructor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f959fb5fb82ae2cbdf8635d734613a01818fb7bf 30-Jan-2010 Anders Carlsson <andersca@mac.com> StringRef-ize the TargetInfo::ConstraintInfo constructor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2a6630a33afb93960d28e6e9672f16c40278d39c 30-Jan-2010 Anton Korobeynikov <asl@math.spbu.ru> Fix alignment for msp430 integer types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
09f52a696e97d5efc933ed413ddb01d8c537417c 30-Jan-2010 Anton Korobeynikov <asl@math.spbu.ru> Fix alignment for msp430 integer types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
da94a7787ee1953267e152a44a320c773b9df9a6 27-Jan-2010 Daniel Dunbar <daniel@zuster.org> ARM/APCS: Fix alignment of long double.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d410fa259e485b751258e07e750cf45cad01e7ea 27-Jan-2010 Daniel Dunbar <daniel@zuster.org> ARM/APCS: Fix alignment of long double.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e5e222fd8be7f3af7b18b0aeb8e76895b6d01c24 27-Jan-2010 Anders Carlsson <andersca@mac.com> Add support for 3dnow and 3dnowa, and define the target macros accordingly. (This is needed in order to build Qt).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9b0fb629fd12bc772a32fa2cb693b06fe5863316 27-Jan-2010 Anders Carlsson <andersca@mac.com> Add support for 3dnow and 3dnowa, and define the target macros accordingly. (This is needed in order to build Qt).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eab96a269b9c8192426790b9fd0af0d03ea2b6b4 26-Jan-2010 Daniel Dunbar <daniel@zuster.org> Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
21ae3196c9677a79523d294f9a62a4788ba40694 26-Jan-2010 Daniel Dunbar <daniel@zuster.org> Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a088d5bd3141d05e8a9c4517c0d6f0cc1a0a3692 20-Jan-2010 Chandler Carruth <chandlerc@gmail.com> Move the MacroBuilder utilitiy to its own header. Update references.

Comments and/or improvements to the documentation are welcome.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
103b71c37a3c3a3da7128c1d0232a89b1e8d0d90 20-Jan-2010 Chandler Carruth <chandlerc@gmail.com> Move the MacroBuilder utilitiy to its own header. Update references.

Comments and/or improvements to the documentation are welcome.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9f20f15a1a2717bfae6b65ed16aff8015bce1941 20-Jan-2010 Chandler Carruth <chandlerc@gmail.com> Actually remove the include that r93974 made unnecessary.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b3ee1df5a4d0db50f862a123bc7b404db2c22ab8 20-Jan-2010 Chandler Carruth <chandlerc@gmail.com> Actually remove the include that r93974 made unnecessary.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4a2249c4cdb53843cc7879a477a17f1c55d26970 14-Jan-2010 Anton Korobeynikov <asl@math.spbu.ru> long long is 64 bits on msp430

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
26d18c1e1888e1b612addae6524c7a476a394a2a 14-Jan-2010 Anton Korobeynikov <asl@math.spbu.ru> long long is 64 bits on msp430

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bd51dca82ccb6b91a6e3bdf691a46e641d6a5e85 13-Jan-2010 Fariborz Jahanian <fjahanian@apple.com> Predefine __weak attribute when doing objective-c
rewriting for any target. (refixes radar 7530235).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7d957472ef9a09048c03d8a11028536f908c18b9 13-Jan-2010 Fariborz Jahanian <fjahanian@apple.com> Predefine __weak attribute when doing objective-c
rewriting for any target. (refixes radar 7530235).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
83d4a601f0df94d704277b38d4ec120a4dd120c7 12-Jan-2010 Fariborz Jahanian <fjahanian@apple.com> Define __weak attribute for objective-c pointers in
win32 targets. Fixes radar 7530235. Daniel please review.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93246 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
453c1349a5dfb581d960df3e1bcd266d6ba68277 12-Jan-2010 Fariborz Jahanian <fjahanian@apple.com> Define __weak attribute for objective-c pointers in
win32 targets. Fixes radar 7530235. Daniel please review.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93246 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f8a85780f66daface2ab31f356ccc565df4d964c 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Hopefully unbreak build with g++ >= 4.3.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4872508294f41a4cb7150ffa9b20863bb00eef59 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Hopefully unbreak build with g++ >= 4.3.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9ffb1043390ed6ce9772df75ccf2362285d1672c 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Use MacroBuilder for TargetDefines instead of std::vector.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a99927774d07af9c6f0e1945531eadc910592945 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Use MacroBuilder for TargetDefines instead of std::vector.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1eac081def1152b43873db3c3d6e5127787c5d14 09-Jan-2010 Chris Lattner <sabre@nondot.org> improve support for dragonfly, patch by Sascha Wildner!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7a7ca281bcf50b34de1ce067d3c55879b81722ae 09-Jan-2010 Chris Lattner <sabre@nondot.org> improve support for dragonfly, patch by Sascha Wildner!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ad1010d663754058b1fa43a0ebe47d27e195d661 23-Dec-2009 Nuno Lopes <nunoplopes@sapo.pt> move a few more symbols to .rodata/.data.rel.ro

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2550d70aabb5f603e8f74cc5fb6a69a7af5b51f3 23-Dec-2009 Nuno Lopes <nunoplopes@sapo.pt> move a few more symbols to .rodata/.data.rel.ro

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ef9576f201b745e9866c52f894e0ff78e2d65f55 22-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Remove a FIXME, it's not actually more complicated than that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5affb539acc91ecb47216ae817d17accbd80d6a2 22-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Remove a FIXME, it's not actually more complicated than that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
96be2a493357b8172c880889a22d28dfdd0d1c78 22-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Honor -mfpu= and set __VFP_FP__ and __ARM_NEON__ "correctly".
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a91320b8af7143f7af4c0665ffa62a3b244c0bd9 22-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Honor -mfpu= and set __VFP_FP__ and __ARM_NEON__ "correctly".
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
48075d80ceef950fedeb7c69bae4e358fad4c231 19-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Use front-end specific target features "soft-float" and "soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
97f52ac45369f6925b548404e61d511034c874ec 19-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Use front-end specific target features "soft-float" and "soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4f7cd963882f72fd85bf5add260fc6427792d647 19-Dec-2009 Daniel Dunbar <daniel@zuster.org> Targets: Allow CreateTargetInfo to mutate the target features.
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b93292ab7f2b3d43a9e0ad6421f572d1f5a323b4 19-Dec-2009 Daniel Dunbar <daniel@zuster.org> Targets: Allow CreateTargetInfo to mutate the target features.
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
186e7d34e95da4efc1152c3e22bb2ec515e0a2d1 19-Dec-2009 Anton Korobeynikov <asl@math.spbu.ru> Add f80 entry for windows targets

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b381441bfb88ddd4a439f8305faaf6941321e5a4 19-Dec-2009 Anton Korobeynikov <asl@math.spbu.ru> Add f80 entry for windows targets

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
314713fd1dab8622d2eabc8b4ab01cd7bcbcd44a 19-Dec-2009 Anton Korobeynikov <asl@math.spbu.ru> Use proper alignment for i16/i32 on msp430. This fixes PR5815.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5d7c2511a4d289bcbee6081a1804489234be0bfb 19-Dec-2009 Anton Korobeynikov <asl@math.spbu.ru> Use proper alignment for i16/i32 on msp430. This fixes PR5815.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0a542ca3e2f4a85363612761a7d4f5fc38d9a879 18-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Define __thumb2__ for V6T2 targets and only define
__USING_SJLJ_EXCEPTIONS__ on Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0791aa52b6af724f4844bec86312a4e61dd8379c 18-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Define __thumb2__ for V6T2 targets and only define
__USING_SJLJ_EXCEPTIONS__ on Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
33b4075302ac1cfe46a55330bf915a131346ccd8 18-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX).
- This should be done leveraging the backend, but I'm a little refactored
out. I'll fix it one day, I promise.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eac7c53f16bc12bcd9baac756b6f9bb77b74b0ad 18-Dec-2009 Daniel Dunbar <daniel@zuster.org> ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX).
- This should be done leveraging the backend, but I'm a little refactored
out. I'll fix it one day, I promise.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4c3bd3f9f8f1937c1faf2225d14a802f7ea017f0 18-Dec-2009 John Thompson <john.thompson.jtsoftware@gmail.com> Tweaks for PS3 target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ec387afb60cbc70f0cd00949fe55866729934fb7 18-Dec-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Tweaks for PS3 target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
14a70a3beef619fd82fc190754023656554f452b 21-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9cf910efc4fb7001a6d276ed2eabf01f0f0efaaa 21-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ed7bdbc4e365e9f280fddafc2a6a02c92c6eaae7 19-Nov-2009 John Thompson <john.thompson.jtsoftware@gmail.com> Added preliminary support step for PS3

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3f6918a8cc933de5f31139603af4c926e338ff6c 19-Nov-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Added preliminary support step for PS3

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c85b911b3e178a14c63e3d5e2ed7e2492f0a3132 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better done
in the driver.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2fc430d5483545b47a5a22f45338ff54f5362e34 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better done
in the driver.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e6c9f54d16b0af0c3962d456dbc37699d0ccde08 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move -fnext-runtime defaulting to driver (and change clang-cc default to
-fnext-runtime), instead of using getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c5a97ec19408c3dca4b6a6385f11d8c783b94d0b 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move -fnext-runtime defaulting to driver (and change clang-cc default to
-fnext-runtime), instead of using getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2614ec30662bebbb1b9b7a4fa4c82eb5f5fc34b0 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move -fms-extensions defaulting to driver, instead of using getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0be42c44f0199c5023b542d6a6d2e66eb594f27d 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move -fms-extensions defaulting to driver, instead of using getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8d1811b3c8c69167225f8a22614fdcde3a13d105 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move char-is-signed defaulting to driver, instead of using
getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1f95e6567faab67f4363d650f73121359c4bdbab 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Move char-is-signed defaulting to driver, instead of using
getDefaultLangOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
097309f513177f708ddf986ffc8afe1becbfe56f 15-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
84423a8c8450a1f3ce82730fb35d5ee4e7980701 15-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ca3e991c52d516df8069e9e64261cc5b821f3ecc 15-Nov-2009 Daniel Dunbar <daniel@zuster.org> Add TargetOptions and use it when constructing targets.
- This ended up being hard to factor, sorry for the large diff.

- Some post-commit cleanup to come.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d58c03f42ebb4e548c2b53fa25b1cfe02ebb9ac0 15-Nov-2009 Daniel Dunbar <daniel@zuster.org> Add TargetOptions and use it when constructing targets.
- This ended up being hard to factor, sorry for the large diff.

- Some post-commit cleanup to come.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d01de3a57d667e9a241d5117caecfd91252fcdcd 12-Nov-2009 Chris Lattner <sabre@nondot.org> do not store wchar/char16/char32/intmax width/alignment info
into TargetInfo, just derive this based on the underlying type.
This prevents them from getting out of synch, patch by Ken Dyck!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9184646509d015ea66e796113a8c68598681374b 12-Nov-2009 Chris Lattner <sabre@nondot.org> do not store wchar/char16/char32/intmax width/alignment info
into TargetInfo, just derive this based on the underlying type.
This prevents them from getting out of synch, patch by Ken Dyck!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8dd8f2672d6fc45c99318ab81b6dbcab38c18166 11-Nov-2009 Daniel Dunbar <daniel@zuster.org> Simplifiy target feature handling by coalescing all the logic into
InitializeCompileOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
29a790ba422cfeeea9546b6e76777d98fa73cd67 11-Nov-2009 Daniel Dunbar <daniel@zuster.org> Simplifiy target feature handling by coalescing all the logic into
InitializeCompileOptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2e17d91821b0454b4ad7146c729256a210951e7b 07-Nov-2009 Chris Lattner <sabre@nondot.org> teach the various targets what native integer types they have.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1932e12d8bf435b9d449906bea7edcf183aa5d19 07-Nov-2009 Chris Lattner <sabre@nondot.org> teach the various targets what native integer types they have.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
09e95f0f2829673cfb8a02d4533f004a5cb6d6c0 24-Oct-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Add a preprocessor define for adding a "near" section attribute for allowing
objects to be placed at shared memory.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7de7009a00ba502e49978fb9b8a7dcd5c2743151 24-Oct-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Add a preprocessor define for adding a "near" section attribute for allowing
objects to be placed at shared memory.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0a7ef9afd7cf9bda3f76cff3092d09d3474b9686 18-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> The AuroraUX toolchain has conflicting wchar_t between the system stdlib.h header and the clang stddef.h header where clang was defining as int where we use long.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
991f9a74e7f60bff080673dc9107e330e2167310 18-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> The AuroraUX toolchain has conflicting wchar_t between the system stdlib.h header and the clang stddef.h header where clang was defining as int where we use long.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
174219b75299de4f9529b12083ec17702020e99d 16-Oct-2009 Anton Korobeynikov <asl@math.spbu.ru> Disallow arbitrary custom inline asm constraints for msp430.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
03265b6046225e5d4e04071acb91294cfe215931 16-Oct-2009 Anton Korobeynikov <asl@math.spbu.ru> Disallow arbitrary custom inline asm constraints for msp430.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bba981c237207bf87b57575837748a53c64f10d9 14-Oct-2009 Chris Lattner <sabre@nondot.org> fix some cfstring related issues:
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



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
278b9f06933c385ffbccc15f8491787470cb4a1b 14-Oct-2009 Chris Lattner <sabre@nondot.org> fix some cfstring related issues:
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



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4da7a1673aac9afa26f409fd9834a229c9436afc 09-Oct-2009 Mike Stump <mrs@apple.com> "Someone pointed out that in my previous Targets.cpp patch I didn't
handle the long size difference for one of the Windows targets." Patch
by John Thompson.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a55cce8b3e579e62a503976235de5d35fcf6a893 09-Oct-2009 Mike Stump <mrs@apple.com> "Someone pointed out that in my previous Targets.cpp patch I didn't
handle the long size difference for one of the Windows targets." Patch
by John Thompson.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2c16e4ed32512b381e2afb3a9df95a208107374a 27-Sep-2009 Cédric Venet <cedric.venet@laposte.net> Handle Eli remark on mingw __declspec macro definition

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9a7b0855a6b3ecb5fdaa363722cba3e827752cb9 27-Sep-2009 Cedric Venet <cedric.venet@laposte.net> Handle Eli remark on mingw __declspec macro definition

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8d8e9d6bde271729b7df6f89bbc08742cd7cde2a 23-Sep-2009 Daniel Dunbar <daniel@zuster.org> Factor Windows target into VS, MinGW and Cygwin variants.
- Patch by John Thompson!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9fe4a5d8a60016952e61db03e358f69557ca923c 23-Sep-2009 Daniel Dunbar <daniel@zuster.org> Factor Windows target into VS, MinGW and Cygwin variants.
- Patch by John Thompson!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
aa339184940ceb3aa0cac0b5cb45262796aa3341 23-Sep-2009 Chris Lattner <sabre@nondot.org> implement support for __builtin_eh_return_data_regno on x86-32 and x86-64.
This implements PR5034 and rdar://6836445.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
21fb98ee003e992b0c4e204d98a19e0ef544cae3 23-Sep-2009 Chris Lattner <sabre@nondot.org> implement support for __builtin_eh_return_data_regno on x86-32 and x86-64.
This implements PR5034 and rdar://6836445.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
54f62dc6b91b7b0c7e98d34090e8464bc23c00d8 22-Sep-2009 Daniel Dunbar <daniel@zuster.org> Reconcile Clang/ARM target data string with llvm-gcc (module eabi weirdness).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dff10dcee09ed48a0d74676299726b3533ea9b41 22-Sep-2009 Daniel Dunbar <daniel@zuster.org> Reconcile Clang/ARM target data string with llvm-gcc (module eabi weirdness).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
369c21c03bfc33b75c55b964632bb08ee0eae74e 17-Sep-2009 Mike Stump <mrs@apple.com> Fix typo.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
10880397d205009e06e278b4c25d17f28ddf2d4e 17-Sep-2009 Mike Stump <mrs@apple.com> Fix typo.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f015656de550b6b935178f640486e9cccbf40aa9 17-Sep-2009 Daniel Dunbar <daniel@zuster.org> ARM: Incremental improvement to preprocessor defines.
- Based on patch by Shantonu.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e1f63b38a0a668a2756c77b92f440c03977d7ca1 17-Sep-2009 Daniel Dunbar <daniel@zuster.org> ARM: Incremental improvement to preprocessor defines.
- Based on patch by Shantonu.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
40b774e7149e39cbf2a1556a0a4e979fe1b7eb84 17-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add ARM register names and aliases.
- Patch by Shantonu Sen!

<rdar://problem/6922650> clang doesn't know about ARM registers for inline asm clobber lists

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c1f2cddb8cccbcc53ab4311672a53b18eb6dc55f 17-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add ARM register names and aliases.
- Patch by Shantonu Sen!

<rdar://problem/6922650> clang doesn't know about ARM registers for inline asm clobber lists

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
14d2bb718cfcb6dbb5a281957807fa7af7159b69 16-Sep-2009 Chris Lattner <sabre@nondot.org> fix some ppc register name issues, patch by Richard Pennington!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e94e0d413ff375d9b02a38124377cb333d5059a9 16-Sep-2009 Chris Lattner <sabre@nondot.org> fix some ppc register name issues, patch by Richard Pennington!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0d83d5116ec471aa80c4aaa4aab3e5d91b9265f2 14-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add TargetInfo::getABI(), and base ARM APCS vs AAPCS choice on that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
018ba5ab0671d9b6eefecaffc118c869bea151a1 14-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add TargetInfo::getABI(), and base ARM APCS vs AAPCS choice on that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b95316353240ddd7552b818f44ff320e4133f77d 14-Sep-2009 Daniel Dunbar <daniel@zuster.org> ARM target tweaks.
- Change TargetData string to match llvm-gcc.
- Some -target-abi support for 'apcs-gnu', most importantly the alignment of double and long long changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a2a416150455d049e8663227fbe7c30c2a948618 14-Sep-2009 Daniel Dunbar <daniel@zuster.org> ARM target tweaks.
- Change TargetData string to match llvm-gcc.
- Some -target-abi support for 'apcs-gnu', most importantly the alignment of double and long long changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3f361b5c731e14d7fa08efd76a93f2f912e66e73 11-Sep-2009 Daniel Dunbar <daniel@zuster.org> Swizzle the target triple based on -mthumb, and update clang-cc to recognize
thumb-foo-bar as an ARM target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f4aa4f61de7d364364dc94bbf83ff71448a11327 11-Sep-2009 Daniel Dunbar <daniel@zuster.org> Swizzle the target triple based on -mthumb, and update clang-cc to recognize
thumb-foo-bar as an ARM target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
25cf760b54d3b88633827501013bc51a29b28aba 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
62a7cbc34a427d95d86fb35c69ac073c252465a9 03-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add basic support for -pthread.
- Patch by David Chisnall, with PCH and Darwin support mixed in.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5345c391c65d1780a0d7b0102b7f735cc3f82732 03-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add basic support for -pthread.
- Patch by David Chisnall, with PCH and Darwin support mixed in.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2e967de5e6f7a9ab2e382bc3b3bed638d12bdd4b 24-Aug-2009 Daniel Dunbar <daniel@zuster.org> Remove TargetInfo::getTargetPrefix().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
55cc2ed722e041228670d26d548e5590e355aced 24-Aug-2009 Daniel Dunbar <daniel@zuster.org> Remove TargetInfo::getTargetPrefix().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
608b388b563b5ccf7eeac5da78b539ea8f7ae4cd 24-Aug-2009 Daniel Dunbar <daniel@zuster.org> Switch TargetInfo to store an llvm::Triple.
- Primarily to discourage clients form making decisions based on the string.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1752ee4849f4c37f5e03193e658be92650b0e65a 24-Aug-2009 Daniel Dunbar <daniel@zuster.org> Switch TargetInfo to store an llvm::Triple.
- Primarily to discourage clients form making decisions based on the string.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9e2b9e01aeaf38e474da3acce29f2f751b727ad7 20-Aug-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Issue an error if the user specifies parameters in a function marked as ISR.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
da3e03ec5d7161135bd90c0786421e8994bcc2f8 20-Aug-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Issue an error if the user specifies parameters in a function marked as ISR.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f0ff32f7c7e1523df96ab0c415e687ddf5e9b386 19-Aug-2009 Eli Friedman <eli.friedman@gmail.com> Add TCE target to clang; patch by Mikael Lepistö.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b63decfa6e1b165693f1fbfe52d5faec832968f7 19-Aug-2009 Eli Friedman <eli.friedman@gmail.com> Add TCE target to clang; patch by Mikael Lepistö.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0433a02f13f468188837dfe7e084acabb8c9d562 19-Aug-2009 Daniel Dunbar <daniel@zuster.org> Switch to SmallString::str from SmallString::c_str.
- Several FIXMEs due to non-Twinification of IRBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7765934ad7e157b5fcf925792a38e01b1edbcf8a 19-Aug-2009 Daniel Dunbar <daniel@zuster.org> Switch to SmallString::str from SmallString::c_str.
- Several FIXMEs due to non-Twinification of IRBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8ba3de0bc0f150def1c892855f3beb5671cf6908 18-Aug-2009 Daniel Dunbar <daniel@zuster.org> Convert CreateTargetInfo to use a Triple instead of manul string munging.
- Patch by Yonggang Luo (with some formatting tweaks by Eli and myself).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9d6fa61582b3a4c752ca745ae27b48afefce1ba3 18-Aug-2009 Daniel Dunbar <daniel@zuster.org> Convert CreateTargetInfo to use a Triple instead of manul string munging.
- Patch by Yonggang Luo (with some formatting tweaks by Eli and myself).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6177437d712b72b9924e9c2782575c6c907e2a7d 17-Aug-2009 Jakob Stoklund Olesen <stoklund@2pi.dk> Support compilation for the blackfin back-end

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1eb434346f2e0dbc10d8fa72a9d01e4b0c2d7761 17-Aug-2009 Jakob Stoklund Olesen <stoklund@2pi.dk> Support compilation for the blackfin back-end

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f54f221a727289dc60865f2d6243ea16a671482b 12-Aug-2009 Chris Lattner <sabre@nondot.org> use the new llvm::Triple parsing stuffola for handling darwin version #'s.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4c28b1cefe77dfd04ddf74599895b2f9796998c8 12-Aug-2009 Chris Lattner <sabre@nondot.org> use the new llvm::Triple parsing stuffola for handling darwin version #'s.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
43954311b4159a6f058ff19a5d66817afe0d025f 10-Aug-2009 Chris Lattner <sabre@nondot.org> fix a couple of problems with section attributes:

1. Passing something that isn't a string used to cause:
"argument to annotate attribute was not a string literal"
make it say "section attribute" instead.

2. Fix the location of the above message to point to the
bad argument instead of the section token.

3. Implement rdar://4341926, by diagnosing invalid section
specifiers in the frontend rather than letting them slip all
the way to the assembler (a QoI win).

An example of #3 is that we used to produce something like this:

/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.).

Daniel improved clang to use llvm_report_error, so now we got:

$ clang t.c -c
fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier
requires a segment and section separated by a comma.

with no loc info. Now we get:

$ clang t.c -fsyntax-only
t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment
and section separated by a comma
int x __attribute__((section("sadf")));
^

which is nice :)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
797c3c4f5dc4fda735e55c6b5d6270a54cf6d263 10-Aug-2009 Chris Lattner <sabre@nondot.org> fix a couple of problems with section attributes:

1. Passing something that isn't a string used to cause:
"argument to annotate attribute was not a string literal"
make it say "section attribute" instead.

2. Fix the location of the above message to point to the
bad argument instead of the section token.

3. Implement rdar://4341926, by diagnosing invalid section
specifiers in the frontend rather than letting them slip all
the way to the assembler (a QoI win).

An example of #3 is that we used to produce something like this:

/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.).

Daniel improved clang to use llvm_report_error, so now we got:

$ clang t.c -c
fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier
requires a segment and section separated by a comma.

with no loc info. Now we get:

$ clang t.c -fsyntax-only
t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment
and section separated by a comma
int x __attribute__((section("sadf")));
^

which is nice :)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4e21ba4855b2fd685ac9843574482d1d5f0458f7 04-Aug-2009 Mike Stump <mrs@apple.com> Add armv7 support.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
59e657236236351623ddea0b3c87b60d209d40ab 04-Aug-2009 Mike Stump <mrs@apple.com> Add armv7 support.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
57f236f1fb6b7f2c2330d6a39dcc98f57836f7c2 16-Jul-2009 Anton Korobeynikov <asl@math.spbu.ru> Hook in s390x stuff into clang

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
89e887fd73dd87c1118e13ebddf11aed9e25b763 16-Jul-2009 Anton Korobeynikov <asl@math.spbu.ru> Hook in s390x stuff into clang

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fa011bdce0fb4da854bbaee2e9038cad8470598b 16-Jul-2009 Chris Lattner <sabre@nondot.org> codegen string literals using private linkage now like llvm-gcc, eliminating
some target hooks.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
95b851e55c328af4b69da7bfc1124bf258c0ffe5 16-Jul-2009 Chris Lattner <sabre@nondot.org> codegen string literals using private linkage now like llvm-gcc, eliminating
some target hooks.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
25fff084d798d6c3996849bb0cfa371c0b6232af 13-Jul-2009 Chris Lattner <sabre@nondot.org> add netbsd support, patch by Krister Kalfridsson!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b62bb2842f239e047b9b94174201f3abcfbeebb1 13-Jul-2009 Chris Lattner <sabre@nondot.org> add netbsd support, patch by Krister Kalfridsson!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cd2cb6657db128eb17ea680d7c81ddef0a69742c 08-Jul-2009 Duncan Sands <baldrick@free.fr> Correct FreeBSD target info, fixing PR4514.
Patch by Roman Divacky.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e90faf4f218880999637db1a5cd670eb63e5abc 08-Jul-2009 Duncan Sands <baldrick@free.fr> Correct FreeBSD target info, fixing PR4514.
Patch by Roman Divacky.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d75fd0bbe45561335190b1b78b95663c9179fa42 07-Jul-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> pic16 preproc defs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7f579b19b6f219d6c96002ac81bc2e8bb65911d1 07-Jul-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> pic16 preproc defs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
96ada0288fcb79f90a854f6e6333164a04f75310 06-Jul-2009 Eli Friedman <eli.friedman@gmail.com> More tweaks to types for OpenBSD. Patch by Jonathan Gray.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6036ebe330ff97223d7d226de6eb3a74af5aeb32 06-Jul-2009 Eli Friedman <eli.friedman@gmail.com> More tweaks to types for OpenBSD. Patch by Jonathan Gray.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1c79f4b84a044d060345621559fda5c1f74007a6 05-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Per PR4506, fix the type of size_t on OpenBSD.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
624c1467809b409dcfa596b176ef45943442296b 05-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Per PR4506, fix the type of size_t on OpenBSD.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3c79eeefa6374946455ccdba3f46b94394ef0c9c 03-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Add an intermediate typedef for __builtin_va_tag to make it a bit easier
to deal with for AST pretty-printing/rewriting. Patch by Abramo
Bagnara.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dc043166e3a688b14367b71ba69f741e4a0216b2 03-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Add an intermediate typedef for __builtin_va_tag to make it a bit easier
to deal with for AST pretty-printing/rewriting. Patch by Abramo
Bagnara.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
937331fdd6b863ec5ed0725405fb5b1666d588a1 01-Jul-2009 Douglas Gregor <doug.gregor@gmail.com> Two fixes to make Clang build on Visual C++ (again), from Alisdair Meredith.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a3844922f685620002412df0a88d22393e5c1241 01-Jul-2009 Douglas Gregor <dgregor@apple.com> Two fixes to make Clang build on Visual C++ (again), from Alisdair Meredith.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
38e3180fb0d08290be62eb24c84a27e5ccdc5110 01-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Fix for PR4192: fix the definition of int64_t on x86_64 Linux.

Note that I'm guessing that *BSD and Solaris do the same thing as Linux
here, but it's quite possible I'm wrong; if the following testcase
gives an error on x86-64 with gcc for any of those operating systems, please
tell me:

#include <stdint.h>

int64_t x; long x;



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3c7b6e46c5f9bdbe0676c52d80df98b68b02be99 01-Jul-2009 Eli Friedman <eli.friedman@gmail.com> Fix for PR4192: fix the definition of int64_t on x86_64 Linux.

Note that I'm guessing that *BSD and Solaris do the same thing as Linux
here, but it's quite possible I'm wrong; if the following testcase
gives an error on x86-64 with gcc for any of those operating systems, please
tell me:

#include <stdint.h>

int64_t x; long x;



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
36565e5d6293d28804ad36c94bd5d878a13643b6 30-Jun-2009 Edwin Török <edwintorok@gmail.com> Reapply r74532, and inherit from OSTargetInfo instead of from Target.
'make test' passes now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5f6c19419184da428ad8982c1a5d706dbf4896ed 30-Jun-2009 Torok Edwin <edwintorok@gmail.com> Reapply r74532, and inherit from OSTargetInfo instead of from Target.
'make test' passes now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2d98f9f72adc9d4d64e5b47b3afc81b45ccd6cd0 30-Jun-2009 Edwin Török <edwintorok@gmail.com> Revert 74532 till I figure out why it breaks a bunch of tests.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b0a5b2423c1fc8e2b1823c3c6c31bf3980e571ba 30-Jun-2009 Torok Edwin <edwintorok@gmail.com> Revert 74532 till I figure out why it breaks a bunch of tests.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d1e86869e3e4532d02c7b4ab1197f23c9d234dd0 30-Jun-2009 Edwin Török <edwintorok@gmail.com> Use templates instead of creating a new class for each OS/Target combination.
This unifies all the targets supported by an OS into a template.
It also cleans up the differences between the darwin targets.
Also __LP64__ wasn't needed for *BSD, since x86-64 target defines it anyway.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74532 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
50dd810b22306d4c0460dac3545de73db6745d67 30-Jun-2009 Torok Edwin <edwintorok@gmail.com> Use templates instead of creating a new class for each OS/Target combination.
This unifies all the targets supported by an OS into a template.
It also cleans up the differences between the darwin targets.
Also __LP64__ wasn't needed for *BSD, since x86-64 target defines it anyway.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74532 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6d77d6ad00312bbc096fd478b297e41056df899a 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Use true/false instead of 1/0.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
811844d5eb35c7d14054f33f8676bcffb9584195 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Use true/false instead of 1/0.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
36a025107925e1483598c5311792a77f220b6fe0 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Don't define __KPRINTF_ATTRIBUTE__ unconditionally on OpenBSD.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
43a3643eaf6d411b43b01cbbf85a197ffdaba204 30-Jun-2009 Daniel Dunbar <daniel@zuster.org> Don't define __KPRINTF_ATTRIBUTE__ unconditionally on OpenBSD.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
64c77a1c70299f698a657361a247f12a503782fb 29-Jun-2009 Daniel Dunbar <daniel@zuster.org> OpenBSD support.
- Patch by Jonathan Gray!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f7b8eec37c8c8012fa525c71fb29a58c9f29beef 29-Jun-2009 Daniel Dunbar <daniel@zuster.org> OpenBSD support.
- Patch by Jonathan Gray!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
39e99a4bd7d690178f494899078d0723522d5247 29-Jun-2009 Bill Wendling <isanbard@gmail.com> Make the StackProtector bitfield use enums instead of obscure numbers.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4ebe3e4c811a376c423a544f5e76ee2e96533324 29-Jun-2009 Bill Wendling <isanbard@gmail.com> Make the StackProtector bitfield use enums instead of obscure numbers.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e1d4f5d6840e99b8345dd755ec4a335ff4539fcf 28-Jun-2009 Bill Wendling <isanbard@gmail.com> Add stack protector support to clang. This generates the 'ssp' and 'sspreq'
function attributes. There are predefined macros that are defined when stack
protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with
-fstack-protector-all.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
45483f7a1b3e57b4603b141bee80596b2d4dd443 28-Jun-2009 Bill Wendling <isanbard@gmail.com> Add stack protector support to clang. This generates the 'ssp' and 'sspreq'
function attributes. There are predefined macros that are defined when stack
protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with
-fstack-protector-all.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a8a69e1837cdb6ccba7c8fed5ecc28cd9a1ef2e1 24-Jun-2009 Chris Lattner <sabre@nondot.org> fix the type of wchar_t for windows, PR4417


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
85de9e75ecce165374faf20d7b4e843a1f63e720 24-Jun-2009 Chris Lattner <sabre@nondot.org> fix the type of wchar_t for windows, PR4417


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5912220b54135f50487aa2a7f7d3ef8e827dea71 23-Jun-2009 Chris Lattner <sabre@nondot.org> __APPLE_CC__ should only be set when building for darwin targets.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7478bbfea8ec19962ba8e47d0b8b4de15f5a5943 23-Jun-2009 Chris Lattner <sabre@nondot.org> __APPLE_CC__ should only be set when building for darwin targets.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
99ca9d64d362891c197bfda097e4994c41a67690 14-Jun-2009 Chris Lattner <sabre@nondot.org> move the various builtins stuff from libast to libbasic. This
fixes a layering violation in lib/Basic/Targets.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6b15cdc1312f8fc45c86ee75e2a85106700e97f6 14-Jun-2009 Chris Lattner <sabre@nondot.org> move the various builtins stuff from libast to libbasic. This
fixes a layering violation in lib/Basic/Targets.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ea39092a252e62e7f7fa52e6418e90a6bc46ff6d 09-Jun-2009 Daniel Dunbar <daniel@zuster.org> Add stack alignment to x86_64 target data.
- <rdar://problem/6948443> WARNING: Linking two modules of different data
layouts!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9e7d596b5450ac3998b419e44b82a73002936858 09-Jun-2009 Daniel Dunbar <daniel@zuster.org> Add stack alignment to x86_64 target data.
- <rdar://problem/6948443> WARNING: Linking two modules of different data
layouts!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b28055e70d5cb10e92e1f48c1271b0ef2cd69bb9 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Minor tweaks to the Windows target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9c2f84eded86c086446ec25101cc65b0eb38da09 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Minor tweaks to the Windows target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7e17aed44bda5f10d93913125ad38cda83a0aaff 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> PR4346: add "R" asm register constraint.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
12b2da0350b24b396f87c8479234ec57d875f72f 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> PR4346: add "R" asm register constraint.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6b6ca949df5444625f4b527ae2da1d3cb8fc03fe 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Misc minor fixes for clang for the Windows target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
abc4e32603bd9d3e392e23762cc366e45d772685 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Misc minor fixes for clang for the Windows target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d9389beef9a889d95ea8417cc44db22e30ad9523 05-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Move CharIsSigned from TargetInfo to LangOptions.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
15b91764d08e886391c865c4a444d7b51141c284 05-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Move CharIsSigned from TargetInfo to LangOptions.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eff0a42db6b07f91e3a7e7f78c209707b81a3ef8 05-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Move a couple Darwin-specific defines into getDarwinDefines.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2de4feeef29c837466a5f109e75f37ec2022bb28 05-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Move a couple Darwin-specific defines into getDarwinDefines.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b9c50b4446153d6c3ad2f9d8d5b29a2364aee98e 03-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Back out r72764; I should have looked more carefully before committing
this. The correct replacement for "Y" and "Yt" is "x".



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bb32e6dc801746fa3e09446f3730eb613fb59c2e 03-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Back out r72764; I should have looked more carefully before committing
this. The correct replacement for "Y" and "Yt" is "x".



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a3b7514ad82317129b176682d167af9cd669a1cc 03-Jun-2009 Eli Friedman <eli.friedman@gmail.com> PR3678: Add support for "Yt" asm register constraint.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a3c29e11b8354af47ec21e3f8eb459e087c6f4b8 03-Jun-2009 Eli Friedman <eli.friedman@gmail.com> PR3678: Add support for "Yt" asm register constraint.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ae8f1e8dc923784b70c18dd6cf82e5d1722b27d9 02-Jun-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Add floating point details to PIC16 Target.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9eb4cef6bc7f6ef9f1fa2ae688935727968c486f 02-Jun-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Add floating point details to PIC16 Target.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
468ca6d53a966e286f9e16ba4d5b3096ebdc7e9b 29-May-2009 Eli Friedman <eli.friedman@gmail.com> Add a couple missing ARM defines.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
19262421fa6985dedd03df512a758238682db9d3 29-May-2009 Eli Friedman <eli.friedman@gmail.com> Add a couple missing ARM defines.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a456b7faf9914b6963051965462506d5cc316221 22-May-2009 Eli Friedman <eli.friedman@gmail.com> A few more tweaks for Solaris; please correct me if it's wrong somehow.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
09c3a6d72540e734d97fa36e3fca9d0a37d72ebe 22-May-2009 Eli Friedman <eli.friedman@gmail.com> A few more tweaks for Solaris; please correct me if it's wrong somehow.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5415abdb5ca3b3265be14aec48495d33bfb7a0d8 22-May-2009 Douglas Gregor <doug.gregor@gmail.com> Improve target support for Solaris.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
163a7c79eaa9eff7d4ced3e4b62baa628b9538b1 22-May-2009 Douglas Gregor <dgregor@apple.com> Improve target support for Solaris.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
78a2f41e566e3b34b99bf26ace2e71c6bc299b9d 17-May-2009 Eli Friedman <eli.friedman@gmail.com> Targets without long long should reduce the size of intmax_t
accordingly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3f7a5310d43ea58c07d06965b46718a8012b1f76 17-May-2009 Eli Friedman <eli.friedman@gmail.com> Targets without long long should reduce the size of intmax_t
accordingly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f595559306b5b53fb954e74b33c7cabc8a93845e 08-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Provide dummy va_list typedef for msp430

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eb71685510e0640b43e34ae9b567dcadb64075ee 08-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Provide dummy va_list typedef for msp430

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c2e55de49d4485f58a2cdb06f63ecc6504733575 06-May-2009 Daniel Dunbar <daniel@zuster.org> Handle -march for the LLVM recognized cpu names.
- x86 target feature handling should not be feature complete, even if
the code quality is lacking.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3ac79049abf396487546e8807e8763403f444a07 06-May-2009 Daniel Dunbar <daniel@zuster.org> Handle -march for the LLVM recognized cpu names.
- x86 target feature handling should not be feature complete, even if
the code quality is lacking.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0838f96643db1611a52e015733f94b19b8a5d52d 06-May-2009 Daniel Dunbar <daniel@zuster.org> More x86 target feature support.
- Apologies for the extremely gross code duplication, I want to get
this working and then decide how to get this information out of the
back end.

- This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc
doesn't distinguish them?

- -msse, etc. now properly disable/enable related features.

- Don't always define __SSE3__...

- The main missing functionality bit here is that we don't initialize
the features based on the CPU for all -march options.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
17ca3638e852ba81f389e9f896ed0420b52ae606 06-May-2009 Daniel Dunbar <daniel@zuster.org> More x86 target feature support.
- Apologies for the extremely gross code duplication, I want to get
this working and then decide how to get this information out of the
back end.

- This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc
doesn't distinguish them?

- -msse, etc. now properly disable/enable related features.

- Don't always define __SSE3__...

- The main missing functionality bit here is that we don't initialize
the features based on the CPU for all -march options.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
106c79a6e35f5b8ea256506ea5b73244f6e483b9 06-May-2009 Daniel Dunbar <daniel@zuster.org> Tweak x86 -mcpu defaults.
- Default to yonah on Darwin (to get SSE3).

- Default to Pentium4 (32-bit) and x86-64 (64-bit) on
non-Darwin. Welcome to the 21st century.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
500aec477c82660adda912c35b634006017933be 06-May-2009 Daniel Dunbar <daniel@zuster.org> Tweak x86 -mcpu defaults.
- Default to yonah on Darwin (to get SSE3).

- Default to Pentium4 (32-bit) and x86-64 (64-bit) on
non-Darwin. Welcome to the 21st century.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
07181d709860d06026afa3b4ee5b6a65b48c9005 06-May-2009 Daniel Dunbar <daniel@zuster.org> Improve handling of (X86) target features.
- This is a WIP...

- This adds -march= handling to the driver, and fixes the defaulting
of -mcpu on Darwin (which was using the wrong test).

Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as
-target-feature [+-]name

In clang-cc, communicate with the (clang) target to discover the legal
features of a target, and the features which are enabled based on
-mcpu. This is currently hardcoded just enough to not be a feature
regression, we need to get this information from the backend's
TableGen information somehow.

This is used to construct the full list of features which are being
used, which is in turn used to initialize the predefines.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
868bd0aa9281929ef50d2e9a8c82a036906f53f5 06-May-2009 Daniel Dunbar <daniel@zuster.org> Improve handling of (X86) target features.
- This is a WIP...

- This adds -march= handling to the driver, and fixes the defaulting
of -mcpu on Darwin (which was using the wrong test).

Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as
-target-feature [+-]name

In clang-cc, communicate with the (clang) target to discover the legal
features of a target, and the features which are enabled based on
-mcpu. This is currently hardcoded just enough to not be a feature
regression, we need to get this information from the backend's
TableGen information somehow.

This is used to construct the full list of features which are being
used, which is in turn used to initialize the predefines.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
954bd3fb831e20017c986cf78d739d517dfe0e96 03-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Hook msp430 in

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
73c64e5fb9c69bc1bb6af0e0b089875d088e0434 03-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Hook msp430 in

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e7772383ce8ee572ce9c9a7e8dcac9c8e8b68274 03-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Whitespace cleanup

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a7c4717f5fb40847a79c0013a8ce8f86940be288 03-May-2009 Anton Korobeynikov <asl@math.spbu.ru> Whitespace cleanup

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c49cc1a57583d78783137ff7914526617d032af7 26-Apr-2009 Chris Lattner <sabre@nondot.org> change TargetInfo::ConstraintInfo to be a struct that contains
the enum along with some other data.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
44def070435a2b5d67f0534f7a3a85a7389d60f2 26-Apr-2009 Chris Lattner <sabre@nondot.org> change TargetInfo::ConstraintInfo to be a struct that contains
the enum along with some other data.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
433d972221fd4a112c94e20e8b160f3b226a29b9 23-Apr-2009 Chris Lattner <sabre@nondot.org> some arm triples have weird characters in them, just fuzzy match
on armv* to be more compatible


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5b37dc03803621f8b4de3f42b2d1988a1b410bda 23-Apr-2009 Chris Lattner <sabre@nondot.org> some arm triples have weird characters in them, just fuzzy match
on armv* to be more compatible


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
88b4e51f1f1d676f260b6b2a0affbbd55afa1f0b 21-Apr-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Pass and return aggregate types directly to function calls.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
70aa5f9e9f3ec77327f701562efc53d7c36c5843 21-Apr-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com> Pass and return aggregate types directly to function calls.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8f5751758930cdecf2768a506c1614df44a598ea 19-Apr-2009 Eli Friedman <eli.friedman@gmail.com> Add target property for whether thread-local storage is supported.
Let me know if I messed up for some target. Note that for Windows, we
should be able to support it (MSVC supports "__declspec(thread)"), but
I'm pretty sure LLVM doesn't know how to generate the correct code.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b030f0272500c6c5602f587ac029ee0dc0e5a05c 19-Apr-2009 Eli Friedman <eli.friedman@gmail.com> Add target property for whether thread-local storage is supported.
Let me know if I messed up for some target. Note that for Windows, we
should be able to support it (MSVC supports "__declspec(thread)"), but
I'm pretty sure LLVM doesn't know how to generate the correct code.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
25ac1c16a52867bbe8d202321efab6d234be5bd9 19-Apr-2009 Chris Lattner <sabre@nondot.org> actually just do this on all x86 targets, it won't hurt
non-glibc ones.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5417544b42581366f45d8164f9cbbd1a2e99c485 19-Apr-2009 Chris Lattner <sabre@nondot.org> actually just do this on all x86 targets, it won't hurt
non-glibc ones.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
919a57b0f109fa2245d00736a3187741fe32bf40 19-Apr-2009 Chris Lattner <sabre@nondot.org> Define __NO_MATH_INLINES on linux/x86 so that we don't get inline
functions in glibc header files that use FP Stack inline asm which the
backend can't deal with (PR879).

This "fixes" PR3970 for linux. Other affected systems should do similar
things. Maybe this should just go to the general i386/x86-64 sections?



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
09b5cc69f0f979e4fb0dbf24e43ced5ffadd0a84 19-Apr-2009 Chris Lattner <sabre@nondot.org> Define __NO_MATH_INLINES on linux/x86 so that we don't get inline
functions in glibc header files that use FP Stack inline asm which the
backend can't deal with (PR879).

This "fixes" PR3970 for linux. Other affected systems should do similar
things. Maybe this should just go to the general i386/x86-64 sections?



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
93f6453ea5d78a155b992fadb5961bdd4dcbbed6 10-Apr-2009 Daniel Dunbar <daniel@zuster.org> Support -miphoneos-version-min in clang-cc.
- Patch by Shantonu Sen (with a minor tweak to split out
getDarwin{OSX,IPhoneOS}Defines)!

- <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for
-miphoneos-version-min


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8d33cd77dc1086f70f1699ea012702d0df7eba1a 10-Apr-2009 Daniel Dunbar <daniel@zuster.org> Support -miphoneos-version-min in clang-cc.
- Patch by Shantonu Sen (with a minor tweak to split out
getDarwin{OSX,IPhoneOS}Defines)!

- <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for
-miphoneos-version-min


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d4f7f625722ab57348b8bb698bb78da2f1a6b7ac 08-Apr-2009 Chris Lattner <sabre@nondot.org> remove fixme!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
837e897660a527cfe2b443ae7303f6cc8ba99a83 08-Apr-2009 Chris Lattner <sabre@nondot.org> remove fixme!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f90a29f55cc9f1f8ef84b542c585ee7936b472f9 08-Apr-2009 Mike Stump <mrs@apple.com> Add basic support for arm static analysis checking. Radar 6699395


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
437bb4b6ecf23bd016203dee80983402cdcb761e 08-Apr-2009 Mike Stump <mrs@apple.com> Add basic support for arm static analysis checking. Radar 6699395


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8181e6240469cf261c18235b3265e2285ee41af1 07-Apr-2009 Chris Lattner <sabre@nondot.org> Fariborz points out that weak is now defined to the attribute even
in C mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
10d2427386124b69c150bef0163b525404bbb545 07-Apr-2009 Chris Lattner <sabre@nondot.org> Fariborz points out that weak is now defined to the attribute even
in C mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
33854aaf48b57c7eb2c8b8e66f31ddfe47b2b231 07-Apr-2009 Chris Lattner <sabre@nondot.org> The __weak and __strong defines are common to all darwin targets
and are even set in C mode. As such, move them to Targets.cpp.

__OBJC_GC__ is also darwin specific, but seems reasonable to always
define it when in objc-gc mode.

This fixes rdar://6761450


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3a5cbd37c91d29bbd169ae869b234ed1fc954cb6 07-Apr-2009 Chris Lattner <sabre@nondot.org> The __weak and __strong defines are common to all darwin targets
and are even set in C mode. As such, move them to Targets.cpp.

__OBJC_GC__ is also darwin specific, but seems reasonable to always
define it when in objc-gc mode.

This fixes rdar://6761450


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8fcffeb6ce16ac977e11f965077e8dfbb62dd4bd 04-Apr-2009 Anton Korobeynikov <asl@math.spbu.ru> Provide sema proper values of maximal number of arguments passed in registers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
264a76cdf382c507f4d43e64c89f1503f003ac95 04-Apr-2009 Anton Korobeynikov <asl@math.spbu.ru> Provide sema proper values of maximal number of arguments passed in registers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6a91648fe9226db360759a23c89bb5aec3f3ceab 03-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add target hook for setting symbol prefix and section of unicode
string literals.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a9668e0b4c451a1021fe650c451b54dc98c2d18d 03-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add target hook for setting symbol prefix and section of unicode
string literals.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c3a4893262053ed2efc04a6128358cc8f706a5a0 01-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add Target hooks for IRgen of [cf]string literals.
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)

- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8e5c2b8072f4409c7c0004331d1db9652d5209c0 01-Apr-2009 Daniel Dunbar <daniel@zuster.org> Add Target hooks for IRgen of [cf]string literals.
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)

- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
04ede30ad07d083cb0c7769cea52a9865bf8b41d 29-Mar-2009 Eli Friedman <eli.friedman@gmail.com> Fix the default for intptr_t on *BSD x86-32 and Windows. Slight cleanup
by moving the general case to the generic x86-32 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1afabd948520c2607309383655600b46083e083a 29-Mar-2009 Eli Friedman <eli.friedman@gmail.com> Fix the default for intptr_t on *BSD x86-32 and Windows. Slight cleanup
by moving the general case to the generic x86-32 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
88fd99486b25f23ab3a70e552051e43ad57b09af 23-Mar-2009 Daniel Dunbar <daniel@zuster.org> Ad FreeBSD ARM target info.
- Patch by Ed Schoeten!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e0107a3d1e9477bb3fc0bf0dbe1b52cbdd23a77 23-Mar-2009 Daniel Dunbar <daniel@zuster.org> Ad FreeBSD ARM target info.
- Patch by Ed Schoeten!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c345a80ada9bbdc1e72b94c78bd0505438b6e162 20-Mar-2009 Chris Lattner <sabre@nondot.org> refactor some code, fixing a problem discovered by the dragonfly bsd people, where
clang was defining "i386" even when in non-gnu mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ca45cffe5e17f5c2cd2f4d9f631924c704f0f184 20-Mar-2009 Chris Lattner <sabre@nondot.org> refactor some code, fixing a problem discovered by the dragonfly bsd people, where
clang was defining "i386" even when in non-gnu mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ab81f16dee732c88a226aa554a6721725ee7b12a 20-Mar-2009 Chris Lattner <sabre@nondot.org> pass langoptions around.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
318ca7106d59c9851125b9b8979e2dff05b390d0 20-Mar-2009 Chris Lattner <sabre@nondot.org> pass langoptions around.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
796824014e267eb99d8e80b01eff55f3d5be8b44 20-Mar-2009 Chris Lattner <sabre@nondot.org> pass LangOptions into TargetInfo::getTargetDefines, so that targets
can have language-specific defines.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
33328642a7a8a126918814ddcbcebf83c121ad54 20-Mar-2009 Chris Lattner <sabre@nondot.org> pass LangOptions into TargetInfo::getTargetDefines, so that targets
can have language-specific defines.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f6790a803435e05567812367280879268a962157 03-Mar-2009 Chris Lattner <sabre@nondot.org> implement support for propagating *features* down to the code generator
and defining target-specific macros based on them (like __SSE3__ and
friends). After extensive discussion with Daniel, this work will need
driver support, which will translate things like -msse3 into a -mattr
feature. Until this work is done, the code in clang.cpp is disabled and
the X86TargetInfo ctor still defaults to SSE2. With these two things
changed, this code will work. PR3634


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6328cc316d7032517399da9230a197cd29f2664d 03-Mar-2009 Chris Lattner <sabre@nondot.org> implement support for propagating *features* down to the code generator
and defining target-specific macros based on them (like __SSE3__ and
friends). After extensive discussion with Daniel, this work will need
driver support, which will translate things like -msse3 into a -mattr
feature. Until this work is done, the code in clang.cpp is disabled and
the X86TargetInfo ctor still defaults to SSE2. With these two things
changed, this code will work. PR3634


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
715fe4c00d89cf2337e633577173f28fafca19ee 02-Mar-2009 Chris Lattner <sabre@nondot.org> Add plumbing to support programatically defining __SSE2__ and friends,
even though we still hard code sse2 for now. No support for 3dnow or sse4a,
but someone could add that if they desired.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
84f0ea849e79b08093933970c056d8b8d7be3c82 02-Mar-2009 Chris Lattner <sabre@nondot.org> Add plumbing to support programatically defining __SSE2__ and friends,
even though we still hard code sse2 for now. No support for 3dnow or sse4a,
but someone could add that if they desired.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bef1d7225ab94e3f5a8205ec0544d70062e1577a 02-Mar-2009 Chris Lattner <sabre@nondot.org> minor cleanups to target-specific #defines, no functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c0f5921215b476d19a84fe353b8e1763a09b3156 02-Mar-2009 Chris Lattner <sabre@nondot.org> minor cleanups to target-specific #defines, no functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7d6220ca4a53b38673473fd461ff8e983d22225e 02-Mar-2009 Chris Lattner <sabre@nondot.org> improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3daed52a57d03765223021f5f921bdc280c8f3cc 02-Mar-2009 Chris Lattner <sabre@nondot.org> improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
36834a75d9a3daaf87b6ef25a06ccf084eb43561 28-Feb-2009 Anders Carlsson <andersca@mac.com> TargetInfo::validateAsmConstraint now takes a reference to the full constraints string. This will make it possible to support multi-character constraints. No functionality change (for now).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
066d2ea7521896efc05cce7aa46fdd3a7ba96c28 28-Feb-2009 Anders Carlsson <andersca@mac.com> TargetInfo::validateAsmConstraint now takes a reference to the full constraints string. This will make it possible to support multi-character constraints. No functionality change (for now).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
72efecb2d962a2293f027c521acb9b5ea1031d79 25-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> Minor refactoring.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
84d013393cb6af5e422b04bccd762857b5b06b60 25-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> Minor refactoring.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
27f5896fb2fb105d810ce99e037bc7ebb1cd785f 25-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> patch for two things.
make sure objc2's nonfragile abi is enacted for Leopard too.
add -fobjc-gc-only flag to the image_info symbol.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
66a5c2c0da225d45334c8062f10e73b7dee50681 25-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> patch for two things.
make sure objc2's nonfragile abi is enacted for Leopard too.
add -fobjc-gc-only flag to the image_info symbol.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
273dce44728339a573ae98785b2f4c18481c36b7 20-Feb-2009 Chris Lattner <sabre@nondot.org> add support for amd64-*, patch by Brooks Davis!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
54fefbe9931284c8b78e4cb1cd5f13038f480b9f 20-Feb-2009 Chris Lattner <sabre@nondot.org> add support for amd64-*, patch by Brooks Davis!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2e8a7aa7c15274813f876f4b2ca6ce38382c56c4 16-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> Supply the header corresponding to a library builtin as a separate argument to the LIBBUILTIN macro

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b1152d842c6599e41581302a85a0f53928253add 16-Feb-2009 Douglas Gregor <dgregor@apple.com> Supply the header corresponding to a library builtin as a separate argument to the LIBBUILTIN macro

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
23d232614940858972080d808959f0645318f74e 14-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> Add -ffreestanding to suppress the implicit declaration of library builtins like printf and malloc. Fixes PR3586

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3573c0c0b44a1ac8f76a00af1bc75e94ca03d704 14-Feb-2009 Douglas Gregor <dgregor@apple.com> Add -ffreestanding to suppress the implicit declaration of library builtins like printf and malloc. Fixes PR3586

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fb8208525a27101a3ec5b0b0aa002fc64599b22a 14-Feb-2009 Anton Korobeynikov <asl@math.spbu.ru> Define __ELF__ on FreeBSD. Patch by Roman Divacky!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2793bda429909d0c5c73334342ac69672754d801 14-Feb-2009 Anton Korobeynikov <asl@math.spbu.ru> Define __ELF__ on FreeBSD. Patch by Roman Divacky!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
99de95343eb09885ab9aa898dc9dba117b40179d 14-Feb-2009 Argiris Kirtzidis <akyrtzi@gmail.com> Define __ELF__ for linux systems.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
487cdee2f5bf641af4532fe4af79545997d8f5e3 14-Feb-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com> Define __ELF__ for linux systems.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d9ef724225b3f0edf54a76aae0eda4f5447d5eeb 13-Feb-2009 Chris Lattner <sabre@nondot.org> Give TargetInfo a new IntPtrType to hold the intptr_t type for
a target.

Make Preprocessor.cpp define a new __INTPTR_TYPE__ macro based on this.

On linux/32, set intptr_t to int, instead of long. This fixes PR3563.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
6ad474f82f0cf32e13128d89fa5ad3a37ae73530 13-Feb-2009 Chris Lattner <sabre@nondot.org> Give TargetInfo a new IntPtrType to hold the intptr_t type for
a target.

Make Preprocessor.cpp define a new __INTPTR_TYPE__ macro based on this.

On linux/32, set intptr_t to int, instead of long. This fixes PR3563.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d09b9f773b86b3057615d1cc32cbf48c4ed638d3 12-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> Make nonfragile-abi the default for darwin's 64bit
abi for objective-c programs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a30b17b90033f40bb909d630466c2a04499b7bf0 12-Feb-2009 Fariborz Jahanian <fjahanian@apple.com> Make nonfragile-abi the default for darwin's 64bit
abi for objective-c programs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bfbfbaf0389b851f87c217880476c2a9d1474b80 05-Feb-2009 Chris Lattner <sabre@nondot.org> make clang agree with gcc 4.2's x86-64 predefines and settings.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
06ebe862f03d584a20e581d040fe06eec3afd5b3 05-Feb-2009 Chris Lattner <sabre@nondot.org> make clang agree with gcc 4.2's x86-64 predefines and settings.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8405e094790920196aa4af714ca5d17259b0d20d 05-Feb-2009 Chris Lattner <sabre@nondot.org> fix some differences between apple gcc and clang on darwin/x86-32.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d427ad4cceab4481be0ac5cc2a190148ccc181e2 05-Feb-2009 Chris Lattner <sabre@nondot.org> fix some differences between apple gcc and clang on darwin/x86-32.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4dfc45a9af2f73303069f0a55947b57f3bd0794b 28-Jan-2009 Chris Lattner <sabre@nondot.org> long long and double have 64-bit alignment on x86-64.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
778601f8d38a924bba51d0239afd22b6ddde8ff7 28-Jan-2009 Chris Lattner <sabre@nondot.org> long long and double have 64-bit alignment on x86-64.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ff7c53d543a9b3778c70467ef82396d311ffd3f5 27-Jan-2009 Chris Lattner <sabre@nondot.org> add SparcV8 asm register info support. Patch by Ben Lickly!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e957f537451794225a541ed3fd75bc3c7bb21a6f 27-Jan-2009 Chris Lattner <sabre@nondot.org> add SparcV8 asm register info support. Patch by Ben Lickly!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ff235da00701306ec70390c3ede586c93d63ef44 24-Jan-2009 Anders Carlsson <andersca@mac.com> Handle the 'e' constraint. Fixes PR3385

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
79bc64ceb2586246c74b2584be56ecef00a0c9c1 24-Jan-2009 Anders Carlsson <andersca@mac.com> Handle the 'e' constraint. Fixes PR3385

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ff1ba1f740734ddb0e40207462307a489cefc685 18-Jan-2009 Nate Begeman <natebegeman@mac.com> Fit in 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62439 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ca0134259bd498b397c304a0f5b6a55bdaba05cc 18-Jan-2009 Nate Begeman <natebegeman@mac.com> Fit in 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62439 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d7bc88b153eefe3a8ce8be467c966b4ea7f58944 05-Dec-2008 Chris Lattner <sabre@nondot.org> instead of forcing blocks on by default, make them default to off, but let
specific targets default them to on. Default blocks to on on 10.6 and later.
Add a -fblocks option that allows the user to override the target's default.
Use -fblocks in the various testcases that use blocks.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ae0ee03fd9d36446ee70e502fdaf5ed5acec269f 05-Dec-2008 Chris Lattner <sabre@nondot.org> instead of forcing blocks on by default, make them default to off, but let
specific targets default them to on. Default blocks to on on 10.6 and later.
Add a -fblocks option that allows the user to override the target's default.
Use -fblocks in the various testcases that use blocks.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ddae7103e6b6651d879f55c97c16829dda1204fd 04-Dec-2008 Chris Lattner <sabre@nondot.org> replace useNeXTRuntimeAsDefault with a generic hook that allows targets
to specify their default language options.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8fc4dfb30e8bd94ca2ea7adb6cbece04fb96cd99 04-Dec-2008 Chris Lattner <sabre@nondot.org> replace useNeXTRuntimeAsDefault with a generic hook that allows targets
to specify their default language options.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
7cca098a6ad3cbd4fd8bbc6cbb95b38cf7f41b84 02-Nov-2008 Eli Friedman <eli.friedman@gmail.com> More fallout from r58501: primary fix is some more corrections to make
the types for size_t and ptrdiff_t more accurate. I think all of these
are correct, but please compare the defines for __PTRDIFF_TYPE__ and
__SIZE_TYPE__ to gcc to double-check; this particularly applies to
those on BSD variants, since I'm not sure what they do here; I assume
here that they're the same as on Linux.

Fixes wchar_t to be "int", not "unsigned int" (which I think is
correct on everything but Windows).

Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an
somewhat strange choice because it normally gets promoted, and it's not
consistent with the choice for size_t.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f509d73ecf2c996e257f1a4e23c1282396b0a847 02-Nov-2008 Eli Friedman <eli.friedman@gmail.com> More fallout from r58501: primary fix is some more corrections to make
the types for size_t and ptrdiff_t more accurate. I think all of these
are correct, but please compare the defines for __PTRDIFF_TYPE__ and
__SIZE_TYPE__ to gcc to double-check; this particularly applies to
those on BSD variants, since I'm not sure what they do here; I assume
here that they're the same as on Linux.

Fixes wchar_t to be "int", not "unsigned int" (which I think is
correct on everything but Windows).

Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an
somewhat strange choice because it normally gets promoted, and it's not
consistent with the choice for size_t.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fa45143d9b070b5e0e76031dbba1fca99ecd06ab 31-Oct-2008 Sanjiv Gupta <sanjiv.gupta@microchip.com> Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar
etc more generic. For some targets, long may not be equal to pointer size. For
example: PIC16 has int as i16, ptr as i16 but long as i32.

Also fixed a few build warnings in assert() functions in CFRefCount.cpp,
CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
31fc07df7f0fc89ebf83ca05a20b29de45a7598d 31-Oct-2008 Sanjiv Gupta <sanjiv.gupta@microchip.com> Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar
etc more generic. For some targets, long may not be equal to pointer size. For
example: PIC16 has int as i16, ptr as i16 but long as i32.

Also fixed a few build warnings in assert() functions in CFRefCount.cpp,
CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a07708f0c359d13da434d87bc4d3927c1bc8d2a3 27-Oct-2008 Chris Lattner <sabre@nondot.org> Fix the definition of __builtin_va_list on PPC, which was set to the V4 ABI, not the
darwin or AIX abis. This fixes PR2904.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d599850e9e4b30e3cb2384a447cab576742e4d0e 27-Oct-2008 Chris Lattner <sabre@nondot.org> Fix the definition of __builtin_va_list on PPC, which was set to the V4 ABI, not the
darwin or AIX abis. This fixes PR2904.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
98cb2a265cf7c9be2aa876b5d22386a1c7292e3d 16-Oct-2008 Chris Lattner <sabre@nondot.org> Add basic FreeBSD target support, patch by Roman Divacky!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fd0269d1945669355d52809f6c2e6065f77ff488 16-Oct-2008 Chris Lattner <sabre@nondot.org> Add basic FreeBSD target support, patch by Roman Divacky!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d2459f9d7d1f9ef540ddde2eef33af1f4de5936c 06-Oct-2008 Anders Carlsson <andersca@mac.com> Add 'x' constraint character.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a7406d4f8ce586fcc98a2534b047b98bc8314c22 06-Oct-2008 Anders Carlsson <andersca@mac.com> Add 'x' constraint character.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2285e62459b94899b59ecbecd98afdd5902cf0f5 06-Oct-2008 Anders Carlsson <andersca@mac.com> Add the 'y' assembler constraint.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fce0934560b0e3cc55e95e54883c0f540c98cdb6 06-Oct-2008 Anders Carlsson <andersca@mac.com> Add the 'y' assembler constraint.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bd00eb855a6080ff39b720d33bbb2db7ac08f58c 05-Oct-2008 Chris Lattner <sabre@nondot.org> miscellaneous cleanups


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d29b6300a70576f5996f4137536e3ca1efa8eb83 05-Oct-2008 Chris Lattner <sabre@nondot.org> miscellaneous cleanups


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3da35689ed4358d7a3ee5f8e6817e32ba0e48555 05-Oct-2008 Chris Lattner <sabre@nondot.org> move __FLT_EVAL_METHOD__, __FLT_RADIX__, and __DECIMAL_DIG__ into
target indep code.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
12f09260294175dc097b843d3d06d048b9cd64a3 05-Oct-2008 Chris Lattner <sabre@nondot.org> move __FLT_EVAL_METHOD__, __FLT_RADIX__, and __DECIMAL_DIG__ into
target indep code.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b9ff151dfeeb262872e864a3f5ab6df62ae489ea 05-Oct-2008 Chris Lattner <sabre@nondot.org> it helps when I save the file before testing and committing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5db552d5c81033636f52dcfa5234dde247a4ca6f 05-Oct-2008 Chris Lattner <sabre@nondot.org> it helps when I save the file before testing and committing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5c8f64a7a902b1766be1bb0c457a1834c2debe63 05-Oct-2008 Chris Lattner <sabre@nondot.org> suck the rest of the FP macros out of the targets into the PP


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e9863cab04789cd6d82453c42f6736624e0e739b 05-Oct-2008 Chris Lattner <sabre@nondot.org> suck the rest of the FP macros out of the targets into the PP


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
cbed299abea9255a4e44af5e39ab28c6ef0a33ad 05-Oct-2008 Chris Lattner <sabre@nondot.org> start moving fp macros over


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2db78dd977fbba8fdf24cf8a4593436c031cfbcb 05-Oct-2008 Chris Lattner <sabre@nondot.org> start moving fp macros over


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1be8bb9daff92eb186b3236e14a172d86666f23a 05-Oct-2008 Chris Lattner <sabre@nondot.org> move a bunch more integer sizing out of target-specific code into
target indep code.

Note that this changes functionality on PIC16: it defines __INT_MAX__
correctly for it, and it changes sizeof(long) to 16-bits (to match
the size of pointer).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0e5d4ef3155651af17a90fdc07d9f80b33935c0c 05-Oct-2008 Chris Lattner <sabre@nondot.org> move a bunch more integer sizing out of target-specific code into
target indep code.

Note that this changes functionality on PIC16: it defines __INT_MAX__
correctly for it, and it changes sizeof(long) to 16-bits (to match
the size of pointer).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5edfe0151c889aab8979ae0efd4bbf155284ac5e 05-Oct-2008 Chris Lattner <sabre@nondot.org> eliminate __USER_LABEL_PREFIX__ from the Targets.cpp file, start moving
integer size #defines over to the Preprocessor.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9b533164570a67c81ad49f3691f02608530a042e 05-Oct-2008 Chris Lattner <sabre@nondot.org> eliminate __USER_LABEL_PREFIX__ from the Targets.cpp file, start moving
integer size #defines over to the Preprocessor.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d376f6de98c5eef1991ea96949fa6776aa24b373 30-Sep-2008 Chris Lattner <sabre@nondot.org> Handle minor version numbers in __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
like "10.3.9"


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
079f2c467d4893a80bf0dc5344505725f42ceb87 30-Sep-2008 Chris Lattner <sabre@nondot.org> Handle minor version numbers in __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
like "10.3.9"


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
163819fab59758a98e110bd74101b083e1a84b20 30-Sep-2008 Nick Lewycky <nicholas@mxc.ca> Add missing include for use of atoi.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
86b76fcc78b98a5ff2029cc8e989a65442089cfc 30-Sep-2008 Nick Lewycky <nicholas@mxc.ca> Add missing include for use of atoi.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c5dc8eb4a3b3d95e5e97db839801e5e5ec304f1b 30-Sep-2008 Chris Lattner <sabre@nondot.org> The definition of __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ follows
the target triple on darwin. For example i386-apple-darwin9 -> 1050 because
darwin9 is "10.5".


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8b30c412198ed004d999f0047e48f87b95bd3205 30-Sep-2008 Chris Lattner <sabre@nondot.org> The definition of __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ follows
the target triple on darwin. For example i386-apple-darwin9 -> 1050 because
darwin9 is "10.5".


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9b96b15d76376b08b33c5d5d6a3311cf49ad09c1 30-Sep-2008 Chris Lattner <sabre@nondot.org> define __PASCAL_STRINGS__ whenever -fpascal-strings is enabled.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56824 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
048dd943fc22a3ee60180d6992d744106c4c100a 30-Sep-2008 Chris Lattner <sabre@nondot.org> define __PASCAL_STRINGS__ whenever -fpascal-strings is enabled.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56824 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bcd60db016cf82b2c61ca5942f31f9420df82423 30-Sep-2008 Chris Lattner <sabre@nondot.org> __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is a darwin-specific #define



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
71af22964535d66b656b4c2de3551bf770e4164d 30-Sep-2008 Chris Lattner <sabre@nondot.org> __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is a darwin-specific #define



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e5a80f2987b8098ac71a87fa9f5d294d29361aa8 23-Sep-2008 Daniel Dunbar <daniel@zuster.org> Add x86_64 Linux target.
- PR2824


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b55a42bf9b5310551319c0f752a5cfa90beca048 23-Sep-2008 Daniel Dunbar <daniel@zuster.org> Add x86_64 Linux target.
- PR2824


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
762fecfd5a2597d2d03222606eafc73ae1c269f1 06-Sep-2008 Eli Friedman <eli.friedman@gmail.com> Per PR2773, define __USER_LABEL_PREFIX__ for x86-32 Linux and Windows.

If you're on some other platform, the correct definition for this macro
would be appreciated; to find the correct definition, just run the
following command:

echo | gcc -dM -E - | grep USER_LABEL_PREFIX



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c0c0f70cf196513eadc010bf79d1d3cd00750d85 06-Sep-2008 Eli Friedman <eli.friedman@gmail.com> Per PR2773, define __USER_LABEL_PREFIX__ for x86-32 Linux and Windows.

If you're on some other platform, the correct definition for this macro
would be appreciated; to find the correct definition, just run the
following command:

echo | gcc -dM -E - | grep USER_LABEL_PREFIX



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d4faca4a39392769b2109a2b7e76c031b573086b 23-Aug-2008 Chris Lattner <sabre@nondot.org> Add dragonfly target support, patch by Sascha Wildner



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
eac7aee3a2e8ce74274ecf8be7ab9cf04cebdf9b 23-Aug-2008 Chris Lattner <sabre@nondot.org> Add dragonfly target support, patch by Sascha Wildner



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
3454295c2de47811a2b7fae8551c11bbd8ef2aff 23-Aug-2008 Daniel Dunbar <daniel@zuster.org> Add TargetInfo::useNeXTRuntimeAsDefault
- Used to autoselect runtime when neither -fnext-runtime nor
-fgnu-runtime is specified.
- Default impl is false, all darwin targets set it to true.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
dcb4a1a6dd55fdf6c073d2761096f42e26be105a 23-Aug-2008 Daniel Dunbar <daniel@zuster.org> Add TargetInfo::useNeXTRuntimeAsDefault
- Used to autoselect runtime when neither -fnext-runtime nor
-fgnu-runtime is specified.
- Default impl is false, all darwin targets set it to true.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f90d2a60d81b9b51638bb02d31ae8f7becc4369b 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Remove duplicate define from Windows-x86 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e1bfd20bdb9875a1d8ae5444410c48d2cd6ea29 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Remove duplicate define from Windows-x86 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
23cb791936dccc9b7718eee5c6f6233d4d7ee46c 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Initial implementation of Windows x86 target; at the moment, the only
difference from generic x86 is the defines. The rest is non-trivial to
implement.

I'm not planning on adding any more targets myself; if there are any
targets anyone is currently using that are missing, feel free to add
them, or ask me to add them.

This concludes the work I'm planning for the TargetInfo
implementations at the moment; all the other issues with TargetInfo require
some API changes, and I haven't really thought it through. Some of the
remaining issues: allowing targets to define size_t and wchar_t properly,
adding some sort of __builtin_type_info intrinsic so we can finish clang's
limits.h and float.h and get rid of a massive number of macro
definitions, allowing target-specific command-line options, allowing
target-specific defaults for certain command-line options like
-fms-extensions, exposing vector alignment outside of the description
string, exposing endianness outside of the description string, allowing
targets to expose special bit-field layout requirements, exposing some
sort of custom hook for call generation in CodeGen, and adding CPU
selection to control defines like __SSE__.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
29a305067d2ff1213a98ddff11ba99e28760ef74 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Initial implementation of Windows x86 target; at the moment, the only
difference from generic x86 is the defines. The rest is non-trivial to
implement.

I'm not planning on adding any more targets myself; if there are any
targets anyone is currently using that are missing, feel free to add
them, or ask me to add them.

This concludes the work I'm planning for the TargetInfo
implementations at the moment; all the other issues with TargetInfo require
some API changes, and I haven't really thought it through. Some of the
remaining issues: allowing targets to define size_t and wchar_t properly,
adding some sort of __builtin_type_info intrinsic so we can finish clang's
limits.h and float.h and get rid of a massive number of macro
definitions, allowing target-specific command-line options, allowing
target-specific defaults for certain command-line options like
-fms-extensions, exposing vector alignment outside of the description
string, exposing endianness outside of the description string, allowing
targets to expose special bit-field layout requirements, exposing some
sort of custom hook for call generation in CodeGen, and adding CPU
selection to control defines like __SSE__.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5fb0a02846ed1e40094703179c0f773b4081b030 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Add Linux x86-32 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0d4047b9a0e6c3b4bbe3df53b2dd59dfb3a2170c 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Add Linux x86-32 target.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2b16165d8ee6a02ede96ae74a46075a1801e68d7 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> First cut at OS detection, taking advantage of the new generic targets.
This approach allows adding OS-specific targets/defines/etc. without
completely breaking unknown subtargets. No new subtargets yet, although
I plan to add x86-Linux soon. Others can add targets that they use as
needed; adding a new subtarget takes very little code.

Also does some fixups for description strings; a lot of them were
unspecified. I think all the ones I added are correct, but
they're unverified; corrections are welcome.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ed855cbbdfa53215c23b49064bb79579a1840fe1 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> First cut at OS detection, taking advantage of the new generic targets.
This approach allows adding OS-specific targets/defines/etc. without
completely breaking unknown subtargets. No new subtargets yet, although
I plan to add x86-Linux soon. Others can add targets that they use as
needed; adding a new subtarget takes very little code.

Also does some fixups for description strings; a lot of them were
unspecified. I think all the ones I added are correct, but
they're unverified; corrections are welcome.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fd5a4122b358348167894347f68214b0210004a0 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class reorg for PPC; shouldn't be any visible changes unless I messed
up somehow.

This concludes the series of reorg patches for the target
implementations.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e4277985819ef48ad74e37b1770af61af3761482 21-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class reorg for PPC; shouldn't be any visible changes unless I messed
up somehow.

This concludes the series of reorg patches for the target
implementations.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
be727fe1eb85e76bdfc431131d7eb091cceab284 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class reorg for ARM. Shouldn't be any visible changes.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
a9f5496df43d0fcafc9c1e16a6ffba93cb00fe11 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class reorg for ARM. Shouldn't be any visible changes.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ff158ddbc99a1dec461bcdd2c673058b5386889c 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class hierarchy reorg for Sparc architecture. While I was there, I
cleaned it up a bit, including fixing the definition of va_list; this
shouldn't break anything, but anyone using Sparc should watch for
regressions.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
01b866808f4be5eb6bd437387b5396c0cdee5495 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Class hierarchy reorg for Sparc architecture. While I was there, I
cleaned it up a bit, including fixing the definition of va_list; this
shouldn't break anything, but anyone using Sparc should watch for
regressions.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
872996cafdd70080addbf012736fa5cb1fcd0cd8 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Reorganize the class hierarchy for x86 targets; shouldn't have any
visible effects, but this will significantly reduce the amount of
boilerplate code necessary to add subtargets.

If this looks okay, I'll do the rest of the processors (PPC, Sparc, ARM)
soon.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
618234a7481ed8da28dcdee0f997beb6e8252204 20-Aug-2008 Eli Friedman <eli.friedman@gmail.com> Reorganize the class hierarchy for x86 targets; shouldn't have any
visible effects, but this will significantly reduce the amount of
boilerplate code necessary to add subtargets.

If this looks okay, I'll do the rest of the processors (PPC, Sparc, ARM)
soon.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
c4d84c5696346acbd6392da82ea282eb1469ac0f 18-Aug-2008 Chris Lattner <sabre@nondot.org> Fix PR2627, support for Q constraint.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1e2118954730cab40675d510a29400bea0d19d84 18-Aug-2008 Chris Lattner <sabre@nondot.org> Fix PR2627, support for Q constraint.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ebd8f0f733941871aab785716aab27cb97fdcb38 18-Aug-2008 Sanjiv Gupta <sanjiv.gupta@microchip.com> Allow targets to override description string.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
364af81157a81cf34bb058a7d5b0185020e5164b 18-Aug-2008 Sanjiv Gupta <sanjiv.gupta@microchip.com> Allow targets to override description string.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
428e67629c95d368a6a9ab600be990e9fd62824b 12-Aug-2008 Daniel Dunbar <daniel@zuster.org> Move some ObjC preprocessor definitions into
InitializePredefinedMacros().
- Also now properly wired to -fobjc-gc, -fnext-runtime.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fba5cb12adbe95d79855e91db018b863ce48387e 12-Aug-2008 Daniel Dunbar <daniel@zuster.org> Move some ObjC preprocessor definitions into
InitializePredefinedMacros().
- Also now properly wired to -fobjc-gc, -fnext-runtime.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1be1df38bc96c806d045260cd25e96f09b041c51 11-Aug-2008 Daniel Dunbar <daniel@zuster.org> Add LangOptions::NeXTRuntime.
- Wired to -fnext-runtime and -fgnu-runtime options.
- Defaults to GNU, no autoselection for NeXT.

Emit NeXT OBJC_IMAGE_INFO marker.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f77ac86f4eca528a04b817d7ad7f045a47d52712 11-Aug-2008 Daniel Dunbar <daniel@zuster.org> Add LangOptions::NeXTRuntime.
- Wired to -fnext-runtime and -fgnu-runtime options.
- Defaults to GNU, no autoselection for NeXT.

Emit NeXT OBJC_IMAGE_INFO marker.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e0ad215b709fba79b3a1ead9af31a6f8bd3ee77a 11-Aug-2008 Daniel Dunbar <daniel@zuster.org> More #include cleaning
- Kill unnecessary #includes in .cpp files. This is an automatic
sweep so some things removed are actually used, but happen to be
included by a previous header. I tried to get rid of the obvious
examples and this was the easiest way to trim the #includes in one
fell swoop.
- We now return to regularly scheduled development.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
acc5f3e42334525bf28c86471551f83dfce222d5 11-Aug-2008 Daniel Dunbar <daniel@zuster.org> More #include cleaning
- Kill unnecessary #includes in .cpp files. This is an automatic
sweep so some things removed are actually used, but happen to be
included by a previous header. I tried to get rid of the obvious
examples and this was the easiest way to trim the #includes in one
fell swoop.
- We now return to regularly scheduled development.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
82b2628ab6e3a178edde5f2aaac8a3f7400315ce 22-Jul-2008 Anders Carlsson <andersca@mac.com> Always define __SIZE_TYPE__ as long unsigned int.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
8b7c9fb2efc4c72c24989c211cf8e877c2a2b3a1 22-Jul-2008 Anders Carlsson <andersca@mac.com> Always define __SIZE_TYPE__ as long unsigned int.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
fd7bf3a436a4bc7ea6c688ac1d8145871a43836f 07-Jul-2008 Nuno Lopes <nunoplopes@sapo.pt> add x86 EDI register alias

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9d294801746366014e77f5d811e026bf59d4a8b1 07-Jul-2008 Nuno Lopes <nunoplopes@sapo.pt> add x86 EDI register alias

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e531db8b474daf0b1d5e18dc4dceff0e8d035a76 05-Jul-2008 Nuno Lopes <nunoplopes@sapo.pt> move the linux predefined macro definition to the TargetInfo, where it really belongs

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
551d5e9811c0e68496bb2842163c6d99138d6ef9 05-Jul-2008 Nuno Lopes <nunoplopes@sapo.pt> move the linux predefined macro definition to the TargetInfo, where it really belongs

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
4a712856198f6e5264fff4f221cd2178a71ff539 04-Jun-2008 Eli Friedman <eli.friedman@gmail.com> Make the width and alignment for long double consistent with the
hardcoded data layout in getTargetDescription. Hopefully fixes a test
failure.

Of course, this should be fixed properly, but that's a bigger fix.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
5aa4fd65efe3bda6080009fffba747450f34536e 04-Jun-2008 Eli Friedman <eli.friedman@gmail.com> Make the width and alignment for long double consistent with the
hardcoded data layout in getTargetDescription. Hopefully fixes a test
failure.

Of course, this should be fixed properly, but that's a bigger fix.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
1dee5c5850b0d07e7804bd629251f28ce05bd5c4 25-May-2008 Eli Friedman <eli.friedman@gmail.com> Make sure to define __sparc__ on Solaris; this should "fix"
test/Codegen/mandel.c on Solaris. :-)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bf0c9bdd492662e637b6b8eef0ccc23d211ad883 25-May-2008 Eli Friedman <eli.friedman@gmail.com> Make sure to define __sparc__ on Solaris; this should "fix"
test/Codegen/mandel.c on Solaris. :-)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d401189a004e9309d9ae1068ff09b34c085bccaf 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Missed an include.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2553126e29fbb846e71bfbfc93e5c63f2f05b0c6 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Missed an include.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2fde2a539de69c16c8f2e2b7cdef9984883d2301 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Minor correction for PPC targets.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d37f0b82f1d86f79bb4be3afae24e5b792f2e074 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Minor correction for PPC targets.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
0b7b1cb2169742c4027d2b1db74788fa55f5da97 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Some small changes to make the target info a bit more accurate.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51319 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
61538a7d1336f3ef3cb81e09f11a1cbb282bcf81 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Some small changes to make the target info a bit more accurate.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51319 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
e5fde95f3d9eb09104838f7acd0ec58ecfcf6f9f 09-May-2008 Chris Lattner <sabre@nondot.org> set long/pointers to 64-bits on ppc64/x86-64


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50891 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
f291b10fa99ed1c82256b7600911c09e82021205 09-May-2008 Chris Lattner <sabre@nondot.org> set long/pointers to 64-bits on ppc64/x86-64


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50891 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
727b3c4572f4107706b7530dbc1c3be668e42717 09-May-2008 Chris Lattner <sabre@nondot.org> parameterize pointer size/align better without doing virtual method calls in normal case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
927686fe8c968ca786fa44d2353eebf59c4f5b8a 09-May-2008 Chris Lattner <sabre@nondot.org> parameterize pointer size/align better without doing virtual method calls in normal case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
85970f3f71b583df8ad9cbb66bc117728f797d7c 08-May-2008 Chris Lattner <sabre@nondot.org> Add basic support for the pic-* target triples and add support for
targets that do not support recursion (and thus codegen stack variables
as globals).

Patch contributed by Alireza Moshtaghi!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
2621fd1d6d3c5eadcae246859f62738645df7540 08-May-2008 Chris Lattner <sabre@nondot.org> Add basic support for the pic-* target triples and add support for
targets that do not support recursion (and thus codegen stack variables
as globals).

Patch contributed by Alireza Moshtaghi!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
222823af47fae8933a3896fca70d780df8f3ea4f 22-Apr-2008 Nate Begeman <natebegeman@mac.com> Add some basic ARM asm constraints


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
ad487f4ef2968c5a11bb729e65fda2f2e4b155c8 22-Apr-2008 Nate Begeman <natebegeman@mac.com> Add some basic ARM asm constraints


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
b644405776f5d8556ed8d3163e20c2e31b78438d 21-Apr-2008 Chris Lattner <sabre@nondot.org> Fix pasto, thanks to Anders for pointing this out.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50055 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
d0c33d3527fff8315accb7e54b1bc82d593973cb 21-Apr-2008 Chris Lattner <sabre@nondot.org> Fix pasto, thanks to Anders for pointing this out.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50055 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
9fd736147309aa7ba1f58ff010f506affe56c5cd 21-Apr-2008 Chris Lattner <sabre@nondot.org> add arm support


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
393ff04a07d7fd9b212b2cbe398435813c73c9a1 21-Apr-2008 Chris Lattner <sabre@nondot.org> add arm support


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
be1a7a0f1f78bf5f919ff1e4b4ae6e8649255f26 16-Mar-2008 Chris Lattner <sabre@nondot.org> Make a major restructuring of the clang tree: introduce a top-level
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp
bda0b626e74513950405c27525af87e214e605e2 16-Mar-2008 Chris Lattner <sabre@nondot.org> Make a major restructuring of the clang tree: introduce a top-level
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/Targets.cpp