Lines Matching refs:SrcSubReg
216 bool getNextSourceImpl(unsigned &SrcReg, unsigned &SrcSubReg);
218 bool getNextSourceFromCopy(unsigned &SrcReg, unsigned &SrcSubReg);
220 bool getNextSourceFromBitcast(unsigned &SrcReg, unsigned &SrcSubReg);
223 bool getNextSourceFromRegSequence(unsigned &SrcReg, unsigned &SrcSubReg);
226 bool getNextSourceFromInsertSubreg(unsigned &SrcReg, unsigned &SrcSubReg);
229 bool getNextSourceFromExtractSubreg(unsigned &SrcReg, unsigned &SrcSubReg);
232 bool getNextSourceFromSubregToReg(unsigned &SrcReg, unsigned &SrcSubReg);
288 const MachineInstr *getNextSource(unsigned &SrcReg, unsigned &SrcSubReg);
515 unsigned SrcSubReg) { in shareSameRegisterFile() argument
522 if (SrcSubReg && DefSubReg) in shareSameRegisterFile()
523 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
527 if (!SrcSubReg) { in shareSameRegisterFile()
528 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
533 if (SrcSubReg) in shareSameRegisterFile()
534 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
556 unsigned SrcSubReg; in findNextSource() local
567 SrcSubReg = CopySrcSubReg; in findNextSource()
581 SrcSubReg); in findNextSource()
589 SubReg = SrcSubReg; in findNextSource()
632 virtual bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
646 SrcSubReg = MOSrc.getSubReg(); in getNextRewritableSource()
685 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
695 SrcSubReg = MOInsertedReg.getSubReg(); in getNextRewritableSource()
733 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
747 SrcSubReg = CopyLike.getOperand(2).getImm(); in getNextRewritableSource()
805 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
822 if ((SrcSubReg = MOInsertedReg.getSubReg())) in getNextRewritableSource()
897 unsigned SrcReg, SrcSubReg, TrackReg, TrackSubReg; in optimizeCoalescableCopy() local
898 while (CpyRewriter->getNextRewritableSource(SrcReg, SrcSubReg, TrackReg, in optimizeCoalescableCopy()
1194 unsigned &SrcSubReg) { in getNextSourceFromCopy() argument
1207 SrcSubReg = Src.getSubReg(); in getNextSourceFromCopy()
1212 unsigned &SrcSubReg) { in getNextSourceFromBitcast() argument
1241 SrcSubReg = Src.getSubReg(); in getNextSourceFromBitcast()
1246 unsigned &SrcSubReg) { in getNextSourceFromRegSequence() argument
1286 SrcSubReg = RegSeqInput.SubReg; in getNextSourceFromRegSequence()
1298 unsigned &SrcSubReg) { in getNextSourceFromInsertSubreg() argument
1327 SrcSubReg = InsertedReg.SubReg; in getNextSourceFromInsertSubreg()
1351 SrcSubReg = DefSubReg; in getNextSourceFromInsertSubreg()
1356 unsigned &SrcSubReg) { in getNextSourceFromExtractSubreg() argument
1382 SrcSubReg = ExtractSubregInputReg.SubIdx; in getNextSourceFromExtractSubreg()
1387 unsigned &SrcSubReg) { in getNextSourceFromSubregToReg() argument
1404 SrcSubReg = Def->getOperand(3).getImm(); in getNextSourceFromSubregToReg()
1408 bool ValueTracker::getNextSourceImpl(unsigned &SrcReg, unsigned &SrcSubReg) { in getNextSourceImpl() argument
1415 return getNextSourceFromCopy(SrcReg, SrcSubReg); in getNextSourceImpl()
1417 return getNextSourceFromBitcast(SrcReg, SrcSubReg); in getNextSourceImpl()
1423 return getNextSourceFromRegSequence(SrcReg, SrcSubReg); in getNextSourceImpl()
1425 return getNextSourceFromInsertSubreg(SrcReg, SrcSubReg); in getNextSourceImpl()
1427 return getNextSourceFromExtractSubreg(SrcReg, SrcSubReg); in getNextSourceImpl()
1429 return getNextSourceFromSubregToReg(SrcReg, SrcSubReg); in getNextSourceImpl()
1434 unsigned &SrcSubReg) { in getNextSource() argument
1442 if (getNextSourceImpl(SrcReg, SrcSubReg)) { in getNextSource()
1454 DefSubReg = SrcSubReg; in getNextSource()