Lines Matching refs:exn
346 llvm::Value *exn;
347 FreeException(llvm::Value *exn) : exn(exn) {}
349 CGF.EmitNounwindRuntimeCall(getFreeExceptionFn(CGF.CGM), exn);
386 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot");
397 return Builder.CreateLoad(getExceptionSlot(), "exn");
543 llvm::Value *exn = CGF.getExceptionFromSlot();
544 CGF.EmitRuntimeCall(getUnexpectedFn(CGF.CGM), exn)
949 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp");
959 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.byref");
973 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.casted");
1396 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finally.exn");
1444 llvm::Value *exn = nullptr;
1448 exn = CGF.getExceptionFromSlot();
1449 CGF.EmitNounwindRuntimeCall(BeginCatchFn, exn);
1454 if (!exn) exn = CGF.getExceptionFromSlot();
1455 CGF.Builder.CreateStore(exn, SavedExnVar);
1484 /// void @__clang_call_terminate(i8* %exn) nounwind noreturn
1513 llvm::Value *exn = &*fn->arg_begin();
1515 // Call __cxa_begin_catch(exn).
1516 llvm::CallInst *catchCall = builder.CreateCall(getBeginCatchFn(CGM), exn);
1553 llvm::Value *exn = Builder.CreateExtractValue(LPadInst, 0);
1554 terminateCall = EmitNounwindRuntimeCall(getClangCallTerminateFn(CGM), exn);
1580 llvm::Value *exn = getExceptionFromSlot();
1581 terminateCall = EmitNounwindRuntimeCall(getClangCallTerminateFn(CGM), exn);