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();
2720 SUnit *SuccSU = SI->getSUnit();
2721 for (SUnit::const_pred_iterator PI = SuccSU->Preds.begin(),
2722 PE = SuccSU->Preds.end(); PI != PE; ++PI) {
2743 /// canClobberPhysRegDefs - True if SU would clobber one of SuccSU's
2745 static bool canClobberPhysRegDefs(const SUnit *SuccSU, const SUnit *SU,
2748 SDNode *N = SuccSU->getNode();
2884 SUnit *SuccSU = Edge.getSUnit();
2885 if (SuccSU != SU) {
2887 scheduleDAG->RemovePred(SuccSU, Edge);
2890 scheduleDAG->AddPred(SuccSU, Edge);
2931 SUnit *SuccSU = I->getSUnit();
2932 if (SuccSU == SU)
2936 if (SuccSU->getHeight() < SU->getHeight() &&
2937 (SU->getHeight() - SuccSU->getHeight()) > 1)
2943 while (SuccSU->Succs.size() == 1 &&
2944 SuccSU->getNode()->isMachineOpcode() &&
2945 SuccSU->getNode()->getMachineOpcode() ==
2947 SuccSU = SuccSU->Succs.front().getSUnit();
2949 if (!SuccSU->getNode() || !SuccSU->getNode()->isMachineOpcode())
2953 if (SuccSU->hasPhysRegDefs && SU->hasPhysRegClobbers) {
2954 if (canClobberPhysRegDefs(SuccSU, SU, TII, TRI))
2959 unsigned SuccOpc = SuccSU->getNode()->getMachineOpcode();
2964 if (!canClobberReachingPhysRegUse(SuccSU, SU, scheduleDAG, TII, TRI) &&
2965 (!canClobber(SuccSU, DUSU) ||
2966 (isLiveOut && !hasOnlyLiveOutUses(SuccSU)) ||
2967 (!SU->isCommutable && SuccSU->isCommutable)) &&
2968 !scheduleDAG->IsReachable(SuccSU, SU)) {
2970 << SU->NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
2971 scheduleDAG->AddPred(SU, SDep(SuccSU, SDep::Artificial));