LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::WasmEHFuncInfo Struct Reference

#include "llvm/CodeGen/WasmEHFuncInfo.h"

Collaboration diagram for llvm::WasmEHFuncInfo:
Collaboration graph
[legend]

Public Member Functions

const BasicBlockgetUnwindDest (const BasicBlock *BB) const
 
SmallPtrSet< const BasicBlock *, 4 > getUnwindSrcs (const BasicBlock *BB) const
 
void setUnwindDest (const BasicBlock *BB, const BasicBlock *Dest)
 
bool hasUnwindDest (const BasicBlock *BB) const
 
bool hasUnwindSrcs (const BasicBlock *BB) const
 
MachineBasicBlockgetUnwindDest (MachineBasicBlock *MBB) const
 
SmallPtrSet< MachineBasicBlock *, 4 > getUnwindSrcs (MachineBasicBlock *MBB) const
 
void setUnwindDest (MachineBasicBlock *MBB, MachineBasicBlock *Dest)
 
bool hasUnwindDest (MachineBasicBlock *MBB) const
 
bool hasUnwindSrcs (MachineBasicBlock *MBB) const
 

Public Attributes

DenseMap< BBOrMBB, BBOrMBBSrcToUnwindDest
 
DenseMap< BBOrMBB, SmallPtrSet< BBOrMBB, 4 > > UnwindDestToSrcs
 

Detailed Description

Definition at line 32 of file WasmEHFuncInfo.h.

Member Function Documentation

◆ getUnwindDest() [1/2]

const BasicBlock* llvm::WasmEHFuncInfo::getUnwindDest ( const BasicBlock BB) const
inline

Definition at line 39 of file WasmEHFuncInfo.h.

References assert(), BB, hasUnwindDest(), and SrcToUnwindDest.

◆ getUnwindDest() [2/2]

MachineBasicBlock* llvm::WasmEHFuncInfo::getUnwindDest ( MachineBasicBlock MBB) const
inline

Definition at line 64 of file WasmEHFuncInfo.h.

References assert(), hasUnwindDest(), MBB, and SrcToUnwindDest.

◆ getUnwindSrcs() [1/2]

SmallPtrSet<const BasicBlock *, 4> llvm::WasmEHFuncInfo::getUnwindSrcs ( const BasicBlock BB) const
inline

Definition at line 43 of file WasmEHFuncInfo.h.

References assert(), BB, hasUnwindSrcs(), P, llvm::MipsISD::Ret, and UnwindDestToSrcs.

◆ getUnwindSrcs() [2/2]

SmallPtrSet<MachineBasicBlock *, 4> llvm::WasmEHFuncInfo::getUnwindSrcs ( MachineBasicBlock MBB) const
inline

Definition at line 69 of file WasmEHFuncInfo.h.

References assert(), hasUnwindSrcs(), MBB, P, llvm::MipsISD::Ret, and UnwindDestToSrcs.

◆ hasUnwindDest() [1/2]

bool llvm::WasmEHFuncInfo::hasUnwindDest ( const BasicBlock BB) const
inline

Definition at line 57 of file WasmEHFuncInfo.h.

References BB, and SrcToUnwindDest.

Referenced by getUnwindDest().

◆ hasUnwindDest() [2/2]

bool llvm::WasmEHFuncInfo::hasUnwindDest ( MachineBasicBlock MBB) const
inline

Definition at line 83 of file WasmEHFuncInfo.h.

References MBB, and SrcToUnwindDest.

◆ hasUnwindSrcs() [1/2]

bool llvm::WasmEHFuncInfo::hasUnwindSrcs ( const BasicBlock BB) const
inline

Definition at line 60 of file WasmEHFuncInfo.h.

References BB, and UnwindDestToSrcs.

Referenced by getUnwindSrcs().

◆ hasUnwindSrcs() [2/2]

bool llvm::WasmEHFuncInfo::hasUnwindSrcs ( MachineBasicBlock MBB) const
inline

Definition at line 86 of file WasmEHFuncInfo.h.

References MBB, and UnwindDestToSrcs.

◆ setUnwindDest() [1/2]

void llvm::WasmEHFuncInfo::setUnwindDest ( const BasicBlock BB,
const BasicBlock Dest 
)
inline

Definition at line 51 of file WasmEHFuncInfo.h.

References BB, SrcToUnwindDest, and UnwindDestToSrcs.

Referenced by llvm::calculateWasmEHInfo().

◆ setUnwindDest() [2/2]

void llvm::WasmEHFuncInfo::setUnwindDest ( MachineBasicBlock MBB,
MachineBasicBlock Dest 
)
inline

Definition at line 77 of file WasmEHFuncInfo.h.

References MBB, SrcToUnwindDest, and UnwindDestToSrcs.

Member Data Documentation

◆ SrcToUnwindDest

DenseMap<BBOrMBB, BBOrMBB> llvm::WasmEHFuncInfo::SrcToUnwindDest

◆ UnwindDestToSrcs

DenseMap<BBOrMBB, SmallPtrSet<BBOrMBB, 4> > llvm::WasmEHFuncInfo::UnwindDestToSrcs

The documentation for this struct was generated from the following file: