LLVM  7.0.0svn
Namespaces | Functions | Variables
WebAssemblyUtilities.h File Reference

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

#include "llvm/CodeGen/MachineBasicBlock.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
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::WebAssembly
 

Functions

bool llvm::WebAssembly::isArgument (const MachineInstr &MI)
 
bool llvm::WebAssembly::isCopy (const MachineInstr &MI)
 
bool llvm::WebAssembly::isTee (const MachineInstr &MI)
 
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::isCallDirect (const MachineInstr &MI)
 
bool llvm::WebAssembly::isCallIndirect (const MachineInstr &MI)
 
bool llvm::WebAssembly::isMarker (const MachineInstr &MI)
 
bool llvm::WebAssembly::isThrow (const MachineInstr &MI)
 
bool llvm::WebAssembly::isRethrow (const MachineInstr &MI)
 
bool llvm::WebAssembly::isCatch (const MachineInstr &MI)
 
bool llvm::WebAssembly::mayThrow (const MachineInstr &MI)
 
unsigned llvm::WebAssembly::getCalleeOpNo (const MachineInstr &MI)
 Returns the operand number of a callee, assuming the argument is a call instruction. More...
 
bool llvm::WebAssembly::isCatchTerminatePad (const MachineBasicBlock &MBB)
 Returns if the given BB is a single BB terminate pad which starts with a 'catch' instruction. More...
 
bool llvm::WebAssembly::isCatchAllTerminatePad (const MachineBasicBlock &MBB)
 Returns if the given BB is a single BB terminate pad which starts with a 'catch_all' insrtruction. More...
 
template<typename T >
MachineBasicBlock * llvm::WebAssembly::getBottom (const T *Unit)
 Return the "bottom" block of an entity, which can be either a MachineLoop or WebAssemblyException. More...
 

Variables

const char *const llvm::WebAssembly::ClangCallTerminateFn = "__clang_call_terminate"
 
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.