Lines Matching refs:WE

87     auto WE = std::make_unique<WebAssemblyException>(EHPad);  in recalculate()  local
88 discoverAndMapException(WE.get(), MDT, MDF); in recalculate()
89 Exceptions.push_back(std::move(WE)); in recalculate()
169 auto *WE = getExceptionFor(EHPad); in recalculate() local
178 if (WE != SrcWE && SrcWE->contains(WE) && !DstWE->contains(WE) && in recalculate()
182 << WE->getEHPad()->getNumber() << "." in recalculate()
183 << WE->getEHPad()->getName() in recalculate()
187 WE->setParentException(SrcWE->getParentException()); in recalculate()
197 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate() local
198 for (; WE; WE = WE->getParentException()) in recalculate()
199 WE->addToBlocksSet(MBB); in recalculate()
243 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate() local
244 for (; WE; WE = WE->getParentException()) in recalculate()
245 WE->addToBlocksVector(MBB); in recalculate()
252 for (auto &WE : Exceptions) { in recalculate() local
253 ExceptionPointers.push_back(WE.get()); in recalculate()
254 if (WE->getParentException()) in recalculate()
255 WE->getParentException()->getSubExceptions().push_back(std::move(WE)); in recalculate()
257 addTopLevelException(std::move(WE)); in recalculate()
262 for (auto *WE : ExceptionPointers) { in recalculate() local
263 WE->reverseBlock(); in recalculate()
264 std::reverse(WE->getSubExceptions().begin(), WE->getSubExceptions().end()); in recalculate()
281 WebAssemblyException *WE, const MachineDominatorTree &MDT, in discoverAndMapException() argument
287 MachineBasicBlock *EHPad = WE->getEHPad(); in discoverAndMapException()
297 if (SubE != WE) { in discoverAndMapException()
299 SubE->setParentException(WE); in discoverAndMapException()
313 changeExceptionFor(MBB, WE); in discoverAndMapException()
322 WE->getSubExceptions().reserve(NumSubExceptions); in discoverAndMapException()
323 WE->reserveBlocks(NumBlocks); in discoverAndMapException()
328 WebAssemblyException *WE = getExceptionFor(MBB); in getOutermostException() local
329 if (WE) { in getOutermostException()
330 while (WebAssemblyException *Parent = WE->getParentException()) in getOutermostException()
331 WE = Parent; in getOutermostException()
333 return WE; in getOutermostException()
362 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE) { in operator <<() argument
363 WE.print(OS); in operator <<()
368 for (auto &WE : TopLevelExceptions) in print() local
369 WE->print(OS); in print()