Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:SuccSU

1116     SUnit *SuccSU = I->getSUnit();
1117 if (SuccSU->isScheduled) {
1120 AddPred(SuccSU, D);
1122 DelDeps.push_back(std::make_pair(SuccSU, D));
1156 SUnit *SuccSU = I->getSUnit();
1157 if (SuccSU->isScheduled) {
1160 AddPred(SuccSU, D);
1161 DelDeps.push_back(std::make_pair(SuccSU, *I));
1167 AddPred(SuccSU, SDep(CopyFromSU, SDep::Artificial));
2245 const SUnit *SuccSU = I->getSUnit();
2246 if (SuccSU->getNode() && SuccSU->getNode()->getOpcode() == ISD::CopyToReg) {
2248 cast<RegisterSDNode>(SuccSU->getNode()->getOperand(1))->getReg();
2715 SUnit *SuccSU = SI->getSUnit();
2716 for (SUnit::const_pred_iterator PI = SuccSU->Preds.begin(),
2717 PE = SuccSU->Preds.end(); PI != PE; ++PI) {
2738 /// canClobberPhysRegDefs - True if SU would clobber one of SuccSU's
2740 static bool canClobberPhysRegDefs(const SUnit *SuccSU, const SUnit *SU,
2743 SDNode *N = SuccSU->getNode();
2879 SUnit *SuccSU = Edge.getSUnit();
2880 if (SuccSU != SU) {
2882 scheduleDAG->RemovePred(SuccSU, Edge);
2885 scheduleDAG->AddPred(SuccSU, Edge);
2926 SUnit *SuccSU = I->getSUnit();
2927 if (SuccSU == SU)
2931 if (SuccSU->getHeight() < SU->getHeight() &&
2932 (SU->getHeight() - SuccSU->getHeight()) > 1)
2938 while (SuccSU->Succs.size() == 1 &&
2939 SuccSU->getNode()->isMachineOpcode() &&
2940 SuccSU->getNode()->getMachineOpcode() ==
2942 SuccSU = SuccSU->Succs.front().getSUnit();
2944 if (!SuccSU->getNode() || !SuccSU->getNode()->isMachineOpcode())
2948 if (SuccSU->hasPhysRegDefs && SU->hasPhysRegClobbers) {
2949 if (canClobberPhysRegDefs(SuccSU, SU, TII, TRI))
2954 unsigned SuccOpc = SuccSU->getNode()->getMachineOpcode();
2959 if (!canClobberReachingPhysRegUse(SuccSU, SU, scheduleDAG, TII, TRI) &&
2960 (!canClobber(SuccSU, DUSU) ||
2961 (isLiveOut && !hasOnlyLiveOutUses(SuccSU)) ||
2962 (!SU->isCommutable && SuccSU->isCommutable)) &&
2963 !scheduleDAG->IsReachable(SuccSU, SU)) {
2965 << SU->NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
2966 scheduleDAG->AddPred(SU, SDep(SuccSU, SDep::Artificial));