Searched refs:DefRC (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 297 const TargetRegisterClass *DefRC, in shareSameRegisterFile() argument 302 if (DefRC == SrcRC) in shareSameRegisterFile() 308 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile() 316 std::swap(DefRC, SrcRC); in shareSameRegisterFile() 321 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile() 324 return TRI.getCommonSubClass(DefRC, SrcRC) != nullptr; in shareSameRegisterFile() 327 bool TargetRegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 332 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
D | PeepholeOptimizer.cpp | 625 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in findNextSource() local 686 ShouldRewrite = TRI->shouldRewriteCopySrc(DefRC, SubReg, SrcRC, in findNextSource() 939 const TargetRegisterClass *DefRC = MRI.getRegClass(Def.Reg); in RewriteSource() local 940 unsigned NewVR = MRI.createVirtualRegister(DefRC); in RewriteSource()
|
D | RegisterCoalescer.cpp | 920 const TargetRegisterClass *DefRC = TII->getRegClass(MCID, 0, TRI, *MF); in reMaterializeTrivialDef() local 932 if (!DefRC->contains(NewDstReg)) in reMaterializeTrivialDef() 961 TRI->getCommonSubClass(DefRC, DstRC); in reMaterializeTrivialDef() 991 if (DefRC != nullptr) { in reMaterializeTrivialDef() 993 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef() 995 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.h | 95 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
D | SIRegisterInfo.cpp | 481 const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 501 return getCommonSubClass(DefRC, SrcRC) != nullptr; in shouldRewriteCopySrc()
|
/external/llvm/include/llvm/Target/ |
D | TargetRegisterInfo.h | 498 virtual bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|