- Jun 21, 2008
-
-
Dan Gohman authored
llvm-svn: 52571
-
Evan Cheng authored
llvm-svn: 52570
-
Ted Kremenek authored
llvm-svn: 52569
-
Ted Kremenek authored
llvm-svn: 52568
-
Ted Kremenek authored
When using the dead-stores checker with the BugReporter class, properly capture the diagnostic associated with a specific warning and emit it. llvm-svn: 52565
-
Ted Kremenek authored
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-June/015446.html llvm-svn: 52564
-
- Jun 20, 2008
-
-
Ted Kremenek authored
llvm-svn: 52563
-
Ted Kremenek authored
llvm-svn: 52560
-
Ted Kremenek authored
llvm-svn: 52559
-
Ted Kremenek authored
llvm-svn: 52556
-
Ted Kremenek authored
1) Check if a dead store appears as a subexpression. For such cases, we emit a verbose diagnostic so that users aren't confused. This addresses: <rdar://problem/5968508> checker gives misleading report for dead store in loop 2) Don't emit a dead store warning when assigning a null value to a pointer. This is a common form of defensive programming. We may wish to make this an option to the the checker one day. This addresses the feature request in the following email: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-June/001978.html llvm-svn: 52555
-
Evan Cheng authored
Enhanced heuristic to determine the *best* register to spill. Instead of picking the register with the lowest spill weight. Consider (up to) 2 additional registers with spill weights that are close to the lowest spill weight. The one with fewest defs and uses that conflicts with the current interval (weighted by loop depth) is the spill candidate. This is not always a win, but there are much more wins than loses and wins tend to be more noticeable. llvm-svn: 52554
-
Ted Kremenek authored
llvm-svn: 52553
-
Ted Kremenek authored
Added "Decl::getCodyBody()", a virtual method that returns the root AST node (Stmt*) that the Decl wraps (if any). Currently this only returns a non-null value for FunctionDecl and ObjCMethodDecl. llvm-svn: 52552
-
Chris Lattner authored
llvm-svn: 52551
-
Owen Anderson authored
llvm-svn: 52550
-
Owen Anderson authored
llvm-svn: 52549
-
Duncan Sands authored
float expansion (and sometimes vector splitting too). llvm-svn: 52548
-
Duncan Sands authored
store, like the methods for loads (and neaten those up a bit while there). llvm-svn: 52547
-
Duncan Sands authored
integer of the same type. Before it was "promotion", but this is confusing because it is quite different to promotion of integers. Call it "softening" instead, inspired by "soft float". llvm-svn: 52546
-
Dan Gohman authored
llvm-svn: 52545
-
Dan Gohman authored
llvm-svn: 52544
-
Dan Gohman authored
getInsertedValueOperand accessors. Thanks Matthijs! llvm-svn: 52543
-
Dan Gohman authored
instructions. Thanks to Matthijs Kooijman for pointing this out! llvm-svn: 52542
-
Dan Gohman authored
llvm-svn: 52541
-
Matthijs Kooijman authored
llvm-svn: 52540
-
Matthijs Kooijman authored
llvm-svn: 52539
-
Matthijs Kooijman authored
type wasn't changed. llvm-svn: 52538
-
Matthijs Kooijman authored
into T) when no return values are actually dead. llvm-svn: 52537
-
Matthijs Kooijman authored
DeadArgumentElimination and assert that the function type does not change if nothing was changed. This should catch subtle changes in function type that are not intended. llvm-svn: 52536
-
Matthijs Kooijman authored
llvm-svn: 52535
-
Matthijs Kooijman authored
This is a fixed version that no longer uses multimap::equal_range, which resulted in a pointer invalidation problem. Also, DAE::InspectedFunctions was not really necessary, so it got removed. Lastly, this version no longer applies the extra arg hack on functions who did not have any arguments to start with. llvm-svn: 52532
-
Owen Anderson authored
llvm-svn: 52531
-
Chris Lattner authored
definition for VS2005 (without SP1). It suppress the (bogus) M$ deprecated warning." Patch by Cédric Venet! llvm-svn: 52530
-
Chris Lattner authored
llvm-svn: 52529
-
Chris Lattner authored
llvm-svn: 52528
-
Chris Lattner authored
types differ. Patch by Nathan Keynes! llvm-svn: 52527
-
Chris Lattner authored
llvm-svn: 52526
-
Chris Lattner authored
llvm-svn: 52525
-
Chris Lattner authored
llvm-svn: 52524
-