Lines Matching refs:WE

54     auto WE = std::make_unique<WebAssemblyException>(EHPad);  in recalculate()  local
55 discoverAndMapException(WE.get(), MDT, MDF); in recalculate()
56 Exceptions.push_back(std::move(WE)); in recalculate()
62 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate() local
63 for (; WE; WE = WE->getParentException()) in recalculate()
64 WE->addBlock(MBB); in recalculate()
71 for (auto &WE : Exceptions) { in recalculate() local
72 ExceptionPointers.push_back(WE.get()); in recalculate()
73 if (WE->getParentException()) in recalculate()
74 WE->getParentException()->getSubExceptions().push_back(std::move(WE)); in recalculate()
76 addTopLevelException(std::move(WE)); in recalculate()
81 for (auto *WE : ExceptionPointers) { in recalculate() local
82 WE->reverseBlock(); in recalculate()
83 std::reverse(WE->getSubExceptions().begin(), WE->getSubExceptions().end()); in recalculate()
100 WebAssemblyException *WE, const MachineDominatorTree &MDT, in discoverAndMapException() argument
106 MachineBasicBlock *EHPad = WE->getEHPad(); in discoverAndMapException()
116 if (SubE != WE) { in discoverAndMapException()
118 SubE->setParentException(WE); in discoverAndMapException()
132 changeExceptionFor(MBB, WE); in discoverAndMapException()
141 WE->getSubExceptions().reserve(NumSubExceptions); in discoverAndMapException()
142 WE->reserveBlocks(NumBlocks); in discoverAndMapException()
147 WebAssemblyException *WE = getExceptionFor(MBB); in getOutermostException() local
148 if (WE) { in getOutermostException()
149 while (WebAssemblyException *Parent = WE->getParentException()) in getOutermostException()
150 WE = Parent; in getOutermostException()
152 return WE; in getOutermostException()
181 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE) { in operator <<() argument
182 WE.print(OS); in operator <<()
187 for (auto &WE : TopLevelExceptions) in print() local
188 WE->print(OS); in print()