Lines Matching refs:VNI
1315 static unsigned ComputeUltimateVN(VNInfo *VNI, in ComputeUltimateVN() argument
1321 unsigned VN = VNI->id; in ComputeUltimateVN()
1330 DenseMap<VNInfo*, VNInfo*>::iterator I = ThisFromOther.find(VNI); in ComputeUltimateVN()
1332 NewVNInfo.push_back(VNI); in ComputeUltimateVN()
1365 VNInfo *VNI, in RegistersDefinedFromSameValue() argument
1371 MachineInstr *MI = VNI->getCopy(); in RegistersDefinedFromSameValue()
1415 if (SrcInt.getVNInfoBefore(Other->def) != SrcInt.getVNInfoBefore(VNI->def)) in RegistersDefinedFromSameValue()
1487 VNInfo *VNI = *i; in JoinIntervals() local
1488 if (VNI->isUnused() || !VNI->isDefByCopy()) // Src not defined by a copy? in JoinIntervals()
1492 if (VNI->hasRedefByEC()) in JoinIntervals()
1496 LiveRange *lr = RHS.getLiveRangeContaining(VNI->def.getPrevSlot()); in JoinIntervals()
1502 MachineInstr *MI = VNI->getCopy(); in JoinIntervals()
1504 !RegistersDefinedFromSameValue(*LIS, *TRI, CP, VNI, lr, DupCopies)) in JoinIntervals()
1507 LHSValsDefinedFromRHS[VNI] = lr->valno; in JoinIntervals()
1514 VNInfo *VNI = *i; in JoinIntervals() local
1515 if (VNI->isUnused() || !VNI->isDefByCopy()) // Src not defined by a copy? in JoinIntervals()
1519 if (VNI->hasRedefByEC()) in JoinIntervals()
1523 LiveRange *lr = LHS.getLiveRangeContaining(VNI->def.getPrevSlot()); in JoinIntervals()
1529 MachineInstr *MI = VNI->getCopy(); in JoinIntervals()
1531 !RegistersDefinedFromSameValue(*LIS, *TRI, CP, VNI, lr, DupCopies)) in JoinIntervals()
1534 RHSValsDefinedFromLHS[VNI] = lr->valno; in JoinIntervals()
1543 VNInfo *VNI = *i; in JoinIntervals() local
1544 unsigned VN = VNI->id; in JoinIntervals()
1545 if (LHSValNoAssignments[VN] >= 0 || VNI->isUnused()) in JoinIntervals()
1547 ComputeUltimateVN(VNI, NewVNInfo, in JoinIntervals()
1553 VNInfo *VNI = *i; in JoinIntervals() local
1554 unsigned VN = VNI->id; in JoinIntervals()
1555 if (RHSValNoAssignments[VN] >= 0 || VNI->isUnused()) in JoinIntervals()
1558 if (RHSValsDefinedFromLHS.find(VNI) == RHSValsDefinedFromLHS.end()) { in JoinIntervals()
1559 NewVNInfo.push_back(VNI); in JoinIntervals()
1564 ComputeUltimateVN(VNI, NewVNInfo, in JoinIntervals()
1618 VNInfo *VNI = I->first; in JoinIntervals() local
1619 unsigned LHSValID = LHSValNoAssignments[VNI->id]; in JoinIntervals()
1620 if (VNI->hasPHIKill()) in JoinIntervals()
1627 VNInfo *VNI = I->first; in JoinIntervals() local
1628 unsigned RHSValID = RHSValNoAssignments[VNI->id]; in JoinIntervals()
1629 if (VNI->hasPHIKill()) in JoinIntervals()