- Jun 21, 2008
-
-
Dan Gohman authored
and provides fairly efficient removal of arbitrary elements. Switch ScheduleDAGRRList from std::set to this new priority queue. llvm-svn: 52582
-
Chris Lattner authored
llvm-svn: 52581
-
Chris Lattner authored
Patch by David Chisnall with objc rewriter and stmtdumper updates from me. llvm-svn: 52580
-
Chris Lattner authored
since handling this correctly is quite complex, and on some platforms requires additional -D options and on some implies linking against a different libc, but this works better than just ignoring the option. The other change passes the -x option across to clang, which allows compiling .c files as Objective-C and so on. For some reason a lot of configure scripts seem to be under the misguided impression that this is a sensible thing to do." Patch by David Chisnall! llvm-svn: 52579
-
Ted Kremenek authored
llvm-svn: 52578
-
Duncan Sands authored
don't know if a truncating store is possible here, but added support for it anyway. llvm-svn: 52577
-
Dan Gohman authored
to DenseMap<SDNode*, SUnit*>, and adjust the way cloned SUnit nodes are handled so that only the original node needs to be in the map. This speeds up llc on 447.dealII.llvm.bc by about 2%. llvm-svn: 52576
-
Argyrios Kyrtzidis authored
llvm-svn: 52575
-
Evan Cheng authored
llvm-svn: 52574
-
Evan Cheng authored
llvm-svn: 52572
-
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
-