LLVM 20.0.0git
Macros | Functions | Variables
WebAssemblyExceptionInfo.cpp File Reference

This file implements WebAssemblyException information analysis. More...

#include "WebAssemblyExceptionInfo.h"
#include "WebAssemblyUtilities.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/CodeGen/MachineDominanceFrontier.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/WasmEHFuncInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-exception-info"
 

Functions

 INITIALIZE_PASS_BEGIN (WebAssemblyExceptionInfo, DEBUG_TYPE, "WebAssembly Exception Information", true, true) INITIALIZE_PASS_END(WebAssemblyExceptionInfo
 
static bool isReachableAmongDominated (const MachineBasicBlock *Src, const MachineBasicBlock *Dst, const MachineBasicBlock *Header, const MachineDominatorTree &MDT)
 
raw_ostreamoperator<< (raw_ostream &OS, const WebAssemblyException &WE)
 

Variables

 DEBUG_TYPE
 
WebAssembly Exception Information
 
WebAssembly Exception true
 

Detailed Description

This file implements WebAssemblyException information analysis.

Definition in file WebAssemblyExceptionInfo.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-exception-info"

Definition at line 28 of file WebAssemblyExceptionInfo.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( WebAssemblyExceptionInfo  ,
DEBUG_TYPE  ,
"WebAssembly Exception Information"  ,
true  ,
true   
)

◆ isReachableAmongDominated()

static bool isReachableAmongDominated ( const MachineBasicBlock Src,
const MachineBasicBlock Dst,
const MachineBasicBlock Header,
const MachineDominatorTree MDT 
)
static

◆ operator<<()

raw_ostream & operator<< ( raw_ostream OS,
const WebAssemblyException WE 
)

Definition at line 364 of file WebAssemblyExceptionInfo.cpp.

References OS, and llvm::WebAssemblyException::print().

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 36 of file WebAssemblyExceptionInfo.cpp.

◆ Information

WebAssembly Exception Information

Definition at line 37 of file WebAssemblyExceptionInfo.cpp.

◆ true

WebAssembly Exception true

Definition at line 37 of file WebAssemblyExceptionInfo.cpp.