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"
23 class ARMBaseTargetMachine;
31 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
32 CodeGenOpt::Level OptLevel);
33 FunctionPass *createA15SDOptimizerPass();
34 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
35 FunctionPass *createARMExpandPseudoPass();
36 FunctionPass *createARMGlobalBaseRegPass();
37 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli);
38 FunctionPass *createARMConstantIslandPass();
39 FunctionPass *createMLxExpansionPass();
40 FunctionPass *createThumb2ITBlockPass();
41 FunctionPass *createARMOptimizeBarriersPass();
42 FunctionPass *createThumb2SizeReductionPass();
44 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
47 } // end namespace llvm;