summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc2
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h"Anton Korobeynikov2008-05-291-1/+1
| | | | llvm-svn: 51687
* 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
* Rename Example.td to Graph.td.Mikhail Glushenkov2008-05-092-1/+1
| | | | llvm-svn: 50910
* Reapply 50867: A small refactoring (extract method) + some comment fixes.Mikhail Glushenkov2008-05-091-1/+2
| | | | | | Fixed the build breakage, sorry for that. llvm-svn: 50895
* Revertin 50867 since it was breaking the build.Tanya Lattner2008-05-081-2/+1
| | | | llvm-svn: 50871
* Add -E and -S optionsMikhail Glushenkov2008-05-081-0/+5
| | | | llvm-svn: 50868
* A small refactoring (extract method) + some comment fixes.Mikhail Glushenkov2008-05-081-1/+2
| | | | llvm-svn: 50867
* Use Doxygen-style comments.Mikhail Glushenkov2008-05-076-47/+61
| | | | llvm-svn: 50833
* Change from llvm::SmallSet<std::string> to llvm::StringMap<char>.Mikhail Glushenkov2008-05-062-4/+17
| | | | llvm-svn: 50766
* Add new edge property combinator: weight.Mikhail Glushenkov2008-05-062-5/+15
| | | | llvm-svn: 50765
* Add a help string for the -c optionMikhail Glushenkov2008-05-061-1/+2
| | | | llvm-svn: 50764
* Update documentation to reflect the current state of affairs.Mikhail Glushenkov2008-05-061-61/+157
| | | | llvm-svn: 50763
* Some cosmetic changes (change some comments, move code around a bit).Mikhail Glushenkov2008-05-062-43/+44
| | | | llvm-svn: 50762
* Refactoring: split the function CompilationGraph::Build() into two parts.Mikhail Glushenkov2008-05-062-10/+22
| | | | llvm-svn: 50760
* Use edge weights to choose the right linker based on input language names.Mikhail Glushenkov2008-05-064-15/+43
| | | | llvm-svn: 50759
* Add weights to graph edges. Choose between edges based on their weight.Mikhail Glushenkov2008-05-062-23/+23
| | | | llvm-svn: 50757
* Remove the UnpackValues() function.Mikhail Glushenkov2008-05-063-27/+1
| | | | llvm-svn: 50756
* Add a --linker command-line option, make all tests pass.Mikhail Glushenkov2008-05-062-14/+20
| | | | llvm-svn: 50755
* Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.Mikhail Glushenkov2008-05-061-1/+1
| | | | llvm-svn: 50754
* Add -x option (like in gcc).Mikhail Glushenkov2008-05-065-22/+93
| | | | llvm-svn: 50750
* Take object file as input and handle files with the same name correctly.Mikhail Glushenkov2008-05-065-47/+59
| | | | llvm-svn: 50749
* Add output redirection, rename namespace llvmcc to namespace llvmc.Mikhail Glushenkov2008-05-069-27/+47
| | | | llvm-svn: 50746
* Make AutoGenerated.inc depend also on Tools.td and Common.tdMikhail Glushenkov2008-05-061-2/+2
| | | | llvm-svn: 50745
* Utilize topological sort in CompilationGraph::Build().Mikhail Glushenkov2008-05-063-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 Glushenkov2008-05-064-38/+78
| | | | llvm-svn: 50743
* Do not require positional arguments when we're only printing out the graph.Mikhail Glushenkov2008-05-061-3/+13
| | | | llvm-svn: 50742
* Make ChooseEdge more generic and use it to choose between different toolchains.Mikhail Glushenkov2008-05-062-38/+56
| | | | llvm-svn: 50741
* Remove unnecessary argument from PassThroughGraphMikhail Glushenkov2008-05-062-5/+8
| | | | llvm-svn: 50740
* Add inward edge counters to Nodes; Associate JoinLists with JoinTools.Mikhail Glushenkov2008-05-063-38/+58
| | | | llvm-svn: 50738
* Enhancements for --view-graphMikhail Glushenkov2008-05-061-7/+21
| | | | llvm-svn: 50737
* Split the Build function into two parts.Mikhail Glushenkov2008-05-062-43/+65
| | | | llvm-svn: 50736
OpenPOWER on IntegriCloud