- May 05, 2012
-
-
Daniel Dunbar authored
llvm-svn: 156239
-
Daniel Dunbar authored
- Just use sys::Process::GetRandomNumber instead of having two poor implementations. - This is ~70 times (!) faster on my OS X machine. llvm-svn: 156238
-
Daniel Dunbar authored
- Primitive API, but we rarely have need for random numbers. llvm-svn: 156237
-
- May 04, 2012
-
-
Justin Holewinski authored
This patch adds a new NVPTX back-end to LLVM which supports code generation 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
-
- May 02, 2012
-
-
Preston Gurd authored
Lincroft and Medfield. llvm-svn: 156025
-
- May 01, 2012
-
-
Benjamin Kramer authored
llvm-svn: 155907
-
- Apr 27, 2012
-
-
Michael J. Spencer authored
llvm-svn: 155735
-
- Apr 26, 2012
-
-
Michael J. Spencer authored
'REPLACEMENT CHARACTER' (U+FFFD) when getAsInteger fails. llvm-svn: 155653
-
- Apr 24, 2012
-
-
Evan Cheng authored
llvm-svn: 155402
-
- Apr 23, 2012
-
-
Michael J. Spencer authored
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
-
Sylvestre Ledru authored
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
-
Chris Lattner authored
fixes an assert reading "1239123123123123" when the result is already 64-bit. llvm-svn: 155329
-
- Apr 22, 2012
-
-
Bill Wendling authored
llvm-svn: 155307
-
Chris Lattner authored
StringRef::getAsInteger llvm-svn: 155298
-
- Apr 21, 2012
-
-
Nuno Lopes authored
llvm-svn: 155283
-
Benjamin Kramer authored
No functionality change. llvm-svn: 155280
-
- Apr 18, 2012
-
-
Benjamin Kramer authored
Same color scheme as clang uses. The colors are only enabled if the output is a tty. llvm-svn: 155035
-
Benjamin Kramer authored
DenseMap's hash function uses slightly more entropy and reduces hash collisions significantly. I also experimented with Hashing.h, but it didn't gave a lot of improvement while being much more expensive to compute. llvm-svn: 154996
-
Seth Cantrell authored
llvm-svn: 154971
-
David Blaikie authored
llvm-svn: 154962
-
- Apr 17, 2012
-
-
Seth Cantrell authored
llvm-svn: 154944
-
Manuel Klimek authored
llvm-svn: 154930
-
- Apr 16, 2012
-
-
Benjamin Kramer authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell, with a minor fix for mingw by me. llvm-svn: 154805
-
Argyrios Kyrtzidis authored
llvm-svn: 154802
-
Argyrios Kyrtzidis authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell! llvm-svn: 154800
-
- Apr 11, 2012
-
-
Sylvestre Ledru authored
Thanks to Pino Toscano for the patch llvm-svn: 154500
-
Benjamin Kramer authored
llvm-svn: 154496
-
- Apr 05, 2012
-
-
Argyrios Kyrtzidis authored
the caller requested a null-terminated one. When mapping the file there could be a racing issue that resulted in the file being larger than the FileSize passed by the caller. We already have an assertion for this in MemoryBuffer::init() but have a runtime guarantee that the buffer will be null-terminated, so do a copy that adds a null-terminator. Protects against crash of rdar://11161822. llvm-svn: 154082
-
- Apr 04, 2012
-
-
Benjamin Kramer authored
llvm-svn: 154004
-
Michael J. Spencer authored
llvm-svn: 153979
-
Michael J. Spencer authored
llvm-svn: 153977
-
- Apr 02, 2012
-
-
Hal Finkel authored
llvm-svn: 153882
-
- Mar 29, 2012
-
-
Eric Christopher authored
llvm-svn: 153691
-
- Mar 26, 2012
-
-
Anton Korobeynikov authored
Patch by Sylvestre Ledru! llvm-svn: 153435
-
- Mar 24, 2012
-
-
Jean-Daniel Dupas authored
llvm-svn: 153395
-
- Mar 22, 2012
-
-
Michael J. Spencer authored
som inputs. Bug found and fix proposed by Kal Conley! llvm-svn: 153225
-
- Mar 14, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152692
-
Benjamin Kramer authored
llvm-svn: 152688
-
- Mar 13, 2012
-
-
Argyrios Kyrtzidis authored
if the passed in FileSize is inaccurate. rdar://11034179 llvm-svn: 152662
-
- Mar 12, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152577
-