Home
last modified time | relevance | path

Searched refs:WebAssemblyException (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.h43 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()
[all …]
DWebAssemblyExceptionInfo.cpp46 SmallVector<WebAssemblyException *, 8> Exceptions; in recalculate()
55 auto *WE = new WebAssemblyException(EHPad); in recalculate()
63 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate()
98 WebAssemblyException *WE, const MachineDominatorTree &MDT, in discoverAndMapException()
122 WebAssemblyException *SubE = getOutermostException(MBB); in discoverAndMapException()
153 WebAssemblyException *
155 WebAssemblyException *WE = getExceptionFor(MBB); in getOutermostException()
157 while (WebAssemblyException *Parent = WE->getParentException()) in getOutermostException()
163 void WebAssemblyException::print(raw_ostream &OS, unsigned Depth) const { in print()
186 LLVM_DUMP_METHOD void WebAssemblyException::dump() const { print(dbgs()); } in dump()
[all …]