Lines Matching full:webassembly
1 //===-- WebAssemblyUtilities.cpp - WebAssembly Utility Functions ----------===//
10 /// This file implements several utility functions for WebAssembly.
20 const char *const WebAssembly::ClangCallTerminateFn = "__clang_call_terminate";
21 const char *const WebAssembly::CxaBeginCatchFn = "__cxa_begin_catch";
22 const char *const WebAssembly::CxaRethrowFn = "__cxa_rethrow";
23 const char *const WebAssembly::StdTerminateFn = "_ZSt9terminatev";
24 const char *const WebAssembly::PersonalityWrapperFn =
28 bool WebAssembly::isChild(const MachineInstr &MI, in isChild()
39 bool WebAssembly::mayThrow(const MachineInstr &MI) { in mayThrow()
41 case WebAssembly::THROW: in mayThrow()
42 case WebAssembly::THROW_S: in mayThrow()
43 case WebAssembly::RETHROW: in mayThrow()
44 case WebAssembly::RETHROW_S: in mayThrow()
83 const MachineOperand &WebAssembly::getCalleeOp(const MachineInstr &MI) { in getCalleeOp()
85 case WebAssembly::CALL: in getCalleeOp()
86 case WebAssembly::CALL_S: in getCalleeOp()
87 case WebAssembly::RET_CALL: in getCalleeOp()
88 case WebAssembly::RET_CALL_S: in getCalleeOp()
90 case WebAssembly::CALL_INDIRECT: in getCalleeOp()
91 case WebAssembly::CALL_INDIRECT_S: in getCalleeOp()
92 case WebAssembly::RET_CALL_INDIRECT: in getCalleeOp()
93 case WebAssembly::RET_CALL_INDIRECT_S: in getCalleeOp()