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 "MCTargetDesc/ARMBaseInfo.h"
19 #include "MCTargetDesc/ARMMCTargetDesc.h"
20 #include "llvm/Support/DataTypes.h"
21 #include "llvm/Support/ErrorHandling.h"
22 #include "llvm/Target/TargetMachine.h"
28 class ARMBaseTargetMachine;
36 class MCSubtargetInfo;
37 class TargetAsmBackend;
38 class formatted_raw_ostream;
40 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
41 CodeGenOpt::Level OptLevel);
43 FunctionPass *createARMJITCodeEmitterPass(ARMBaseTargetMachine &TM,
46 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
47 FunctionPass *createARMExpandPseudoPass();
48 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli);
49 FunctionPass *createARMConstantIslandPass();
50 FunctionPass *createNEONMoveFixPass();
51 FunctionPass *createMLxExpansionPass();
52 FunctionPass *createThumb2ITBlockPass();
53 FunctionPass *createThumb2SizeReductionPass();
55 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
58 } // end namespace llvm;