- Mar 15, 2010
-
-
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
-
- Mar 12, 2010
-
-
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
that in InstCombineCalls. More call lowering needed. llvm-svn: 98228
-
- 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
-
- Mar 06, 2010
-
-
Eric Christopher authored
out the remainder of the calls that we should lower in some way and move the tests to the new correct directory. Fix up tests that are now optimized more than they were before by -instcombine. llvm-svn: 97875
-
- Mar 05, 2010
-
-
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
-
Evan Cheng authored
Safely turn memset_chk etc. to non-chk variant if the known object size is >= memset / memcpy / memmove size. llvm-svn: 97828
-
Chris Lattner authored
in a very specific use pattern embodied in the carefully reduced testcase. llvm-svn: 97794
-
Eric Christopher authored
No functionality change. llvm-svn: 97793
-
- Mar 03, 2010
-
-
Dan Gohman authored
of loops. llvm-svn: 97642
-
- Mar 02, 2010
-
-
Dan Gohman authored
emitted after the increment. Make sure the insert position reflects this. This fixes PR6453. llvm-svn: 97537
-
Bob Wilson authored
a loop and is itself the only dependency). llvm-svn: 97526
-
Bob Wilson authored
predecessors before returning. Otherwise, if multiple predecessor edges need splitting, we only get one of them per iteration. This makes a small but measurable compile time improvement with -enable-full-load-pre. llvm-svn: 97521
-
- Mar 01, 2010
-
-
Evan Cheng authored
llvm-svn: 97512
-
Dan Gohman authored
llvm-svn: 97453
-
- Feb 28, 2010
-
-
Bob Wilson authored
llvm-svn: 97366
-
- Feb 27, 2010
-
-
Chris Lattner authored
llvm-svn: 97313
-
Chris Lattner authored
of a subtle interation in a loop operating in densemap order. llvm-svn: 97288
-
- Feb 26, 2010
-
-
Bob Wilson authored
argument of createGVNPass and set it automatically for -O3. llvm-svn: 97245
-
Bob Wilson authored
llvm-svn: 97235
-
- 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 24, 2010
-
-
Daniel Dunbar authored
llvm-svn: 97036
-
Daniel Dunbar authored
the DominatorTree. ...", in hopes of restoring poor old PPC bootstrap. llvm-svn: 97027
-
Bob Wilson authored
argument is non-null, pass it along to PHITranslateSubExpr so that it can prefer using existing values that dominate the PredBB, instead of just blindly picking the first equivalent value that it finds on a uselist. Also when the DominatorTree is specified, have PHITranslateValue filter out any result that does not dominate the PredBB. This is basically just refactoring the check that used to be in GetAvailablePHITranslatedSubExpr and also in GVN. Despite my initial expectations, this change does not affect the results of GVN for any testcases that I could find, but it should help compile time. Before this change, if PHITranslateSubExpr picked a value that does not dominate, PHITranslateWithInsertion would then insert a new value, which GVN would later determine to be redundant and would replace. By picking a good value to begin with, we save GVN the extra work of inserting and then replacing a new value. llvm-svn: 97010
-
- Feb 23, 2010
-
-
Bob Wilson authored
I don't have a small testcase for this. llvm-svn: 96890
-
- Feb 22, 2010
-
-
Bob Wilson authored
failures from ValueTable::verifyRemoved() when using -debug. llvm-svn: 96805
-
Dan Gohman authored
llvm-svn: 96780
-
Dan Gohman authored
induction variable value and a loop-variant value, don't force the insert position to be at the post-increment position, because it may not be dominated by the loop-variant value. This fixes a use-before-def problem noticed on PPC. llvm-svn: 96774
-
Dan Gohman authored
llvm-svn: 96771
-
- Feb 19, 2010
-
-
Dan Gohman authored
the division would have a remainder. llvm-svn: 96693
-
Dan Gohman authored
scaled reuse. llvm-svn: 96692
-
Dale Johannesen authored
to be spurious llvm-svn: 96662
-
Dale Johannesen authored
llvm-svn: 96653
-
Dan Gohman authored
strides in foreign loops. This helps locate reuse opportunities with existing induction variables in foreign loops and reduces the need for inserting new ones. This fixes rdar://7657764. llvm-svn: 96629
-
Dan Gohman authored
a loop exit value, so that if a loop gets deleted, ScalarEvolution isn't stick holding on to dangling SCEVAddRecExprs for that loop. This fixes PR6339. llvm-svn: 96626
-