Home | History | Annotate | Download | only in ARM
      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 
     20 namespace llvm {
     21 
     22 class ARMAsmPrinter;
     23 class ARMBaseTargetMachine;
     24 class FunctionPass;
     25 class ImmutablePass;
     26 class MachineInstr;
     27 class MCInst;
     28 class TargetLowering;
     29 class TargetMachine;
     30 
     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 *createARMConstantIslandPass();
     38 FunctionPass *createMLxExpansionPass();
     39 FunctionPass *createThumb2ITBlockPass();
     40 FunctionPass *createARMOptimizeBarriersPass();
     41 FunctionPass *createThumb2SizeReductionPass();
     42 
     43 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
     44                                   ARMAsmPrinter &AP);
     45 
     46 } // end namespace llvm;
     47 
     48 #endif
     49