LLVM  14.0.0git
Namespaces | Enumerations | Functions | Variables
WebAssemblyUtilities.h File Reference
#include "llvm/IR/DerivedTypes.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 file implements support for optimizing divisions by a constant.


enum  llvm::WebAssembly::WasmAddressSpace : unsigned { llvm::WebAssembly::WASM_ADDRESS_SPACE_DEFAULT = 0, llvm::WebAssembly::WASM_ADDRESS_SPACE_VAR = 1, llvm::WebAssembly::WASM_ADDRESS_SPACE_EXTERNREF = 10, llvm::WebAssembly::WASM_ADDRESS_SPACE_FUNCREF = 20 }


bool llvm::WebAssembly::isDefaultAddressSpace (unsigned AS)
bool llvm::WebAssembly::isWasmVarAddressSpace (unsigned AS)
bool llvm::WebAssembly::isValidAddressSpace (unsigned AS)
bool llvm::WebAssembly::isFuncrefType (const Type *Ty)
bool llvm::WebAssembly::isExternrefType (const Type *Ty)
bool llvm::WebAssembly::isRefType (const Type *Ty)
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...


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.