llvm.org GIT mirror llvm / 910fd57
Rename Example.td to Graph.td. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50910 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Glushenkov 12 years ago
3 changed file(s) with 48 addition(s) and 48 deletion(s). Raw diff Collapse all Expand all
+0
-47
tools/llvmc2/Example.td less more
None //===- Example.td - LLVMCC toolchain descriptions ---------*- tablegen -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains compilation graph description used by llvmcc.
10 //
11 //===----------------------------------------------------------------------===//
12
13 include "Common.td"
14 include "Tools.td"
15
16 // Toolchains
17
18 def CompilationGraph : CompilationGraph<[
19 Edge,
20 Edge,
21 Edge,
22 Edge,
23
24 Edge,
25 Edge,
26 Edge,
27
28 OptionalEdge,
29 OptionalEdge,
30 OptionalEdge,
31 Edge,
32
33 Edge,
34 Edge,
35 OptionalEdge
36 [(if_input_languages_contain "c++"),
37 (or (parameter_equals "linker", "g++"),
38 (parameter_equals "linker", "c++"))]>,
39
40
41 Edge,
42 OptionalEdge
43 [(if_input_languages_contain "c++"),
44 (or (parameter_equals "linker", "g++"),
45 (parameter_equals "linker", "c++"))]>
46 ]>;
0 //===- Example.td - LLVMCC toolchain descriptions ---------*- tablegen -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains compilation graph description used by llvmcc.
10 //
11 //===----------------------------------------------------------------------===//
12
13 include "Common.td"
14 include "Tools.td"
15
16 // Toolchains
17
18 def CompilationGraph : CompilationGraph<[
19 Edge,
20 Edge,
21 Edge,
22 Edge,
23
24 Edge,
25 Edge,
26 Edge,
27
28 OptionalEdge,
29 OptionalEdge,
30 OptionalEdge,
31 Edge,
32
33 Edge,
34 Edge,
35 OptionalEdge
36 [(if_input_languages_contain "c++"),
37 (or (parameter_equals "linker", "g++"),
38 (parameter_equals "linker", "c++"))]>,
39
40
41 Edge,
42 OptionalEdge
43 [(if_input_languages_contain "c++"),
44 (or (parameter_equals "linker", "g++"),
45 (parameter_equals "linker", "c++"))]>
46 ]>;
1313
1414 include $(LEVEL)/Makefile.common
1515
16 TOOLS_SOURCE=Example.td Tools.td Common.td
16 TOOLS_SOURCE=Graph.td Tools.td Common.td
1717
1818 # TOFIX: integrate this part into Makefile.rules?
1919 # The degree of horrorshowness in that file is too much for me atm.