summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
...
* Add an "exe" suffix only if the output file has no suffix at all.Argyrios Kyrtzidis2008-06-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52289 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure all produced executable files have "exe" suffix on Windows.Argyrios Kyrtzidis2008-06-15
| | | | | | With this more general way, -native and -native-cbe options are handled too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52287 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that the current executable filename has "exe" suffix on Windows.Argyrios Kyrtzidis2008-06-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52286 91177308-0d34-0410-b5e6-96231b3b80d8
* Append "exe" suffix to executable files.Argyrios Kyrtzidis2008-06-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52285 91177308-0d34-0410-b5e6-96231b3b80d8
* Let bugpoint display generated messages on stderr only if no interpreter wasMatthijs Kooijman2008-06-12
| | | | | | | | found, this ensures that messages like "Found gcc" end up on stdout where they belong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52235 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -silence-passes option to bugpoint. This option suppresses output generatedMatthijs Kooijman2008-06-12
| | | | | | | when bugpoint is running passes in a child process. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52234 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all help strings start in upper case.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51788 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the -opt switch and add a test case for it.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51784 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix indentation.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51782 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a --dry-run option to llvmc2. Patch by Holger Schurig.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51781 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a --save-temps option.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51760 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a check for side effect-free options (specified only in the OptionList).Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51759 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51758 91177308-0d34-0410-b5e6-96231b3b80d8
* Show argv[0] in error messages (like gcc).Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51755 91177308-0d34-0410-b5e6-96231b3b80d8
* New feature: OptionList.Mikhail Glushenkov2008-05-30
| | | | | | | | | | | | | | | | | | | It can be handy to have all information about options gathered in a single place to provide an overview of all supported options. This patch allows the following: def Options : OptionList<[ (switch_option "E", (help "Help string")), (alias_option "quiet", "q") ... ]>; Tool-specific option properties (like 'append_cmd') have (obviously) no meaning in this context, so the only properties that are allowed are 'help' and 'required'. See usage example in examples/Clang.td. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51754 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51753 91177308-0d34-0410-b5e6-96231b3b80d8
* A small optimization: use static char* array instead of StrVector.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51752 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to test if the '-o' option is provided.Mikhail Glushenkov2008-05-30
| | | | | | | | | | | The following is now allowed: (case (not_empty "o"), do_something, ...) This didn't work previously because "-o" is built-in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51751 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for option aliases.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51749 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some headers.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51745 91177308-0d34-0410-b5e6-96231b3b80d8
* New tests for the 'case' expression: not_empty, in_language.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51744 91177308-0d34-0410-b5e6-96231b3b80d8
* -E should print to stdout.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51743 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to have multiple input languages for a single tool.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51742 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename StringVector to StrVector (to be consistent with ↵Mikhail Glushenkov2008-05-30
| | | | | | LLVMCConfigurationEmitter.cpp). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51741 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor error message fixes.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51740 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation and examples improvementsMikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51739 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not generate empty 'if's for the output_suffix property.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51737 91177308-0d34-0410-b5e6-96231b3b80d8
* Update documentation, add examples.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51736 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename LLVMC-Tutorial.rst to LLVMC-Reference.rstMikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51735 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to change the output file suffix based on command-line options.Mikhail Glushenkov2008-05-30
| | | | | | | | | | | For instance, the following command: llvmc2 -E hello.c now generates a file with the correct suffix (hello.i). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51733 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for user-provided hooks and environment variable reads to the ↵Mikhail Glushenkov2008-05-30
| | | | | | | | | | | | | | | cmd_line tool property. Used like this: (cmd_line "$CALL(MyHook) --option -o $ENV(VARIABLE) $CALL(AnotherHook)") Also works with case expressions. Hook declarations are auto-generated, the definitions should be provided by the user (just drop a .cpp file in the tools/llvmc2 directory). Hooks should live in the "hooks" namespace and have type std::string hooks::Hook(void). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51732 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable the response file ('llvmc @file') support.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51731 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the code to the fact that StringSet now lives in llvm/ADT.Mikhail Glushenkov2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51730 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to use the generalised 'case' construct in the cmd_line ↵Mikhail Glushenkov2008-05-30
| | | | | | property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51728 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a generalised 'case' construct.Mikhail Glushenkov2008-05-30
| | | | | | | Besides assigning edge weights, it will also be used by the cmd_line tool property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51727 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the StripSymbolsPass. This should not be done by default in ↵Nick Kledzik2008-05-30
| | | | | | libLTO.dylib. The linker will remove the symbol names if needed after LTO is done git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51722 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h"Anton Korobeynikov2008-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51687 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-enable the newly simplified ADCE. This fixes a regression onOwen Anderson2008-05-29
| | | | | | | Dhrystone introduced by its removal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51669 91177308-0d34-0410-b5e6-96231b3b80d8
* use space insted of tabsNick Kledzik2008-05-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51623 91177308-0d34-0410-b5e6-96231b3b80d8
* fix infinite recursion if a global's initializer references the globalNick Kledzik2008-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51617 91177308-0d34-0410-b5e6-96231b3b80d8
* Add instcombine after global optimizations.Devang Patel2008-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51611 91177308-0d34-0410-b5e6-96231b3b80d8
* Use IPSCCPPass instead of IPConstantPropagationPass.Devang Patel2008-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51605 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ADCE from the optimization pipeline.Owen Anderson2008-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51581 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includes to make some dependencies explicit.Dan Gohman2008-05-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51496 91177308-0d34-0410-b5e6-96231b3b80d8
* Make LTO expect common and weak to be represented differently.Dale Johannesen2008-05-23
| | | | | | | | Reading .bc files from before that change will no longer work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51457 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename -no-lazy to -disable-lazy-compilation.Evan Cheng2008-05-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51386 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CommonLinkage, in a way that preserves theDale Johannesen2008-05-16
| | | | | | | | behavior on old .bc files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51210 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CommonLinkage to lto (treated same as weak AFAICT)Dale Johannesen2008-05-16
| | | | | | | | and llvm-nm (prints as C). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51209 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-enable tail duplication pass (now with default threshold down to 1 ↵Evan Cheng2008-05-16
| | | | | | instruction). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51184 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵Gabor Greif2008-05-15
| | | | | | makefile targets to find these better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51143 91177308-0d34-0410-b5e6-96231b3b80d8