LLVM  14.0.0git
CSKY.h
Go to the documentation of this file.
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 
18 
19 namespace llvm {
20 class CSKYTargetMachine;
21 class FunctionPass;
22 
23 FunctionPass *createCSKYISelDag(CSKYTargetMachine &TM);
24 FunctionPass *createCSKYConstantIslandPass();
25 
26 void initializeCSKYConstantIslandsPass(PassRegistry &);
27 
28 } // namespace llvm
29 
30 #endif // LLVM_LIB_TARGET_CSKY_CSKY_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
llvm::createCSKYISelDag
FunctionPass * createCSKYISelDag(CSKYTargetMachine &TM)
Definition: CSKYISelDAGToDAG.cpp:178
TargetMachine.h
llvm::createCSKYConstantIslandPass
FunctionPass * createCSKYConstantIslandPass()
Returns a pass that converts branches to long branches.
Definition: CSKYConstantIslandPass.cpp:1365
llvm::initializeCSKYConstantIslandsPass
void initializeCSKYConstantIslandsPass(PassRegistry &)
TM
const char LLVMTargetMachineRef TM
Definition: PassBuilderBindings.cpp:47