Path: blob/main/contrib/llvm-project/llvm/lib/Target/CSKY/CSKY.h
35294 views
//===-- CSKY.h - Top-level interface for CSKY--------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the entry points for global functions defined in the LLVM9// CSKY back-end.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_CSKY_CSKY_H14#define LLVM_LIB_TARGET_CSKY_CSKY_H1516#include "llvm/PassRegistry.h"17#include "llvm/Target/TargetMachine.h"1819namespace llvm {20class CSKYTargetMachine;21class FunctionPass;22class PassRegistry;2324FunctionPass *createCSKYISelDag(CSKYTargetMachine &TM,25CodeGenOptLevel OptLevel);26FunctionPass *createCSKYConstantIslandPass();2728void initializeCSKYConstantIslandsPass(PassRegistry &);29void initializeCSKYDAGToDAGISelLegacyPass(PassRegistry &);3031} // namespace llvm3233#endif // LLVM_LIB_TARGET_CSKY_CSKY_H343536