Deleted Added
full compact
MipsISelLowering.h (193323) MipsISelLowering.h (195340)
1//===-- MipsISelLowering.h - Mips DAG Lowering Interface --------*- 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//===----------------------------------------------------------------------===//

--- 54 unchanged lines hidden (view full) ---

63 };
64 }
65
66 //===--------------------------------------------------------------------===//
67 // TargetLowering Implementation
68 //===--------------------------------------------------------------------===//
69 class MipsTargetLowering : public TargetLowering
70 {
1//===-- MipsISelLowering.h - Mips DAG Lowering Interface --------*- 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//===----------------------------------------------------------------------===//

--- 54 unchanged lines hidden (view full) ---

63 };
64 }
65
66 //===--------------------------------------------------------------------===//
67 // TargetLowering Implementation
68 //===--------------------------------------------------------------------===//
69 class MipsTargetLowering : public TargetLowering
70 {
71 // FrameIndex for return slot.
72 int ReturnAddrIndex;
73 public:
74
75 explicit MipsTargetLowering(MipsTargetMachine &TM);
76
77 /// LowerOperation - Provide custom lowering hooks for some operations.
78 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG);
79
80 /// getTargetNodeName - This method returns the name of a target specific
81 // DAG node.
82 virtual const char *getTargetNodeName(unsigned Opcode) const;
83
84 /// getSetCCResultType - get the ISD::SETCC result ValueType
85 MVT getSetCCResultType(MVT VT) const;
86
71 public:
72
73 explicit MipsTargetLowering(MipsTargetMachine &TM);
74
75 /// LowerOperation - Provide custom lowering hooks for some operations.
76 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG);
77
78 /// getTargetNodeName - This method returns the name of a target specific
79 // DAG node.
80 virtual const char *getTargetNodeName(unsigned Opcode) const;
81
82 /// getSetCCResultType - get the ISD::SETCC result ValueType
83 MVT getSetCCResultType(MVT VT) const;
84
85 /// getFunctionAlignment - Return the Log2 alignment of this function.
86 virtual unsigned getFunctionAlignment(const Function *F) const;
87 private:
88 // Subtarget Info
89 const MipsSubtarget *Subtarget;
90
91 // Lower Operand helpers
92 SDNode *LowerCallResult(SDValue Chain, SDValue InFlag, CallSDNode *TheCall,
93 unsigned CallingConv, SelectionDAG &DAG);
94 bool IsGlobalInSmallSection(GlobalValue *GV);

--- 36 unchanged lines hidden ---
87 private:
88 // Subtarget Info
89 const MipsSubtarget *Subtarget;
90
91 // Lower Operand helpers
92 SDNode *LowerCallResult(SDValue Chain, SDValue InFlag, CallSDNode *TheCall,
93 unsigned CallingConv, SelectionDAG &DAG);
94 bool IsGlobalInSmallSection(GlobalValue *GV);

--- 36 unchanged lines hidden ---