Lines Matching defs:LongjmpF
355 void replaceLongjmpWith(Function *LongjmpF, Function *NewF);
812 void WebAssemblyLowerEmscriptenEHSjLj::replaceLongjmpWith(Function *LongjmpF,
815 Module *M = LongjmpF->getParent();
817 LLVMContext &C = LongjmpF->getParent()->getContext();
822 for (User *U : LongjmpF->users()) {
824 if (CI && CI->getCalledFunction() == LongjmpF) {
841 if (!LongjmpF->uses().empty()) {
843 IRB.CreateBitCast(NewF, LongjmpF->getType(), "longjmp.cast");
844 LongjmpF->replaceAllUsesWith(NewLongjmp);
892 Function *LongjmpF = M.getFunction("longjmp");
910 if (LongjmpF) {
911 if (LongjmpF->getFunctionType() != LongjmpF2->getFunctionType())
915 LongjmpF = Function::Create(LongjmpF2->getFunctionType(),
918 LongjmpF2->replaceAllUsesWith(LongjmpF);
981 bool LongjmpUsed = LongjmpF && !LongjmpF->use_empty();
1040 if (LongjmpF)
1041 replaceLongjmpWith(LongjmpF, EnableEmSjLj ? EmLongjmpF : WasmLongjmpF);