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.cpp355 void replaceLongjmpWith(Function *LongjmpF, Function *NewF);
809 void WebAssemblyLowerEmscriptenEHSjLj::replaceLongjmpWith(Function *LongjmpF, in replaceLongjmpWith() argument
812 Module *M = LongjmpF->getParent(); in replaceLongjmpWith()
814 LLVMContext &C = LongjmpF->getParent()->getContext(); in replaceLongjmpWith()
819 for (User *U : LongjmpF->users()) { in replaceLongjmpWith()
821 if (CI && CI->getCalledFunction() == LongjmpF) { in replaceLongjmpWith()
838 if (!LongjmpF->uses().empty()) { in replaceLongjmpWith()
840 IRB.CreateBitCast(NewF, LongjmpF->getType(), "longjmp.cast"); in replaceLongjmpWith()
841 LongjmpF->replaceAllUsesWith(NewLongjmp); in replaceLongjmpWith()
889 Function *LongjmpF = M.getFunction("longjmp"); in runOnModule() local
[all …]