llvm.org GIT mirror llvm / 6cf9da3
Move trivial getter into header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203517 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 6 years ago
2 changed file(s) with 4 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
2424
2525 SIInstrInfo::SIInstrInfo(AMDGPUTargetMachine &tm)
2626 : AMDGPUInstrInfo(tm),
27 RI(tm)
28 { }
29
30 const SIRegisterInfo &SIInstrInfo::getRegisterInfo() const {
31 return RI;
32 }
27 RI(tm) { }
3328
3429 //===----------------------------------------------------------------------===//
3530 // TargetInstrInfo callbacks
3535 public:
3636 explicit SIInstrInfo(AMDGPUTargetMachine &tm);
3737
38 const SIRegisterInfo &getRegisterInfo() const;
38 const SIRegisterInfo &getRegisterInfo() const {
39 return RI;
40 }
3941
4042 virtual void copyPhysReg(MachineBasicBlock &MBB,
4143 MachineBasicBlock::iterator MI, DebugLoc DL,