Deleted Added
sdiff udiff text old ( 193323 ) new ( 195340 )
full compact
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
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 ---