Lines Matching refs:VNI
67 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator); in createDeadDef() local
68 impl().insertAtEnd(Segment(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
69 return VNI; in createDeadDef()
87 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator); in createDeadDef() local
88 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
89 return VNI; in createDeadDef()
479 VNInfo *VNI = S.valno; in RenumberValues() local
480 if (!Seen.insert(VNI).second) in RenumberValues()
482 assert(!VNI->isUnused() && "Unused valno used by live segment"); in RenumberValues()
483 VNI->id = (unsigned)valnos.size(); in RenumberValues()
484 valnos.push_back(VNI); in RenumberValues()
640 VNInfo *VNI = NewVNInfo[i]; in join() local
641 if (VNI) { in join()
643 valnos.push_back(VNI); in join()
645 valnos[NumValNos] = VNI; in join()
646 VNI->id = NumValNos++; // Renumber val#. in join()
800 VNInfo *VNI = nullptr; in searchForVNI() local
807 VNI = searchForVNI(Indexes, LR, Pred, Visited); in searchForVNI()
808 if (VNI != nullptr) { in searchForVNI()
809 S.valno = VNI; in searchForVNI()
814 return VNI; in searchForVNI()
832 VNInfo *VNI = searchForVNI(Indexes, LI, Pred, Visited); in determineMissingVNIs() local
833 if (VNI != nullptr) { in determineMissingVNIs()
834 S.valno = VNI; in determineMissingVNIs()
958 VNInfo *VNI; in constructMainRangeFromSubranges() local
960 VNI = getNextValue(Pos, VNIAllocator); in constructMainRangeFromSubranges()
971 VNI = getVNInfoBefore(PredEnd); in constructMainRangeFromSubranges()
972 if (VNI != nullptr) in constructMainRangeFromSubranges()
976 if (VNI == nullptr) in constructMainRangeFromSubranges()
984 segments.back().valno == VNI) in constructMainRangeFromSubranges()
987 CurrentSegment.valno = VNI; in constructMainRangeFromSubranges()
1338 for (const VNInfo *VNI : LI->valnos) { in Classify() local
1340 if (VNI->isUnused()) { in Classify()
1342 EqClass.join(unused->id, VNI->id); in Classify()
1343 unused = VNI; in Classify()
1346 used = VNI; in Classify()
1347 if (VNI->isPHIDef()) { in Classify()
1348 const MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in Classify()
1354 EqClass.join(VNI->id, PVNI->id); in Classify()
1360 if (const VNInfo *UVNI = LI->getVNInfoBefore(VNI->def)) in Classify()
1361 EqClass.join(VNI->id, UVNI->id); in Classify()
1394 const VNInfo *VNI = MO.readsReg() ? LRQ.valueIn() : LRQ.valueDefined(); in Distribute() local
1397 if (!VNI) in Distribute()
1399 MO.setReg(LIV[getEqClass(VNI)]->reg); in Distribute()
1423 VNInfo *VNI = LI.getValNumInfo(i); in Distribute() local
1425 VNI->id = LIV[eq]->getNumValNums(); in Distribute()
1426 LIV[eq]->valnos.push_back(VNI); in Distribute()
1428 VNI->id = j; in Distribute()
1429 LI.valnos[j++] = VNI; in Distribute()