LLVM 20.0.0git
|
Does various transformations for exception handling. More...
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "WebAssembly.h"
#include "WebAssemblySubtarget.h"
#include "WebAssemblyUtilities.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/WasmEHFuncInfo.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetMachine.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "wasm-late-eh-prepare" |
Functions | |
INITIALIZE_PASS (WebAssemblyLateEHPrepare, DEBUG_TYPE, "WebAssembly Late Exception Preparation", false, false) FunctionPass *llvm | |
template<typename Container > | |
static void | eraseDeadBBsAndChildren (const Container &MBBs) |
Does various transformations for exception handling.
Definition in file WebAssemblyLateEHPrepare.cpp.
#define DEBUG_TYPE "wasm-late-eh-prepare" |
Definition at line 27 of file WebAssemblyLateEHPrepare.cpp.
|
static |
Definition at line 96 of file WebAssemblyLateEHPrepare.cpp.
References llvm::SmallVectorImpl< T >::append(), Deleted, llvm::SmallVectorBase< Size_T >::empty(), llvm::MachineBasicBlock::eraseFromParent(), MBB, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::MachineBasicBlock::pred_empty(), llvm::MachineBasicBlock::removeSuccessor(), llvm::MachineBasicBlock::succ_begin(), llvm::MachineBasicBlock::succ_end(), and llvm::MachineBasicBlock::successors().
INITIALIZE_PASS | ( | WebAssemblyLateEHPrepare | , |
DEBUG_TYPE | , | ||
"WebAssembly Late Exception Preparation" | , | ||
false | , | ||
false | |||
) |
Definition at line 54 of file WebAssemblyLateEHPrepare.cpp.