brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 21ebf13 Raw
35 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains the entry points for global functions defined in the LLVM10// CSKY back-end.11//12//===----------------------------------------------------------------------===//13 14#ifndef LLVM_LIB_TARGET_CSKY_CSKY_H15#define LLVM_LIB_TARGET_CSKY_CSKY_H16 17#include "llvm/PassRegistry.h"18#include "llvm/Target/TargetMachine.h"19 20namespace llvm {21class CSKYTargetMachine;22class FunctionPass;23class PassRegistry;24 25FunctionPass *createCSKYISelDag(CSKYTargetMachine &TM,26                                CodeGenOptLevel OptLevel);27FunctionPass *createCSKYConstantIslandPass();28 29void initializeCSKYConstantIslandsPass(PassRegistry &);30void initializeCSKYDAGToDAGISelLegacyPass(PassRegistry &);31 32} // namespace llvm33 34#endif // LLVM_LIB_TARGET_CSKY_CSKY_H35