MipsInstrInfo.h (208954) | MipsInstrInfo.h (210299) |
---|---|
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//===----------------------------------------------------------------------===// --- 190 unchanged lines hidden (view full) --- 199 /// Branch Analysis 200 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 201 MachineBasicBlock *&FBB, 202 SmallVectorImpl<MachineOperand> &Cond, 203 bool AllowModify) const; 204 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const; 205 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 206 MachineBasicBlock *FBB, | 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//===----------------------------------------------------------------------===// --- 190 unchanged lines hidden (view full) --- 199 /// Branch Analysis 200 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 201 MachineBasicBlock *&FBB, 202 SmallVectorImpl<MachineOperand> &Cond, 203 bool AllowModify) const; 204 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const; 205 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 206 MachineBasicBlock *FBB, |
207 const SmallVectorImpl<MachineOperand> &Cond) const; 208 virtual bool copyRegToReg(MachineBasicBlock &MBB, 209 MachineBasicBlock::iterator I, 210 unsigned DestReg, unsigned SrcReg, 211 const TargetRegisterClass *DestRC, 212 const TargetRegisterClass *SrcRC, 213 DebugLoc DL) const; | 207 const SmallVectorImpl<MachineOperand> &Cond, 208 DebugLoc DL) const; 209 virtual void copyPhysReg(MachineBasicBlock &MBB, 210 MachineBasicBlock::iterator MI, DebugLoc DL, 211 unsigned DestReg, unsigned SrcReg, 212 bool KillSrc) const; |
214 virtual void storeRegToStackSlot(MachineBasicBlock &MBB, 215 MachineBasicBlock::iterator MBBI, 216 unsigned SrcReg, bool isKill, int FrameIndex, 217 const TargetRegisterClass *RC, 218 const TargetRegisterInfo *TRI) const; 219 220 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB, 221 MachineBasicBlock::iterator MBBI, 222 unsigned DestReg, int FrameIndex, 223 const TargetRegisterClass *RC, 224 const TargetRegisterInfo *TRI) const; 225 | 213 virtual void storeRegToStackSlot(MachineBasicBlock &MBB, 214 MachineBasicBlock::iterator MBBI, 215 unsigned SrcReg, bool isKill, int FrameIndex, 216 const TargetRegisterClass *RC, 217 const TargetRegisterInfo *TRI) const; 218 219 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB, 220 MachineBasicBlock::iterator MBBI, 221 unsigned DestReg, int FrameIndex, 222 const TargetRegisterClass *RC, 223 const TargetRegisterInfo *TRI) const; 224 |
226 virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF, 227 MachineInstr* MI, 228 const SmallVectorImpl<unsigned> &Ops, 229 int FrameIndex) const; 230 231 virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF, 232 MachineInstr* MI, 233 const SmallVectorImpl<unsigned> &Ops, 234 MachineInstr* LoadMI) const { 235 return 0; 236 } 237 | |
238 virtual 239 bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; 240 241 /// Insert nop instruction when hazard condition is found 242 virtual void insertNoop(MachineBasicBlock &MBB, 243 MachineBasicBlock::iterator MI) const; 244 245 /// getGlobalBaseReg - Return a virtual register initialized with the 246 /// the global base register value. Output instructions required to 247 /// initialize the register in the function entry block, if necessary. 248 /// 249 unsigned getGlobalBaseReg(MachineFunction *MF) const; 250}; 251 252} 253 254#endif | 225 virtual 226 bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; 227 228 /// Insert nop instruction when hazard condition is found 229 virtual void insertNoop(MachineBasicBlock &MBB, 230 MachineBasicBlock::iterator MI) const; 231 232 /// getGlobalBaseReg - Return a virtual register initialized with the 233 /// the global base register value. Output instructions required to 234 /// initialize the register in the function entry block, if necessary. 235 /// 236 unsigned getGlobalBaseReg(MachineFunction *MF) const; 237}; 238 239} 240 241#endif |