1 //===-- CSKY.h - Top-level interface for CSKY--------------------*- 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 // CSKY back-end. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_CSKY_CSKY_H 15 #define LLVM_LIB_TARGET_CSKY_CSKY_H 16 17 #include "llvm/PassRegistry.h" 18 #include "llvm/Target/TargetMachine.h" 19 20 namespace llvm { 21 class CSKYTargetMachine; 22 class FunctionPass; 23 class PassRegistry; 24 25 FunctionPass *createCSKYISelDag(CSKYTargetMachine &TM); 26 FunctionPass *createCSKYConstantIslandPass(); 27 28 void initializeCSKYConstantIslandsPass(PassRegistry &); 29 30 } // namespace llvm 31 32 #endif // LLVM_LIB_TARGET_CSKY_CSKY_H 33