1 //==-- AArch64.h - Top-level interface for AArch64  --------------*- C++ -*-==//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the entry points for global functions defined in the LLVM
11 // AArch64 back-end.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64_H
16 #define LLVM_LIB_TARGET_AARCH64_AARCH64_H
17 
18 #include "MCTargetDesc/AArch64MCTargetDesc.h"
19 #include "Utils/AArch64BaseInfo.h"
20 #include "llvm/Support/DataTypes.h"
21 #include "llvm/Target/TargetMachine.h"
22 
23 namespace llvm {
24 
25 class AArch64TargetMachine;
26 class FunctionPass;
27 class MachineFunctionPass;
28 
29 FunctionPass *createAArch64DeadRegisterDefinitions();
30 FunctionPass *createAArch64RedundantCopyEliminationPass();
31 FunctionPass *createAArch64ConditionalCompares();
32 FunctionPass *createAArch64AdvSIMDScalar();
33 FunctionPass *createAArch64BranchRelaxation();
34 FunctionPass *createAArch64ISelDag(AArch64TargetMachine &TM,
35                                  CodeGenOpt::Level OptLevel);
36 FunctionPass *createAArch64StorePairSuppressPass();
37 FunctionPass *createAArch64ExpandPseudoPass();
38 FunctionPass *createAArch64LoadStoreOptimizationPass();
39 ModulePass *createAArch64PromoteConstantPass();
40 FunctionPass *createAArch64ConditionOptimizerPass();
41 FunctionPass *createAArch64AddressTypePromotionPass();
42 FunctionPass *createAArch64A57FPLoadBalancing();
43 FunctionPass *createAArch64A53Fix835769();
44 
45 FunctionPass *createAArch64CleanupLocalDynamicTLSPass();
46 
47 FunctionPass *createAArch64CollectLOHPass();
48 
49 void initializeAArch64ExpandPseudoPass(PassRegistry&);
50 } // end namespace llvm
51 
52 #endif
53