- Mar 26, 2010
-
-
Gabor Greif authored
llvm-svn: 99564
-
- Mar 25, 2010
-
-
Eric Christopher authored
llvm-svn: 99451
-
- Mar 24, 2010
-
-
Gabor Greif authored
I have audited all getOperandNo calls now, fixing hidden assumptions. CallSite related uglyness will be eliminated successively. Note this patch has a long and griveous history, for all the back-and-forths have a look at CallSite.h's log. llvm-svn: 99399
-
Gabor Greif authored
llvm-svn: 99394
-
- Mar 23, 2010
-
-
Chris Lattner authored
for the noinline attribute, and make the inliner refuse to inline a call site when the call site is marked noinline even if the callee isn't. This fixes PR6682. llvm-svn: 99341
-
Evan Cheng authored
Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable optimizations down stream. llvm-svn: 99282
-
- Mar 22, 2010
-
-
Evan Cheng authored
llvm-svn: 99224
-
Gabor Greif authored
llvm-svn: 99171
-
Gabor Greif authored
we can reapply the InvokeInst operand reordering patch. (see r98957). llvm-svn: 99170
-
- Mar 19, 2010
-
-
Gabor Greif authored
back out r98957, it broke http://smooshlab.apple.com:8010/builders/clang-x86_64-darwin10-fnt/builds/703 in the nightly test suite llvm-svn: 98958
-
Gabor Greif authored
This time I did a self-hosted bootstrap on Linux x86-64, with no problems. Let's see how darwin 64-bit self-hosting goes. At the first sign of failure I'll back this out. Maybe the valgrind bots give me a hint of what may be wrong (it at all). llvm-svn: 98957
-
- Mar 15, 2010
-
-
Devang Patel authored
llvm-svn: 98581
-
- Mar 14, 2010
-
-
Bill Wendling authored
llvm-svn: 98490
-
- Mar 12, 2010
-
-
Benjamin Kramer authored
llvm-svn: 98376
-
Benjamin Kramer authored
to unify the almost identical code in CodeGenPrepare and InstCombineCalls. llvm-svn: 98338
-
- Mar 11, 2010
-
-
Benjamin Kramer authored
stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __strcpy_chk -> strcpy code. llvm-svn: 98284
-
Eric Christopher authored
llvm-svn: 98274
-
Eric Christopher authored
llvm-svn: 98260
-
Eric Christopher authored
llvm-svn: 98219
-
- Mar 10, 2010
-
-
Dan Gohman authored
compute a set of reachable blocks for itself each time it is called, which is fairly frequently. llvm-svn: 98179
-
Dan Gohman authored
llvm-svn: 98122
-
- Mar 08, 2010
-
-
Devang Patel authored
This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
-
Devang Patel authored
llvm-svn: 97963
-
Devang Patel authored
This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
-
- Mar 05, 2010
-
-
Ted Kremenek authored
llvm-svn: 97846
-
Eric Christopher authored
can be used in more places. Add an argument for the TargetData that most of them need. Update for the getInt8PtrTy() change. Should be no functionality change. llvm-svn: 97844
-
- Mar 01, 2010
-
-
Dan Gohman authored
llvm-svn: 97458
-
- Feb 25, 2010
-
-
Dan Gohman authored
which branch on undef to branch on a boolean constant for the edge exiting the loop. This helps ScalarEvolution compute trip counts for loops. Teach ScalarEvolution to recognize single-value PHIs, when safe, and ForgetSymbolicName to forget such single-value PHI nodes as apprpriate in ForgetSymbolicName. llvm-svn: 97126
-
- Feb 16, 2010
-
-
Bob Wilson authored
llvm-svn: 96387
-
Bob Wilson authored
terminator's list of successors. llvm-svn: 96377
-
Duncan Sands authored
and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344
-
- Feb 15, 2010
-
-
Chris Lattner authored
called by jump threading. llvm-svn: 96263
-
Duncan Sands authored
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223
-
- Feb 13, 2010
-
-
Chris Lattner authored
llvm-svn: 96081
-
Chris Lattner authored
to a PHI, avoid it in the common case where the BB occurs in the same index for multiple phis. This speeds up CGP on an insane testcase from 8.35 to 3.58s. llvm-svn: 96080
-
Chris Lattner authored
using pred_begin/end. It is much faster. llvm-svn: 96079
-
- Feb 05, 2010
-
-
Jakob Stoklund Olesen authored
Weird code sometimes uses pointer constants other than null. This patch teaches SimplifyCFG to build switch instructions in those cases. Code like this: void f(const char *x) { if (!x) puts("null"); else if ((uintptr_t)x == 1) puts("one"); else if (x == (char*)2 || x == (char*)3) puts("two"); else if ((intptr_t)x == 4) puts("four"); else puts(x); } Now becomes a switch: define void @f(i8* %x) nounwind ssp { entry: %magicptr23 = ptrtoint i8* %x to i64 ; <i64> [#uses=1] switch i64 %magicptr23, label %if.else16 [ i64 0, label %if.then i64 1, label %if.then2 i64 2, label %if.then9 i64 3, label %if.then9 i64 4, label %if.then14 ] Note that LLVM's own DenseMap uses magic pointers. llvm-svn: 95439
-
Dan Gohman authored
malloc caller in a profile. llvm-svn: 95407
-
- Feb 01, 2010
-
-
Bob Wilson authored
The testcase from pr6198 does not crash for me -- I don't know what's up with that -- so I'm not adding it to the tests. llvm-svn: 94984
-
- Jan 30, 2010
-
-
Bob Wilson authored
unconditionally. Besides checking the offset, also check that the underlying object is aligned as much as the load itself. llvm-svn: 94875
-