| Pete Couperus | 2d1f6d6 | 2017-08-24 15:40:33 +0000 | [diff] [blame] | 1 | //===- ARC.h - Top-level interface for ARC representation -------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the entry points for global functions defined in the LLVM |
| 11 | // ARC back-end. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_LIB_TARGET_ARC_ARC_H |
| 16 | #define LLVM_LIB_TARGET_ARC_ARC_H |
| 17 | |
| 18 | #include "MCTargetDesc/ARCMCTargetDesc.h" |
| 19 | #include "llvm/Target/TargetMachine.h" |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
| 23 | class FunctionPass; |
| 24 | class ARCTargetMachine; |
| 25 | |
| 26 | FunctionPass *createARCISelDag(ARCTargetMachine &TM, |
| 27 | CodeGenOpt::Level OptLevel); |
| 28 | FunctionPass *createARCExpandPseudosPass(); |
| 29 | FunctionPass *createARCBranchFinalizePass(); |
| 30 | |
| 31 | } // end namespace llvm |
| 32 | |
| 33 | #endif // LLVM_LIB_TARGET_ARC_ARC_H |