LLVM  16.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.


 This is an optimization pass for GlobalISel generic memory operations.


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...
unsigned llvm::WebAssembly::getCopyOpcodeForRegClass (const TargetRegisterClass *RC)
 Returns the appropriate copy opcode for the given register class. More...


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.