| OLD | NEW |
| 1 //===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===// | 1 //===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file contains the entry points for global functions defined in the LLVM | 10 // This file contains the entry points for global functions defined in the LLVM |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false); | 41 FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false); |
| 42 FunctionPass *createARMExpandPseudoPass(); | 42 FunctionPass *createARMExpandPseudoPass(); |
| 43 FunctionPass *createARMGlobalBaseRegPass(); | 43 FunctionPass *createARMGlobalBaseRegPass(); |
| 44 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli); | 44 FunctionPass *createARMGlobalMergePass(const TargetLowering* tli); |
| 45 FunctionPass *createARMConstantIslandPass(); | 45 FunctionPass *createARMConstantIslandPass(); |
| 46 FunctionPass *createMLxExpansionPass(); | 46 FunctionPass *createMLxExpansionPass(); |
| 47 FunctionPass *createThumb2ITBlockPass(); | 47 FunctionPass *createThumb2ITBlockPass(); |
| 48 FunctionPass *createThumb2SizeReductionPass(); | 48 FunctionPass *createThumb2SizeReductionPass(); |
| 49 | 49 |
| 50 /* @LOCALMOD-START */ | 50 /* @LOCALMOD-START */ |
| 51 FunctionPass *createARMNaClDivideCheckPass(); |
| 51 FunctionPass *createARMNaClRewritePass(); | 52 FunctionPass *createARMNaClRewritePass(); |
| 52 /* @LOCALMOD-END */ | 53 /* @LOCALMOD-END */ |
| 53 | 54 |
| 54 /// \brief Creates an ARM-specific Target Transformation Info pass. | 55 /// \brief Creates an ARM-specific Target Transformation Info pass. |
| 55 ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM); | 56 ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM); |
| 56 | 57 |
| 57 | 58 |
| 58 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, | 59 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, |
| 59 ARMAsmPrinter &AP); | 60 ARMAsmPrinter &AP); |
| 60 | 61 |
| 61 | 62 |
| 62 /* @LOCALMOD-START */ | 63 /* @LOCALMOD-START */ |
| 63 // Used to lower the pc-relative MOVi16PIC / MOVTi16PIC pseudo instructions | 64 // Used to lower the pc-relative MOVi16PIC / MOVTi16PIC pseudo instructions |
| 64 // into the real MOVi16 / MOVTi16 instructions. | 65 // into the real MOVi16 / MOVTi16 instructions. |
| 65 // See comment on MOVi16PIC for more details. | 66 // See comment on MOVi16PIC for more details. |
| 66 void LowerARMMachineInstrToMCInstPCRel(const MachineInstr *MI, | 67 void LowerARMMachineInstrToMCInstPCRel(const MachineInstr *MI, |
| 67 MCInst &OutMI, | 68 MCInst &OutMI, |
| 68 ARMAsmPrinter &AP, | 69 ARMAsmPrinter &AP, |
| 69 unsigned ImmIndex, | 70 unsigned ImmIndex, |
| 70 unsigned PCIndex, | 71 unsigned PCIndex, |
| 71 MCSymbol *PCLabel, | 72 MCSymbol *PCLabel, |
| 72 unsigned PCAdjustment); | 73 unsigned PCAdjustment); |
| 73 /* @LOCALMOD-END */ | 74 /* @LOCALMOD-END */ |
| 74 | 75 |
| 75 } // end namespace llvm; | 76 } // end namespace llvm; |
| 76 | 77 |
| 77 #endif | 78 #endif |
| OLD | NEW |