| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Get rid of static constructors for pass registration. Instead, every pass ↵ | Owen Anderson | 2010-10-19 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Now with fewer extraneous semicolons! | Owen Anderson | 2010-10-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 115996 | ||||
| * | 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 | -1/+2 |
| | | | | | llvm-svn: 109045 | ||||
| * | cleanups, switch GlobalDCE to SmallPtrSet instead of std::set | Chris Lattner | 2009-11-01 | 1 | -13/+8 |
| | | | | | llvm-svn: 85730 | ||||
| * | teach various passes about blockaddress. We no longer | Chris Lattner | 2009-10-29 | 1 | -7/+7 |
| | | | | | | | crash on any clang tests. llvm-svn: 85465 | ||||
| * | 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 | ||||
| * | Derive metadata hierarchy from Value instead of User. | Devang Patel | 2009-10-21 | 1 | -3/+0 |
| | | | | | llvm-svn: 84801 | ||||
| * | Do not remove dead metadata for now. | Devang Patel | 2009-10-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 84731 | ||||
| * | Remove dead metadata. | Devang Patel | 2009-08-11 | 1 | -0/+3 |
| | | | | | llvm-svn: 78651 | ||||
| * | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -1/+0 |
| | | | | | llvm-svn: 76702 | ||||
| * | Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a ↵ | Owen Anderson | 2009-07-16 | 1 | -0/+2 |
| | | | | | | | | | number of issues in our current context-passing stuff, which is also fixed here llvm-svn: 76089 | ||||
| * | Remove an unused function SafeToDestroyConstant(). Rename an almost | Jay Foad | 2009-06-09 | 1 | -15/+0 |
| | | | | | | | | identical function ConstantIsDead() to SafeToDestroyConstant(), to emphasise the connection with Constant::destroyConstant(). llvm-svn: 73149 | ||||
| * | available_externall linkage is not local, this was confusing the codegenerator, | Torok Edwin | 2009-05-23 | 1 | -2/+2 |
| | | | | | | | | | | and it wasn't generating calls through @PLT for these functions. hasLocalLinkage() is now false for available_externally, I attempted to fix the inliner and dce to handle available_externally properly. It passed make check. llvm-svn: 72328 | ||||
| * | eliminate unneeded parens. | Chris Lattner | 2009-04-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 68939 | ||||
| * | If an alias is dead and so is its aliasee, then globaldce would | Duncan Sands | 2009-02-17 | 1 | -8/+16 |
| | | | | | | | | crash because the alias would still be using the aliasee when the aliasee was deleted. llvm-svn: 64844 | ||||
| * | Add the private linkage. | Rafael Espindola | 2009-01-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 62279 | ||||
| * | The verifier checks that the aliasee is not null. | Duncan Sands | 2009-01-07 | 1 | -2/+1 |
| | | | | | llvm-svn: 61870 | ||||
| * | Not having an aliasee is a theoretical possibility. | Duncan Sands | 2009-01-05 | 1 | -1/+2 |
| | | | | | llvm-svn: 61745 | ||||
| * | Format more neatly. | Duncan Sands | 2009-01-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 61744 | ||||
| * | Delete unused global aliases with internal linkage. | Duncan Sands | 2009-01-05 | 1 | -8/+23 |
| | | | | | | | | | In fact this also deletes those with linkonce linkage, however this is currently dead because for the moment aliases aren't allowed to have this linkage type. llvm-svn: 61742 | ||||
| * | Use actual function name in comments. | Devang Patel | 2008-11-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 59063 | ||||
| * | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 55779 | ||||
| * | Use find instead of lower_bound. | Dan Gohman | 2008-07-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 53474 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -2/+3 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | 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 | ||||
| * | Implement review feedback | Anton Korobeynikov | 2007-04-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 36564 | ||||
| * | Implement review feedback. Aliasees can be either GlobalValue's or | Anton Korobeynikov | 2007-04-28 | 1 | -6/+2 |
| | | | | | | | bitcasts of them. llvm-svn: 36537 | ||||
| * | Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part | Anton Korobeynikov | 2007-04-25 | 1 | -1/+12 |
| | | | | | | | will follow. llvm-svn: 36435 | ||||
| * | 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 | ||||
| * | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -3/+3 |
| | | | | | | | confusion with external linkage types. llvm-svn: 33663 | ||||
| * | Eliminate static ctors due to Statistic objects | Chris Lattner | 2006-12-19 | 1 | -3/+4 |
| | | | | | llvm-svn: 32693 | ||||
| * | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -2/+2 |
| | | | | | | | 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 | ||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 |
| | | | | | llvm-svn: 21427 | ||||
| * | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -2/+2 |
| | | | | | | | | | 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 | ||||
| * | Remove useless statistic, fix some slightly broken logic | Chris Lattner | 2004-07-18 | 1 | -8/+4 |
| | | | | | llvm-svn: 14958 | ||||
| * | bug 122: | Reid Spencer | 2004-07-18 | 1 | -22/+17 |
| | | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Rename methods to get ride of ConstantPointerRef usage llvm-svn: 14945 | ||||
| * | 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 | -0/+4 |
| | | | | | llvm-svn: 9903 | ||||
| * | 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 | ||||

