summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Make all help strings start in upper case.Mikhail Glushenkov2008-05-301-4/+4
| | | | llvm-svn: 51788
* Fix the -opt switch and add a test case for it.Mikhail Glushenkov2008-05-303-8/+15
| | | | llvm-svn: 51784
* Fix indentation.Mikhail Glushenkov2008-05-301-1/+1
| | | | llvm-svn: 51782
* Add a --dry-run option to llvmc2. Patch by Holger Schurig.Mikhail Glushenkov2008-05-302-2/+8
| | | | llvm-svn: 51781
* Add a --save-temps option.Mikhail Glushenkov2008-05-304-7/+25
| | | | llvm-svn: 51760
* Add a check for side effect-free options (specified only in the OptionList).Mikhail Glushenkov2008-05-301-0/+3
| | | | llvm-svn: 51759
* Documentation update.Mikhail Glushenkov2008-05-301-0/+27
| | | | llvm-svn: 51758
* Show argv[0] in error messages (like gcc).Mikhail Glushenkov2008-05-301-4/+3
| | | | llvm-svn: 51755
* New feature: OptionList.Mikhail Glushenkov2008-05-302-13/+55
| | | | | | | | | | | | | | | | | | 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. llvm-svn: 51754
* Documentation update.Mikhail Glushenkov2008-05-302-66/+120
| | | | llvm-svn: 51753
* A small optimization: use static char* array instead of StrVector.Mikhail Glushenkov2008-05-302-15/+16
| | | | llvm-svn: 51752
* Make it possible to test if the '-o' option is provided.Mikhail Glushenkov2008-05-301-0/+2
| | | | | | | | | | The following is now allowed: (case (not_empty "o"), do_something, ...) This didn't work previously because "-o" is built-in. llvm-svn: 51751
* Add support for option aliases.Mikhail Glushenkov2008-05-301-1/+2
| | | | llvm-svn: 51749
* Fix some headers.Mikhail Glushenkov2008-05-306-6/+6
| | | | llvm-svn: 51745
* New tests for the 'case' expression: not_empty, in_language.Mikhail Glushenkov2008-05-307-20/+30
| | | | llvm-svn: 51744
* -E should print to stdout.Mikhail Glushenkov2008-05-302-5/+6
| | | | llvm-svn: 51743
* Make it possible to have multiple input languages for a single tool.Mikhail Glushenkov2008-05-303-15/+26
| | | | llvm-svn: 51742
* Rename StringVector to StrVector (to be consistent with ↵Mikhail Glushenkov2008-05-302-7/+6
| | | | | | LLVMCConfigurationEmitter.cpp). llvm-svn: 51741
* Minor error message fixes.Mikhail Glushenkov2008-05-301-3/+4
| | | | llvm-svn: 51740
* Documentation and examples improvementsMikhail Glushenkov2008-05-305-9/+89
| | | | llvm-svn: 51739
* Do not generate empty 'if's for the output_suffix property.Mikhail Glushenkov2008-05-301-2/+2
| | | | llvm-svn: 51737
* Update documentation, add examples.Mikhail Glushenkov2008-05-305-77/+241
| | | | llvm-svn: 51736
* Rename LLVMC-Tutorial.rst to LLVMC-Reference.rstMikhail Glushenkov2008-05-301-0/+0
| | | | llvm-svn: 51735
* Make it possible to change the output file suffix based on command-line options.Mikhail Glushenkov2008-05-301-5/+2
| | | | | | | | | | For instance, the following command: llvmc2 -E hello.c now generates a file with the correct suffix (hello.i). llvm-svn: 51733
* Add support for user-provided hooks and environment variable reads to the ↵Mikhail Glushenkov2008-05-301-0/+1
| | | | | | | | | | | | | | 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). llvm-svn: 51732
* Enable the response file ('llvmc @file') support.Mikhail Glushenkov2008-05-301-2/+2
| | | | llvm-svn: 51731
* Update the code to the fact that StringSet now lives in llvm/ADT.Mikhail Glushenkov2008-05-303-46/+7
| | | | llvm-svn: 51730
* Make it possible to use the generalised 'case' construct in the cmd_line ↵Mikhail Glushenkov2008-05-307-24/+68
| | | | | | property. llvm-svn: 51728
* Add a generalised 'case' construct.Mikhail Glushenkov2008-05-303-24/+33
| | | | | | Besides assigning edge weights, it will also be used by the cmd_line tool property. llvm-svn: 51727
* remove the StripSymbolsPass. This should not be done by default in ↵Nick Kledzik2008-05-301-5/+0
| | | | | | libLTO.dylib. The linker will remove the symbol names if needed after LTO is done llvm-svn: 51722
* For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h"Anton Korobeynikov2008-05-291-1/+1
| | | | llvm-svn: 51687
* Re-enable the newly simplified ADCE. This fixes a regression onOwen Anderson2008-05-291-1/+1
| | | | | | Dhrystone introduced by its removal. llvm-svn: 51669
* use space insted of tabsNick Kledzik2008-05-281-13/+13
| | | | llvm-svn: 51623
* fix infinite recursion if a global's initializer references the globalNick Kledzik2008-05-271-2/+7
| | | | llvm-svn: 51617
* Add instcombine after global optimizations.Devang Patel2008-05-271-0/+6
| | | | llvm-svn: 51611
* Use IPSCCPPass instead of IPConstantPropagationPass.Devang Patel2008-05-271-3/+5
| | | | llvm-svn: 51605
* Remove ADCE from the optimization pipeline.Owen Anderson2008-05-271-1/+1
| | | | llvm-svn: 51581
* Add #includes to make some dependencies explicit.Dan Gohman2008-05-231-0/+1
| | | | llvm-svn: 51496
* Make LTO expect common and weak to be represented differently.Dale Johannesen2008-05-231-11/+1
| | | | | | Reading .bc files from before that change will no longer work. llvm-svn: 51457
* Rename -no-lazy to -disable-lazy-compilation.Evan Cheng2008-05-211-1/+1
| | | | llvm-svn: 51386
* Add CommonLinkage, in a way that preserves theDale Johannesen2008-05-161-0/+3
| | | | | | behavior on old .bc files. llvm-svn: 51210
* Add CommonLinkage to lto (treated same as weak AFAICT)Dale Johannesen2008-05-162-1/+4
| | | | | | and llvm-nm (prints as C). llvm-svn: 51209
* Re-enable tail duplication pass (now with default threshold down to 1 ↵Evan Cheng2008-05-161-0/+1
| | | | | | instruction). llvm-svn: 51184
* Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵Gabor Greif2008-05-151-7/+11
| | | | | | makefile targets to find these better. llvm-svn: 51143
* Remove tail duplication pass.Evan Cheng2008-05-151-1/+0
| | | | llvm-svn: 51139
* Recover nestedloop regression reported by nightly tester.Devang Patel2008-05-141-0/+2
| | | | llvm-svn: 51110
* Do not run instruction combiner in middle of loop optimization passes.Devang Patel2008-05-141-1/+0
| | | | llvm-svn: 51084
* Filter option names to escape symbols not allowed as C++ identifiers.Mikhail Glushenkov2008-05-121-3/+3
| | | | | | | Makes it possible to use options with names like "Wa,". Also fixes the -Wall option handling as a side-effect. llvm-svn: 50973
* Make it possible to choose between different compilation graph definitions ↵Mikhail Glushenkov2008-05-121-1/+2
| | | | | | at compile-time. llvm-svn: 50972
* Fix some error messages; Make LLVMC pass through the exit code of a failed tool.Mikhail Glushenkov2008-05-123-9/+47
| | | | llvm-svn: 50971
OpenPOWER on IntegriCloud