summaryrefslogtreecommitdiff
path: root/tools/llvmc2/ExampleWithOpt.td
blob: 64ee883ec072c0820397d2f82f95947eec0ab325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===- ExampleWithOpt.td - LLVMCC toolchain descriptions  --*- tablegen -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains compilation graph description used by llvmcc.
//
//===----------------------------------------------------------------------===//

include "Common.td"
include "Tools.td"

// Toolchains

def CompilationGraph : CompilationGraph<[
    Edge<root, llvm_gcc_c>,
    Edge<root, llvm_gcc_assembler>,
    Edge<root, llvm_gcc_cpp>,
    Edge<root, llvm_as>,
    Edge<llvm_gcc_c, opt>,
    Edge<llvm_gcc_cpp, opt>,
    Edge<llvm_as, opt>,
    Edge<opt, llc>,
    Edge<llc, llvm_gcc_assembler>,
    Edge<llvm_gcc_assembler, llvm_gcc_linker>
    ]>;