MipsInstrInfo.h (210299) | MipsInstrInfo.h (212904) |
---|---|
1//===- MipsInstrInfo.h - Mips Instruction Information -----------*- 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//===----------------------------------------------------------------------===// --- 160 unchanged lines hidden (view full) --- 169 explicit MipsInstrInfo(MipsTargetMachine &TM); 170 171 /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As 172 /// such, whenever a client has an instance of instruction info, it should 173 /// always be able to get register info as well (through this method). 174 /// 175 virtual const MipsRegisterInfo &getRegisterInfo() const { return RI; } 176 | 1//===- MipsInstrInfo.h - Mips Instruction Information -----------*- 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//===----------------------------------------------------------------------===// --- 160 unchanged lines hidden (view full) --- 169 explicit MipsInstrInfo(MipsTargetMachine &TM); 170 171 /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As 172 /// such, whenever a client has an instance of instruction info, it should 173 /// always be able to get register info as well (through this method). 174 /// 175 virtual const MipsRegisterInfo &getRegisterInfo() const { return RI; } 176 |
177 /// Return true if the instruction is a register to register move and return 178 /// the source and dest operands and their sub-register indices by reference. 179 virtual bool isMoveInstr(const MachineInstr &MI, 180 unsigned &SrcReg, unsigned &DstReg, 181 unsigned &SrcSubIdx, unsigned &DstSubIdx) const; 182 | |
183 /// isLoadFromStackSlot - If the specified machine instruction is a direct 184 /// load from a stack slot, return the virtual or physical register number of 185 /// the destination along with the FrameIndex of the loaded stack slot. If 186 /// not, return 0. This predicate must return 0 if the instruction has 187 /// any side effects other than loading from the stack slot. 188 virtual unsigned isLoadFromStackSlot(const MachineInstr *MI, 189 int &FrameIndex) const; 190 --- 51 unchanged lines hidden --- | 177 /// isLoadFromStackSlot - If the specified machine instruction is a direct 178 /// load from a stack slot, return the virtual or physical register number of 179 /// the destination along with the FrameIndex of the loaded stack slot. If 180 /// not, return 0. This predicate must return 0 if the instruction has 181 /// any side effects other than loading from the stack slot. 182 virtual unsigned isLoadFromStackSlot(const MachineInstr *MI, 183 int &FrameIndex) const; 184 --- 51 unchanged lines hidden --- |