Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:SuccSU

1114     SUnit *SuccSU = I->getSUnit();
1115 if (SuccSU->isScheduled) {
1118 AddPred(SuccSU, D);
1120 DelDeps.push_back(std::make_pair(SuccSU, D));
1154 SUnit *SuccSU = I->getSUnit();
1155 if (SuccSU->isScheduled) {
1158 AddPred(SuccSU, D);
1159 DelDeps.push_back(std::make_pair(SuccSU, *I));
1165 AddPred(SuccSU, SDep(CopyFromSU, SDep::Artificial));
2251 const SUnit *SuccSU = I->getSUnit();
2252 if (SuccSU->getNode() && SuccSU->getNode()->getOpcode() == ISD::CopyToReg) {
2254 cast<RegisterSDNode>(SuccSU->getNode()->getOperand(1))->getReg();
2721 SUnit *SuccSU = SI->getSUnit();
2722 for (SUnit::const_pred_iterator PI = SuccSU->Preds.begin(),
2723 PE = SuccSU->Preds.end(); PI != PE; ++PI) {
2744 /// canClobberPhysRegDefs - True if SU would clobber one of SuccSU's
2746 static bool canClobberPhysRegDefs(const SUnit *SuccSU, const SUnit *SU,
2749 SDNode *N = SuccSU->getNode();
2885 SUnit *SuccSU = Edge.getSUnit();
2886 if (SuccSU != SU) {
2888 scheduleDAG->RemovePred(SuccSU, Edge);
2891 scheduleDAG->AddPred(SuccSU, Edge);
2932 SUnit *SuccSU = I->getSUnit();
2933 if (SuccSU == SU)
2937 if (SuccSU->getHeight() < SU->getHeight() &&
2938 (SU->getHeight() - SuccSU->getHeight()) > 1)
2944 while (SuccSU->Succs.size() == 1 &&
2945 SuccSU->getNode()->isMachineOpcode() &&
2946 SuccSU->getNode()->getMachineOpcode() ==
2948 SuccSU = SuccSU->Succs.front().getSUnit();
2950 if (!SuccSU->getNode() || !SuccSU->getNode()->isMachineOpcode())
2954 if (SuccSU->hasPhysRegDefs && SU->hasPhysRegClobbers) {
2955 if (canClobberPhysRegDefs(SuccSU, SU, TII, TRI))
2960 unsigned SuccOpc = SuccSU->getNode()->getMachineOpcode();
2965 if (!canClobberReachingPhysRegUse(SuccSU, SU, scheduleDAG, TII, TRI) &&
2966 (!canClobber(SuccSU, DUSU) ||
2967 (isLiveOut && !hasOnlyLiveOutUses(SuccSU)) ||
2968 (!SU->isCommutable && SuccSU->isCommutable)) &&
2969 !scheduleDAG->IsReachable(SuccSU, SU)) {
2971 << SU->NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
2972 scheduleDAG->AddPred(SU, SDep(SuccSU, SDep::Artificial));