| OLD | NEW |
| 1 //===-- MipsISelLowering.h - Mips DAG Lowering Interface --------*- C++ -*-===// | 1 //===-- MipsISelLowering.h - Mips DAG Lowering Interface --------*- 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 defines the interfaces that Mips uses to lower LLVM code into a | 10 // This file defines the interfaces that Mips uses to lower LLVM code into a |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 bool IsCallReloc, CallLoweringInfo &CLI, SDValue Callee, | 357 bool IsCallReloc, CallLoweringInfo &CLI, SDValue Callee, |
| 358 SDValue Chain) const; | 358 SDValue Chain) const; |
| 359 | 359 |
| 360 protected: | 360 protected: |
| 361 SDValue lowerLOAD(SDValue Op, SelectionDAG &DAG) const; | 361 SDValue lowerLOAD(SDValue Op, SelectionDAG &DAG) const; |
| 362 SDValue lowerSTORE(SDValue Op, SelectionDAG &DAG) const; | 362 SDValue lowerSTORE(SDValue Op, SelectionDAG &DAG) const; |
| 363 | 363 |
| 364 // Subtarget Info | 364 // Subtarget Info |
| 365 const MipsSubtarget &Subtarget; | 365 const MipsSubtarget &Subtarget; |
| 366 | 366 |
| 367 // @LOCALMOD-BEGIN |
| 368 SDValue GetNaClThreadPointer(SelectionDAG &DAG, SDLoc DL) const; |
| 369 // @LOCALMOD-END |
| 370 |
| 367 private: | 371 private: |
| 368 // Create a TargetGlobalAddress node. | 372 // Create a TargetGlobalAddress node. |
| 369 SDValue getTargetNode(GlobalAddressSDNode *N, EVT Ty, SelectionDAG &DAG, | 373 SDValue getTargetNode(GlobalAddressSDNode *N, EVT Ty, SelectionDAG &DAG, |
| 370 unsigned Flag) const; | 374 unsigned Flag) const; |
| 371 | 375 |
| 372 // Create a TargetExternalSymbol node. | 376 // Create a TargetExternalSymbol node. |
| 373 SDValue getTargetNode(ExternalSymbolSDNode *N, EVT Ty, SelectionDAG &DAG, | 377 SDValue getTargetNode(ExternalSymbolSDNode *N, EVT Ty, SelectionDAG &DAG, |
| 374 unsigned Flag) const; | 378 unsigned Flag) const; |
| 375 | 379 |
| 376 // Create a TargetBlockAddress node. | 380 // Create a TargetBlockAddress node. |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 createMipsSETargetLowering(const MipsTargetMachine &TM, | 548 createMipsSETargetLowering(const MipsTargetMachine &TM, |
| 545 const MipsSubtarget &STI); | 549 const MipsSubtarget &STI); |
| 546 | 550 |
| 547 namespace Mips { | 551 namespace Mips { |
| 548 FastISel *createFastISel(FunctionLoweringInfo &funcInfo, | 552 FastISel *createFastISel(FunctionLoweringInfo &funcInfo, |
| 549 const TargetLibraryInfo *libInfo); | 553 const TargetLibraryInfo *libInfo); |
| 550 } | 554 } |
| 551 } | 555 } |
| 552 | 556 |
| 553 #endif | 557 #endif |
| OLD | NEW |