c684e83e4554bfaf6180426f86b9253b65dd46ec |
|
02-Aug-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move methods in PassManagerBuilder offline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
3d453ac1317f910b0589d87c061f056be29e36cd |
|
02-Aug-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
move PassManagerBuilder.h to IPO. This is a non intuitive place to put it, but it solves a layering violation since things in Support are not supposed to use things in Transforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
efce071fd67bd9a92f722210a9795330d30206d0 |
|
22-May-2011 |
Chris Lattner <sabre@nondot.org> |
fix a file system case sensitivity issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
9d70b6b306a44d98c5d87f40526666b4ebd107c3 |
|
22-May-2011 |
Chris Lattner <sabre@nondot.org> |
switch llvm-ld. It has a terrible mechanism that people can add extra passes, it should be converted to use extension points. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
51ecc389a9b6ae82ff799a62cde882629fad53b0 |
|
24-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Trim #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
ac95cc79ac0b899d566cc29c0f646f39c2fa35c0 |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Convert more tools code from cerr and cout to errs() and outs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
65f57c233cd4499e2e8b52a503201e64edfd6a9e |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Use errs() instead of std::cerr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
e0f0e0be1c5f6f80cd866d84643509ef399eec96 |
|
03-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Change LTO to run the global opt pass twice. - This matches llvm-ld. It took a bit of archeology to figure out what the right thing to do was (whether this was intentionally added or intentionally removed). My final conclusion is that Chris added this intentionally here: http://llvm.org/viewvc/llvm-project?view=rev&revision=16913 but the changes weren't propogated to llvm-ld until here: http://llvm.org/viewvc/llvm-project?view=rev&revision=34058 which was after lto.cpp had been cloned off (of llvm-ld), here: http://llvm.org/viewvc/llvm-project?view=rev&revision=29494 From the commit message, it looks like the motivation for running global opt again is because we ran it prior to inlining. Based on that I updated the comment and also only run the pass if we actually ran the inliner. Chris, please review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
006a03482880a5b614dfbb8601e0ae92593a595c |
|
03-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add createStandardLTOPasses to StandardPasses.h, and move lto and llvm-ld over. - I know it sounds crazy, but I think all the pass lists are now coalesced into StandardPasses.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
677c2c2a6257657d85f16871addc93f37cd40454 |
|
26-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add the function attributes pass during LTO time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
3688f268cb31dbfb5b36131d96af668fa2fc6a8d |
|
15-Aug-2008 |
Owen Anderson <resistor@mac.com> |
Remove GCSE, ValueNumbering, and LoadValueNumbering. These have been deprecated for almost a year; it's finally time for them to go away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
735e6eabf1f4a76023c8d798d4f3c9cfca9e869e |
|
02-Jul-2008 |
Owen Anderson <resistor@mac.com> |
Use ADCE instead of just DCE. ADCE will better clean up after jump threading, for instance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
6c31e87d7cdbbc997659ef6c732b6bca96751a01 |
|
25-Jun-2008 |
Chris Lattner <sabre@nondot.org> |
run mem2reg after the second jump threading pass in llvm-ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
8e336eb04d399fafd7ffeae36b015f8084557a23 |
|
25-Jun-2008 |
Chris Lattner <sabre@nondot.org> |
remove some dead options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
d2368dc344bf46e2f5df3de1bff74ab0228d99a9 |
|
22-Apr-2008 |
Owen Anderson <resistor@mac.com> |
Move MemCpyOpt after GVN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
e12d8e422d81b52e04b0c3f2efd603e1ccb5f7a9 |
|
21-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
run the jump threading pass in llvm-ld also git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
a723d1e48f4a261512c28845c53eda569fa5218c |
|
09-Apr-2008 |
Owen Anderson <resistor@mac.com> |
Factor a bunch of functionality related to memcpy and memset transforms out of GVN and into its own pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
230293b4c52d4ff22072982a1115f60dab50726b |
|
19-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
style and spelling git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48562 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
50b5742157c9ca3e3c0bf7d8990cf745cd4811cd |
|
19-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
llvm-ld deserves disable-verify too. opt shouldn't have all the fun options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
21c62da287237d39d0d95004881ea4baae3be6da |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
d06eb2c8791d9430fbae376dda43114fc6bfed5f |
|
09-Sep-2007 |
Owen Anderson <resistor@mac.com> |
Turn GVN on by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
f6a05f949f39d94d846dff9bf5093a838c6ebc4b |
|
01-Aug-2007 |
Owen Anderson <resistor@mac.com> |
Rename FastDSE to just DSE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
b63c7b695f14bc23b8491a609f99d8cfe1996aef |
|
17-Jul-2007 |
Owen Anderson <resistor@mac.com> |
Turn on FastDSE by default. Note: FastDSE now equals or exceeds the results of old DSE on all of SPEC2000 and SPEC2006. Unless major problems show up in the testers, it will likely completely replace old DSE in the near future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
037a704f4ffde640e38df71b68f17efcc729298f |
|
06-Jun-2007 |
Chris Lattner <sabre@nondot.org> |
if internalize is disabled, don't run the pass at all! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
c8c5752b2fcc9131358905e7af75d51dd84861b9 |
|
05-Apr-2007 |
Chris Lattner <sabre@nondot.org> |
run a late dce pass to clean up extra cruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
54959d6cf68a9b575c98c074babe9867682a7271 |
|
07-Mar-2007 |
Devang Patel <dpatel@apple.com> |
Now LICM is a LoopPass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
7f04c0867e129acc809ba4ae04edc57f31e261de |
|
08-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1153: Make llvm-ld more gccld-like by having it run the same set of passes. The delta was probably due to lack of llvm-ld being maintained. Just another reason to have only one optimizing linker in in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
ef9b9a793949469cdaa4ab6d0173136229dcab7b |
|
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
cd950a5308916f75e0faa6747151338750791fd7 |
|
01-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
target constructors are never used git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
a089d4430d8c5ddeec02ad3e0329c3110ef110ad |
|
17-Nov-2006 |
Bill Wendling <isanbard@gmail.com> |
Need <iostream> for the time being. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
30967a54f4d9f5a2f12cf4775be9cdab9ad43f5e |
|
28-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
eliminate only use of FilteredPassNameParser git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
dcee9d093fc81bbf47567d73aa46d8d6fe42dec1 |
|
20-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Make sure the verify pass gets run after the user's loaded passes as well when the verify-each option is given. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
ec9f05056040b1134e414477e3e11a1d6c30ab73 |
|
20-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Rename the -verify option to be -verify-each so that it doesn't conflict with the -verify pass option. It is also more accurate in that this option causes a verify option to be run after every pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
8e33fae0ed53d91ce86c1764bcce445ebb98f8cb |
|
20-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Convert llvm-ld to use the PluginLoader like opt instead of having its one-off (and broken) RunOptimizations function. Also, run some cleanup passes after the user's loaded passes run. This make sure to clean up any cruft left around by thos passes. This patch was inspired by a patch submitted by Bram Adams. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
831b1210390b3a00f68de9a79be0f4e13d6287b0 |
|
16-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Don't pass target name into TargetData anymore, it is never used or needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
2991b01b183abb12ae7e29544e427f794d64b14c |
|
08-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Shorten a value description so --help out isn't so wide. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
7c5357f0b92ffb4872152c8385a1a1bbffeefc82 |
|
03-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Fix a -pedantic warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
fbcd54f2cbf89bd277a0531711cdc0e7cb1f15a3 |
|
18-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Fix PR637 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
3da94aec4d429b2ba0f65fa040c33650cade196b |
|
22-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
96690a81d439e4b101dca6e53e1ea5b283437c17 |
|
11-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Revert the last patch. We really do need SimplyCFG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
357cf5439a5e0ad49245dc75798b6490d67834fd |
|
10-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Remove this pass as its no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
f8f70c1a17750a4453a898f6328d1421bf82c3be |
|
02-Dec-2004 |
Chris Lattner <sabre@nondot.org> |
Adjust to change in pass name git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|
c457fbb5ea6271b0e4ffb709efa0f89565a5e467 |
|
20-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
First cut at implementing generic link-time Optimization git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18047 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-ld/Optimize.cpp
|