Lines Matching defs:SuccSU
1123 SUnit *SuccSU = I->getSUnit();
1124 if (SuccSU->isScheduled) {
1127 AddPred(SuccSU, D);
1129 DelDeps.push_back(std::make_pair(SuccSU, D));
1163 SUnit *SuccSU = I->getSUnit();
1164 if (SuccSU->isScheduled) {
1167 AddPred(SuccSU, D);
1168 DelDeps.push_back(std::make_pair(SuccSU, *I));
1174 AddPred(SuccSU, SDep(CopyFromSU, SDep::Artificial));
2261 const SUnit *SuccSU = I->getSUnit();
2262 if (SuccSU->getNode() && SuccSU->getNode()->getOpcode() == ISD::CopyToReg) {
2264 cast<RegisterSDNode>(SuccSU->getNode()->getOperand(1))->getReg();
2731 SUnit *SuccSU = SI->getSUnit();
2732 for (SUnit::const_pred_iterator PI = SuccSU->Preds.begin(),
2733 PE = SuccSU->Preds.end(); PI != PE; ++PI) {
2754 /// canClobberPhysRegDefs - True if SU would clobber one of SuccSU's
2756 static bool canClobberPhysRegDefs(const SUnit *SuccSU, const SUnit *SU,
2759 SDNode *N = SuccSU->getNode();
2895 SUnit *SuccSU = Edge.getSUnit();
2896 if (SuccSU != SU) {
2898 scheduleDAG->RemovePred(SuccSU, Edge);
2901 scheduleDAG->AddPred(SuccSU, Edge);
2942 SUnit *SuccSU = I->getSUnit();
2943 if (SuccSU == SU)
2947 if (SuccSU->getHeight() < SU->getHeight() &&
2948 (SU->getHeight() - SuccSU->getHeight()) > 1)
2954 while (SuccSU->Succs.size() == 1 &&
2955 SuccSU->getNode()->isMachineOpcode() &&
2956 SuccSU->getNode()->getMachineOpcode() ==
2958 SuccSU = SuccSU->Succs.front().getSUnit();
2960 if (!SuccSU->getNode() || !SuccSU->getNode()->isMachineOpcode())
2964 if (SuccSU->hasPhysRegDefs && SU->hasPhysRegClobbers) {
2965 if (canClobberPhysRegDefs(SuccSU, SU, TII, TRI))
2970 unsigned SuccOpc = SuccSU->getNode()->getMachineOpcode();
2975 if (!canClobberReachingPhysRegUse(SuccSU, SU, scheduleDAG, TII, TRI) &&
2976 (!canClobber(SuccSU, DUSU) ||
2977 (isLiveOut && !hasOnlyLiveOutUses(SuccSU)) ||
2978 (!SU->isCommutable && SuccSU->isCommutable)) &&
2979 !scheduleDAG->IsReachable(SuccSU, SU)) {
2981 << SU->NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
2982 scheduleDAG->AddPred(SU, SDep(SuccSU, SDep::Artificial));