Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/Target/WebAssembly/
H A 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()
89 const std::vector<std::unique_ptr<WebAssemblyException>> &
[all …]
H A DWebAssemblyExceptionInfo.cpp10 /// \brief This file implements WebAssemblyException information analysis.
82 SmallVector<std::unique_ptr<WebAssemblyException>, 8> Exceptions; in recalculate()
87 auto WE = std::make_unique<WebAssemblyException>(EHPad); in recalculate()
125 SmallVector<std::pair<WebAssemblyException *, WebAssemblyException *>> in recalculate()
198 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate()
221 WebAssemblyException *InnerWE = getExceptionFor(MBB); in recalculate()
245 WebAssemblyException *WE = getExceptionFor(MBB); in recalculate()
250 SmallVector<WebAssemblyException*, 8> ExceptionPointers; in recalculate()
283 WebAssemblyException *W
[all...]
H A DWebAssemblySortRegion.h26 class WebAssemblyException; variable
63 friend class ConcreteSortRegion<WebAssemblyException>;
68 DenseMap<const WebAssemblyException *, std::unique_ptr<SortRegion>>
84 MachineBasicBlock *getBottom(const WebAssemblyException *WE);
H A DWebAssemblySortRegion.cpp40 std::make_unique<ConcreteSortRegion<WebAssemblyException>>(WE); in getRegionFor()
72 MachineBasicBlock *SortRegionInfo::getBottom(const WebAssemblyException *WE) { in getBottom()
H A DWebAssemblyCFGStackify.cpp526 WebAssemblyException *WE = WEI.getExceptionFor(&MBB); in placeTryMarker()
721 WebAssemblyException *WE = WEI.getExceptionFor(&MBB); in removeUnnecessaryInstrs()
/llvm-project/llvm/test/CodeGen/WebAssembly/
H A Dcfg-stackify-eh-legacy.ll1470 ; Regression test for a WebAssemblyException grouping bug. After catchswitches
1541 ; Test for WebAssemblyException grouping. This test is hand-modified to generate