LLVM  3.7.0
ARM.h
Go to the documentation of this file.
1 //===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the entry points for global functions defined in the LLVM
11 // ARM back-end.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_ARM_ARM_H
16 #define LLVM_LIB_TARGET_ARM_ARM_H
17 
18 #include "llvm/Support/CodeGen.h"
19 #include <functional>
20 
21 namespace llvm {
22 
23 class ARMAsmPrinter;
24 class ARMBaseTargetMachine;
25 class Function;
26 class FunctionPass;
27 class ImmutablePass;
28 class MachineInstr;
29 class MCInst;
30 class TargetLowering;
31 class TargetMachine;
32 
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);
45 
46 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
47  ARMAsmPrinter &AP);
48 
49 } // end namespace llvm;
50 
51 #endif
FunctionPass * createA15SDOptimizerPass()
FunctionPass * createMLxExpansionPass()
FunctionPass * createARMGlobalBaseRegPass()
FunctionPass * createARMExpandPseudoPass()
createARMExpandPseudoPass - returns an instance of the pseudo instruction expansion pass...
FunctionPass * createARMOptimizeBarriersPass()
createARMOptimizeBarriersPass - Returns an instance of the remove double barriers pass...
FunctionPass * createARMConstantIslandPass()
createARMConstantIslandPass - returns an instance of the constpool island pass.
FunctionPass * createARMLoadStoreOptimizationPass(bool PreAlloc=false)
Returns an instance of the load / store optimization pass.
void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, ARMAsmPrinter &AP)
FunctionPass * createARMISelDag(ARMBaseTargetMachine &TM, CodeGenOpt::Level OptLevel)
createARMISelDag - This pass converts a legalized DAG into a ARM-specific DAG, ready for instruction ...
print Print MemDeps of function
FunctionPass * createThumb2SizeReductionPass(std::function< bool(const Function &)> Ftor=nullptr)
createThumb2SizeReductionPass - Returns an instance of the Thumb2 size reduction pass.
FunctionPass * createThumb2ITBlockPass()
createThumb2ITBlockPass - Returns an instance of the Thumb2 IT blocks insertion pass.