• Home
  • Raw
  • Download

Lines Matching refs:SubReg

160     bool findNextSource(unsigned Reg, unsigned SubReg,
225 ValueTrackerResult(unsigned Reg, unsigned SubReg) : Inst(nullptr) { in ValueTrackerResult() argument
226 addSource(Reg, SubReg); in ValueTrackerResult()
257 return RegSrcs[Idx].SubReg; in getSrcSubReg()
616 bool PeepholeOptimizer::findNextSource(unsigned Reg, unsigned SubReg, in findNextSource() argument
627 TargetInstrInfo::RegSubRegPair CurSrcPair(Reg, SubReg); in findNextSource()
638 ValueTracker ValTracker(CurSrcPair.Reg, CurSrcPair.SubReg, *MRI, in findNextSource()
676 CurSrcPair.SubReg = Res.getSrcSubReg(0); in findNextSource()
685 ShouldRewrite = TRI->shouldRewriteCopySrc(DefRC, SubReg, SrcRC, in findNextSource()
686 CurSrcPair.SubReg); in findNextSource()
727 MIB.addReg(RegPair.Reg, 0, RegPair.SubReg); in insertPHI()
824 TargetInstrInfo::RegSubRegPair LookupSrc(Def.Reg, Def.SubReg); in getNewSource()
835 LookupSrc.SubReg = Res.getSrcSubReg(0); in getNewSource()
944 .addReg(NewSrc.Reg, 0, NewSrc.SubReg); in RewriteSource()
946 NewCopy->getOperand(0).setSubReg(Def.SubReg); in RewriteSource()
947 if (Def.SubReg) in RewriteSource()
1219 if (CpyRewriter->RewriteCurrentSource(NewSrc.Reg, NewSrc.SubReg)) { in optimizeCoalescableCopy()
1261 unsigned Reg, SubReg, CopyDefReg, CopyDefSubReg; in optimizeUncoalescableCopy() local
1262 while (CpyRewriter->getNextRewritableSource(Reg, SubReg, CopyDefReg, in optimizeUncoalescableCopy()
1272 if (!findNextSource(Def.Reg, Def.SubReg, RewriteMap)) in optimizeUncoalescableCopy()
1750 if (RegSeqInput.SubReg) in getNextSourceFromRegSequence()
1754 return ValueTrackerResult(RegSeqInput.Reg, RegSeqInput.SubReg); in getNextSourceFromRegSequence()
1792 return ValueTrackerResult(InsertedReg.Reg, InsertedReg.SubReg); in getNextSourceFromInsertSubreg()
1802 BaseReg.SubReg) in getNextSourceFromInsertSubreg()
1839 if (ExtractSubregInputReg.SubReg) in getNextSourceFromExtractSubreg()