LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::WebAssemblyException Class Reference

#include "Target/WebAssembly/WebAssemblyExceptionInfo.h"

Public Types

using block_iterator = typename ArrayRef< MachineBasicBlock * >::const_iterator
 
using iterator = typename std::vector< WebAssemblyException * >::const_iterator
 

Public Member Functions

 WebAssemblyException (MachineBasicBlock *EHPad)
 
 ~WebAssemblyException ()
 
 WebAssemblyException (const WebAssemblyException &)=delete
 
const WebAssemblyExceptionoperator= (const WebAssemblyException &)=delete
 
MachineBasicBlockgetEHPad () const
 
MachineBasicBlockgetHeader () const
 
WebAssemblyExceptiongetParentException () const
 
void setParentException (WebAssemblyException *WE)
 
bool contains (const WebAssemblyException *WE) const
 
bool contains (const MachineBasicBlock *MBB) const
 
void addBlock (MachineBasicBlock *MBB)
 
ArrayRef< MachineBasicBlock * > getBlocks () const
 
block_iterator block_begin () const
 
block_iterator block_end () const
 
iterator_range< block_iteratorblocks () const
 
unsigned getNumBlocks () const
 
std::vector< MachineBasicBlock * > & getBlocksVector ()
 
const std::vector< WebAssemblyException * > & getSubExceptions () const
 
std::vector< WebAssemblyException * > & getSubExceptions ()
 
void addSubException (WebAssemblyException *E)
 
iterator begin () const
 
iterator end () const
 
void reserveBlocks (unsigned Size)
 
void reverseBlock (unsigned From=0)
 
unsigned getExceptionDepth () const
 
void print (raw_ostream &OS, unsigned Depth=0) const
 
void dump () const
 

Detailed Description

Definition at line 43 of file WebAssemblyExceptionInfo.h.

Member Typedef Documentation

◆ block_iterator

Definition at line 78 of file WebAssemblyExceptionInfo.h.

◆ iterator

using llvm::WebAssemblyException::iterator = typename std::vector<WebAssemblyException *>::const_iterator

Definition at line 94 of file WebAssemblyExceptionInfo.h.

Constructor & Destructor Documentation

◆ WebAssemblyException() [1/2]

llvm::WebAssemblyException::WebAssemblyException ( MachineBasicBlock EHPad)
inline

Definition at line 52 of file WebAssemblyExceptionInfo.h.

Referenced by ~WebAssemblyException().

◆ ~WebAssemblyException()

llvm::WebAssemblyException::~WebAssemblyException ( )
inline

◆ WebAssemblyException() [2/2]

llvm::WebAssemblyException::WebAssemblyException ( const WebAssemblyException )
delete

Member Function Documentation

◆ addBlock()

void llvm::WebAssemblyException::addBlock ( MachineBasicBlock MBB)
inline

◆ addSubException()

void llvm::WebAssemblyException::addSubException ( WebAssemblyException E)
inline

Definition at line 93 of file WebAssemblyExceptionInfo.h.

◆ begin()

iterator llvm::WebAssemblyException::begin ( ) const
inline

Definition at line 95 of file WebAssemblyExceptionInfo.h.

◆ block_begin()

block_iterator llvm::WebAssemblyException::block_begin ( ) const
inline

Definition at line 79 of file WebAssemblyExceptionInfo.h.

References getBlocks().

Referenced by blocks().

◆ block_end()

block_iterator llvm::WebAssemblyException::block_end ( ) const
inline

Definition at line 80 of file WebAssemblyExceptionInfo.h.

References getBlocks().

Referenced by blocks().

◆ blocks()

iterator_range<block_iterator> llvm::WebAssemblyException::blocks ( ) const
inline

Definition at line 81 of file WebAssemblyExceptionInfo.h.

References block_begin(), block_end(), and llvm::make_range().

◆ contains() [1/2]

bool llvm::WebAssemblyException::contains ( const WebAssemblyException WE) const
inline

Definition at line 62 of file WebAssemblyExceptionInfo.h.

References getParentException().

◆ contains() [2/2]

bool llvm::WebAssemblyException::contains ( const MachineBasicBlock MBB) const
inline

◆ dump()

LLVM_DUMP_METHOD void WebAssemblyException::dump ( ) const

◆ end()

iterator llvm::WebAssemblyException::end ( ) const
inline

Definition at line 96 of file WebAssemblyExceptionInfo.h.

◆ getBlocks()

ArrayRef<MachineBasicBlock *> llvm::WebAssemblyException::getBlocks ( ) const
inline

Definition at line 77 of file WebAssemblyExceptionInfo.h.

Referenced by block_begin(), and block_end().

◆ getBlocksVector()

std::vector<MachineBasicBlock *>& llvm::WebAssemblyException::getBlocksVector ( )
inline

◆ getEHPad()

MachineBasicBlock* llvm::WebAssemblyException::getEHPad ( ) const
inline

◆ getExceptionDepth()

unsigned llvm::WebAssemblyException::getExceptionDepth ( ) const
inline

Definition at line 104 of file WebAssemblyExceptionInfo.h.

References D, llvm::Depth, dump(), llvm::operator<<(), and print().

◆ getHeader()

MachineBasicBlock* llvm::WebAssemblyException::getHeader ( ) const
inline

Definition at line 58 of file WebAssemblyExceptionInfo.h.

◆ getNumBlocks()

unsigned llvm::WebAssemblyException::getNumBlocks ( ) const
inline

Definition at line 84 of file WebAssemblyExceptionInfo.h.

◆ getParentException()

WebAssemblyException* llvm::WebAssemblyException::getParentException ( ) const
inline

◆ getSubExceptions() [1/2]

const std::vector<WebAssemblyException *>& llvm::WebAssemblyException::getSubExceptions ( ) const
inline

◆ getSubExceptions() [2/2]

std::vector<WebAssemblyException *>& llvm::WebAssemblyException::getSubExceptions ( )
inline

Definition at line 90 of file WebAssemblyExceptionInfo.h.

◆ operator=()

const WebAssemblyException& llvm::WebAssemblyException::operator= ( const WebAssemblyException )
delete

◆ print()

void WebAssemblyException::print ( raw_ostream OS,
unsigned  Depth = 0 
) const

◆ reserveBlocks()

void llvm::WebAssemblyException::reserveBlocks ( unsigned  Size)
inline

◆ reverseBlock()

void llvm::WebAssemblyException::reverseBlock ( unsigned  From = 0)
inline

Definition at line 99 of file WebAssemblyExceptionInfo.h.

References From, and llvm::reverse().

◆ setParentException()

void llvm::WebAssemblyException::setParentException ( WebAssemblyException WE)
inline

The documentation for this class was generated from the following files: