From 2d1f6d67c56e56a33ec8f49d584d2352d33a4081 Mon Sep 17 00:00:00 2001 From: Pete Couperus Date: Thu, 24 Aug 2017 15:40:33 +0000 Subject: [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 --- llvm/lib/Target/ARC/ARC.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 llvm/lib/Target/ARC/ARC.h (limited to 'llvm/lib/Target/ARC/ARC.h') 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 -- cgit v1.2.3