- Apr 29, 2011
-
-
Nick Lewycky authored
under cmake). Add libprofile_rt.a so that we can tell clang to link against it in --coverage mode. Also turn it on by default in cmake builds. Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think I've done the right thing, but please let me know (or fix and commit) if not! llvm-svn: 130470
-
Eric Christopher authored
llvm-svn: 130464
-
Eric Christopher authored
llvm-svn: 130463
-
Eli Friedman authored
llvm-svn: 130462
-
Eli Friedman authored
llvm-svn: 130455
-
Eli Friedman authored
rdar://problem/9338332 . llvm-svn: 130454
-
Devang Patel authored
llvm-svn: 130450
-
Matt Beaumont-Gay authored
llvm-svn: 130448
-
- Apr 28, 2011
-
-
Benjamin Kramer authored
This shouldn't happen in practice because the icmp would be a constant. Add a check so we don't miscompile code if something goes wrong. llvm-svn: 130446
-
Nick Lewycky authored
between two reads (threading). Fix an off-by-one in the indirect counter table that I meant to revert after an earlier experiment. Whoops! Implement GCOV_PREFIX. Doesn't handle GCOV_PREFIX_STRIP yet. Fix an off-by-one in string emission. Extra whoops! Tolerate DISubprograms that have null Function*'s attached to them. I don't yet understand what this means, but it happens when you have a global static with a non-trivial constructor/destructor. Fix a crash on switch statements with a single successor (default-only). llvm-svn: 130443
-
Daniel Dunbar authored
purposes. llvm-svn: 130438
-
Rafael Espindola authored
expressions used in the FDE to refer to symbols. llvm-svn: 130437
-
Devang Patel authored
llvm-svn: 130435
-
Ted Kremenek authored
Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses malloc'ed or mmap'ed memory. This is for performance analysis. llvm-svn: 130432
-
Devang Patel authored
llvm-svn: 130431
-
Lenny Maiorani authored
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. llvm-svn: 130430
-
Eli Friedman authored
fast-isel sret calls, try 2. We actually do need to do something on x86-32. rdar://problem/9303592 . llvm-svn: 130429
-
Benjamin Kramer authored
llvm-svn: 130428
-
Chris Lattner authored
llvm-svn: 130426
-
Devang Patel authored
llvm-svn: 130419
-
Eli Friedman authored
llvm-svn: 130418
-
Chris Lattner authored
a nice and tidy: %x1 = load i32* %0, align 4 %1 = icmp eq i32 %x1, 1179403647 br i1 %1, label %if.then, label %if.end instead of doing lots of loads and branches. May the FreeBSD bootloader long fit in its allocated space. llvm-svn: 130416
-
Chris Lattner authored
llvm-svn: 130414
-
Eli Friedman authored
llvm-svn: 130412
-
Owen Anderson authored
Fix a bug in tblgen that caused incorrect encodings on instructions that specified operands with "bit" instead of "bits<1>". Unfortunately, my only testcase for this is fragile, and the ARM AsmParser can't round trip the instruction in question. <rdar://problem/9345702> llvm-svn: 130410
-
Devang Patel authored
Add command line option to print debug info in human readable form as comment in llvm IR output. This, i.e -enable-debug-info-comment, is very useful if you want to easily find out which optimization pass is losing line number information. llvm-svn: 130409
-
Andrew Trick authored
llvm-svn: 130408
-
Benjamin Kramer authored
This happens when GVN widens loads. Part of PR6627. llvm-svn: 130405
-
Eric Christopher authored
if it means we get a fallthrough. llvm-svn: 130404
-
Chris Lattner authored
static functions instead of passing around tons of random ivars. llvm-svn: 130403
-
Chris Lattner authored
llvm-svn: 130401
-
Rafael Espindola authored
converting the symbol passed to .cfi_personality into bytes is the file. llvm-svn: 130400
-
Rafael Espindola authored
llvm-svn: 130397
-
Jay Foad authored
llvm-svn: 130396
-
Chandler Carruth authored
a bit more sinister as the memset doesn't do what the constructor does. There seems to be a cleaner solution than a cast here though, instead we can point the memset destination into the union its actually trying to clear. An alternative is to point to the Untyped member of this union. Review appreciated, and if that is cleaner I'm happy to switch. All of these should be functionally equivalent to the original code. llvm-svn: 130395
-
Chandler Carruth authored
llvm-svn: 130393
-
Chandler Carruth authored
llvm-svn: 130392
-
Chandler Carruth authored
llvm-svn: 130391
-
Chris Lattner authored
wider load would allow elimination of subsequent loads, and when the wider load is still a native integer type. This eliminates a ton of loads on various benchmarks involving struct fields, though it is somewhat hobbled by clang not being very aggressive about field alignment. This is yet another step along the way towards resolving PR6627. llvm-svn: 130390
-
Eric Christopher authored
immediate patterns in arm to using the pattern. Handles rdar://9299434 llvm-svn: 130386
-