- Aug 19, 2011
-
-
Bill Wendling authored
llvm-svn: 138102
-
- Oct 19, 2010
-
-
Owen Anderson authored
Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820
-
- Oct 08, 2010
-
-
Owen Anderson authored
llvm-svn: 115996
-
- Aug 06, 2010
-
-
Owen Anderson authored
llvm-svn: 110460
-
Owen Anderson authored
llvm-svn: 110410
-
Owen Anderson authored
ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
-
- Jul 22, 2010
-
-
Owen Anderson authored
llvm-svn: 109045
-
- Jun 22, 2010
-
-
Dan Gohman authored
llvm-svn: 106542
-
- Jan 05, 2010
-
-
Dan Gohman authored
non-zero trip count. Use SmallVector's pop_back_val(). llvm-svn: 92734
-
- Sep 02, 2009
-
-
Chris Lattner authored
llvm-svn: 80766
-
- May 06, 2009
-
-
Duncan Sands authored
the optimizers about this. For example, a readonly function with no uses cannot be removed unless it is also marked nounwind. llvm-svn: 71071
-
- Mar 04, 2009
-
-
Dale Johannesen authored
was causing llvm-gcc to fail to build. I've verified it bootstraps now; good enough for me. llvm-svn: 66073
-
- Nov 19, 2008
-
-
Devang Patel authored
llvm-svn: 59658
-
- Nov 11, 2008
-
-
Devang Patel authored
llvm-svn: 59012
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
- Jul 03, 2008
-
-
Owen Anderson authored
Remove the ability for ADCE to remove unreachable blocks in loop nests, because, as Eli pointed out, SimplifyCFG already does this. llvm-svn: 53104
-
- Jul 02, 2008
-
-
Owen Anderson authored
Also, move large sets and vectors out of instance variables and onto the stack, and give them more reasonable sizes. llvm-svn: 53044
-
Owen Anderson authored
part of PR2509. llvm-svn: 53038
-
Owen Anderson authored
with a huge "size" parameter is actually quite inefficient. llvm-svn: 53034
-
- Jun 23, 2008
-
-
Owen Anderson authored
instance variables so they can be allocated just once, and reuse the worklist as the dead list as well. llvm-svn: 52618
-
- May 29, 2008
-
-
Duncan Sands authored
llvm-svn: 51680
-
Owen Anderson authored
the one case that ADCE catches that normal DCE doesn't: non-induction variable loop computations. This implementation handles this problem without using postdominators. llvm-svn: 51668
-
- May 16, 2008
-
-
Owen Anderson authored
safer manner by loop deletion. llvm-svn: 51182
-
- May 13, 2008
-
-
Dan Gohman authored
several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
-
- Apr 06, 2008
-
-
Gabor Greif authored
Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Dec 01, 2007
-
-
Duncan Sands authored
into alias analysis. This meant updating the API which now has versions of the getModRefBehavior, doesNotAccessMemory and onlyReadsMemory methods which take a callsite parameter. These should be used unless the callsite is not known, since in general they can do a better job than the versions that take a function. Also, users should no longer call the version of getModRefBehavior that takes both a function and a callsite. To reduce the chance of misuse it is now protected. llvm-svn: 44487
-
- Nov 22, 2007
-
-
Duncan Sands authored
exceptions, so don't turn invokes of them into calls. llvm-svn: 44278
-
- Aug 01, 2007
-
-
David Greene authored
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
-
- Jun 04, 2007
-
-
Devang Patel authored
llvm-svn: 37407
-
- Jun 03, 2007
-
-
Devang Patel authored
llvm-svn: 37403
-
- May 06, 2007
-
-
Nick Lewycky authored
llvm-svn: 36873
-
- May 03, 2007
-
-
Devang Patel authored
llvm-svn: 36662
-
- May 02, 2007
-
-
Devang Patel authored
Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
-
- May 01, 2007
-
-
Devang Patel authored
llvm-svn: 36632
-
- Apr 18, 2007
-
-
Owen Anderson authored
llvm-svn: 36255
-
Owen Anderson authored
llvm-svn: 36249
-
- Feb 13, 2007
-
-
Chris Lattner authored
llvm-svn: 34219
-
- Feb 11, 2007
-
-
Chris Lattner authored
llvm-svn: 34176
-
- Feb 06, 2007
-
-
Reid Spencer authored
the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939
-