Lines Matching defs:RegIdx
114 void PutInWorklist(unsigned RegIdx) {
115 if (WorklistMembers.test(RegIdx))
117 WorklistMembers.set(RegIdx);
118 Worklist.push_back(RegIdx);
366 unsigned RegIdx = TargetRegisterInfo::virtReg2Index(Reg);
367 DefinedByCopy.set(RegIdx);
368 PutInWorklist(RegIdx);
499 for (unsigned RegIdx = 0; RegIdx < NumVirtRegs; ++RegIdx) {
500 unsigned Reg = TargetRegisterInfo::index2VirtReg(RegIdx);
503 VRegInfo &Info = VRegInfos[RegIdx];
510 unsigned RegIdx = Worklist.front();
512 WorklistMembers.reset(RegIdx);
513 VRegInfo &Info = VRegInfos[RegIdx];
514 unsigned Reg = TargetRegisterInfo::index2VirtReg(RegIdx);
527 for (unsigned RegIdx = 0; RegIdx < NumVirtRegs; ++RegIdx) {
528 unsigned Reg = TargetRegisterInfo::index2VirtReg(RegIdx);
529 const VRegInfo &Info = VRegInfos[RegIdx];
547 unsigned RegIdx = TargetRegisterInfo::virtReg2Index(Reg);
548 const VRegInfo &RegInfo = VRegInfos[RegIdx];