Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Fix PR1719, by not marking llvm.global.annotations internal. | Tanya Lattner | 2007-10-03 | 1 | -0/+1 |
| | | | | llvm-svn: 42578 | ||||
* | Fix PR1719, by not marking llvm.noinline internal. | Chris Lattner | 2007-10-03 | 1 | -0/+1 |
| | | | | llvm-svn: 42565 | ||||
* | More explicit keywords. | Dan Gohman | 2007-08-01 | 1 | -2/+2 |
| | | | | llvm-svn: 40673 | ||||
* | simplify this code and fix PR1493, now that llvm-gcc3 is dead. | Chris Lattner | 2007-06-06 | 1 | -17/+2 |
| | | | | llvm-svn: 37478 | ||||
* | 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 | -2/+4 |
| | | | | llvm-svn: 36632 | ||||
* | Removed tabs everywhere except autogenerated & external files. Add make | Anton Korobeynikov | 2007-04-16 | 1 | -1/+1 |
| | | | | | | target for tabs checking. llvm-svn: 36146 | ||||
* | 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 PR411: | Reid Spencer | 2007-02-05 | 1 | -1/+1 |
| | | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922 | ||||
* | 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 | ||||
* | Change the MachineDebugInfo to MachineModuleInfo to better reflect usage | Jim Laskey | 2007-01-26 | 1 | -2/+2 |
| | | | | | | for debugging and exception handling. llvm-svn: 33550 | ||||
* | Eliminate static ctors due to Statistic objects | Chris Lattner | 2006-12-19 | 1 | -2/+4 |
| | | | | llvm-svn: 32693 | ||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -2/+1 |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -2/+2 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | Replace #include <iostream> with llvm_* streams. | Bill Wendling | 2006-11-26 | 1 | -5/+4 |
| | | | | llvm-svn: 31924 | ||||
* | Initialize DontInternalize. | Devang Patel | 2006-09-13 | 1 | -1/+2 |
| | | | | llvm-svn: 30281 | ||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29925 | ||||
* | Make it fit into 80 cols. | Devang Patel | 2006-07-20 | 1 | -2/+2 |
| | | | | llvm-svn: 29223 | ||||
* | Add new constructor to accept vector of exported names while creating | Devang Patel | 2006-07-20 | 1 | -0/+12 |
| | | | | | | InternalizePass. llvm-svn: 29222 | ||||
* | Switch to using a numeric id for anchors. | Jim Laskey | 2006-03-07 | 1 | -3/+4 |
| | | | | llvm-svn: 26598 | ||||
* | Make iostream #inclusion explicit | Chris Lattner | 2006-01-22 | 1 | -0/+1 |
| | | | | llvm-svn: 25514 | ||||
* | If not internalizing, don't mark llvm.global[cd]tors const, as a fix for a | Chris Lattner | 2006-01-19 | 1 | -2/+5 |
| | | | | | | hypothetical future boog. llvm-svn: 25430 | ||||
* | Don't internalize llvm.global[cd]tor unless there are uses of it. This | Chris Lattner | 2006-01-19 | 1 | -3/+9 |
| | | | | | | unbreaks front-ends that don't use __main (like the new CFE). llvm-svn: 25429 | ||||
* | Pull inline methods out of the pass class definition to make it easier to | Chris Lattner | 2006-01-03 | 1 | -78/+88 |
| | | | | | | | | read the code. Do not internalize debugger anchors. llvm-svn: 25067 | ||||
* | Wrap a long line, never internalize llvm.used. | Chris Lattner | 2005-12-05 | 1 | -2/+6 |
| | | | | llvm-svn: 24602 | ||||
* | Add an option to this pass. If it is set, we are allowed to internalize | Chris Lattner | 2005-10-18 | 1 | -4/+10 |
| | | | | | | | all but main. If it's not set, we can still internalize, but only if an explicit symbol list is provided. llvm-svn: 23783 | ||||
* | 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 | -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 | -3/+3 |
| | | | | | | | 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 | -3/+3 |
| | | | | | | | | 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 | ||||
* | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -5/+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 | ||||
* | DEBUG got moved to Support/Debug.h | Chris Lattner | 2003-08-01 | 1 | -1/+2 |
| | | | | llvm-svn: 7492 | ||||
* | When internalizing global ctor/dtor list, also mark it constant. This is ↵ | Chris Lattner | 2003-06-26 | 1 | -0/+8 |
| | | | | | | | | gross, but until DSA is working all of the time and is totally reliable, we do this. llvm-svn: 6917 | ||||
* | Make the list accept comma separated names | Chris Lattner | 2003-05-22 | 1 | -1/+2 |
| | | | | llvm-svn: 6295 | ||||
* | * Revert to old behavior of ignoring a module if it doesn't contain a main | Chris Lattner | 2003-05-22 | 1 | -7/+24 |
| | | | | | | | | function and no symbols were explicitly marked to be externalized. * Add new -internalize-public-api-list option that can be used if the symbol list is small, and making a new file is annoying. llvm-svn: 6289 | ||||
* | Add option to internalize to allow it to read a file to determine which symbols | Chris Lattner | 2003-05-22 | 1 | -10/+41 |
| | | | | | | should not be internalized llvm-svn: 6288 | ||||
* | Add new linkage types to support a real frontend | Chris Lattner | 2003-04-16 | 1 | -2/+2 |
| | | | | llvm-svn: 5786 | ||||
* | Use the new getMainFunction() method to efficiently locate main | Chris Lattner | 2002-11-08 | 1 | -10/+5 |
| | | | | llvm-svn: 4630 | ||||
* | Non-functionality change just to make it more clear what is going on | Chris Lattner | 2002-10-07 | 1 | -1/+1 |
| | | | | llvm-svn: 4060 | ||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -4/+3 |
| | | | | | | | | | | | | * 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 | ||||
* | * Indent class into anonymous namespace, filling up the diff with garbage | Chris Lattner | 2002-07-30 | 1 | -30/+43 |
| | | | | | | | | | * Internalize global variables with initializers * Add new stat to track global variable internalization * Only count functions that were not internal before in internalized function count llvm-svn: 3163 | ||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Eliminate several include/llvm/Transforms/IPO/*.h files, moving their ↵ | Chris Lattner | 2002-07-24 | 1 | -1/+1 |
| | | | | | | contents into IPO.h llvm-svn: 3043 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 1 | -2/+4 |
| | | | | llvm-svn: 3016 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -7/+7 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778 |