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 "ARMBaseInfo.h"
19 #include "llvm/Support/ErrorHandling.h"
20 #include "llvm/Target/TargetMachine.h"
25 class ARMBaseTargetMachine
;
28 class formatted_raw_ostream
;
30 class TargetAsmBackend
;
32 MCCodeEmitter
*createARMMCCodeEmitter(const Target
&,
36 TargetAsmBackend
*createARMAsmBackend(const Target
&, const std::string
&);
38 FunctionPass
*createARMISelDag(ARMBaseTargetMachine
&TM
,
39 CodeGenOpt::Level OptLevel
);
41 FunctionPass
*createARMJITCodeEmitterPass(ARMBaseTargetMachine
&TM
,
44 FunctionPass
*createARMLoadStoreOptimizationPass(bool PreAlloc
= false);
45 FunctionPass
*createARMExpandPseudoPass();
46 FunctionPass
*createARMGlobalMergePass(const TargetLowering
* tli
);
47 FunctionPass
*createARMConstantIslandPass();
48 FunctionPass
*createNEONMoveFixPass();
49 FunctionPass
*createThumb2ITBlockPass();
50 FunctionPass
*createThumb2SizeReductionPass();
52 extern Target TheARMTarget
, TheThumbTarget
;
54 } // end namespace llvm;