Searched refs:DefRC (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | PeepholeOptimizer.cpp | 512 const TargetRegisterClass *DefRC, in shareSameRegisterFile() argument 517 if (DefRC == SrcRC) in shareSameRegisterFile() 523 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile() 529 std::swap(DefRC, SrcRC); in shareSameRegisterFile() 534 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile() 536 return TRI.getCommonSubClass(DefRC, SrcRC) != nullptr; in shareSameRegisterFile() 552 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in findNextSource() local 580 ShouldRewrite = shareSameRegisterFile(*TRI, DefRC, DefSubReg, SrcRC, in findNextSource() 967 const TargetRegisterClass *DefRC = MRI->getRegClass(Def.Reg); in optimizeUncoalescableCopy() local 968 unsigned NewVR = MRI->createVirtualRegister(DefRC); in optimizeUncoalescableCopy()
|
D | RegisterCoalescer.cpp | 904 const TargetRegisterClass *DefRC = TII->getRegClass(MCID, 0, TRI, *MF); in reMaterializeTrivialDef() local 916 if (!DefRC->contains(NewDstReg)) in reMaterializeTrivialDef() 954 if (DefRC != nullptr) { in reMaterializeTrivialDef() 956 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef() 958 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
|