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 //===----------------------------------------------------------------------===//
18 #include "llvm/Support/CodeGen.h"
23 class ARMBaseTargetMachine;
32 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
33 CodeGenOpt::Level OptLevel);
35 FunctionPass *createARMJITCodeEmitterPass(ARMBaseTargetMachine &TM,
38 FunctionPass *createA15SDOptimizerPass();
39 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
40 FunctionPass *createARMExpandPseudoPass();
41 FunctionPass *createARMGlobalBaseRegPass();
42 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli);
43 FunctionPass *createARMConstantIslandPass();
44 FunctionPass *createMLxExpansionPass();
45 FunctionPass *createThumb2ITBlockPass();
46 FunctionPass *createARMOptimizeBarriersPass();
47 FunctionPass *createThumb2SizeReductionPass();
49 /// \brief Creates an ARM-specific Target Transformation Info pass.
50 ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM);
52 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
55 } // end namespace llvm;