Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for option aliases. | Mikhail Glushenkov | 2008-05-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 51749 | |||||
* | Fix some headers. | Mikhail Glushenkov | 2008-05-30 | 6 | -6/+6 | |
| | | | | llvm-svn: 51745 | |||||
* | New tests for the 'case' expression: not_empty, in_language. | Mikhail Glushenkov | 2008-05-30 | 7 | -20/+30 | |
| | | | | llvm-svn: 51744 | |||||
* | -E should print to stdout. | Mikhail Glushenkov | 2008-05-30 | 2 | -5/+6 | |
| | | | | llvm-svn: 51743 | |||||
* | Make it possible to have multiple input languages for a single tool. | Mikhail Glushenkov | 2008-05-30 | 3 | -15/+26 | |
| | | | | llvm-svn: 51742 | |||||
* | Rename StringVector to StrVector (to be consistent with ↵ | Mikhail Glushenkov | 2008-05-30 | 2 | -7/+6 | |
| | | | | | | LLVMCConfigurationEmitter.cpp). llvm-svn: 51741 | |||||
* | Minor error message fixes. | Mikhail Glushenkov | 2008-05-30 | 1 | -3/+4 | |
| | | | | llvm-svn: 51740 | |||||
* | Documentation and examples improvements | Mikhail Glushenkov | 2008-05-30 | 5 | -9/+89 | |
| | | | | llvm-svn: 51739 | |||||
* | Do not generate empty 'if's for the output_suffix property. | Mikhail Glushenkov | 2008-05-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 51737 | |||||
* | Update documentation, add examples. | Mikhail Glushenkov | 2008-05-30 | 5 | -77/+241 | |
| | | | | llvm-svn: 51736 | |||||
* | Rename LLVMC-Tutorial.rst to LLVMC-Reference.rst | Mikhail Glushenkov | 2008-05-30 | 1 | -0/+0 | |
| | | | | llvm-svn: 51735 | |||||
* | Make it possible to change the output file suffix based on command-line options. | Mikhail Glushenkov | 2008-05-30 | 1 | -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 Glushenkov | 2008-05-30 | 1 | -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 Glushenkov | 2008-05-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 51731 | |||||
* | Update the code to the fact that StringSet now lives in llvm/ADT. | Mikhail Glushenkov | 2008-05-30 | 3 | -46/+7 | |
| | | | | llvm-svn: 51730 | |||||
* | Make it possible to use the generalised 'case' construct in the cmd_line ↵ | Mikhail Glushenkov | 2008-05-30 | 7 | -24/+68 | |
| | | | | | | property. llvm-svn: 51728 | |||||
* | Add a generalised 'case' construct. | Mikhail Glushenkov | 2008-05-30 | 3 | -24/+33 | |
| | | | | | | Besides assigning edge weights, it will also be used by the cmd_line tool property. llvm-svn: 51727 | |||||
* | For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" | Anton Korobeynikov | 2008-05-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 51687 | |||||
* | Filter option names to escape symbols not allowed as C++ identifiers. | Mikhail Glushenkov | 2008-05-12 | 1 | -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 Glushenkov | 2008-05-12 | 1 | -1/+2 | |
| | | | | | | at compile-time. llvm-svn: 50972 | |||||
* | Fix some error messages; Make LLVMC pass through the exit code of a failed tool. | Mikhail Glushenkov | 2008-05-12 | 3 | -9/+47 | |
| | | | | llvm-svn: 50971 | |||||
* | Rename Example.td to Graph.td. | Mikhail Glushenkov | 2008-05-09 | 2 | -1/+1 | |
| | | | | llvm-svn: 50910 | |||||
* | Reapply 50867: A small refactoring (extract method) + some comment fixes. | Mikhail Glushenkov | 2008-05-09 | 1 | -1/+2 | |
| | | | | | | Fixed the build breakage, sorry for that. llvm-svn: 50895 | |||||
* | Revertin 50867 since it was breaking the build. | Tanya Lattner | 2008-05-08 | 1 | -2/+1 | |
| | | | | llvm-svn: 50871 | |||||
* | Add -E and -S options | Mikhail Glushenkov | 2008-05-08 | 1 | -0/+5 | |
| | | | | llvm-svn: 50868 | |||||
* | A small refactoring (extract method) + some comment fixes. | Mikhail Glushenkov | 2008-05-08 | 1 | -1/+2 | |
| | | | | llvm-svn: 50867 | |||||
* | Use Doxygen-style comments. | Mikhail Glushenkov | 2008-05-07 | 6 | -47/+61 | |
| | | | | llvm-svn: 50833 | |||||
* | Change from llvm::SmallSet<std::string> to llvm::StringMap<char>. | Mikhail Glushenkov | 2008-05-06 | 2 | -4/+17 | |
| | | | | llvm-svn: 50766 | |||||
* | Add new edge property combinator: weight. | Mikhail Glushenkov | 2008-05-06 | 2 | -5/+15 | |
| | | | | llvm-svn: 50765 | |||||
* | Add a help string for the -c option | Mikhail Glushenkov | 2008-05-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 50764 | |||||
* | Update documentation to reflect the current state of affairs. | Mikhail Glushenkov | 2008-05-06 | 1 | -61/+157 | |
| | | | | llvm-svn: 50763 | |||||
* | Some cosmetic changes (change some comments, move code around a bit). | Mikhail Glushenkov | 2008-05-06 | 2 | -43/+44 | |
| | | | | llvm-svn: 50762 | |||||
* | Refactoring: split the function CompilationGraph::Build() into two parts. | Mikhail Glushenkov | 2008-05-06 | 2 | -10/+22 | |
| | | | | llvm-svn: 50760 | |||||
* | Use edge weights to choose the right linker based on input language names. | Mikhail Glushenkov | 2008-05-06 | 4 | -15/+43 | |
| | | | | llvm-svn: 50759 | |||||
* | Add weights to graph edges. Choose between edges based on their weight. | Mikhail Glushenkov | 2008-05-06 | 2 | -23/+23 | |
| | | | | llvm-svn: 50757 | |||||
* | Remove the UnpackValues() function. | Mikhail Glushenkov | 2008-05-06 | 3 | -27/+1 | |
| | | | | llvm-svn: 50756 | |||||
* | Add a --linker command-line option, make all tests pass. | Mikhail Glushenkov | 2008-05-06 | 2 | -14/+20 | |
| | | | | llvm-svn: 50755 | |||||
* | Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter. | Mikhail Glushenkov | 2008-05-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 50754 | |||||
* | Add -x option (like in gcc). | Mikhail Glushenkov | 2008-05-06 | 5 | -22/+93 | |
| | | | | llvm-svn: 50750 | |||||
* | Take object file as input and handle files with the same name correctly. | Mikhail Glushenkov | 2008-05-06 | 5 | -47/+59 | |
| | | | | llvm-svn: 50749 | |||||
* | Add output redirection, rename namespace llvmcc to namespace llvmc. | Mikhail Glushenkov | 2008-05-06 | 9 | -27/+47 | |
| | | | | llvm-svn: 50746 | |||||
* | Make AutoGenerated.inc depend also on Tools.td and Common.td | Mikhail Glushenkov | 2008-05-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 50745 | |||||
* | Utilize topological sort in CompilationGraph::Build(). | Mikhail Glushenkov | 2008-05-06 | 3 | -9/+44 | |
| | | | | | | | This makes more interesting graph topologies possible. Currently all tests pass, but more testing is needed. llvm-svn: 50744 | |||||
* | Add TopologicalSort method to CompilationGraph. | Mikhail Glushenkov | 2008-05-06 | 4 | -38/+78 | |
| | | | | llvm-svn: 50743 | |||||
* | Do not require positional arguments when we're only printing out the graph. | Mikhail Glushenkov | 2008-05-06 | 1 | -3/+13 | |
| | | | | llvm-svn: 50742 | |||||
* | Make ChooseEdge more generic and use it to choose between different toolchains. | Mikhail Glushenkov | 2008-05-06 | 2 | -38/+56 | |
| | | | | llvm-svn: 50741 | |||||
* | Remove unnecessary argument from PassThroughGraph | Mikhail Glushenkov | 2008-05-06 | 2 | -5/+8 | |
| | | | | llvm-svn: 50740 | |||||
* | Add inward edge counters to Nodes; Associate JoinLists with JoinTools. | Mikhail Glushenkov | 2008-05-06 | 3 | -38/+58 | |
| | | | | llvm-svn: 50738 | |||||
* | Enhancements for --view-graph | Mikhail Glushenkov | 2008-05-06 | 1 | -7/+21 | |
| | | | | llvm-svn: 50737 | |||||
* | Split the Build function into two parts. | Mikhail Glushenkov | 2008-05-06 | 2 | -43/+65 | |
| | | | | llvm-svn: 50736 |