1 //===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_ARM_ARM_H
16 #define LLVM_LIB_TARGET_ARM_ARM_H
18 #include "llvm/Support/CodeGen.h"
24 class ARMBaseTargetMachine;
33 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
34 CodeGenOpt::Level OptLevel);
35 FunctionPass *createA15SDOptimizerPass();
36 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
37 FunctionPass *createARMExpandPseudoPass();
38 FunctionPass *createARMGlobalBaseRegPass();
39 FunctionPass *createARMConstantIslandPass();
40 FunctionPass *createMLxExpansionPass();
41 FunctionPass *createThumb2ITBlockPass();
42 FunctionPass *createARMOptimizeBarriersPass();
43 FunctionPass *createThumb2SizeReductionPass(
44 std::function<bool(const Function &)> Ftor = nullptr);
46 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
49 } // end namespace llvm;