- Mar 26, 2010
-
-
Gabor Greif authored
llvm-svn: 99564
-
- Mar 25, 2010
-
-
Chris Lattner authored
llvm-svn: 99488
-
Eric Christopher authored
llvm-svn: 99451
-
- Mar 24, 2010
-
-
Evan Cheng authored
llvm-svn: 99418
-
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: 99398
-
Gabor Greif authored
llvm-svn: 99395
-
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
-
Bill Wendling authored
llvm-svn: 99324
-
Evan Cheng authored
Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable optimizations down stream. llvm-svn: 99282
-
Gabor Greif authored
if Function::hasAddressTaken works as advertised also included some cosmetic cleanups llvm-svn: 99276
-
Evan Cheng authored
llvm-svn: 99263
-
- 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 20, 2010
-
-
Gabor Greif authored
and use this (as well as getCalledValue) to access the callee, instead of {g|s}etOperand(0). llvm-svn: 99084
-
Dan Gohman authored
so that the SCEVExpander doesn't retain a dangling pointer as its insert position. The dangling pointer in this case wasn't ever used to insert new instructions, but it was causing trouble with SCEVExpander's code for automatically advancing its insert position past debug intrinsics. This fixes use-after-free errors that valgrind noticed in test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll and test/Transforms/IndVarSimplify/exit_value_tests.ll. llvm-svn: 99036
-
- 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 16, 2010
-
-
Benjamin Kramer authored
str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake. llvm-svn: 98671
-
Benjamin Kramer authored
llvm-svn: 98663
-
- Mar 15, 2010
-
-
Devang Patel authored
llvm-svn: 98584
-
Devang Patel authored
llvm-svn: 98581
-
Devang Patel authored
In "empty" bb, the return instruction may not be first instruction, if dbg value intrinsics are present in this bb. Use terminator to find return instructions. llvm-svn: 98565
-
- Mar 14, 2010
-
-
Bill Wendling authored
llvm-svn: 98491
-
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
-
Nate Begeman authored
llvm-svn: 98297
-
Nate Begeman authored
llvm-svn: 98296
-
- 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
that in InstCombineCalls. More call lowering needed. llvm-svn: 98228
-
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
-
Jakob Stoklund Olesen authored
The Caller cost info would be reset everytime a callee was inlined. If the caller has lots of calls and there is some mutual recursion going on, the caller cost info could be calculated many times. This patch reduces inliner runtime from 240s to 0.5s for a function with 20000 small function calls. This is a more conservative version of r98089 that doesn't break the clang test CodeGenCXX/temp-order.cpp. That test relies on rather extreme inlining for constant folding. llvm-svn: 98099
-
- Mar 09, 2010
-
-
Jakob Stoklund Olesen authored
llvm-svn: 98094
-