Gabor Greif
|
697e94cc22
|
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better.
llvm-svn: 51143
|
2008-05-15 10:04:30 +00:00 |
Evan Cheng
|
13e693f331
|
Remove tail duplication pass.
llvm-svn: 51139
|
2008-05-15 07:43:15 +00:00 |
Devang Patel
|
38e59eb0c7
|
Recover nestedloop regression reported by nightly tester.
llvm-svn: 51110
|
2008-05-14 18:04:30 +00:00 |
Devang Patel
|
a37cf46c87
|
Do not run instruction combiner in middle of loop optimization passes.
llvm-svn: 51084
|
2008-05-14 00:26:11 +00:00 |
Mikhail Glushenkov
|
c79304461a
|
Filter option names to escape symbols not allowed as C++ identifiers.
Makes it possible to use options with names like "Wa,".
Also fixes the -Wall option handling as a side-effect.
llvm-svn: 50973
|
2008-05-12 16:33:06 +00:00 |
Mikhail Glushenkov
|
3f896c8d16
|
Make it possible to choose between different compilation graph definitions at compile-time.
llvm-svn: 50972
|
2008-05-12 16:32:24 +00:00 |
Mikhail Glushenkov
|
128349b8bf
|
Fix some error messages; Make LLVMC pass through the exit code of a failed tool.
llvm-svn: 50971
|
2008-05-12 16:31:42 +00:00 |
Owen Anderson
|
18709fef4a
|
Re-enable loop deletion by default.
llvm-svn: 50941
|
2008-05-10 07:10:24 +00:00 |
Mikhail Glushenkov
|
4ae55648bc
|
Rename Example.td to Graph.td.
llvm-svn: 50910
|
2008-05-09 19:11:28 +00:00 |
Nick Kledzik
|
db18f328d7
|
use doxygen comments for makeBuffer()
llvm-svn: 50908
|
2008-05-09 18:44:41 +00:00 |
Mikhail Glushenkov
|
22ce861ffe
|
Reapply 50867: A small refactoring (extract method) + some comment fixes.
Fixed the build breakage, sorry for that.
llvm-svn: 50895
|
2008-05-09 08:27:26 +00:00 |
Nick Kledzik
|
63b6127a73
|
<rdar://problem/5917641> use getMemBufferCopy if supplied buffer is not already zero terminated
llvm-svn: 50880
|
2008-05-09 01:09:59 +00:00 |
Tanya Lattner
|
93cea9fd18
|
Revertin 50867 since it was breaking the build.
llvm-svn: 50871
|
2008-05-08 21:54:20 +00:00 |
Mikhail Glushenkov
|
e75ac17eaa
|
Add -E and -S options
llvm-svn: 50868
|
2008-05-08 20:02:36 +00:00 |
Mikhail Glushenkov
|
d7e151f868
|
A small refactoring (extract method) + some comment fixes.
llvm-svn: 50867
|
2008-05-08 20:02:03 +00:00 |
Mikhail Glushenkov
|
41318a15d0
|
Use Doxygen-style comments.
llvm-svn: 50833
|
2008-05-07 21:50:19 +00:00 |
Owen Anderson
|
0d84582dc0
|
Disable loop deletion until the release branch.
llvm-svn: 50787
|
2008-05-06 23:56:34 +00:00 |
Mikhail Glushenkov
|
eeac27e38c
|
Change from llvm::SmallSet<std::string> to llvm::StringMap<char>.
llvm-svn: 50766
|
2008-05-06 18:18:58 +00:00 |
Mikhail Glushenkov
|
5e9d6a3dd8
|
Add new edge property combinator: weight.
llvm-svn: 50765
|
2008-05-06 18:18:20 +00:00 |
Mikhail Glushenkov
|
bfc8954a65
|
Add a help string for the -c option
llvm-svn: 50764
|
2008-05-06 18:17:42 +00:00 |
Mikhail Glushenkov
|
7e415c4c18
|
Update documentation to reflect the current state of affairs.
llvm-svn: 50763
|
2008-05-06 18:17:19 +00:00 |
Mikhail Glushenkov
|
0ca372a6be
|
Some cosmetic changes (change some comments, move code around a bit).
llvm-svn: 50762
|
2008-05-06 18:16:52 +00:00 |
Mikhail Glushenkov
|
de7fad129d
|
Refactoring: split the function CompilationGraph::Build() into two parts.
llvm-svn: 50760
|
2008-05-06 18:15:35 +00:00 |
Mikhail Glushenkov
|
a02084cff7
|
Use edge weights to choose the right linker based on input language names.
llvm-svn: 50759
|
2008-05-06 18:15:12 +00:00 |
Mikhail Glushenkov
|
1b056e9e5a
|
Add weights to graph edges. Choose between edges based on their weight.
llvm-svn: 50757
|
2008-05-06 18:14:24 +00:00 |
Mikhail Glushenkov
|
3a2f5c423e
|
Remove the UnpackValues() function.
llvm-svn: 50756
|
2008-05-06 18:13:45 +00:00 |
Mikhail Glushenkov
|
7f6ed20009
|
Add a --linker command-line option, make all tests pass.
llvm-svn: 50755
|
2008-05-06 18:13:00 +00:00 |
Mikhail Glushenkov
|
20c18c344b
|
Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.
llvm-svn: 50754
|
2008-05-06 18:12:03 +00:00 |
Mikhail Glushenkov
|
fc905c64ab
|
Add -x option (like in gcc).
llvm-svn: 50750
|
2008-05-06 18:10:53 +00:00 |
Mikhail Glushenkov
|
baacf0d692
|
Take object file as input and handle files with the same name correctly.
llvm-svn: 50749
|
2008-05-06 18:10:20 +00:00 |
Mikhail Glushenkov
|
d4918dd32c
|
Add output redirection, rename namespace llvmcc to namespace llvmc.
llvm-svn: 50746
|
2008-05-06 18:08:59 +00:00 |
Mikhail Glushenkov
|
2eb0268fab
|
Make AutoGenerated.inc depend also on Tools.td and Common.td
llvm-svn: 50745
|
2008-05-06 18:08:12 +00:00 |
Mikhail Glushenkov
|
73d866efda
|
Utilize topological sort in CompilationGraph::Build().
This makes more interesting graph topologies possible. Currently all tests pass,
but more testing is needed.
llvm-svn: 50744
|
2008-05-06 18:07:48 +00:00 |
Mikhail Glushenkov
|
7701512231
|
Add TopologicalSort method to CompilationGraph.
llvm-svn: 50743
|
2008-05-06 18:07:14 +00:00 |
Mikhail Glushenkov
|
af932f0d96
|
Do not require positional arguments when we're only printing out the graph.
llvm-svn: 50742
|
2008-05-06 17:44:16 +00:00 |
Mikhail Glushenkov
|
0620d0ca47
|
Make ChooseEdge more generic and use it to choose between different toolchains.
llvm-svn: 50741
|
2008-05-06 17:28:03 +00:00 |
Mikhail Glushenkov
|
891c14d1f1
|
Remove unnecessary argument from PassThroughGraph
llvm-svn: 50740
|
2008-05-06 17:27:37 +00:00 |
Mikhail Glushenkov
|
2709e1a2c9
|
Add inward edge counters to Nodes; Associate JoinLists with JoinTools.
llvm-svn: 50738
|
2008-05-06 17:26:53 +00:00 |
Mikhail Glushenkov
|
ee81aa3812
|
Enhancements for --view-graph
llvm-svn: 50737
|
2008-05-06 17:26:14 +00:00 |
Mikhail Glushenkov
|
be23113e93
|
Split the Build function into two parts.
llvm-svn: 50736
|
2008-05-06 17:25:51 +00:00 |
Mikhail Glushenkov
|
af15882a5a
|
Make llvmc return 1 when the compilation fails.
llvm-svn: 50735
|
2008-05-06 17:25:23 +00:00 |
Mikhail Glushenkov
|
baa0b592d0
|
Return const char* instead of std::string in Tool classes
llvm-svn: 50733
|
2008-05-06 17:24:26 +00:00 |
Mikhail Glushenkov
|
6ec1761ef6
|
Add an ability to choose between different edges based on edge properties.
llvm-svn: 50732
|
2008-05-06 17:23:50 +00:00 |
Mikhail Glushenkov
|
59eb254092
|
Add new edge properties: parameter_equals, element_in_list, and.
llvm-svn: 50730
|
2008-05-06 17:22:47 +00:00 |
Mikhail Glushenkov
|
681df41f2c
|
Implemented switch_on edge property.
llvm-svn: 50729
|
2008-05-06 17:22:03 +00:00 |
Mikhail Glushenkov
|
39a9335241
|
Cosmetic change: if( -> if (
llvm-svn: 50728
|
2008-05-06 16:37:33 +00:00 |
Mikhail Glushenkov
|
abd7cc7238
|
Remove ExampleWithOpt.td: this file was merged with Example.td.
llvm-svn: 50727
|
2008-05-06 16:37:12 +00:00 |
Mikhail Glushenkov
|
251280ce0b
|
More work on edge properties. Use Edge classes instead of strings in CompilationGraph.
llvm-svn: 50726
|
2008-05-06 16:36:50 +00:00 |
Mikhail Glushenkov
|
459df48de7
|
Ongoing work: add an edge typechecker, rudimentary support for edge properties.
llvm-svn: 50725
|
2008-05-06 16:36:06 +00:00 |
Mikhail Glushenkov
|
adcb08d1b3
|
Convert internal representation to use DAG. This gives us more flexibility and enables future improvements.
llvm-svn: 50724
|
2008-05-06 16:35:25 +00:00 |