summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/Internalize.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the private linkage.Rafael Espindola2009-01-151-2/+4
| | | | llvm-svn: 62279
* Teach the internalize pass to also internalizeDuncan Sands2009-01-051-0/+12
| | | | | | global aliases. llvm-svn: 61754
* Remove trailing spaces.Duncan Sands2009-01-051-10/+10
| | | | llvm-svn: 61743
* Teach internalize to preserve the callgraph.Duncan Sands2008-10-031-0/+7
| | | | | | Why? Because it was there! llvm-svn: 56996
* revert the addition of Preverves(CallGraph), per Duncan's commentsNuno Lopes2008-10-011-2/+0
| | | | llvm-svn: 56917
* add preserversCFG() + preservers(CallGraph)Nuno Lopes2008-09-301-0/+6
| | | | llvm-svn: 56887
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-2/+2
| | | | llvm-svn: 55779
* Rename a few variables to be more consistent.Matthijs Kooijman2008-06-241-3/+3
| | | | llvm-svn: 52672
* Simplify internalize pass. Add test case.Devang Patel2008-05-141-19/+21
| | | | | | Patch by Matthijs Kooijman! llvm-svn: 51114
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-131-14/+15
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
* Make several variable declarations static.Dan Gohman2008-05-061-2/+2
| | | | llvm-svn: 50696
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Fix PR1719, by not marking llvm.global.annotations internal.Tanya Lattner2007-10-031-0/+1
| | | | llvm-svn: 42578
* Fix PR1719, by not marking llvm.noinline internal.Chris Lattner2007-10-031-0/+1
| | | | llvm-svn: 42565
* More explicit keywords.Dan Gohman2007-08-011-2/+2
| | | | llvm-svn: 40673
* simplify this code and fix PR1493, now that llvm-gcc3 is dead.Chris Lattner2007-06-061-17/+2
| | | | llvm-svn: 37478
* Fix typo in comment.Nick Lewycky2007-05-061-1/+1
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-031-2/+2
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-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 Patel2007-05-011-2/+4
| | | | llvm-svn: 36632
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-161-1/+1
| | | | | | target for tabs checking. llvm-svn: 36146
* Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes inReid Spencer2007-02-051-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 Spencer2007-02-051-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 avoidReid Spencer2007-01-301-3/+3
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-261-2/+2
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Eliminate static ctors due to Statistic objectsChris Lattner2006-12-191-2/+4
| | | | llvm-svn: 32693
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-2/+1
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-2/+2
| | | | | | is 'unsigned'. llvm-svn: 32279
* Replace #include <iostream> with llvm_* streams.Bill Wendling2006-11-261-5/+4
| | | | llvm-svn: 31924
* Initialize DontInternalize.Devang Patel2006-09-131-1/+2
| | | | llvm-svn: 30281
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-1/+1
| | | | llvm-svn: 29925
* Make it fit into 80 cols.Devang Patel2006-07-201-2/+2
| | | | llvm-svn: 29223
* Add new constructor to accept vector of exported names while creatingDevang Patel2006-07-201-0/+12
| | | | | | InternalizePass. llvm-svn: 29222
* Switch to using a numeric id for anchors.Jim Laskey2006-03-071-3/+4
| | | | llvm-svn: 26598
* Make iostream #inclusion explicitChris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25514
* If not internalizing, don't mark llvm.global[cd]tors const, as a fix for aChris Lattner2006-01-191-2/+5
| | | | | | hypothetical future boog. llvm-svn: 25430
* Don't internalize llvm.global[cd]tor unless there are uses of it. ThisChris Lattner2006-01-191-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 toChris Lattner2006-01-031-78/+88
| | | | | | | | read the code. Do not internalize debugger anchors. llvm-svn: 25067
* Wrap a long line, never internalize llvm.used.Chris Lattner2005-12-051-2/+6
| | | | llvm-svn: 24602
* Add an option to this pass. If it is set, we are allowed to internalizeChris Lattner2005-10-181-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 whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-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 deriveChris Lattner2004-09-201-3/+3
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* Changes For Bug 352Reid Spencer2004-09-011-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 namespacificationChris Lattner2003-11-211-5/+2
| | | | llvm-svn: 10138
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* DEBUG got moved to Support/Debug.hChris Lattner2003-08-011-1/+2
| | | | llvm-svn: 7492
* When internalizing global ctor/dtor list, also mark it constant. This is ↵Chris Lattner2003-06-261-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 namesChris Lattner2003-05-221-1/+2
| | | | llvm-svn: 6295
OpenPOWER on IntegriCloud