| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix PR8144, a bug where constant merge would merge globals marked | Chris Lattner | 2010-09-15 | 1 | -1/+27 |
| | | | | | | | attribute(used). llvm-svn: 113911 | ||||
| * | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 110460 | ||||
| * | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 110410 | ||||
| * | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 1 | -1/+1 |
| | | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | ||||
| * | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 109045 | ||||
| * | 1. modernize the constantmerge pass, using densemap/smallvector. | Chris Lattner | 2010-02-12 | 1 | -19/+22 |
| | | | | | | | | | | 2. don't bother trying to merge globals in non-default sections, doing so is quite dubious at best anyway. 3. fix a bug reported by Arnaud de Grandmaison where we'd try to merge two globals in different address spaces. llvm-svn: 95995 | ||||
| * | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 |
| | | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | ||||
| * | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -1/+1 |
| | | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | ||||
| * | Use hasDefinitiveInitializer() instead of testing the same thing | Dan Gohman | 2009-08-19 | 1 | -1/+1 |
| | | | | | | | | by hand, and fix a few places that were using hasInitializer() that appear to depend on the initializer value. llvm-svn: 79441 | ||||
| * | Add the private linkage. | Rafael Espindola | 2009-01-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 62279 | ||||
| * | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 55779 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -3/+4 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 |
| | | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | ||||
| * | remove some dead code. | Chris Lattner | 2008-02-13 | 1 | -4/+0 |
| | | | | | llvm-svn: 47066 | ||||
| * | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 45418 | ||||
| * | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 36873 | ||||
| * | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 36662 | ||||
| * | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
| * | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | | llvm-svn: 36632 | ||||
| * | avoid iterator invalidation. | Chris Lattner | 2007-04-14 | 1 | -2/+4 |
| | | | | | llvm-svn: 36002 | ||||
| * | An even better fix. | Jeff Cohen | 2007-04-14 | 1 | -3/+2 |
| | | | | | llvm-svn: 35998 | ||||
| * | Fix recent regression that broke several llvm-tests. | Jeff Cohen | 2007-04-14 | 1 | -0/+2 |
| | | | | | llvm-svn: 35996 | ||||
| * | in addition to merging, constantmerge should also delete trivially dead globals, | Chris Lattner | 2007-04-14 | 1 | -1/+8 |
| | | | | | | | in order to clean up after simplifylibcalls. llvm-svn: 35982 | ||||
| * | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 1 | -1/+2 |
| | | | | | | | | 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 | ||||
| * | Eliminate static ctors due to Statistic objects | Chris Lattner | 2006-12-19 | 1 | -2/+3 |
| | | | | | llvm-svn: 32693 | ||||
| * | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -1/+1 |
| | | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
| * | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 29925 | ||||
| * | Fix ConstantMerge/2006-03-07-DontMergeDiffSections.ll, a problem Jim | Chris Lattner | 2006-03-07 | 1 | -11/+14 |
| | | | | | | | | hypotheticalized about, where we would incorrectly merge two globals in different sections. llvm-svn: 26597 | ||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -8/+8 |
| | | | | | llvm-svn: 21427 | ||||
| * | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | ||||
| * | 'Pass' should now not be derived from by clients. Instead, they should derive | Chris Lattner | 2004-09-20 | 1 | -4/+4 |
| | | | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436 | ||||
| * | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
| * | Merging constants can cause further room for improvement. Iterate until | Chris Lattner | 2003-12-28 | 1 | -35/+45 |
| | | | | | | | we converge llvm-svn: 10618 | ||||
| * | Fix memory corruption bug PR193 | Chris Lattner | 2003-12-22 | 1 | -20/+26 |
| | | | | | llvm-svn: 10586 | ||||
| * | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -4/+2 |
| | | | | | llvm-svn: 10138 | ||||
| * | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -1/+4 |
| | | | | | llvm-svn: 9903 | ||||
| * | Fix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64 | Chris Lattner | 2003-10-29 | 1 | -2/+13 |
| | | | | | llvm-svn: 9579 | ||||
| * | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
| * | Fix spell-o's | Chris Lattner | 2003-09-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 8431 | ||||
| * | Global constants CAN be external | Chris Lattner | 2003-04-18 | 1 | -3/+3 |
| | | | | | llvm-svn: 5808 | ||||
| * | - Dramatically simplify the ConstantMerge code now that | Chris Lattner | 2002-10-09 | 1 | -102/+3 |
| | | | | | | | Value::replaceAllUsesWith works with constants correctly. llvm-svn: 4104 | ||||
| * | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002 | ||||
| * | Fix: ConstantMerge/2002-09-23-CPR-Update.ll | Chris Lattner | 2002-09-23 | 1 | -14/+102 |
| | | | | | | | | | Basically, this bug boiled down to calling replaceUsesOfWith on a constant, which changed it's shape in an illegal way. This pass now goes through all of the trouble neccesary to do the replacement on constants. llvm-svn: 3895 | ||||
| * | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112 | ||||
| * | Incorporate ConstantMerge.h into IPO.h | Chris Lattner | 2002-07-23 | 1 | -3/+2 |
| | | | | | llvm-svn: 3035 | ||||
| * | * Remove getPassName implementation | Chris Lattner | 2002-07-23 | 1 | -2/+2 |
| | | | | | | | * Register all Passes llvm-svn: 3015 | ||||
| * | Remove DynamicConstantMerge pass, because it did not fit in with the Pass | Chris Lattner | 2002-06-25 | 1 | -64/+27 |
| | | | | | | | system correctly. llvm-svn: 2772 | ||||
| * | Add support for printing out statistics information when -stats is added to | Chris Lattner | 2002-05-10 | 1 | -0/+4 |
| | | | | | | | the command line llvm-svn: 2601 | ||||
| * | Add new optional getPassName() virtual function that a Pass can override | Chris Lattner | 2002-04-29 | 1 | -0/+4 |
| | | | | | | | to make debugging output a lot nicer. llvm-svn: 2395 | ||||
| * | Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵ | Chris Lattner | 2002-04-28 | 1 | -0/+4 |
| | | | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386 | ||||

