LLVM API Documentation

ARM.h
Go to the documentation of this file.
00001 //===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the entry points for global functions defined in the LLVM
00011 // ARM back-end.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_LIB_TARGET_ARM_ARM_H
00016 #define LLVM_LIB_TARGET_ARM_ARM_H
00017 
00018 #include "llvm/Support/CodeGen.h"
00019 
00020 namespace llvm {
00021 
00022 class ARMAsmPrinter;
00023 class ARMBaseTargetMachine;
00024 class FunctionPass;
00025 class ImmutablePass;
00026 class MachineInstr;
00027 class MCInst;
00028 class TargetLowering;
00029 class TargetMachine;
00030 
00031 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
00032                                CodeGenOpt::Level OptLevel);
00033 FunctionPass *createA15SDOptimizerPass();
00034 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
00035 FunctionPass *createARMExpandPseudoPass();
00036 FunctionPass *createARMGlobalBaseRegPass();
00037 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli);
00038 FunctionPass *createARMConstantIslandPass();
00039 FunctionPass *createMLxExpansionPass();
00040 FunctionPass *createThumb2ITBlockPass();
00041 FunctionPass *createARMOptimizeBarriersPass();
00042 FunctionPass *createThumb2SizeReductionPass();
00043 
00044 /// \brief Creates an ARM-specific Target Transformation Info pass.
00045 ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM);
00046 
00047 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
00048                                   ARMAsmPrinter &AP);
00049 
00050 } // end namespace llvm;
00051 
00052 #endif