summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARC/ARC.h
diff options
context:
space:
mode:
authorPete Couperus <petecoup@synopsys.com>2017-08-24 15:40:33 +0000
committerPete Couperus <petecoup@synopsys.com>2017-08-24 15:40:33 +0000
commit2d1f6d67c56e56a33ec8f49d584d2352d33a4081 (patch)
tree162897c05802dd0219a882da43ffdd4a39574b4b /llvm/lib/Target/ARC/ARC.h
parent719f97cf65db83a0bfd72b7e5ce91300314d24bc (diff)
downloadbcm5719-llvm-2d1f6d67c56e56a33ec8f49d584d2352d33a4081.tar.gz
bcm5719-llvm-2d1f6d67c56e56a33ec8f49d584d2352d33a4081.zip
[ARC] Add ARC backend.
Add the ARC backend as an experimental target to lib/Target. Reviewed at: https://reviews.llvm.org/D36331 llvm-svn: 311667
Diffstat (limited to 'llvm/lib/Target/ARC/ARC.h')
-rw-r--r--llvm/lib/Target/ARC/ARC.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARC/ARC.h b/llvm/lib/Target/ARC/ARC.h
new file mode 100644
index 00000000000..65f6ed67eb5
--- /dev/null
+++ b/llvm/lib/Target/ARC/ARC.h
@@ -0,0 +1,33 @@
+//===- ARC.h - Top-level interface for ARC representation -------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file contains the entry points for global functions defined in the LLVM
+// ARC back-end.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIB_TARGET_ARC_ARC_H
+#define LLVM_LIB_TARGET_ARC_ARC_H
+
+#include "MCTargetDesc/ARCMCTargetDesc.h"
+#include "llvm/Target/TargetMachine.h"
+
+namespace llvm {
+
+class FunctionPass;
+class ARCTargetMachine;
+
+FunctionPass *createARCISelDag(ARCTargetMachine &TM,
+ CodeGenOpt::Level OptLevel);
+FunctionPass *createARCExpandPseudosPass();
+FunctionPass *createARCBranchFinalizePass();
+
+} // end namespace llvm
+
+#endif // LLVM_LIB_TARGET_ARC_ARC_H
OpenPOWER on IntegriCloud