Lines Matching refs:WebAssemblyException

43 class WebAssemblyException {
46 WebAssemblyException *ParentException = nullptr;
47 std::vector<WebAssemblyException *> SubExceptions;
52 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} in WebAssemblyException() function
53 ~WebAssemblyException() { DeleteContainerPointers(SubExceptions); } in ~WebAssemblyException()
54 WebAssemblyException(const WebAssemblyException &) = delete;
55 const WebAssemblyException &operator=(const WebAssemblyException &) = delete;
59 WebAssemblyException *getParentException() const { return ParentException; } in getParentException()
60 void setParentException(WebAssemblyException *WE) { ParentException = WE; } in setParentException()
62 bool contains(const WebAssemblyException *WE) const { in contains()
87 const std::vector<WebAssemblyException *> &getSubExceptions() const { in getSubExceptions()
90 std::vector<WebAssemblyException *> &getSubExceptions() { in getSubExceptions()
93 void addSubException(WebAssemblyException *E) { SubExceptions.push_back(E); } in addSubException()
94 using iterator = typename std::vector<WebAssemblyException *>::const_iterator;
106 for (const WebAssemblyException *CurException = ParentException; in getExceptionDepth()
116 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE);
120 DenseMap<const MachineBasicBlock *, WebAssemblyException *> BBMap;
121 std::vector<WebAssemblyException *> TopLevelExceptions;
123 void discoverAndMapException(WebAssemblyException *WE,
126 WebAssemblyException *getOutermostException(MachineBasicBlock *MBB) const;
148 WebAssemblyException *getExceptionFor(const MachineBasicBlock *MBB) const { in getExceptionFor()
152 void changeExceptionFor(MachineBasicBlock *MBB, WebAssemblyException *WE) { in changeExceptionFor()
160 void addTopLevelException(WebAssemblyException *WE) { in addTopLevelException()