summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/example/Simple/Simple.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-08-19 20:04:19 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-08-19 20:04:19 +0000
commitb2ca0d19f2d43b2b64eb5a6f3c5edbe1532757db (patch)
treeb5f517f9a28145dab82a7f2ec667dda37d60ebb4 /llvm/tools/llvmc/example/Simple/Simple.td
parent34c5f1be0d84001c9fbebe694102c1154e060583 (diff)
downloadbcm5719-llvm-b2ca0d19f2d43b2b64eb5a6f3c5edbe1532757db.tar.gz
bcm5719-llvm-b2ca0d19f2d43b2b64eb5a6f3c5edbe1532757db.zip
llvmc: Update examples.
llvm-svn: 111553
Diffstat (limited to 'llvm/tools/llvmc/example/Simple/Simple.td')
-rw-r--r--llvm/tools/llvmc/example/Simple/Simple.td37
1 files changed, 0 insertions, 37 deletions
diff --git a/llvm/tools/llvmc/example/Simple/Simple.td b/llvm/tools/llvmc/example/Simple/Simple.td
deleted file mode 100644
index 87bc385b7a7..00000000000
--- a/llvm/tools/llvmc/example/Simple/Simple.td
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- Simple.td - A simple plugin for LLVMC ------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// A simple LLVMC-based gcc wrapper that shows how to write LLVMC plugins.
-//
-// To compile, use this command:
-//
-// $ cd $LLVMC_DIR/example/Simple
-// $ make
-//
-// Run as:
-//
-// $ llvmc -load $LLVM_DIR/Release/lib/plugin_llvmc_Simple.so
-//
-// For instructions on how to build your own LLVMC-based driver, see
-// the 'example/Skeleton' directory.
-//===----------------------------------------------------------------------===//
-
-include "llvm/CompilerDriver/Common.td"
-
-def gcc : Tool<
-[(in_language "c"),
- (out_language "executable"),
- (output_suffix "out"),
- (cmd_line "gcc $INFILE -o $OUTFILE"),
- (sink)
-]>;
-
-def LanguageMap : LanguageMap<[LangToSuffixes<"c", ["c"]>]>;
-
-def CompilationGraph : CompilationGraph<[Edge<"root", "gcc">]>;
OpenPOWER on IntegriCloud