Lines Matching defs:SrcWE
134 auto *SrcWE = getExceptionFor(EHPad);
136 if (SrcWE->contains(DstWE)) {
137 UnwindWEVec.push_back(std::make_pair(SrcWE, DstWE));
142 << SrcWE->getEHPad()->getNumber() << "."
143 << SrcWE->getEHPad()->getName() << "'s exception\n");
144 DstWE->setParentException(SrcWE->getParentException());
174 auto *SrcWE = P.first;
176 // If WE (the current EH pad's exception) is still contained in SrcWE but
177 // reachable from DstWE that was taken out of SrcWE above, we have to take
178 // out WE out of SrcWE too.
179 if (WE != SrcWE && SrcWE->contains(WE) && !DstWE->contains(WE) &&
180 isReachableAmongDominated(DstWE->getEHPad(), EHPad, SrcWE->getEHPad(),
186 << SrcWE->getEHPad()->getNumber() << "."
187 << SrcWE->getEHPad()->getName() << "'s exception\n");
188 WE->setParentException(SrcWE->getParentException());
207 auto *SrcWE = P.first;
210 SrcWE->getBlocksSet().remove_if([&](MachineBasicBlock *MBB){
213 SrcWE->getEHPad(), MDT) &&
217 if (isReachableAmongDominated(DstWE->getEHPad(), MBB, SrcWE->getEHPad(),
222 while (InnerWE != SrcWE) {
230 LLVM_DEBUG(dbgs() << " removed from " << SrcWE->getEHPad()->getNumber()
231 << "." << SrcWE->getEHPad()->getName()
233 changeExceptionFor(MBB, SrcWE->getParentException());
234 if (SrcWE->getParentException())
235 SrcWE->getParentException()->addToBlocksSet(MBB);