Home
last modified time | relevance | path

Searched refs:LongjmpF (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp354 void replaceLongjmpWith(Function *LongjmpF, Function *NewF);
814 void WebAssemblyLowerEmscriptenEHSjLj::replaceLongjmpWith(Function *LongjmpF, in replaceLongjmpWith() argument
817 Module *M = LongjmpF->getParent(); in replaceLongjmpWith()
819 LLVMContext &C = LongjmpF->getParent()->getContext(); in replaceLongjmpWith()
824 for (User *U : LongjmpF->users()) { in replaceLongjmpWith()
826 if (CI && CI->getCalledFunction() == LongjmpF) { in replaceLongjmpWith()
843 if (!LongjmpF->uses().empty()) { in replaceLongjmpWith()
845 IRB.CreateBitCast(NewF, LongjmpF->getType(), "longjmp.cast"); in replaceLongjmpWith()
846 LongjmpF->replaceAllUsesWith(NewLongjmp); in replaceLongjmpWith()
894 Function *LongjmpF = M.getFunction("longjmp"); in runOnModule() local
[all …]