Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | To simplify the upcoming context-on-type change, switch all command line ↵ | Owen Anderson | 2009-07-15 | 1 | -1/+1 | |
| | | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846 | |||||
* | Use errs() instead of std::cerr. | Dan Gohman | 2009-07-15 | 1 | -2/+3 | |
| | | | | llvm-svn: 75791 | |||||
* | Hold the LLVMContext by reference rather than by pointer. | Owen Anderson | 2009-07-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 74640 | |||||
* | Add a pointer to the owning LLVMContext to Module. This requires threading ↵ | Owen Anderson | 2009-07-01 | 1 | -2/+4 | |
| | | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614 | |||||
* | Change LTO to run the global opt pass twice. | Daniel Dunbar | 2009-06-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | - 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. llvm-svn: 72811 | |||||
* | Add createStandardLTOPasses to StandardPasses.h, and move lto and llvm-ld over. | Daniel Dunbar | 2009-06-03 | 1 | -65/+4 | |
| | | | | | | | - I know it sounds crazy, but I think all the pass lists are now coalesced into StandardPasses.h. llvm-svn: 72805 | |||||
* | Change various llvm utilities to use PrettyStackTraceProgram in | Chris Lattner | 2009-03-06 | 1 | -2/+6 | |
| | | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248 | |||||
* | Add the function attributes pass during LTO time. | Nick Lewycky | 2009-02-26 | 1 | -1/+2 | |
| | | | | llvm-svn: 65508 | |||||
* | make llvm-ld smart enough to link against native libraries that are | Chris Lattner | 2009-01-05 | 1 | -2/+18 | |
| | | | | | | | not in system library directories by checking -L paths as well. Patch by Axel Naumann! llvm-svn: 61730 | |||||
* | ignore the -m elf_i386 directive used in the linux kernel | Andrew Lenharth | 2008-11-19 | 1 | -0/+3 | |
| | | | | llvm-svn: 59642 | |||||
* | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 1 | -0/+7 | |
| | | | | llvm-svn: 56419 | |||||
* | Remove GCSE, ValueNumbering, and LoadValueNumbering. These have been ↵ | Owen Anderson | 2008-08-15 | 1 | -1/+0 | |
| | | | | | | deprecated for almost a year; it's finally time for them to go away. llvm-svn: 54822 | |||||
* | Use ADCE instead of just DCE. ADCE will better clean up after jump threading, | Owen Anderson | 2008-07-02 | 1 | -1/+1 | |
| | | | | | | for instance. llvm-svn: 53045 | |||||
* | Since we are using GCC to assemble the program, make sure the assembly ↵ | Argyrios Kyrtzidis | 2008-06-27 | 1 | -0/+3 | |
| | | | | | | syntax is AT&T. llvm-svn: 52827 | |||||
* | run mem2reg after the second jump threading pass in llvm-ld. | Chris Lattner | 2008-06-25 | 1 | -1/+2 | |
| | | | | llvm-svn: 52728 | |||||
* | remove some dead options. | Chris Lattner | 2008-06-25 | 1 | -29/+0 | |
| | | | | llvm-svn: 52726 | |||||
* | Add an "exe" suffix only if the output file has no suffix at all. | Argyrios Kyrtzidis | 2008-06-15 | 1 | -8/+8 | |
| | | | | llvm-svn: 52289 | |||||
* | Make sure all produced executable files have "exe" suffix on Windows. | Argyrios Kyrtzidis | 2008-06-15 | 1 | -10/+16 | |
| | | | | | | With this more general way, -native and -native-cbe options are handled too. llvm-svn: 52287 | |||||
* | Append "exe" suffix to executable files. | Argyrios Kyrtzidis | 2008-06-15 | 1 | -1/+11 | |
| | | | | llvm-svn: 52285 | |||||
* | Move MemCpyOpt after GVN. | Owen Anderson | 2008-04-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 50097 | |||||
* | run the jump threading pass in llvm-ld also | Chris Lattner | 2008-04-21 | 1 | -1/+3 | |
| | | | | llvm-svn: 50027 | |||||
* | Factor a bunch of functionality related to memcpy and memset transforms out of | Owen Anderson | 2008-04-09 | 1 | -0/+1 | |
| | | | | | | GVN and into its own pass. llvm-svn: 49419 | |||||
* | style and spelling | Andrew Lenharth | 2008-03-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 48562 | |||||
* | llvm-ld deserves disable-verify too. opt shouldn't have all the fun options. | Andrew Lenharth | 2008-03-19 | 1 | -1/+5 | |
| | | | | llvm-svn: 48550 | |||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 1 | -0/+1 | |
| | | | | | | annoying warnings. llvm-svn: 47367 | |||||
* | Add support for frameworks. Patch by Shantonu Sen! | Chris Lattner | 2008-01-27 | 1 | -3/+20 | |
| | | | | llvm-svn: 46421 | |||||
* | Fix llvm-ld -Xlinker, patch by Daniel Teske! | Chris Lattner | 2008-01-09 | 1 | -3/+1 | |
| | | | | llvm-svn: 45770 | |||||
* | remove attributions from tools. | Chris Lattner | 2007-12-29 | 2 | -4/+4 | |
| | | | | llvm-svn: 45421 | |||||
* | remove attributions from tools/utils makefiles. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45414 | |||||
* | Move the space in overview output for commands out of each of the | Dan Gohman | 2007-10-08 | 1 | -1/+1 | |
| | | | | | | commands and into the common code. llvm-svn: 42752 | |||||
* | Turn GVN on by default. | Owen Anderson | 2007-09-08 | 1 | -2/+1 | |
| | | | | llvm-svn: 41787 | |||||
* | Rename FastDSE to just DSE. | Owen Anderson | 2007-08-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 40668 | |||||
* | Remove dead option. | Reid Spencer | 2007-07-23 | 1 | -3/+0 | |
| | | | | llvm-svn: 40415 | |||||
* | Turn on FastDSE by default. | Owen Anderson | 2007-07-17 | 1 | -1/+1 | |
| | | | | | | | 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. llvm-svn: 39986 | |||||
* | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 1 | -33/+33 | |
| | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | |||||
* | Fix pr1448 | Chris Lattner | 2007-06-19 | 1 | -14/+20 | |
| | | | | llvm-svn: 37658 | |||||
* | if internalize is disabled, don't run the pass at all! | Chris Lattner | 2007-06-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 37477 | |||||
* | switch tools to bitcode instead of bytecode | Chris Lattner | 2007-05-06 | 2 | -13/+2 | |
| | | | | llvm-svn: 36868 | |||||
* | add bitcode support. | Chris Lattner | 2007-05-06 | 2 | -5/+12 | |
| | | | | llvm-svn: 36853 | |||||
* | Augment the verbose output to print out the sub-commands executed. | Reid Spencer | 2007-04-29 | 1 | -8/+29 | |
| | | | | llvm-svn: 36581 | |||||
* | run a late dce pass to clean up extra cruft. | Chris Lattner | 2007-04-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 35684 | |||||
* | For PR1302: | Reid Spencer | 2007-04-04 | 1 | -12/+13 | |
| | | | | | | | Rename LinkItems as NativeLinkItems since it is filled out by the Linker library to contain only those items deemed to be native. llvm-svn: 35654 | |||||
* | Now LICM is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 35001 | |||||
* | Add possibility to set memory limit for binaries run via libSystem. This | Anton Korobeynikov | 2007-02-16 | 1 | -4/+4 | |
| | | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349 | |||||
* | Clean up error handling. | Reid Spencer | 2007-02-09 | 1 | -72/+55 | |
| | | | | llvm-svn: 34073 | |||||
* | For PR1153: | Reid Spencer | 2007-02-08 | 1 | -0/+5 | |
| | | | | | | Copy a couple more missing options from gccld to llvm-ld. llvm-svn: 34061 | |||||
* | For PR1153: | Reid Spencer | 2007-02-08 | 1 | -13/+32 | |
| | | | | | | | | 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. llvm-svn: 34058 | |||||
* | For PR411: | Reid Spencer | 2007-02-05 | 1 | -6/+0 | |
| | | | | | | | | | | 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. llvm-svn: 33918 | |||||
* | default to emiting an uncompressed .bc file | Chris Lattner | 2007-01-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 33420 | |||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -19/+19 | |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 |