comparison lib/Target/Mips/Mips16ISelDAGToDAG.h @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
9 // 9 //
10 // Subclass of MipsDAGToDAGISel specialized for mips16. 10 // Subclass of MipsDAGToDAGISel specialized for mips16.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef MIPS16ISELDAGTODAG_H 14 #ifndef LLVM_LIB_TARGET_MIPS_MIPS16ISELDAGTODAG_H
15 #define MIPS16ISELDAGTODAG_H 15 #define LLVM_LIB_TARGET_MIPS_MIPS16ISELDAGTODAG_H
16 16
17 #include "MipsISelDAGToDAG.h" 17 #include "MipsISelDAGToDAG.h"
18 18
19 namespace llvm { 19 namespace llvm {
20 20
26 std::pair<SDNode*, SDNode*> selectMULT(SDNode *N, unsigned Opc, SDLoc DL, 26 std::pair<SDNode*, SDNode*> selectMULT(SDNode *N, unsigned Opc, SDLoc DL,
27 EVT Ty, bool HasLo, bool HasHi); 27 EVT Ty, bool HasLo, bool HasHi);
28 28
29 SDValue getMips16SPAliasReg(); 29 SDValue getMips16SPAliasReg();
30 30
31 virtual bool runOnMachineFunction(MachineFunction &MF); 31 bool runOnMachineFunction(MachineFunction &MF) override;
32 32
33 void getMips16SPRefReg(SDNode *Parent, SDValue &AliasReg); 33 void getMips16SPRefReg(SDNode *Parent, SDValue &AliasReg);
34 34
35 virtual bool selectAddr16(SDNode *Parent, SDValue N, SDValue &Base, 35 bool selectAddr16(SDNode *Parent, SDValue N, SDValue &Base,
36 SDValue &Offset, SDValue &Alias); 36 SDValue &Offset, SDValue &Alias) override;
37 37
38 virtual std::pair<bool, SDNode*> selectNode(SDNode *Node); 38 std::pair<bool, SDNode*> selectNode(SDNode *Node) override;
39 39
40 virtual void processFunctionAfterISel(MachineFunction &MF); 40 void processFunctionAfterISel(MachineFunction &MF) override;
41 41
42 // Insert instructions to initialize the global base register in the 42 // Insert instructions to initialize the global base register in the
43 // first MBB of the function. 43 // first MBB of the function.
44 void initGlobalBaseReg(MachineFunction &MF); 44 void initGlobalBaseReg(MachineFunction &MF);
45 45