Lines Matching refs:WebAssemblyException
42 class WebAssemblyException {
45 WebAssemblyException *ParentException = nullptr;
46 std::vector<std::unique_ptr<WebAssemblyException>> SubExceptions;
51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} in WebAssemblyException() function
52 WebAssemblyException(const WebAssemblyException &) = delete;
53 const WebAssemblyException &operator=(const WebAssemblyException &) = delete;
57 WebAssemblyException *getParentException() const { return ParentException; } in getParentException()
58 void setParentException(WebAssemblyException *WE) { ParentException = WE; } in setParentException()
60 bool contains(const WebAssemblyException *WE) const { in contains()
89 const std::vector<std::unique_ptr<WebAssemblyException>> &
93 std::vector<std::unique_ptr<WebAssemblyException>> &getSubExceptions() { in getSubExceptions()
96 void addSubException(std::unique_ptr<WebAssemblyException> E) { in addSubException()
111 for (const WebAssemblyException *CurException = ParentException; in getExceptionDepth()
121 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE);
125 DenseMap<const MachineBasicBlock *, WebAssemblyException *> BBMap;
126 std::vector<std::unique_ptr<WebAssemblyException>> TopLevelExceptions;
128 void discoverAndMapException(WebAssemblyException *WE,
131 WebAssemblyException *getOutermostException(MachineBasicBlock *MBB) const;
153 WebAssemblyException *getExceptionFor(const MachineBasicBlock *MBB) const { in getExceptionFor()
158 WebAssemblyException *WE) { in changeExceptionFor()
166 void addTopLevelException(std::unique_ptr<WebAssemblyException> WE) { in addTopLevelException()