LLVM
8.0.1
|
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/Triple.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/WasmEHFuncInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "wasmehprepare" |
Functions | |
INITIALIZE_PASS (WasmEHPrepare, DEBUG_TYPE, "Prepare WebAssembly exceptions", false, false) FunctionPass *llvm | |
template<typename Container > | |
static void | eraseDeadBBsAndChildren (const Container &BBs) |
#define DEBUG_TYPE "wasmehprepare" |
Definition at line 128 of file WasmEHPrepare.cpp.
|
static |
Definition at line 187 of file WasmEHPrepare.cpp.
References assert(), llvm::DeleteDeadBlock(), llvm::SmallVectorBase::empty(), F(), llvm::BasicBlock::getContext(), llvm::Function::getContext(), llvm::Intrinsic::getDeclaration(), llvm::BasicBlock::getFirstInsertionPt(), llvm::BasicBlock::getFirstNonPHI(), llvm::Module::getFunction(), llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode(), llvm::Module::getOrInsertFunction(), llvm::Module::getOrInsertGlobal(), llvm::GlobalValue::getParent(), I, llvm::BasicBlock::isEHPad(), llvm::SmallVectorImpl< T >::pop_back_val(), llvm::pred_begin(), llvm::pred_end(), llvm::SmallVectorTemplateBase< T >::push_back(), runOnFunction(), llvm::CallBase::setDoesNotThrow(), llvm::IRBuilderBase::SetInsertPoint(), llvm::succ_begin(), llvm::succ_end(), llvm::Value::users(), llvm::Intrinsic::wasm_catch, llvm::Intrinsic::wasm_get_ehselector, llvm::Intrinsic::wasm_get_exception, llvm::Intrinsic::wasm_landingpad_index, llvm::Intrinsic::wasm_lsda, and llvm::Intrinsic::wasm_throw.
INITIALIZE_PASS | ( | WasmEHPrepare | , |
DEBUG_TYPE | , | ||
"Prepare WebAssembly exceptions" | , | ||
false | , | ||
false | |||
) |
Definition at line 170 of file WasmEHPrepare.cpp.
References llvm::StructType::get(), and llvm::Module::getContext().