| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
| |
POWER4 is a 64-bit CPU (better matched to the 970).
The g3 is really the 750 (no altivec), the g4+ is the 74xx (not the 750).
Patch by Andreas Tobler.
llvm-svn: 158363
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
__ppc__.
Original commit message:
Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName().
Both the new Linux functionality and the old Darwin functions have been moved.
This change also allows this information to be queried directly by clang and
other frontends (clang, for example, will now have real -mcpu=native support).
llvm-svn: 158349
|
| |
|
|
| |
llvm-svn: 158346
|
| |
|
|
|
|
|
|
|
| |
sys::getHostCPUName()."
This commit broke most of the PowerPC unit tests when running on
Intel/Apple.
llvm-svn: 158345
|
| |
|
|
|
|
|
|
|
|
|
| |
thread local data, embed them in the class using a uint64_t and make sure
we get compiler errors if there's a platform where this is not big enough.
This makes ThreadLocal more safe for using it in conjunction with CrashRecoveryContext.
Related to crash in rdar://11434201.
llvm-svn: 158342
|
| |
|
|
|
|
|
|
| |
Both the new Linux functionality and the old Darwin functions have been moved.
This change also allows this information to be queried directly by clang and
other frontends (clang, for example, will now have real -mcpu=native support).
llvm-svn: 158337
|
| |
|
|
|
|
| |
PathV1 implementation file.
llvm-svn: 158274
|
| |
|
|
| |
llvm-svn: 158273
|
| |
|
|
| |
llvm-svn: 158248
|
| |
|
|
|
|
| |
Patch by James Benton <jbenton@vmware.com>.
llvm-svn: 158213
|
| |
|
|
|
|
|
|
|
|
|
| |
Apart from being slightly cheaper, this fixes a real bug that hits 32 bit
linux systems. When passing a file larger than 2G to be linked (which isn't
that uncommon with large projects such as WebKit), clang's driver checks
if the file exists but the file size doesn't fit in an off_t and stat(2)
fails with EOVERFLOW. Clang then says that the file doesn't exist instead
of passing it to the linker.
llvm-svn: 157891
|
| |
|
|
|
|
| |
to check when someone would remove the tempdir.
llvm-svn: 157529
|
| |
|
|
|
|
|
|
| |
This back-end was deprecated in favor of the NVPTX back-end.
NV_CONTRIB
llvm-svn: 157417
|
| |
|
|
| |
llvm-svn: 157381
|
| |
|
|
|
|
| |
this fixes the missed optimization I was seeing in the CorrelatedValuePropagation pass
llvm-svn: 157032
|
| |
|
|
| |
llvm-svn: 156787
|
| |
|
|
| |
llvm-svn: 156652
|
| |
|
|
|
|
|
|
| |
to user only read/write.
Part of rdar://11325849
llvm-svn: 156591
|
| |
|
|
| |
llvm-svn: 156492
|
| |
|
|
|
|
|
|
|
|
|
| |
For the Family 6 switch in sys::getHostCPUName, an unrecognized model was
reported as "i686". That's a really bad default since it means that new
CPUs will be treated as if they can only use 32-bit code. This just looks
at the cpuid extended feature flag for 64 bit support, and if that is set,
it uses a default x86-64 cpu. Similar logic is already used for the Family
15 code. <rdar://problem/11314502>
llvm-svn: 156486
|
| |
|
|
| |
llvm-svn: 156484
|
| |
|
|
|
|
|
| |
This new function provides a way to get the iOS version number from ios triples.
Part of rdar://11409204
llvm-svn: 156483
|
| |
|
|
|
|
| |
PR12731. Patch by Meador Inge!
llvm-svn: 156444
|
| |
|
|
| |
llvm-svn: 156414
|
| |
|
|
|
|
| |
Files might be opend by system scanners (eg. file indexer, virus scanner, &c).
llvm-svn: 156380
|
| |
|
|
|
|
| |
Fixes a -Woverflow warning from gcc when building for 32-bit platforms.
llvm-svn: 156313
|
| |
|
|
| |
llvm-svn: 156260
|
| |
|
|
| |
llvm-svn: 156252
|
| |
|
|
|
|
|
| |
to Unix/Process.inc.
FIXME: GetRandomNumber() is not implemented in Win32.
llvm-svn: 156251
|
| |
|
|
|
|
| |
of work for a drive-by fix :)
llvm-svn: 156246
|
| |
|
|
| |
llvm-svn: 156245
|
| |
|
|
|
|
| |
printing slightly more efficient.
llvm-svn: 156243
|
| |
|
|
| |
llvm-svn: 156240
|
| |
|
|
| |
llvm-svn: 156239
|
| |
|
|
|
|
|
|
| |
- Just use sys::Process::GetRandomNumber instead of having two poor
implementations.
- This is ~70 times (!) faster on my OS X machine.
llvm-svn: 156238
|
| |
|
|
|
|
| |
- Primitive API, but we rarely have need for random numbers.
llvm-svn: 156237
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it.
The new target machines are:
nvptx (old ptx32) => 32-bit PTX
nvptx64 (old ptx64) => 64-bit PTX
The sources are based on the internal NVIDIA NVPTX back-end, and
contain more functionality than the current PTX back-end currently
provides.
NV_CONTRIB
llvm-svn: 156196
|
| |
|
|
|
|
| |
Lincroft and Medfield.
llvm-svn: 156025
|
| |
|
|
| |
llvm-svn: 155907
|
| |
|
|
| |
llvm-svn: 155735
|
| |
|
|
|
|
| |
'REPLACEMENT CHARACTER' (U+FFFD) when getAsInteger fails.
llvm-svn: 155653
|
| |
|
|
| |
llvm-svn: 155402
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When building LLVM on Linux with libc++ with CMake TIME_WITH_SYS_TIME is
undefined, and HAVE_SYS_TIME_H is defined. This ends up including
sys/time.h but not time.h. Unix/TimeValue.inc requires time.h for asctime_r
and localtime. libstdc++ seems to include time.h anyway, but libc++ does
not.
Fix this by always including time.h
llvm-svn: 155382
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The problem is that the struct file_status on UNIX systems has two
members called st_dev and st_ino; those are also members of the
struct stat, and they are reserved identifiers which can also be
provided as #define (and this is the case for st_dev on Hurd).
The solution (attached) is to rename them, for example adding a
"fs_" prefix (= file status) to them.
Patch by Pino Toscano
llvm-svn: 155354
|
| |
|
|
|
|
| |
fixes an assert reading "1239123123123123" when the result is already 64-bit.
llvm-svn: 155329
|
| |
|
|
| |
llvm-svn: 155307
|
| |
|
|
|
|
| |
StringRef::getAsInteger
llvm-svn: 155298
|
| |
|
|
| |
llvm-svn: 155283
|
| |
|
|
|
|
|
|
| |
platforms.
No functionality change.
llvm-svn: 155280
|
| |
|
|
|
|
| |
Same color scheme as clang uses. The colors are only enabled if the output is a tty.
llvm-svn: 155035
|