Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.h42 class WebAssemblyException {
45 WebAssemblyException *ParentException = nullptr;
46 std::vector<WebAssemblyException *> SubExceptions;
51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} in WebAssemblyException() function
52 ~WebAssemblyException() { DeleteContainerPointers(SubExceptions); } in ~WebAssemblyException()
53 WebAssemblyException(const WebAssemblyException &) = delete;
54 const WebAssemblyException &operator=(const WebAssemblyException &) = delete;
58 WebAssemblyException *getParentException() const { return ParentException; } in getParentException()
59 void setParentException(WebAssemblyException *WE) { ParentException = WE; } in setParentException()
61 bool contains(const WebAssemblyException *WE) const { in contains()
[all …]
DWebAssemblyExceptionInfo.cpp49 SmallVector<WebAssemblyException *, 8> Exceptions; in recalculate()
54 auto *WE = new WebAssemblyException(EHPad); in recalculate()
62 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate()
97 WebAssemblyException *WE, const MachineDominatorTree &MDT, in discoverAndMapException()
111 WebAssemblyException *SubE = getOutermostException(MBB); in discoverAndMapException()
142 WebAssemblyException *
144 WebAssemblyException *WE = getExceptionFor(MBB); in getOutermostException()
146 while (WebAssemblyException *Parent = WE->getParentException()) in getOutermostException()
152 void WebAssemblyException::print(raw_ostream &OS, unsigned Depth) const { in print()
175 LLVM_DUMP_METHOD void WebAssemblyException::dump() const { print(dbgs()); } in dump()
[all …]
DWebAssemblyCFGSort.cpp84 DenseMap<const WebAssemblyException *, std::unique_ptr<Region>> ExceptionMap;
107 std::make_unique<ConcreteRegion<WebAssemblyException>>(WE); in getRegionFor()
DWebAssemblyCFGStackify.cpp462 WebAssemblyException *WE = WEI.getExceptionFor(&MBB); in placeTryMarker()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.h42 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()
85 const std::vector<std::unique_ptr<WebAssemblyException>> &getSubExceptions() const { in getSubExceptions()
[all …]
DWebAssemblyExceptionInfo.cpp49 SmallVector<std::unique_ptr<WebAssemblyException>, 8> Exceptions; in recalculate()
54 auto WE = std::make_unique<WebAssemblyException>(EHPad); in recalculate()
62 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate()
67 SmallVector<WebAssemblyException*, 8> ExceptionPointers; in recalculate()
100 WebAssemblyException *WE, const MachineDominatorTree &MDT, in discoverAndMapException()
114 WebAssemblyException *SubE = getOutermostException(MBB); in discoverAndMapException()
145 WebAssemblyException *
147 WebAssemblyException *WE = getExceptionFor(MBB); in getOutermostException()
149 while (WebAssemblyException *Parent = WE->getParentException()) in getOutermostException()
155 void WebAssemblyException::print(raw_ostream &OS, unsigned Depth) const { in print()
[all …]
DWebAssemblySortRegion.h26 class WebAssemblyException; variable
63 friend class ConcreteSortRegion<WebAssemblyException>;
68 DenseMap<const WebAssemblyException *, std::unique_ptr<SortRegion>>
84 MachineBasicBlock *getBottom(const WebAssemblyException *WE);
DWebAssemblySortRegion.cpp40 std::make_unique<ConcreteSortRegion<WebAssemblyException>>(WE); in getRegionFor()
72 MachineBasicBlock *SortRegionInfo::getBottom(const WebAssemblyException *WE) { in getBottom()
DWebAssemblyCFGStackify.cpp499 WebAssemblyException *WE = WEI.getExceptionFor(&MBB); in placeTryMarker()