1 //===- ARC.h - Top-level interface for ARC representation -------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // This file contains the entry points for global functions defined in the LLVM 10 // ARC back-end. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_ARC_ARC_H 15 #define LLVM_LIB_TARGET_ARC_ARC_H 16 17 #include "MCTargetDesc/ARCMCTargetDesc.h" 18 #include "llvm/Target/TargetMachine.h" 19 20 namespace llvm { 21 22 class ARCTargetMachine; 23 class FunctionPass; 24 class PassRegistry; 25 26 FunctionPass *createARCISelDag(ARCTargetMachine &TM, 27 CodeGenOpt::Level OptLevel); 28 FunctionPass *createARCExpandPseudosPass(); 29 FunctionPass *createARCOptAddrMode(); 30 FunctionPass *createARCBranchFinalizePass(); 31 void initializeARCDAGToDAGISelPass(PassRegistry &); 32 33 } // end namespace llvm 34 35 #endif // LLVM_LIB_TARGET_ARC_ARC_H 36