LLVM  15.0.0git
Namespaces | Functions | Variables
WebAssemblyUtilities.h File Reference
#include "llvm/Support/CommandLine.h"
Include dependency graph for WebAssemblyUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 llvm::WebAssembly
 

Functions

bool llvm::WebAssembly::isChild (const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI)
 Test whether MI is a child of some other node in an expression tree. More...
 
bool llvm::WebAssembly::mayThrow (const MachineInstr &MI)
 
const MachineOperandllvm::WebAssembly::getCalleeOp (const MachineInstr &MI)
 Returns the operand number of a callee, assuming the argument is a call instruction. More...
 
MCSymbolWasmllvm::WebAssembly::getOrCreateFunctionTableSymbol (MCContext &Ctx, const WebAssemblySubtarget *Subtarget)
 Returns the __indirect_function_table, for use in call_indirect and in function bitcasts. More...
 
MCSymbolWasmllvm::WebAssembly::getOrCreateFuncrefCallTableSymbol (MCContext &Ctx, const WebAssemblySubtarget *Subtarget)
 Returns the __funcref_call_table, for use in funcref calls when lowered to table.set + call_indirect. More...
 
MachineInstrllvm::WebAssembly::findCatch (MachineBasicBlock *EHPad)
 Find a catch instruction from an EH pad. More...
 

Variables

cl::opt< bool > llvm::WebAssembly::WasmEnableEmEH
 
cl::opt< bool > llvm::WebAssembly::WasmEnableEmSjLj
 
cl::opt< bool > llvm::WebAssembly::WasmEnableEH
 
cl::opt< bool > llvm::WebAssembly::WasmEnableSjLj
 
const char *const llvm::WebAssembly::ClangCallTerminateFn
 
const char *const llvm::WebAssembly::CxaBeginCatchFn = "__cxa_begin_catch"
 
const char *const llvm::WebAssembly::CxaRethrowFn = "__cxa_rethrow"
 
const char *const llvm::WebAssembly::StdTerminateFn = "_ZSt9terminatev"
 
const char *const llvm::WebAssembly::PersonalityWrapperFn
 

Detailed Description

This file contains the declaration of the WebAssembly-specific utility functions.

Definition in file WebAssemblyUtilities.h.